From eca70e1a9f671ee1add82eaf1f91029160c10aa1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 14 Aug 2023 19:36:56 +0200 Subject: [PATCH 1/9] Update manifest.toml --- manifest.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 1e9189e..5db4bf8 100644 --- a/manifest.toml +++ b/manifest.toml @@ -56,7 +56,7 @@ ram.runtime = "50M" api.protected = true [resources.apt] - packages = "postgresql php8.2-apcu php8.2-fpm php8.2-pgsql php8.2-gd php8.2-common php8.2-curl php8.2-intl php8.2-gmp php8.2-xml php8.2-json" + packages = "postgresql php8.2-apcu php8.2-fpm php8.2-pgsql php8.2-gd php8.2-common php8.2-curl php8.2-intl php8.2-gmp php8.2-xml" [resources.database] type = "postgresql" From 80e55a1669d1a309d80761e82986afe221805e22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 14 Aug 2023 19:44:42 +0200 Subject: [PATCH 2/9] Update manifest.toml --- manifest.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 5db4bf8..34ecf7f 100644 --- a/manifest.toml +++ b/manifest.toml @@ -56,7 +56,7 @@ ram.runtime = "50M" api.protected = true [resources.apt] - packages = "postgresql php8.2-apcu php8.2-fpm php8.2-pgsql php8.2-gd php8.2-common php8.2-curl php8.2-intl php8.2-gmp php8.2-xml" + packages = "postgresql php8.2-apcu php8.2-fpm php8.2-pdo php8.2-pgsql php8.2-gd php8.2-common php8.2-curl php8.2-intl php8.2-gmp php8.2-xml" [resources.database] type = "postgresql" From 0583ee5145269d612a15edd47e45ab5277b9050f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 14 Aug 2023 19:52:46 +0200 Subject: [PATCH 3/9] fix --- conf/servers.json | 2 +- scripts/install | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/conf/servers.json b/conf/servers.json index 520c7c9..cfe071f 100644 --- a/conf/servers.json +++ b/conf/servers.json @@ -2,6 +2,6 @@ { "name": "Main server", "url": "https://__DOMAIN__", - "apiKey": "__KEY__" + "apiKey": "09c972b7-506b-49f1-a19a-d729e22e599c" } ] \ No newline at end of file diff --git a/scripts/install b/scripts/install index f2d448e..5c93af1 100755 --- a/scripts/install +++ b/scripts/install @@ -44,6 +44,7 @@ ynh_add_nginx_config ynh_script_progression --message="Adding a configuration file..." --weight=2 ynh_add_config --template="../conf/.env-sample" --destination="$install_dir/.env" +ynh_add_config --template="../conf/servers.json" --destination="$install_dir/servers.json" chmod 400 "$install_dir/.env" chown $app:$app "$install_dir/.env" From 4299ac030a4c211c5f29f43572fd11c498301d8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 14 Aug 2023 19:56:58 +0200 Subject: [PATCH 4/9] fix --- conf/servers.json | 2 +- scripts/install | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/conf/servers.json b/conf/servers.json index cfe071f..520c7c9 100644 --- a/conf/servers.json +++ b/conf/servers.json @@ -2,6 +2,6 @@ { "name": "Main server", "url": "https://__DOMAIN__", - "apiKey": "09c972b7-506b-49f1-a19a-d729e22e599c" + "apiKey": "__KEY__" } ] \ No newline at end of file diff --git a/scripts/install b/scripts/install index 5c93af1..f2d448e 100755 --- a/scripts/install +++ b/scripts/install @@ -44,7 +44,6 @@ ynh_add_nginx_config ynh_script_progression --message="Adding a configuration file..." --weight=2 ynh_add_config --template="../conf/.env-sample" --destination="$install_dir/.env" -ynh_add_config --template="../conf/servers.json" --destination="$install_dir/servers.json" chmod 400 "$install_dir/.env" chown $app:$app "$install_dir/.env" From a966386e930925440e2f92873a9d96991c92997d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 14 Aug 2023 20:03:29 +0200 Subject: [PATCH 5/9] Update manifest.toml --- manifest.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 34ecf7f..1b80e38 100644 --- a/manifest.toml +++ b/manifest.toml @@ -56,7 +56,7 @@ ram.runtime = "50M" api.protected = true [resources.apt] - packages = "postgresql php8.2-apcu php8.2-fpm php8.2-pdo php8.2-pgsql php8.2-gd php8.2-common php8.2-curl php8.2-intl php8.2-gmp php8.2-xml" + packages = "postgresql php8.2-apcu php8.2-fpm php8.2-pdo_pgsql php8.2-pgsql php8.2-gd php8.2-common php8.2-curl php8.2-intl php8.2-gmp php8.2-xml" [resources.database] type = "postgresql" From eb8c91aa04b9c67e7b6559dc8b8ba17e462c3bbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 14 Aug 2023 20:05:17 +0200 Subject: [PATCH 6/9] Update manifest.toml --- manifest.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 1b80e38..5fc3f48 100644 --- a/manifest.toml +++ b/manifest.toml @@ -56,7 +56,7 @@ ram.runtime = "50M" api.protected = true [resources.apt] - packages = "postgresql php8.2-apcu php8.2-fpm php8.2-pdo_pgsql php8.2-pgsql php8.2-gd php8.2-common php8.2-curl php8.2-intl php8.2-gmp php8.2-xml" + packages = "postgresql php8.2-apcu php8.2-pgsql php8.2-gd php8.2-curl php8.2-intl php8.2-gmp php8.2-xml" [resources.database] type = "postgresql" From 1f6f470353d807c6e61f880e08817950fff85a4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 14 Aug 2023 20:06:05 +0200 Subject: [PATCH 7/9] Update manifest.toml --- manifest.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 5fc3f48..9b0d72b 100644 --- a/manifest.toml +++ b/manifest.toml @@ -43,7 +43,6 @@ ram.runtime = "50M" url = "https://github.com/shlinkio/shlink/releases/download/v3.6.3/shlink3.6.3_php8.2_dist.zip" sha256 = "7b6fc0dde2ea8ae2c3540755bdfda561a73ad7142cfd862565e4acb796633013" - [resources.system_user] [resources.install_dir] From 1e3179052c99d7b749682fc5718adb5d2980cf36 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Tue, 20 Feb 2024 05:55:30 +0100 Subject: [PATCH 8/9] autoupdate.strategy = "latest_github_release" --- manifest.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/manifest.toml b/manifest.toml index 9b0d72b..8041ccd 100644 --- a/manifest.toml +++ b/manifest.toml @@ -38,10 +38,17 @@ ram.runtime = "50M" [resources.sources.front] url = "https://github.com/shlinkio/shlink-web-client/releases/download/v3.10.2/shlink-web-client_3.10.2_dist.zip" sha256 = "1b20c94be5025271504201199aead8ee0a7317885738a00913f5a196f9e03d7d" + autoupdate.strategy = "latest_github_release" + autoupdate.upstream = "https://github.com/shlinkio/shlink-web-client" + autoupdate.asset = "^shlink-web-client_.*_dist.zip$" [resources.sources.main] url = "https://github.com/shlinkio/shlink/releases/download/v3.6.3/shlink3.6.3_php8.2_dist.zip" sha256 = "7b6fc0dde2ea8ae2c3540755bdfda561a73ad7142cfd862565e4acb796633013" + autoupdate.strategy = "latest_github_release" + autoupdate.upstream = "https://github.com/shlinkio/shlink" + autoupdate.asset = "^shlink.*_php8.2_dist.zip$" + [resources.system_user] From f5772ae62fd80ad044d6295a6c828a070241818c Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Tue, 20 Feb 2024 04:55:34 +0000 Subject: [PATCH 9/9] Auto-update README --- README.md | 6 +++--- README_fr.md | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index d809cfd..8c85585 100755 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ @@ -31,7 +31,7 @@ Additionally, there's also an official Shlink web client which, by making use of * Official app website: * Official user documentation: * Upstream app code repository: -* YunoHost documentation for this app: +* YunoHost Store: * Report a bug: ## Developer info @@ -46,4 +46,4 @@ or sudo yunohost app upgrade shlink -u https://github.com/YunoHost-Apps/shlink_ynh/tree/testing --debug ``` -**More info regarding app packaging:** +**More info regarding app packaging:** \ No newline at end of file diff --git a/README_fr.md b/README_fr.md index e3b4e29..6f83f0c 100755 --- a/README_fr.md +++ b/README_fr.md @@ -1,5 +1,5 @@ @@ -31,7 +31,7 @@ Additionally, there's also an official Shlink web client which, by making use of * Site officiel de l’app : * Documentation officielle utilisateur : * Dépôt de code officiel de l’app : -* Documentation YunoHost pour cette app : +* YunoHost Store: * Signaler un bug : ## Informations pour les développeurs