1
0
Fork 0
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:
AllanNICOLE 2022-08-20 22:06:43 +02:00
parent 1b48f0f334
commit fd0b3968bd
3 changed files with 16 additions and 1 deletions

View file

@ -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 # 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. # is due.
enableemailreminders: true 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:
# Database type to use. Supported types are mysql, postgres and sqlite. # Database type to use. Supported types are mysql, postgres and sqlite.

View file

@ -29,6 +29,14 @@ secret=$(ynh_string_random --length=32)
set_motd=$(ynh_app_setting_get --app=$app --key=set_motd) set_motd=$(ynh_app_setting_get --app=$app --key=set_motd)
enable_registration=$(ynh_app_setting_get --app=$app --key=enable_registration) 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 # CHECK VERSION