mirror of
https://github.com/YunoHost-Apps/leantime_ynh.git
synced 2024-09-03 19:36:04 +02:00
Merge branch 'testing' into patch-1
This commit is contained in:
commit
08411fb64d
7 changed files with 22 additions and 20 deletions
|
@ -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: <https://leantime.io/>
|
||||
* Official admin documentation: <https://docs.leantime.io>
|
||||
* Upstream app code repository: <https://github.com/Leantime/leantime>
|
||||
* YunoHost Store: <https://apps.yunohost.org/app/leantime>
|
||||
* Report a bug: <https://github.com/YunoHost-Apps/leantime_ynh/issues>
|
||||
|
||||
## Developer info
|
||||
|
|
|
@ -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 : <https://leantime.io/>
|
||||
* Documentation officielle de l’admin : <https://docs.leantime.io>
|
||||
* Dépôt de code officiel de l’app : <https://github.com/Leantime/leantime>
|
||||
* YunoHost Store: <https://apps.yunohost.org/app/leantime>
|
||||
* Signaler un bug : <https://github.com/YunoHost-Apps/leantime_ynh/issues>
|
||||
|
||||
## Informations pour les développeurs
|
||||
|
|
10
conf/.env
10
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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue