From f8156c76ee1de84147c200b4608518ab31946f72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Wed, 18 Jan 2023 10:11:49 +0100 Subject: [PATCH] Fix linter --- check_process | 10 ---------- conf/nginx.conf | 6 ------ conf/systemd.service | 2 +- doc/DESCRIPTION.md | 1 + doc/DISCLAIMER.md | 7 +++++++ .../screenshots/movies-web-demo.gif | Bin manifest.json | 7 ++++++- 7 files changed, 15 insertions(+), 18 deletions(-) create mode 100644 doc/DESCRIPTION.md create mode 100644 doc/DISCLAIMER.md rename movies-web-demo.gif => doc/screenshots/movies-web-demo.gif (100%) diff --git a/check_process b/check_process index 93378bf..3e034c4 100644 --- a/check_process +++ b/check_process @@ -10,15 +10,6 @@ is_public=1 port="3500" data_path="" - ; Actions - action_argument=arg1|arg2 - is_public=1|0 - ; Config_panel - main.categorie.config_example=arg1|arg2 - main.overwrite_files.overwrite_phpfpm=1|0 - main.php_fpm_config.footprint=low|medium|high|specific - main.php_fpm_config.free_footprint=20 - main.php_fpm_config.usage=low|medium|high ; Checks pkg_linter=1 setup_sub_dir=0 @@ -30,7 +21,6 @@ upgrade=1 from_commit=30d48110ea0c820c89ab8ade34e415f07b5b0b86 backup_restore=1 multi_instance=1 - port_already_use=1 (3500) change_url=1 actions=0 config_panel=0 diff --git a/conf/nginx.conf b/conf/nginx.conf index 7a0a201..bbef711 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -12,12 +12,6 @@ location __PATH__/ { # Path to source alias __FINALPATH__/ ; - # Force usage of https - if ($scheme = http) { - rewrite ^ https://$server_name$request_uri? permanent; - } - - # Include SSOWAT user panel. include conf.d/yunohost_panel.conf.inc; } diff --git a/conf/systemd.service b/conf/systemd.service index 8af88a7..6696593 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -1,5 +1,5 @@ [Unit] -Description=Meilisearch: Lightning Fast Search Engine +Description=Meilisearch: lightning Fast Search Engine After=systemd-user-sessions.service [Service] diff --git a/doc/DESCRIPTION.md b/doc/DESCRIPTION.md new file mode 100644 index 0000000..96481f8 --- /dev/null +++ b/doc/DESCRIPTION.md @@ -0,0 +1 @@ +Meilisearch is an opensource next generation search API. \ No newline at end of file diff --git a/doc/DISCLAIMER.md b/doc/DISCLAIMER.md new file mode 100644 index 0000000..72ecac6 --- /dev/null +++ b/doc/DISCLAIMER.md @@ -0,0 +1,7 @@ +## Configuration + +At the installation, be sure to set up an API key to secure your API. + +## Problem and todo + +- Doesn't install on subpath (WIP). \ No newline at end of file diff --git a/movies-web-demo.gif b/doc/screenshots/movies-web-demo.gif similarity index 100% rename from movies-web-demo.gif rename to doc/screenshots/movies-web-demo.gif diff --git a/manifest.json b/manifest.json index 0382b67..cf637c2 100644 --- a/manifest.json +++ b/manifest.json @@ -8,6 +8,11 @@ }, "version": "0.22.0~ynh1", "url": "https://www.meilisearch.com/", + "upstream": { + "license": "GPL-3.0", + "website": "https://www.meilisearch.com/", + "code": "https://github.com/meilisearch/MeiliSearch" + }, "license": "GPL-3.0", "maintainer": { "name": "Julien Gomes Dias", @@ -15,7 +20,7 @@ "url": "https://julien.gomes-dias.dev" }, "requirements": { - "yunohost": ">= 4.2.0" + "yunohost": ">= 11.0.9" }, "multi_instance": true, "services": [