aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--app/Controllers/Http/RecipeController.js2
-rw-r--r--resources/views/others/new.edge3
3 files changed, 1 insertions, 6 deletions
diff --git a/README.md b/README.md
index d6ff0ff..b379559 100644
--- a/README.md
+++ b/README.md
@@ -172,7 +172,7 @@ To add your recipe to ferdi-server, open `http://[YOUR FERDI-SERVER]/new` in you
172- `Author`: Author who created the recipe 172- `Author`: Author who created the recipe
173- `Name`: Name for your new service. Can contain spaces and unicode characters 173- `Name`: Name for your new service. Can contain spaces and unicode characters
174- `Service ID`: Unique ID for this recipe. Does not contain spaces or special characters (e.g. `google-drive`) 174- `Service ID`: Unique ID for this recipe. Does not contain spaces or special characters (e.g. `google-drive`)
175- `Link to PNG/SVG image`: Direct link to a 1024x1024 PNG image and SVG that is used as a logo inside the store. Please use jsDelivr when using a file uploaded to GitHub as raw.githubusercontent files won't load 175- `Link to SVG image`: Direct link to a 1024x1024 SVG that is used as a logo inside the store. Please use jsDelivr when using a file uploaded to GitHub as raw.githubusercontent files won't load
176- `Recipe files`: Recipe files that you created using the [Franz recipe creation guide](https://github.com/meetfranz/plugins/blob/master/docs/integration.md). Please do *not* package your files beforehand - upload the raw files (you can drag and drop multiple files). ferdi-server will automatically package and store the recipe in the right format. Please also do not drag and drop or select the whole folder, select the individual files. 176- `Recipe files`: Recipe files that you created using the [Franz recipe creation guide](https://github.com/meetfranz/plugins/blob/master/docs/integration.md). Please do *not* package your files beforehand - upload the raw files (you can drag and drop multiple files). ferdi-server will automatically package and store the recipe in the right format. Please also do not drag and drop or select the whole folder, select the individual files.
177 177
178### Listing custom recipes 178### Listing custom recipes
diff --git a/app/Controllers/Http/RecipeController.js b/app/Controllers/Http/RecipeController.js
index 9bfd92e..9d58708 100644
--- a/app/Controllers/Http/RecipeController.js
+++ b/app/Controllers/Http/RecipeController.js
@@ -61,7 +61,6 @@ class RecipeController {
61 name: 'required|string', 61 name: 'required|string',
62 id: 'required|unique:recipes,recipeId', 62 id: 'required|unique:recipes,recipeId',
63 author: 'required|accepted', 63 author: 'required|accepted',
64 png: 'required|url',
65 svg: 'required|url', 64 svg: 'required|url',
66 }); 65 });
67 if (validation.fails()) { 66 if (validation.fails()) {
@@ -108,7 +107,6 @@ class RecipeController {
108 featured: false, 107 featured: false,
109 version: '1.0.0', 108 version: '1.0.0',
110 icons: { 109 icons: {
111 png: data.png,
112 svg: data.svg, 110 svg: data.svg,
113 }, 111 },
114 }), 112 }),
diff --git a/resources/views/others/new.edge b/resources/views/others/new.edge
index 1b54558..96bd0ee 100644
--- a/resources/views/others/new.edge
+++ b/resources/views/others/new.edge
@@ -14,9 +14,6 @@
14 <label for="id">Service ID</label><br /> 14 <label for="id">Service ID</label><br />
15 <input type="text" name="id" placeholder="sample-service" required><br /> 15 <input type="text" name="id" placeholder="sample-service" required><br />
16 16
17 <label for="png">Link to PNG image*</label><br />
18 <input type="text" name="png" placeholder="https://.../logo.png" required><br />
19
20 <label for="svg">Link to SVG image*</label><br /> 17 <label for="svg">Link to SVG image*</label><br />
21 <input type="text" name="svg" placeholder="https://.../logo.svg" required><br /> 18 <input type="text" name="svg" placeholder="https://.../logo.svg" required><br />
22 *These images must be publicly availible and have CORS enabled in order to work.<br /><br /> 19 *These images must be publicly availible and have CORS enabled in order to work.<br /><br />