From 03731d24938331fa44bf759c470538bdb3cb5db7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 12 Oct 2023 09:01:47 +0200 Subject: [PATCH 01/20] Update .env --- conf/.env | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/conf/.env b/conf/.env index 6b3feb5..aeb32c4 100644 --- a/conf/.env +++ b/conf/.env @@ -52,12 +52,12 @@ LEAN_S3_FOLDER_NAME = '' # Foldername within S3 (can b LEAN_S3_END_POINT = null # S3 EndPoint S3 Compatible (https://sfo2.digitaloceanspaces.com) ## Email -LEAN_EMAIL_RETURN = '' # Return email address, needs to be valid email address format -LEAN_EMAIL_USE_SMTP = false # Use SMTP? If set to false, the default php mail() function will be used +LEAN_EMAIL_RETURN = 'leantime@__DOMAIN__' # Return email address, needs to be valid email address format +LEAN_EMAIL_USE_SMTP = true # Use SMTP? If set to false, the default php mail() function will be used LEAN_EMAIL_SMTP_HOSTS = 'localhost' # SMTP host LEAN_EMAIL_SMTP_AUTH = true # SMTP authentication required -LEAN_EMAIL_SMTP_USERNAME = '' # SMTP username -LEAN_EMAIL_SMTP_PASSWORD = '' # SMTP password +LEAN_EMAIL_SMTP_USERNAME = '__APP__' # SMTP username +LEAN_EMAIL_SMTP_PASSWORD = '__MAIL_PWD__' # SMTP password LEAN_EMAIL_SMTP_AUTO_TLS = true # SMTP Enable TLS encryption automatically if a server supports it LEAN_EMAIL_SMTP_SECURE = '' # SMTP Security protocol (usually one of: TLS, SSL, STARTTLS) LEAN_EMAIL_SMTP_SSLNOVERIFY = false # SMTP Allow insecure SSL: Don't verify certificate, accept self-signed, etc. From c8efbfbc65715cf8b70d42159fa99dddeb4f6fe5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 12 Oct 2023 09:04:26 +0200 Subject: [PATCH 02/20] cleaning --- conf/.env | 4 ++-- manifest.toml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/conf/.env b/conf/.env index aeb32c4..c0535f0 100644 --- a/conf/.env +++ b/conf/.env @@ -59,12 +59,12 @@ LEAN_EMAIL_SMTP_AUTH = true # SMTP authentication require LEAN_EMAIL_SMTP_USERNAME = '__APP__' # SMTP username LEAN_EMAIL_SMTP_PASSWORD = '__MAIL_PWD__' # SMTP password LEAN_EMAIL_SMTP_AUTO_TLS = true # SMTP Enable TLS encryption automatically if a server supports it -LEAN_EMAIL_SMTP_SECURE = '' # SMTP Security protocol (usually one of: TLS, SSL, STARTTLS) +LEAN_EMAIL_SMTP_SECURE = 'STARTTLS' # SMTP Security protocol (usually one of: TLS, SSL, STARTTLS) LEAN_EMAIL_SMTP_SSLNOVERIFY = false # SMTP Allow insecure SSL: Don't verify certificate, accept self-signed, etc. LEAN_EMAIL_SMTP_PORT = '25' # Port (usually one of 25, 465, 587, 2526) ## Ldap -LEAN_LDAP_USE_LDAP = false # Set to true if you want to use LDAP +LEAN_LDAP_USE_LDAP = true # Set to true if you want to use LDAP LEAN_LDAP_LDAP_TYPE = 'OL' # Select the correct directory type. Currently Supported: OL - OpenLdap, AD - Active Directory LEAN_LDAP_HOST = '127.0.0.1' # FQDN LEAN_LDAP_PORT = 389 # Default Port diff --git a/manifest.toml b/manifest.toml index 82b9658..7529d58 100644 --- a/manifest.toml +++ b/manifest.toml @@ -51,6 +51,7 @@ ram.runtime = "50M" autoupdate.asset = "Leantime-v.*.zip" [resources.system_user] + allow_email = true [resources.install_dir] From ca87bea95186e9a30d6d7bdb03bab9d893e93261 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 12 Oct 2023 09:33:19 +0200 Subject: [PATCH 03/20] Update .env --- conf/.env | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/.env b/conf/.env index c0535f0..4c9a2a2 100644 --- a/conf/.env +++ b/conf/.env @@ -53,14 +53,14 @@ LEAN_S3_END_POINT = null # S3 EndPoint S3 Compatible ( ## Email LEAN_EMAIL_RETURN = 'leantime@__DOMAIN__' # Return email address, needs to be valid email address format -LEAN_EMAIL_USE_SMTP = true # Use SMTP? If set to false, the default php mail() function will be used +LEAN_EMAIL_USE_SMTP = true # Use SMTP? If set to false, the default php mail() function will be used LEAN_EMAIL_SMTP_HOSTS = 'localhost' # SMTP host LEAN_EMAIL_SMTP_AUTH = true # SMTP authentication required LEAN_EMAIL_SMTP_USERNAME = '__APP__' # SMTP username LEAN_EMAIL_SMTP_PASSWORD = '__MAIL_PWD__' # SMTP password LEAN_EMAIL_SMTP_AUTO_TLS = true # SMTP Enable TLS encryption automatically if a server supports it -LEAN_EMAIL_SMTP_SECURE = 'STARTTLS' # SMTP Security protocol (usually one of: TLS, SSL, STARTTLS) -LEAN_EMAIL_SMTP_SSLNOVERIFY = false # SMTP Allow insecure SSL: Don't verify certificate, accept self-signed, etc. +LEAN_EMAIL_SMTP_SECURE = '' # SMTP Security protocol (usually one of: TLS, SSL, STARTTLS) +LEAN_EMAIL_SMTP_SSLNOVERIFY = true # SMTP Allow insecure SSL: Don't verify certificate, accept self-signed, etc. LEAN_EMAIL_SMTP_PORT = '25' # Port (usually one of 25, 465, 587, 2526) ## Ldap From b071167c0024e1711bce974ca680d9e37178a7b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 12 Oct 2023 09:36:26 +0200 Subject: [PATCH 04/20] Update manifest.toml --- manifest.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/manifest.toml b/manifest.toml index 7529d58..65f958d 100644 --- a/manifest.toml +++ b/manifest.toml @@ -57,6 +57,10 @@ ram.runtime = "50M" [resources.permissions] main.url = "/" + api.url = "/api" + api.allowed = "visitors" + api.auth_header =false + api.show_tile = false [resources.apt] packages = "mariadb-server, php8.2-mysql, php8.2-mbstring, php8.2-xml, php8.2-curl, php8.2-gd, php8.2-imagick, php8.2-ldap" From ccf450b6ac5a71bfb78a75981631c26320d788d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 12 Oct 2023 09:36:37 +0200 Subject: [PATCH 05/20] Update manifest.toml --- manifest.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 65f958d..53422f9 100644 --- a/manifest.toml +++ b/manifest.toml @@ -19,7 +19,7 @@ code = "https://github.com/Leantime/leantime" yunohost = ">= 11.2" architectures = "all" multi_instance = true -ldap = false +ldap = true sso = false disk = "50M" ram.build = "50M" From fb4ea4f9dd748c88346fc849b00211834de9330d Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Mon, 16 Oct 2023 06:16:37 +0200 Subject: [PATCH 06/20] Upgrade to v2.4.2 --- manifest.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/manifest.toml b/manifest.toml index 53422f9..8330a8c 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Leantime" description.en = "Project management system for startups and innovators" description.fr = "Système de gestion de projet pour les startups et les innovateurs" -version = "2.4.1~ynh1" +version = "2.4.2~ynh1" maintainers = ["eric_G"] @@ -45,8 +45,8 @@ ram.runtime = "50M" [resources.sources] [resources.sources.main] - url = "https://github.com/Leantime/leantime/releases/download/v2.4.1/Leantime-v2.4.1.zip" - sha256 = "eaf88728697349a7c2898f5b03fde0e6afc2c58a0a0a26afb0a58b6c9bda8bd0" + url = "https://github.com/Leantime/leantime/releases/download/v2.4.2/Leantime-v2.4.2.zip" + sha256 = "60d53ee419b902d8fc4bb678832f805c22cd8ff99aa251cad345d72c5f76baf4" autoupdate.strategy = "latest_github_release" autoupdate.asset = "Leantime-v.*.zip" From dd7c4522a8e2bebe3469f8c563973be05a0895b2 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Mon, 16 Oct 2023 04:16:40 +0000 Subject: [PATCH 07/20] 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 e523812..389ffec 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in Leantime is a lean open source project management system for startups and innovators. It's an alternative to ClickUp, Notion, and Asana. -**Shipped version:** 2.4.1~ynh1 +**Shipped version:** 2.4.2~ynh1 ## Screenshots diff --git a/README_fr.md b/README_fr.md index eaa3511..c65ca1c 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 Leantime est un système de gestion de projet open source allégé pour les startups et les innovateurs. C'est une alternative à ClickUp, Notion et Asana. -**Version incluse :** 2.4.1~ynh1 +**Version incluse :** 2.4.2~ynh1 ## Captures d’écran From 2d7b64a5f951d35a33571418085558e10b6f8bad Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Wed, 18 Oct 2023 06:16:29 +0200 Subject: [PATCH 08/20] Upgrade to v2.4.3 --- manifest.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/manifest.toml b/manifest.toml index 8330a8c..52517e1 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Leantime" description.en = "Project management system for startups and innovators" description.fr = "Système de gestion de projet pour les startups et les innovateurs" -version = "2.4.2~ynh1" +version = "2.4.3~ynh1" maintainers = ["eric_G"] @@ -45,8 +45,8 @@ ram.runtime = "50M" [resources.sources] [resources.sources.main] - url = "https://github.com/Leantime/leantime/releases/download/v2.4.2/Leantime-v2.4.2.zip" - sha256 = "60d53ee419b902d8fc4bb678832f805c22cd8ff99aa251cad345d72c5f76baf4" + url = "https://github.com/Leantime/leantime/releases/download/v2.4.3/Leantime-v2.4.3.zip" + sha256 = "e1ddd07256c5612a382ece41e382a9623e9bdfae2dab8e25821b4889bc4a2aed" autoupdate.strategy = "latest_github_release" autoupdate.asset = "Leantime-v.*.zip" From f2ffba11ccbc8b9193a4ea2eb285edddc633ae5c Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Wed, 18 Oct 2023 06:39:11 +0000 Subject: [PATCH 09/20] 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 389ffec..577cd1a 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in Leantime is a lean open source project management system for startups and innovators. It's an alternative to ClickUp, Notion, and Asana. -**Shipped version:** 2.4.2~ynh1 +**Shipped version:** 2.4.3~ynh1 ## Screenshots diff --git a/README_fr.md b/README_fr.md index c65ca1c..f37490d 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 Leantime est un système de gestion de projet open source allégé pour les startups et les innovateurs. C'est une alternative à ClickUp, Notion et Asana. -**Version incluse :** 2.4.2~ynh1 +**Version incluse :** 2.4.3~ynh1 ## Captures d’écran From 4b846bd3ed8159ea78c0f6dceb9c70fdfbf4aebc Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Mon, 30 Oct 2023 17:16:54 +0100 Subject: [PATCH 10/20] Upgrade to v2.4.5 --- manifest.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/manifest.toml b/manifest.toml index 52517e1..51c6d13 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Leantime" description.en = "Project management system for startups and innovators" description.fr = "Système de gestion de projet pour les startups et les innovateurs" -version = "2.4.3~ynh1" +version = "2.4.5~ynh1" maintainers = ["eric_G"] @@ -45,8 +45,8 @@ ram.runtime = "50M" [resources.sources] [resources.sources.main] - url = "https://github.com/Leantime/leantime/releases/download/v2.4.3/Leantime-v2.4.3.zip" - sha256 = "e1ddd07256c5612a382ece41e382a9623e9bdfae2dab8e25821b4889bc4a2aed" + url = "https://github.com/Leantime/leantime/releases/download/v2.4.5/Leantime-v2.4.5.zip" + sha256 = "eccd8a4294cfb3c2f87ee08d2f73f797fc5418303d088fbd72c3c78ccc728d2c" autoupdate.strategy = "latest_github_release" autoupdate.asset = "Leantime-v.*.zip" From f75ff8932cf01ae4879c6ce3a5327e5e3a328215 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Tue, 31 Oct 2023 14:18:54 +0000 Subject: [PATCH 11/20] 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 81f0ea2..d07b92c 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ Leantime is a lean open source project management system for startups and innova * Official app website: * Official admin documentation: * Upstream app code repository: -* YunoHost documentation for this app: +* YunoHost Store: * Report a bug: ## Developer info diff --git a/README_fr.md b/README_fr.md index c613935..c1fff06 100644 --- a/README_fr.md +++ b/README_fr.md @@ -29,7 +29,7 @@ Leantime est un système de gestion de projet open source allégé pour les star * Site officiel de l’app : * Documentation officielle de l’admin : * Dépôt de code officiel de l’app : -* Documentation YunoHost pour cette app : +* YunoHost Store: * Signaler un bug : ## Informations pour les développeurs From a0ea1b334bcbd4151ea4c0de6e7e857583db0239 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sat, 2 Dec 2023 05:16:52 +0100 Subject: [PATCH 12/20] Upgrade to v2.4.8 --- manifest.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/manifest.toml b/manifest.toml index 51c6d13..3963c78 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Leantime" description.en = "Project management system for startups and innovators" description.fr = "Système de gestion de projet pour les startups et les innovateurs" -version = "2.4.5~ynh1" +version = "2.4.8~ynh1" maintainers = ["eric_G"] @@ -45,8 +45,8 @@ ram.runtime = "50M" [resources.sources] [resources.sources.main] - url = "https://github.com/Leantime/leantime/releases/download/v2.4.5/Leantime-v2.4.5.zip" - sha256 = "eccd8a4294cfb3c2f87ee08d2f73f797fc5418303d088fbd72c3c78ccc728d2c" + url = "https://github.com/Leantime/leantime/releases/download/v2.4.8/Leantime-v2.4.8.zip" + sha256 = "dd555aa5b5d55797507f282fc42162d0fbb5dab2eb825b7721063c404f6ebb0c" autoupdate.strategy = "latest_github_release" autoupdate.asset = "Leantime-v.*.zip" From bdc322def05d78b3bd912fe1c31f2e8948d5a7b9 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sat, 2 Dec 2023 04:16:53 +0000 Subject: [PATCH 13/20] Auto-update README --- README.md | 3 ++- README_fr.md | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 577cd1a..0581f47 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in Leantime is a lean open source project management system for startups and innovators. It's an alternative to ClickUp, Notion, and Asana. -**Shipped version:** 2.4.3~ynh1 +**Shipped version:** 2.4.8~ynh1 ## Screenshots @@ -29,6 +29,7 @@ Leantime is a lean open source project management system for startups and innova * 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 f37490d..dbc0230 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 Leantime est un système de gestion de projet open source allégé pour les startups et les innovateurs. C'est une alternative à ClickUp, Notion et Asana. -**Version incluse :** 2.4.3~ynh1 +**Version incluse :** 2.4.8~ynh1 ## Captures d’écran @@ -29,6 +29,7 @@ Leantime est un système de gestion de projet open source allégé pour les star * 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 996dc7b7f7e4b1cd0a466cc56c6816d63571b882 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sat, 2 Dec 2023 15:39:12 +0000 Subject: [PATCH 14/20] 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 a9e0814..df0597e 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in Leantime is a lean open source project management system for startups and innovators. It's an alternative to ClickUp, Notion, and Asana. -**Shipped version:** 2.4.3~ynh1 +**Shipped version:** 2.4.5~ynh1 ## Screenshots diff --git a/README_fr.md b/README_fr.md index d014336..6b331ee 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 Leantime est un système de gestion de projet open source allégé pour les startups et les innovateurs. C'est une alternative à ClickUp, Notion et Asana. -**Version incluse :** 2.4.3~ynh1 +**Version incluse :** 2.4.5~ynh1 ## Captures d’écran From 5449e2271112f07ff86c7af9b3d59f957303b145 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sat, 2 Dec 2023 16:43:45 +0100 Subject: [PATCH 15/20] cleaning --- manifest.toml | 3 +++ scripts/change_url | 2 +- scripts/install | 4 ++-- scripts/upgrade | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/manifest.toml b/manifest.toml index 3963c78..532bbdc 100644 --- a/manifest.toml +++ b/manifest.toml @@ -19,8 +19,11 @@ code = "https://github.com/Leantime/leantime" yunohost = ">= 11.2" architectures = "all" multi_instance = true + ldap = true + sso = false + disk = "50M" ram.build = "50M" ram.runtime = "50M" diff --git a/scripts/change_url b/scripts/change_url index 002e1f7..33508e9 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -24,7 +24,7 @@ ynh_change_url_nginx_config #================================================= ynh_script_progression --message="Adding a configuration file..." --weight=1 -ynh_add_config --template="../conf/.env" --destination="$install_dir/config/.env" +ynh_add_config --template=".env" --destination="$install_dir/config/.env" chmod 400 "$install_dir/config/.env" chown $app:$app "$install_dir/config/.env" diff --git a/scripts/install b/scripts/install index 7b25211..880d687 100755 --- a/scripts/install +++ b/scripts/install @@ -31,7 +31,7 @@ chown -R $app:www-data "$install_dir" ynh_script_progression --message="Adding system configurations related to $app..." --weight=1 # Create a dedicated PHP-FPM config using the conf/php-fpm.conf or conf/extra_php-fpm.conf -ynh_add_fpm_config --usage=low --footprint=low +ynh_add_fpm_config # Create a dedicated NGINX config using the conf/nginx.conf template ynh_add_nginx_config @@ -43,7 +43,7 @@ ynh_add_nginx_config #================================================= ynh_script_progression --message="Adding a configuration file..." --weight=1 -ynh_add_config --template="../conf/.env" --destination="$install_dir/config/.env" +ynh_add_config --template=".env" --destination="$install_dir/config/.env" chmod 400 "$install_dir/config/.env" chown $app:$app "$install_dir/config/.env" diff --git a/scripts/upgrade b/scripts/upgrade index 87260f9..1a2de1f 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -33,7 +33,7 @@ chown -R $app:www-data "$install_dir" #================================================= ynh_script_progression --message="Upgrading system configurations related to $app..." --weight=1 -ynh_add_fpm_config --usage=low --footprint=low +ynh_add_fpm_config ynh_add_nginx_config From 93b26d545a810947019cfda8647ed45aa61c653f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sat, 2 Dec 2023 16:46:53 +0100 Subject: [PATCH 16/20] Update change_url --- scripts/change_url | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/scripts/change_url b/scripts/change_url index 33508e9..46de5ae 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -24,10 +24,7 @@ ynh_change_url_nginx_config #================================================= ynh_script_progression --message="Adding a configuration file..." --weight=1 -ynh_add_config --template=".env" --destination="$install_dir/config/.env" - -chmod 400 "$install_dir/config/.env" -chown $app:$app "$install_dir/config/.env" +ynh_replace_string --match_string="LEAN_APP_URL = 'https://$old_domain'" --replace_string="LEAN_APP_URL = 'https://$new_domain'" --target_file="$install_dir/config/.env" #================================================= # END OF SCRIPT From 9a83c295ed15b86964927a9da9315b527d954d28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sat, 2 Dec 2023 16:47:49 +0100 Subject: [PATCH 17/20] Update change_url --- scripts/change_url | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/change_url b/scripts/change_url index 46de5ae..1add476 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -9,9 +9,6 @@ source _common.sh source /usr/share/yunohost/helpers -timezone="$(cat /etc/timezone)" -key=$(ynh_string_random --length=18) - #================================================= # MODIFY URL IN NGINX CONF #================================================= From 02bd516d99c07140b15a3bd342f42e757d5a0c7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sat, 13 Jan 2024 12:26:22 +0100 Subject: [PATCH 18/20] Update install --- scripts/install | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/install b/scripts/install index 880d687..008e208 100755 --- a/scripts/install +++ b/scripts/install @@ -19,7 +19,6 @@ key=$(ynh_string_random --length=18) #================================================= ynh_script_progression --message="Setting up source files..." --weight=1 -# Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$install_dir" chmod -R o-rwx "$install_dir" @@ -30,10 +29,8 @@ chown -R $app:www-data "$install_dir" #================================================= ynh_script_progression --message="Adding system configurations related to $app..." --weight=1 -# Create a dedicated PHP-FPM config using the conf/php-fpm.conf or conf/extra_php-fpm.conf ynh_add_fpm_config -# Create a dedicated NGINX config using the conf/nginx.conf template ynh_add_nginx_config #================================================= From 95c7053dd06c3c9c7ce9eee83a9803acea7f0367 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sat, 13 Jan 2024 12:26:46 +0100 Subject: [PATCH 19/20] Update upgrade --- scripts/upgrade | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 1a2de1f..53b715b 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -21,7 +21,6 @@ if [ "$upgrade_type" == "UPGRADE_APP" ] then ynh_script_progression --message="Upgrading source files..." --weight=1 - # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$install_dir" --keep="config/.env" fi From 4301233c7c66c8dcb998f40edac04379ec3e16e2 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 13 Jan 2024 14:01:20 +0100 Subject: [PATCH 20/20] Update .env --- conf/.env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/.env b/conf/.env index 4c9a2a2..c373e04 100644 --- a/conf/.env +++ b/conf/.env @@ -52,7 +52,7 @@ LEAN_S3_FOLDER_NAME = '' # Foldername within S3 (can b LEAN_S3_END_POINT = null # S3 EndPoint S3 Compatible (https://sfo2.digitaloceanspaces.com) ## Email -LEAN_EMAIL_RETURN = 'leantime@__DOMAIN__' # Return email address, needs to be valid email address format +LEAN_EMAIL_RETURN = '__APP__@__DOMAIN__' # Return email address, needs to be valid email address format LEAN_EMAIL_USE_SMTP = true # Use SMTP? If set to false, the default php mail() function will be used LEAN_EMAIL_SMTP_HOSTS = 'localhost' # SMTP host LEAN_EMAIL_SMTP_AUTH = true # SMTP authentication required