From 9d08f67c07324d12c4980d47edaab811ce11556b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 8 Feb 2024 19:14:30 +0100 Subject: [PATCH 1/5] fix --- conf/config.php | 6 +++--- scripts/_common.sh | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/conf/config.php b/conf/config.php index 465824c..93318bc 100644 --- a/conf/config.php +++ b/conf/config.php @@ -88,11 +88,11 @@ $config = [ /* general config */ 'use_smtp' => true, // use email for polls creation/modification/responses notification 'smtp_options' => [ - 'host' => 'localhost', // SMTP server (you could add many servers (main and backup for example) : use ";" like separator - 'auth' => false, // Enable SMTP authentication + 'host' => '__MAIN_DOMAIN__', // SMTP server (you could add many servers (main and backup for example) : use ";" like separator + 'auth' => true, // Enable SMTP authentication 'username' => '__APP__', // SMTP username 'password' => '__MAIL_PWD__', // SMTP password - 'secure' => false, // Enable encryption (false, tls or ssl) + 'secure' => 'ssl', // Enable encryption (false, tls or ssl) 'port' => 25, // TCP port to connect to ], /* home */ diff --git a/scripts/_common.sh b/scripts/_common.sh index ed42679..7c1eb27 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -6,6 +6,8 @@ YNH_COMPOSER_VERSION="2.1.1" +main_domain=$(cat /etc/yunohost/current_host) + #================================================= # PERSONAL HELPERS #================================================= From 180cb06e41649f7ccc4fe152ce11f4b52cd3479b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 8 Feb 2024 19:38:51 +0100 Subject: [PATCH 2/5] Update config.php --- conf/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/config.php b/conf/config.php index 93318bc..d812455 100644 --- a/conf/config.php +++ b/conf/config.php @@ -93,7 +93,7 @@ $config = [ 'username' => '__APP__', // SMTP username 'password' => '__MAIL_PWD__', // SMTP password 'secure' => 'ssl', // Enable encryption (false, tls or ssl) - 'port' => 25, // TCP port to connect to + 'port' => 465, // TCP port to connect to ], /* home */ 'show_what_is_that' => false, // display "how to use" section From 637754a12af0264130cc133c7c2704582648cc76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 15 Feb 2024 12:16:05 +0100 Subject: [PATCH 3/5] Update config.php --- conf/config.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/config.php b/conf/config.php index d812455..2b02c5e 100644 --- a/conf/config.php +++ b/conf/config.php @@ -92,8 +92,8 @@ $config = [ 'auth' => true, // Enable SMTP authentication 'username' => '__APP__', // SMTP username 'password' => '__MAIL_PWD__', // SMTP password - 'secure' => 'ssl', // Enable encryption (false, tls or ssl) - 'port' => 465, // TCP port to connect to + 'secure' => false, // Enable encryption (false, tls or ssl) + 'port' => 25, // TCP port to connect to ], /* home */ 'show_what_is_that' => false, // display "how to use" section From d387ea07a55c662e1deb0884c0f5be7c60d318f9 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com> Date: Thu, 15 Feb 2024 17:02:43 +0100 Subject: [PATCH 4/5] Update manifest.toml: bump version --- manifest.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 0df465a..4697467 100644 --- a/manifest.toml +++ b/manifest.toml @@ -6,7 +6,7 @@ description.en = "Service for planning an appointment or making a decision quick description.fr = "Service pour planifier un rendez-vous ou prendre une décision rapidement et facilement" description.de = "Service zur schnellen und einfachen Planung eines Termins oder zur Entscheidungsfindung" -version = "1.1.19~ynh1" +version = "1.1.19~ynh2" maintainers = [] From 8a9b67fe224d8612dbe0f8cb483de8397bd14b30 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Thu, 15 Feb 2024 16:02:46 +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 cfeea25..72a8993 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 OpenSondage is a quick and easy-to-use online service to collaboratively plan and schedule the date and time for an appointment, meeting or other event. No registration is required. -**Shipped version:** 1.1.19~ynh1 +**Shipped version:** 1.1.19~ynh2 **Demo:** https://framadate.org/ diff --git a/README_fr.md b/README_fr.md index c461c2b..6e7eda8 100644 --- a/README_fr.md +++ b/README_fr.md @@ -19,7 +19,7 @@ Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po OpenSondage est un service en ligne rapide et facile à utiliser pour planifier et programmer de manière collaborative la date et l'heure d'un rendez-vous, d'une réunion ou d'un autre événement. Aucune inscription n'est requise. -**Version incluse :** 1.1.19~ynh1 +**Version incluse :** 1.1.19~ynh2 **Démo :** https://framadate.org/