1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gotosocial_ynh.git synced 2024-09-03 19:16:06 +02:00

add: instance_federation_mode

This commit is contained in:
OniriCorpe 2023-10-23 17:15:14 +02:00
parent 5906751521
commit eff17d61cc

View file

@ -226,6 +226,18 @@ name = "Instance config"
help = "Config pertaining to instance federation settings, pages to hide/expose, etc." help = "Config pertaining to instance federation settings, pages to hide/expose, etc."
[main.instance.instance_federation_mode]
ask.en = "Federation mode to use for this instance"
ask.fr = "Le mode de fédération à utiliser pour cette instance"
bind = "instance-federation-mode:__FINALPATH__/config.yaml"
choices = ["blocklist", "allowlist"]
default = "blocklist"
help.en = """blocklist: open federation by default. Only instances that are explicitly blocked will be denied (unless they are also explicitly allowed).\
allowlist: closed federation by default. Only instances that are explicitly allowed will be able to interact with this instance."""
help.fr = """blocklist : fédération ouverte par défaut. Seules les instances explicitement bloquées seront exclues (à moins qu'elles ne soient également explicitement autorisées).\
allowlist : fédération fermée par défaut. Seules les instances explicitement autorisées pourront interagir avec cette instance."""
type = "select"
[main.instance.landing_page_user] [main.instance.landing_page_user]
ask.en = "Landing page user" ask.en = "Landing page user"
ask.fr = "Utilisateurice en tant que page d'accueil" ask.fr = "Utilisateurice en tant que page d'accueil"