mirror of
https://github.com/YunoHost-Apps/invidious_ynh.git
synced 2024-09-03 19:15:55 +02:00
94b961c27d
* Testing (#143) * Thumbnails (#133) * Update manifest.toml * Update manifest.toml * Update manifest.toml * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> * fix * Auto-update README * Update manifest.toml * Only build invidious once per install (#136) * Thumbnails (#133) (#134) * Thumbnails (#133) * Update manifest.toml * Update manifest.toml * Update manifest.toml * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> * fix * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> * Only build invidious once per install * Update manifest.toml --------- Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com> Co-authored-by: eric_G <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: yunohost-bot <yunohost@yunohost.org> * Update manifest.toml * fix * Auto-update README * Update manifest.toml * Auto-update README * Update manifest.toml * cleaning * Auto-update README * update * Auto-update README * upgrade * Auto-update README * fix * Auto-update README * update to upstream * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: selfhoster1312 <121760708+selfhoster1312@users.noreply.github.com> Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com> * implement new parameters * add new parameters * fix shellcheck SC2086 * typo * sigh an omission * add pre upgrade message about the 2 new settings * simplify ynh_add_config templates paths * bad copy paste :"3 * add how to find the config panel * add a note about the fact we can't use resources.sources instead of git * oupsi ^^" --------- Co-authored-by: eric_G <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: selfhoster1312 <121760708+selfhoster1312@users.noreply.github.com> Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com>
51 lines
1.5 KiB
TOML
51 lines
1.5 KiB
TOML
version = "1.0"
|
|
|
|
[main]
|
|
name = "Invidious configuration"
|
|
services = ["__APP__"]
|
|
|
|
|
|
[main.users_accounts]
|
|
name = "Users and accounts configuration"
|
|
|
|
[main.users_accounts.registration_enabled]
|
|
ask = "Enable registration"
|
|
type = "boolean"
|
|
yes = "true"
|
|
no = "false"
|
|
help = "Allow/Forbid Invidious (local) account creation"
|
|
bind = "registration_enabled:__INSTALL_DIR__/config/config.yml"
|
|
|
|
[main.users_accounts.login_enabled]
|
|
ask = "Enable login"
|
|
type = "boolean"
|
|
yes = "true"
|
|
no = "false"
|
|
help = "Allow/Forbid users to log-in"
|
|
bind = "login_enabled:__INSTALL_DIR__/config/config.yml"
|
|
|
|
[main.users_accounts.captcha_enabled]
|
|
ask = "Enable captcha"
|
|
type = "boolean"
|
|
yes = "true"
|
|
no = "false"
|
|
help = "Enable/Disable the captcha challenge on the login page"
|
|
bind = "captcha_enabled:__INSTALL_DIR__/config/config.yml"
|
|
|
|
[main.users_accounts.enable_user_notifications]
|
|
ask = "Enable user notifications"
|
|
type = "boolean"
|
|
yes = "true"
|
|
no = "false"
|
|
help = "Note: On large instances, it is recommended to set this option to 'false' in order to reduce the amount of data written to the database, and hence improve the overall performance of the instance."
|
|
bind = "enable_user_notifications:__INSTALL_DIR__/config/config.yml"
|
|
|
|
|
|
[main.miscellaneous]
|
|
name = "Miscellaneous configuration"
|
|
|
|
[main.miscellaneous.banner]
|
|
ask.en = "Text of the banner"
|
|
bind = "banner:__INSTALL_DIR__/config/config.yml"
|
|
help = "Custom banner displayed at the top of every page. This can used for instance announcements. Accepted values: any string. HTML is accepted. Empty by default."
|
|
type = "string"
|