diff --git a/README.md b/README.md index 28db73c..81f0ea2 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.3.23~ynh1 +**Shipped version:** 2.3.25~ynh1 ## Screenshots diff --git a/README_fr.md b/README_fr.md index 5cff8e9..c613935 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.3.23~ynh1 +**Version incluse :** 2.3.25~ynh1 ## Captures d’écran diff --git a/manifest.toml b/manifest.toml index c92d2d2..0c1f81d 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.3.23~ynh1" +version = "2.3.25~ynh1" maintainers = ["eric_G"] @@ -16,10 +16,10 @@ admindoc = "https://docs.leantime.io" code = "https://github.com/Leantime/leantime" [integration] -yunohost = ">= 11.1.19" +yunohost = ">= 11.1.21" architectures = "all" multi_instance = true -ldap = true +ldap = false sso = false disk = "50M" ram.build = "50M" @@ -36,7 +36,7 @@ ram.runtime = "50M" [install.language] ask.en = "Choose the application language" ask.fr = "Choisissez la langue de l'application" - type = "string" + type = "select" choices = ["en-US", "es-ES", "it-IT", "fr-FR"] default = "fr-FR" @@ -45,9 +45,10 @@ ram.runtime = "50M" [resources.sources] [resources.sources.main] - url = "https://github.com/Leantime/leantime/releases/download/v2.3.23/Leantime-v2.3.23.tar.gz" - sha256 = "13c7a757a5bdd96d7c74042395ed68a74b50347cc5c30023a561aeba1375bc7e" - autoupdate.strategy = "latest_github_tag" + url = "https://github.com/Leantime/leantime/releases/download/v2.3.25/Leantime-v2.3.25.zip" + sha256 = "aa42487659ace89bfa884226cf8a9070e2f1f45777edf726731760523fa903c3" + autoupdate.strategy = "latest_github_release" + autoupdate.asset = "Leantime-v*.zip" [resources.system_user] diff --git a/scripts/change_url b/scripts/change_url index 4ba8cf7..002e1f7 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -9,6 +9,9 @@ source _common.sh source /usr/share/yunohost/helpers +timezone="$(cat /etc/timezone)" +key=$(ynh_string_random --length=18) + #================================================= # MODIFY URL IN NGINX CONF #================================================= @@ -16,6 +19,16 @@ ynh_script_progression --message="Updating NGINX web server configuration..." -- ynh_change_url_nginx_config +#================================================= +# ADD A CONFIGURATION +#================================================= +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" + #================================================= # END OF SCRIPT #=================================================