From 700b0b1d13eaaf1abc059010b597f18c0dcb984f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Jul 2021 14:13:19 +0000 Subject: Bump color-string from 1.5.3 to 1.5.5 Bumps [color-string](https://github.com/Qix-/color-string) from 1.5.3 to 1.5.5. - [Release notes](https://github.com/Qix-/color-string/releases) - [Changelog](https://github.com/Qix-/color-string/blob/master/CHANGELOG.md) - [Commits](https://github.com/Qix-/color-string/commits/1.5.5) --- updated-dependencies: - dependency-name: color-string dependency-type: indirect ... Signed-off-by: dependabot[bot] --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 226ea65..d67550c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1592,9 +1592,9 @@ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" }, "color-string": { - "version": "1.5.3", - "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.5.3.tgz", - "integrity": "sha512-dC2C5qeWoYkxki5UAXapdjqO672AM4vZuPGRQfO8b5HKuKGBbKWpITyDYN7TOFKvRW7kOgAn3746clDBMDJyQw==", + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.5.5.tgz", + "integrity": "sha512-jgIoum0OfQfq9Whcfc2z/VhCNcmQjWbey6qBX0vqt7YICflUmBCh9E9CiQD5GSJ+Uehixm3NUwHVhqUAWRivZg==", "requires": { "color-name": "^1.0.0", "simple-swizzle": "^0.2.2" -- cgit v1.2.3-54-g00ecf From a835350e0ff14f15124925df77c1368444245bc3 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Mon, 5 Jul 2021 08:39:22 +0530 Subject: Removed references to png images since they were not being used anyways. --- README.md | 2 +- app/Controllers/Http/RecipeController.js | 2 -- resources/views/others/new.edge | 3 --- 3 files changed, 1 insertion(+), 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 - `Author`: Author who created the recipe - `Name`: Name for your new service. Can contain spaces and unicode characters - `Service ID`: Unique ID for this recipe. Does not contain spaces or special characters (e.g. `google-drive`) -- `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 +- `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 - `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. ### 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 { name: 'required|string', id: 'required|unique:recipes,recipeId', author: 'required|accepted', - png: 'required|url', svg: 'required|url', }); if (validation.fails()) { @@ -108,7 +107,6 @@ class RecipeController { featured: false, version: '1.0.0', icons: { - png: data.png, svg: data.svg, }, }), 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 @@

-
-
-

*These images must be publicly availible and have CORS enabled in order to work.

-- cgit v1.2.3-54-g00ecf