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

168 lines
7.6 KiB
TOML
Raw Normal View History

2022-03-17 21:03:11 +01:00
version = "1.0"
2022-03-26 00:21:52 +01:00
[gotosocial]
2022-03-17 21:03:11 +01:00
2022-03-26 00:21:52 +01:00
services = ["__APP__"]
2022-03-17 21:03:11 +01:00
2022-03-27 21:48:30 +02:00
name = "GoToSocial configuration panel"
2022-03-26 00:21:52 +01:00
2022-03-27 21:48:30 +02:00
help = "Here you can easily configure some things about your GoToSocial instance."
2022-03-26 00:21:52 +01:00
2022-03-26 01:21:10 +01:00
####################
2022-03-26 00:21:52 +01:00
#### ACCOUNTS CONFIG
2022-03-26 01:21:10 +01:00
####################
2022-03-26 00:21:52 +01:00
[gotosocial.accounts]
2022-03-28 19:02:36 +02:00
name = "Accounts config"
2022-03-26 00:21:52 +01:00
2022-03-27 21:48:30 +02:00
help = "Config pertaining to creation and maintenance of accounts on the server, as well as defaults for new accounts."
2022-03-26 00:21:52 +01:00
2022-03-27 21:54:27 +02:00
[gotosocial.accounts.registration_open]
2022-03-26 00:21:52 +01:00
ask.en = "Open registrations?"
2022-03-26 01:21:10 +01:00
ask.fr = "Inscriptions ouvertes ?"
2022-03-27 22:31:32 +02:00
bind = "accounts-registration-open:__FINALPATH__/config.yaml"
choices = ["true", "false"]
2022-03-26 00:21:52 +01:00
default = "false"
help.en = "Do we want people to be able to just submit sign up requests, or do we want invite only?"
2022-03-26 01:21:10 +01:00
help.fr = "Voulez-vous que les gens puissent simplement envoyer des demandes d'inscription, ou voulez-vous qu'iels doivent être invité-e-s ?"
type = "select"
2022-03-26 00:21:52 +01:00
2022-03-27 21:54:27 +02:00
[gotosocial.accounts.approval_required]
2022-03-26 00:21:52 +01:00
ask.en = "Approval required?"
2022-03-26 01:21:10 +01:00
ask.fr = "Validation requise ?"
2022-03-27 22:31:32 +02:00
bind = "accounts-approval-required:__FINALPATH__/config.yaml"
choices = ["true", "false"]
2022-03-26 00:21:52 +01:00
default = "true"
help.en = "Do sign up requests require approval from an admin/moderator before an account can sign in/use the server?"
2022-03-26 01:21:10 +01:00
help.fr = "Les demandes d'inscription doivent-elles être approuvées par un-e administrateur-ice/modérateur-ice avant qu'un compte puisse se connecter/utiliser le serveur ?"
type = "select"
2022-03-26 00:21:52 +01:00
2022-03-27 21:54:27 +02:00
[gotosocial.accounts.reason_required]
2022-03-26 00:21:52 +01:00
ask.en = "Reason required?"
2022-03-26 01:21:10 +01:00
ask.fr = "Motif requis ?"
2022-03-27 22:31:32 +02:00
bind = "accounts-reason-required:__FINALPATH__/config.yaml"
choices = ["true", "false"]
2022-03-26 00:21:52 +01:00
default = "true"
help.en = "Are sign up requests required to submit a reason for the request (eg., an explanation of why they want to join the instance)?"
2022-03-26 01:21:10 +01:00
help.fr = "Les demandes d'inscription doivent-elles être motivées (par exemple, par une explication de la raison pour laquelle la personne souhaite rejoindre l'instance) ?"
type = "select"
2022-03-26 00:21:52 +01:00
2022-03-26 01:21:10 +01:00
#################
2022-03-26 00:21:52 +01:00
#### MEDIA CONFIG
2022-03-26 01:21:10 +01:00
#################
2022-03-26 00:21:52 +01:00
[gotosocial.media]
name = "Media config"
2022-03-26 00:21:52 +01:00
help = "Config pertaining to user media uploads (videos, image, image descriptions)."
2022-03-26 00:21:52 +01:00
2022-03-27 21:48:30 +02:00
[gotosocial.media.media_image_max_size]
2022-03-26 00:21:52 +01:00
ask.en = "Maximum allowed image upload size in bytes."
2022-03-26 01:21:10 +01:00
ask.fr = "Taille maximale autorisée pour le téléchargement d'images, en octets."
2022-03-27 22:31:32 +02:00
bind = "media-image-max-size:__FINALPATH__/config.yaml"
2022-03-26 00:21:52 +01:00
default = "2097152"
help.en = "Default: 2097152 -- aka 2MB"
2022-03-26 01:21:10 +01:00
help.fr = "Valeur par défaut : 2097152 (soit 2 Mo)"
2022-03-26 00:21:52 +01:00
type = "number"
2022-03-27 21:48:30 +02:00
[gotosocial.media.media_video_max_size]
2022-03-26 00:21:52 +01:00
ask.en = "Maximum allowed video upload size in bytes."
2022-03-26 01:21:10 +01:00
ask.fr = "Taille maximale autorisée pour le téléchargement de vidéos, en octets."
2022-03-27 22:31:32 +02:00
bind = "media-video-max-size:__FINALPATH__/config.yaml"
2022-03-26 00:21:52 +01:00
default = "10485760"
help.en = "Default: 10485760 -- aka 10MB"
2022-03-26 01:21:10 +01:00
help.fr = "Valeur par défaut : 10485760 (soit 10 Mo)"
2022-03-26 00:21:52 +01:00
type = "number"
2022-03-27 21:48:30 +02:00
[gotosocial.media.media_description_min_chars]
2022-03-26 00:21:52 +01:00
ask.en = "Minimum amount of characters required as an image or video description."
2022-03-26 01:21:10 +01:00
ask.fr = "Nombre minimum de caractères requis pour la description d'une image ou d'une vidéo."
2022-03-27 22:31:32 +02:00
bind = "media-description-min-chars:__FINALPATH__/config.yaml"
2022-03-26 00:21:52 +01:00
default = "0"
help.en = "Default: 0 (not required)"
2022-03-26 01:21:10 +01:00
help.fr = "Valeur par défaut : 0 (non obligatoire)"
2022-03-26 00:21:52 +01:00
type = "number"
2022-03-27 21:48:30 +02:00
[gotosocial.media.media_description_max_chars]
2022-03-26 00:21:52 +01:00
ask.en = "Maximum amount of characters permitted in an image or video description."
2022-03-26 01:21:10 +01:00
ask.fr = "Nombre maximum de caractères requis pour la description d'une image ou d'une vidéo."
2022-03-27 22:31:32 +02:00
bind = "media-description-max-chars:__FINALPATH__/config.yaml"
2022-03-26 00:21:52 +01:00
default = "500"
2022-03-26 01:21:10 +01:00
help.en = "Default: 500"
help.fr = "Valeur par défaut : 500"
2022-03-26 00:21:52 +01:00
type = "number"
2022-03-27 21:48:30 +02:00
[gotosocial.media.media_remote_cache_days]
2022-03-26 00:21:52 +01:00
ask.en = "Number of days to cache media from remote instances before they are removed from the cache."
2022-03-26 01:21:10 +01:00
ask.fr = "Nombre de jours de mise en cache des médias des instances distantes avant qu'ils ne soient retirés du cache."
2022-03-27 22:31:32 +02:00
bind = "media-remote-cache-days:__FINALPATH__/config.yaml"
2022-03-26 00:21:52 +01:00
default = "30"
help.en = """\
2022-03-26 01:21:10 +01:00
Default: 30\
2022-03-26 00:21:52 +01:00
A job will run every day at midnight to clean up any remote media older than the given amount of days. \
When remote media is removed from the cache, it is deleted from storage but the database entries for the media are kept so that it can be fetched again if requested by a user.\
If this is set to 0, then media from remote instances will be cached indefinitely.\
"""
2022-03-26 01:21:10 +01:00
help.fr = """\
Valeur par défaut : 30\
Une tâche est exécutée tous les soirs à minuit pour nettoyer les médias distants datant de plus d'un certain nombre de jours.\
Lorsque le média distant est supprimé du cache, il est supprimé du stockage mais les entrées de la base de données pour le média sont conservées afin qu'il puisse être récupéré si un utilisateur le demande.\
Si la valeur 0 est attribuée à ce paramètre, les médias des instances distantes sont mis en cache indéfiniment.\
"""
2022-03-26 00:21:52 +01:00
type = "number"
2022-03-26 01:21:10 +01:00
###################
2022-03-26 00:21:52 +01:00
### STATUSES CONFIG
2022-03-26 01:21:10 +01:00
###################
2022-03-26 00:21:52 +01:00
[gotosocial.statuses]
name = "Status config"
2022-03-26 00:21:52 +01:00
help = "Config pertaining to the creation of statuses/posts, and permitted limits."
2022-03-26 00:21:52 +01:00
2022-03-27 21:48:30 +02:00
[gotosocial.statuses.statuses_max_chars]
2022-03-26 00:21:52 +01:00
ask.en = "Maximum amount of characters permitted for a new status."
2022-03-26 01:21:10 +01:00
ask.fr = "Nombre maximal de caractères autorisés pour un nouveau statut."
2022-03-27 22:31:32 +02:00
bind = "statuses-max-chars:__FINALPATH__/config.yaml"
2022-03-26 00:21:52 +01:00
default = "5000"
help.en = "Default: 5000. Note that going way higher than the default might break federation."
2022-03-26 01:21:10 +01:00
help.fr = "Valeur par défaut : 5000. Notez que si vous dépassez la valeur par défaut, vous risquez de compromettre la fédération."
2022-03-26 00:21:52 +01:00
type = "number"
2022-03-27 21:48:30 +02:00
[gotosocial.statuses.statuses_cw_max_chars]
2022-03-26 00:21:52 +01:00
ask.en = "Maximum amount of characters allowed in the CW/subject header of a status."
2022-03-26 01:21:10 +01:00
ask.fr = "Nombre maximum de caractères autorisés dans l'en-tête CW/sujet d'un statut."
2022-03-27 22:31:32 +02:00
bind = "statuses-cw-max-chars:__FINALPATH__/config.yaml"
2022-03-26 00:21:52 +01:00
default = "100"
help.en = "Default: 100. Note that going way higher than the default might break federation."
2022-03-26 01:21:10 +01:00
help.fr = "Valeur par défaut : 100. Notez que si vous dépassez la valeur par défaut, vous risquez de compromettre la fédération."
2022-03-26 00:21:52 +01:00
type = "number"
2022-03-27 21:48:30 +02:00
[gotosocial.statuses.statuses_poll_max_options]
2022-03-26 00:21:52 +01:00
ask.en = "Maximum amount of options to permit when creating a new poll."
2022-03-26 01:21:10 +01:00
ask.fr = "Nombre maximum d'options autorisées lors de la création d'un nouveau sondage."
2022-03-27 22:31:32 +02:00
bind = "statuses-poll-max-options:__FINALPATH__/config.yaml"
2022-03-26 00:21:52 +01:00
default = "6"
help.en = "Default: 6. Note that going way higher than the default might break federation."
2022-03-26 01:21:10 +01:00
help.fr = "Valeur par défaut : 6. Notez que si vous dépassez la valeur par défaut, vous risquez de compromettre la fédération."
2022-03-26 00:21:52 +01:00
type = "number"
2022-03-27 21:48:30 +02:00
[gotosocial.statuses.statuses_poll_option_max_chars]
2022-03-26 00:21:52 +01:00
ask.en = "Maximum amount of characters to permit per poll option when creating a new poll."
2022-03-26 01:21:10 +01:00
ask.fr = "Nombre maximal de caractères autorisés par option de sondage lors de la création d'un nouveau sondage."
2022-03-27 22:31:32 +02:00
bind = "statuses-poll-option-max-chars:__FINALPATH__/config.yaml"
2022-03-26 00:21:52 +01:00
default = "50"
help.en = "Default: 50. Note that going way higher than the default might break federation."
2022-03-26 01:21:10 +01:00
help.fr = "Valeur par défaut : 50. Notez que si vous dépassez la valeur par défaut, vous risquez de compromettre la fédération."
2022-03-26 00:21:52 +01:00
type = "number"
2022-03-27 21:48:30 +02:00
[gotosocial.statuses.statuses_media_max_files]
2022-03-26 00:21:52 +01:00
ask.en = "Maximum amount of media files that can be attached to a new status."
2022-03-26 01:21:10 +01:00
ask.fr = "Quantité maximale de fichiers multimédias qui peuvent être joints à un nouveau statut."
2022-03-27 22:31:32 +02:00
bind = "statuses-media-max-files:__FINALPATH__/config.yaml"
2022-03-26 00:21:52 +01:00
default = "6"
help.en = "Default: 6. Note that going way higher than the default might break federation."
2022-03-26 01:21:10 +01:00
help.fr = "Valeur par défaut : 6. Notez que si vous dépassez la valeur par défaut, vous risquez de compromettre la fédération."
2022-03-26 00:21:52 +01:00
type = "number"