1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nextcloud_ynh.git synced 2024-09-03 19:55:57 +02:00

[wip] Best nextcloud configuration parameters

This commit is contained in:
ljf 2023-12-10 02:02:09 +01:00
parent e4a27e8ea4
commit 37e8e2b82e
No known key found for this signature in database

View file

@ -3,14 +3,100 @@ version = "1.0"
[main]
name = "Nextcloud configuration"
[main.maintenance_mode]
name = "Maintenance mode"
[main.mode]
name = "Modes"
[main.maintenance_mode.maintenance_mode]
[main.mode.maintenance_mode]
ask = "Enable maintenance mode"
type = "boolean"
default = "0"
[main.mode.closed_network_mode]
ask = "Enable closed network mode"
type = "boolean"
default = "0"
help = "Is Nextcloud connected to the Internet or running in a closed network?"
[main.localization]
name = "Localization"
[main.localization.default_phone_region]
ask = "Default phone region"
type = "select"
default = "0"
help = "It is required to allow inserting phone numbers in the user profiles starting without the country code (e.g. +49 for Germany)."
[main.localization.default_timezone]
ask = "Default timezone"
type = "select"
bind = ":__INSTALL_DIR__/config/config.php"
default = "Europe/Paris"
help = "The default timezone parameter is only used when the timezone of the user cant be determined."
[main.account]
name = "Account"
[main.account.lost_password_link]
ask = "Lost password link"
type = "url"
bind = ":__INSTALL_DIR__/config/config.php"
default = "0"
help = "Allow to redirect on a custom form to require a password reset (for example to ask you to reset it from this yunohost webadmin)"
[main.account.logout_url]
ask = "Logout URL"
type = "url"
bind = ":__INSTALL_DIR__/config/config.php"
help = "Redirect on this URL when a user click on 'Logout' action"
[main.files]
name = "Files"
[main.account.trashbin_retention_obligation]
ask = "Trashbin retention"
type = "string"
bind = ":__INSTALL_DIR__/config/config.php"
default = "auto"
help = "If the trash bin app is enabled (default), this setting defines the policy for when files and folders in the trash bin will be permanently deleted."
[main.account.version_retention_obligation]
ask = "Version retention"
type = "string"
bind = ":__INSTALL_DIR__/config/config.php"
default = "auto"
help = "If the versions app is enabled (default), this setting defines the policy for when versions will be permanently deleted."
[main.account.enable_previews]
ask = "Enable previews"
type = "boolean"
bind = ":__INSTALL_DIR__/config/config.php"
default = "1"
help = "Info: Previews of photos and text documents could consume a lot of resources."
[main.apps]
name = "Apps"
[main.account.auto_update]
ask = "Auto update apps"
type = "boolean"
default = "1"
help = "Automatically update apps each night"
[main.apps.defaultapp]
ask = "Default app to display"
type = "tags"
bind = ":__INSTALL_DIR__/config/config.php"
default = "dashboard,files"
help = "Set the default app to open on login."
[main.apps.appsallowlist]
ask = "List of apps installable"
type = "tags"
bind = ":__INSTALL_DIR__/config/config.php"
default = "all"
help = "Filters allowed installable apps from the appstore."
[main.php_fpm_config]
name = "PHP-FPM configuration"