mirror of
https://github.com/YunoHost-Apps/vikunja_ynh.git
synced 2024-09-03 18:06:26 +02:00
Template config + upgrade script file
This commit is contained in:
parent
1b48f0f334
commit
fd0b3968bd
3 changed files with 16 additions and 1 deletions
|
@ -39,6 +39,13 @@ service:
|
|||
# If enabled, vikunja will send an email to everyone who is either assigned to a task or created it when a task reminder
|
||||
# is due.
|
||||
enableemailreminders: true
|
||||
# If true, will allow users to request the complete deletion of their account. When using external authentication methods
|
||||
# it may be required to coordinate with them in order to delete the account. This setting will not affect the cli commands
|
||||
# for user deletion.
|
||||
enableuserdeletion: true
|
||||
# The maximum size clients will be able to request for user avatars.
|
||||
# If clients request a size bigger than this, it will be changed on the fly.
|
||||
maxavatarsize: 1024
|
||||
|
||||
database:
|
||||
# Database type to use. Supported types are mysql, postgres and sqlite.
|
||||
|
|
|
@ -60,7 +60,7 @@ services = ["__APP__"]
|
|||
help = "If enabled, vikunja will send an email to everyone who is either assigned to a task or created it when a task reminder is due."
|
||||
bind = "enableemailreminders:/opt/__APP__/config.yml"
|
||||
|
||||
[main.config.enable_userdeletion ]
|
||||
[main.config.enable_userdeletion]
|
||||
ask.en = "Enable user deletion"
|
||||
ask.fr = "Activer la suppression de compte"
|
||||
type = "boolean"
|
||||
|
|
|
@ -29,6 +29,14 @@ secret=$(ynh_string_random --length=32)
|
|||
|
||||
set_motd=$(ynh_app_setting_get --app=$app --key=set_motd)
|
||||
enable_registration=$(ynh_app_setting_get --app=$app --key=enable_registration)
|
||||
enable_linksharing=$(ynh_app_setting_get --app=$app --key=enable_linksharing)
|
||||
enable_taskattachments=$(ynh_app_setting_get --app=$app --key=enable_taskattachments)
|
||||
enable_taskcomments=$(ynh_app_setting_get --app=$app --key=enable_taskcomments)
|
||||
enable_emailreminders=$(ynh_app_setting_get --app=$app --key=enable_emailreminders)
|
||||
enable_userdeletion=$(ynh_app_setting_get --app=$app --key=enable_userdeletion)
|
||||
maxavatarsize=$(ynh_app_setting_get --app=$app --key=maxavatarsize)
|
||||
maxitemsperpage=$(ynh_app_setting_get --app=$app --key=maxitemsperpage)
|
||||
|
||||
|
||||
#=================================================
|
||||
# CHECK VERSION
|
||||
|
|
Loading…
Reference in a new issue