diff --git a/README.md b/README.md
index e523812..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.1~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 eaa3511..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.1~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
diff --git a/conf/.env b/conf/.env
index f10468f..f2e290f 100644
--- a/conf/.env
+++ b/conf/.env
@@ -52,15 +52,15 @@ 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 = '__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
-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.
+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
diff --git a/manifest.toml b/manifest.toml
index cfb6086..532bbdc 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.8~ynh1"
maintainers = ["eric_G"]
@@ -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"
@@ -45,17 +48,22 @@ 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.8/Leantime-v2.4.8.zip"
+ sha256 = "dd555aa5b5d55797507f282fc42162d0fbb5dab2eb825b7721063c404f6ebb0c"
autoupdate.strategy = "latest_github_release"
autoupdate.asset = "Leantime-v.*.zip"
[resources.system_user]
+ allow_email = true
[resources.install_dir]
[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"
diff --git a/scripts/change_url b/scripts/change_url
index 002e1f7..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
#=================================================
@@ -24,10 +21,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"
-
-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
diff --git a/scripts/install b/scripts/install
index 19e337f..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"
@@ -41,7 +40,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 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