From 346c4d5230dba89352c61ee8772987ee1daabe88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 20 Oct 2023 19:47:25 +0200 Subject: [PATCH 1/5] Update change_url --- scripts/change_url | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/scripts/change_url b/scripts/change_url index 20ecf75..84fc887 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -9,6 +9,13 @@ source _common.sh source /usr/share/yunohost/helpers +#================================================= +# MODIFY URL IN NGINX CONF +#================================================= +ynh_script_progression --message="Updating NGINX web server configuration..." --weight=1 + +ynh_change_url_nginx_config + #================================================= # UPDATE A CONFIG FILE #================================================= @@ -24,14 +31,7 @@ chown $app:$app "$install_dir/app/data/_data_/_default_/configs/application.ini" #================================================= ynh_script_progression --message="Applying SSO patch..." --weight=1 -ynh_add_config --template="../conf/sso.php" --destination="$install_dir/index.php" - -#================================================= -# MODIFY URL IN NGINX CONF -#================================================= -ynh_script_progression --message="Updating NGINX web server configuration..." --weight=1 - -ynh_change_url_nginx_config +ynh_add_config --template="sso.php" --destination="$install_dir/index.php" #================================================= # END OF SCRIPT From 20ef8bbeca131889a07643c7d8c2d76ffe133940 Mon Sep 17 00:00:00 2001 From: chri2 Date: Mon, 30 Oct 2023 11:33:22 +0100 Subject: [PATCH 2/5] Update install snappymail needs to be able to write `application.ini` to e.g. update the admin password. https://github.com/YunoHost-Apps/snappymail_ynh/issues/122 --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index e5da137..f1ed103 100755 --- a/scripts/install +++ b/scripts/install @@ -62,7 +62,7 @@ chown $app:$app -R "$install_dir/app/data/_data_" ynh_add_config --template="application.ini" --destination="$install_dir/app/data/_data_/_default_/configs/application.ini" -chmod 400 "$install_dir/app/data/_data_/_default_/configs/application.ini" +chmod 600 "$install_dir/app/data/_data_/_default_/configs/application.ini" chown $app:$app "$install_dir/app/data/_data_/_default_/configs/application.ini" #================================================= From 2b8c43e5be47740ff48960fc402a4f2f04bba3db Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Tue, 31 Oct 2023 14:32:46 +0000 Subject: [PATCH 3/5] Auto-update README --- README.md | 1 + README_fr.md | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index a491e9c..ab41b84 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,7 @@ Simple, modern, lightweight & fast web-based email client. The drastically upgra * Official app website: * Official admin documentation: * Upstream app code repository: +* YunoHost Store: * Report a bug: ## Developer info diff --git a/README_fr.md b/README_fr.md index 239785d..f8e514f 100644 --- a/README_fr.md +++ b/README_fr.md @@ -31,6 +31,7 @@ Client de messagerie Web simple, moderne, léger et rapide. Snappymail est un fo * Site officiel de l’app : * Documentation officielle de l’admin : * Dépôt de code officiel de l’app : +* YunoHost Store: * Signaler un bug : ## Informations pour les développeurs From 0285d92c2d38e4801108bbd1b64a2f4dc4c6c50d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Tue, 31 Oct 2023 15:33:16 +0100 Subject: [PATCH 4/5] Update manifest.toml --- manifest.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 08b9294..a03db09 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "SnappyMail" description.en = "Simple, modern, lightweight & fast web-based e-mail client" description.fr = "Client de messagerie Web simple, moderne, léger et rapide" -version = "2.29.1~ynh2" +version = "2.29.1~ynh3" maintainers = ["eric_G"] From 7ea76360d98b1b248bd39831c40905dff7c56b9e Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Tue, 31 Oct 2023 14:33:21 +0000 Subject: [PATCH 5/5] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ab41b84..2263421 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in Simple, modern, lightweight & fast web-based email client. The drastically upgraded & secured fork of RainLoop Webmail Community edition. -**Shipped version:** 2.29.1~ynh2 +**Shipped version:** 2.29.1~ynh3 **Demo:** https://snappymail.eu/demo/ diff --git a/README_fr.md b/README_fr.md index f8e514f..11edf32 100644 --- a/README_fr.md +++ b/README_fr.md @@ -18,7 +18,7 @@ Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po Client de messagerie Web simple, moderne, léger et rapide. Snappymail est un fork considérablement amélioré et sécurisé de l'édition RainLoop Webmail Community. -**Version incluse :** 2.29.1~ynh2 +**Version incluse :** 2.29.1~ynh3 **Démo :** https://snappymail.eu/demo/