From 406013246e3d83708b5d24f8202d93c379c3d737 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 10 Jun 2024 09:03:17 +0200 Subject: [PATCH 1/3] cleaning --- scripts/backup | 8 -------- scripts/upgrade | 12 +++--------- 2 files changed, 3 insertions(+), 17 deletions(-) diff --git a/scripts/backup b/scripts/backup index 35afc88..4855526 100755 --- a/scripts/backup +++ b/scripts/backup @@ -27,16 +27,8 @@ ynh_backup --src_path="$install_dir" ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf" -#================================================= -# BACKUP THE PHP-FPM CONFIGURATION -#================================================= - ynh_backup --src_path="/etc/php/$phpversion/fpm/pool.d/$app.conf" -#================================================= -# BACKUP VARIOUS FILES -#================================================= - ynh_backup --src_path="/etc/cron.d/$app" #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 164b4ff..7959b36 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -13,22 +13,16 @@ email=$(ynh_user_get_info --username=$admin --key=mail) firstname=$(ynh_user_get_info --username=$admin --key=firstname) lastname=$(ynh_user_get_info --username=$admin --key=lastname) -upgrade_type=$(ynh_check_app_version_changed) - #================================================= # "REBUILD" THE APP (DEPLOY NEW SOURCES, RERUN NPM BUILD...) #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= +ynh_script_progression --message="Upgrading source files..." --weight=1 -if [ "$upgrade_type" == "UPGRADE_APP" ] -then - ynh_script_progression --message="Upgrading source files..." --weight=1 +ynh_secure_remove --file="/$install_dir/vendor" - ynh_secure_remove --file="/$install_dir/vendor" - - ynh_setup_source --dest_dir="$install_dir" # --full_replace=1 --keep='.env' -fi +ynh_setup_source --dest_dir="$install_dir" # --full_replace=1 --keep='.env' chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir" From ea8334c580b8d5dbe6f606c9f8d6bfee881e17f5 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Tue, 11 Jun 2024 03:36:03 +0200 Subject: [PATCH 2/3] Upgrade to v1.8.143 --- manifest.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/manifest.toml b/manifest.toml index 369a997..e41f97e 100644 --- a/manifest.toml +++ b/manifest.toml @@ -7,7 +7,7 @@ name = "FreeScout" description.en = "Help desk & shared mailbox" description.fr = "Service d'assistance et boîte aux lettres partagée" -version = "1.8.142~ynh1" +version = "1.8.143~ynh1" maintainers = [] @@ -50,8 +50,8 @@ ram.runtime = "50M" [resources.sources] [resources.sources.main] - url = "https://github.com/freescout-helpdesk/freescout/archive/refs/tags/1.8.142.tar.gz" - sha256 = "465761ce6b25bdf08ddde35a83a90bde2207e42958fe81c0c60f1cc9b121dc4b" + url = "https://github.com/freescout-helpdesk/freescout/archive/refs/tags/1.8.143.tar.gz" + sha256 = "ee4abf76475d2c4a239bb2c9e05b24a8b7184bdefc753a3478e9db8000d0e128" autoupdate.strategy = "latest_github_tag" [resources.system_user] From 66912b9b6a97bf0ffa6d2ceb89106e86455f4415 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Tue, 11 Jun 2024 01:36:05 +0000 Subject: [PATCH 3/3] Auto-update READMEs --- README.md | 2 +- README_es.md | 2 +- README_eu.md | 2 +- README_fr.md | 2 +- README_gl.md | 2 +- README_zh_Hans.md | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 443de0b..1ec2179 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ It shall NOT be edited by hand. FreeScout is the super lightweight and powerful free open source help desk and shared inbox built with PHP (Laravel framework). Now you can enjoy free Zendesk & Help Scout without giving up privacy or locking yourself into a service you don't control. -**Shipped version:** 1.8.142~ynh1 +**Shipped version:** 1.8.143~ynh1 **Demo:** diff --git a/README_es.md b/README_es.md index d1af4c4..e2d36be 100644 --- a/README_es.md +++ b/README_es.md @@ -18,7 +18,7 @@ No se debe editar a mano. FreeScout is the super lightweight and powerful free open source help desk and shared inbox built with PHP (Laravel framework). Now you can enjoy free Zendesk & Help Scout without giving up privacy or locking yourself into a service you don't control. -**Versión actual:** 1.8.142~ynh1 +**Versión actual:** 1.8.143~ynh1 **Demo:** diff --git a/README_eu.md b/README_eu.md index cd05733..4968330 100644 --- a/README_eu.md +++ b/README_eu.md @@ -18,7 +18,7 @@ EZ editatu eskuz. FreeScout is the super lightweight and powerful free open source help desk and shared inbox built with PHP (Laravel framework). Now you can enjoy free Zendesk & Help Scout without giving up privacy or locking yourself into a service you don't control. -**Paketatutako bertsioa:** 1.8.142~ynh1 +**Paketatutako bertsioa:** 1.8.143~ynh1 **Demoa:** diff --git a/README_fr.md b/README_fr.md index b32fc05..2b8fad2 100644 --- a/README_fr.md +++ b/README_fr.md @@ -18,7 +18,7 @@ Il NE doit PAS être modifié à la main. FreeScout est un service d'assistance open source gratuit ultra léger et puissant et une boîte de réception partagée construite avec PHP (framework Laravel). Vous pouvez désormais profiter gratuitement de Zendesk et Help Scout sans renoncer à votre confidentialité ni vous enfermer dans un service que vous ne contrôlez pas. -**Version incluse :** 1.8.142~ynh1 +**Version incluse :** 1.8.143~ynh1 **Démo :** diff --git a/README_gl.md b/README_gl.md index 0c88473..695daff 100644 --- a/README_gl.md +++ b/README_gl.md @@ -18,7 +18,7 @@ NON debe editarse manualmente. FreeScout is the super lightweight and powerful free open source help desk and shared inbox built with PHP (Laravel framework). Now you can enjoy free Zendesk & Help Scout without giving up privacy or locking yourself into a service you don't control. -**Versión proporcionada:** 1.8.142~ynh1 +**Versión proporcionada:** 1.8.143~ynh1 **Demo:** diff --git a/README_zh_Hans.md b/README_zh_Hans.md index 238e812..d9cb3af 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -18,7 +18,7 @@ FreeScout is the super lightweight and powerful free open source help desk and shared inbox built with PHP (Laravel framework). Now you can enjoy free Zendesk & Help Scout without giving up privacy or locking yourself into a service you don't control. -**分发版本:** 1.8.142~ynh1 +**分发版本:** 1.8.143~ynh1 **演示:**