1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/timeoff_ynh.git synced 2024-09-03 20:35:59 +02:00
This commit is contained in:
ericgaspar 2022-02-09 21:30:55 +01:00
parent 7c9301b035
commit e0ba706738
No known key found for this signature in database
GPG key ID: 574F281483054D44
6 changed files with 2 additions and 27263 deletions

View file

@ -1,6 +1,6 @@
{
"allow_create_new_accounts" : true,
"send_emails" : false,
"send_emails" : false,
"application_sender_email" : "timeoff@__DOMAIN__",
"email_transporter" : {
"host" : "localhost",
@ -10,5 +10,5 @@
"crypto_secret" : "!2~`HswpPPLa22+=±§sdq qwe,appp qwwokDF_",
"application_domain" : "http://__DOMAIN__",
"promotion_website_domain" : "http://timeoff.management",
"locale_code_for_sorting": "__LANGUAGE__"
"locale_code_for_sorting": "en"
}

File diff suppressed because it is too large Load diff

View file

@ -36,16 +36,6 @@
"name": "is_public",
"type": "boolean",
"default": true
},
{
"name": "language",
"type": "string",
"ask": {
"en": "Choose the application language",
"fr": "Choisissez la langue de l'application"
},
"choices": ["cs", "de", "fr", "en"],
"default": "fr"
}
]
}

View file

@ -21,7 +21,6 @@ ynh_abort_if_errors # Active trap pour arrêter le script si une erreur est dét
domain=$YNH_APP_ARG_DOMAIN
path_url="/"
language=$YNH_APP_ARG_LANGUAGE
is_public=$YNH_APP_ARG_IS_PUBLIC
app=$YNH_APP_INSTANCE_NAME
@ -44,7 +43,6 @@ ynh_script_progression --message="Storing installation settings..."
ynh_app_setting_set --app=$app --key=domain --value=$domain
ynh_app_setting_set --app=$app --key=path --value=$path_url
ynh_app_setting_set --app=$app --key=language --value=$language
#=================================================
# STANDARD MODIFICATIONS

View file

@ -49,12 +49,6 @@ ynh_script_progression --message="Removing dependencies..."
# Remove metapackage and its dependencies
ynh_remove_app_dependencies
#=================================================
# REMOVE DEPENDENCIES
#=================================================
ynh_script_progression --message="Removing dependencies..."
# Remove NodeJS
ynh_remove_nodejs
#=================================================
@ -73,13 +67,6 @@ ynh_script_progression --message="Removing NGINX web server configuration..."
# Remove the dedicated NGINX config
ynh_remove_nginx_config
#=================================================
# REMOVE THE LOGROTATE CONFIG
#=================================================
ynh_script_progression --message="Removing logrotate configuration..."
ynh_remove_logrotate
#=================================================
# GENERIC FINALIZATION
#=================================================

View file

@ -20,7 +20,6 @@ domain=$(ynh_app_setting_get --app=$app --key=domain)
path_url=$(ynh_app_setting_get --app=$app --key=path)
final_path=$(ynh_app_setting_get --app=$app --key=final_path)
port=$(ynh_app_setting_get --app=$app --key=port)
language=$(ynh_app_setting_get --app=$app --key=language)
#=================================================
# CHECK VERSION