1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/leantime_ynh.git synced 2024-09-03 19:36:04 +02:00

Merge pull request #8 from YunoHost-Apps/testing

Testing
This commit is contained in:
Éric Gaspar 2023-07-21 12:36:07 +02:00 committed by GitHub
commit 2b0ef841be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 23 additions and 9 deletions

View file

@ -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. 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 ## Screenshots

View file

@ -18,7 +18,7 @@ Si vous navez 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. 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 ## Captures décran

View file

@ -5,7 +5,7 @@ name = "Leantime"
description.en = "Project management system for startups and innovators" description.en = "Project management system for startups and innovators"
description.fr = "Système de gestion de projet pour les startups et les innovateurs" 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"] maintainers = ["eric_G"]
@ -16,10 +16,10 @@ admindoc = "https://docs.leantime.io"
code = "https://github.com/Leantime/leantime" code = "https://github.com/Leantime/leantime"
[integration] [integration]
yunohost = ">= 11.1.19" yunohost = ">= 11.1.21"
architectures = "all" architectures = "all"
multi_instance = true multi_instance = true
ldap = true ldap = false
sso = false sso = false
disk = "50M" disk = "50M"
ram.build = "50M" ram.build = "50M"
@ -36,7 +36,7 @@ ram.runtime = "50M"
[install.language] [install.language]
ask.en = "Choose the application language" ask.en = "Choose the application language"
ask.fr = "Choisissez la langue de l'application" ask.fr = "Choisissez la langue de l'application"
type = "string" type = "select"
choices = ["en-US", "es-ES", "it-IT", "fr-FR"] choices = ["en-US", "es-ES", "it-IT", "fr-FR"]
default = "fr-FR" default = "fr-FR"
@ -45,9 +45,10 @@ ram.runtime = "50M"
[resources.sources] [resources.sources]
[resources.sources.main] [resources.sources.main]
url = "https://github.com/Leantime/leantime/releases/download/v2.3.23/Leantime-v2.3.23.tar.gz" url = "https://github.com/Leantime/leantime/releases/download/v2.3.25/Leantime-v2.3.25.zip"
sha256 = "13c7a757a5bdd96d7c74042395ed68a74b50347cc5c30023a561aeba1375bc7e" sha256 = "aa42487659ace89bfa884226cf8a9070e2f1f45777edf726731760523fa903c3"
autoupdate.strategy = "latest_github_tag" autoupdate.strategy = "latest_github_release"
autoupdate.asset = "Leantime-v*.zip"
[resources.system_user] [resources.system_user]

View file

@ -9,6 +9,9 @@
source _common.sh source _common.sh
source /usr/share/yunohost/helpers source /usr/share/yunohost/helpers
timezone="$(cat /etc/timezone)"
key=$(ynh_string_random --length=18)
#================================================= #=================================================
# MODIFY URL IN NGINX CONF # MODIFY URL IN NGINX CONF
#================================================= #=================================================
@ -16,6 +19,16 @@ ynh_script_progression --message="Updating NGINX web server configuration..." --
ynh_change_url_nginx_config 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 # END OF SCRIPT
#================================================= #=================================================