2022-03-17 21:03:11 +01:00
version = "1.0"
2022-12-06 18:41:09 +01:00
[ main ]
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
2023-10-23 20:35:40 +02:00
name . en = "Config panel"
name . fr = "Panneau de configuration"
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
2022-12-06 18:41:09 +01:00
[ main . accounts ]
2022-03-26 00:21:52 +01:00
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
2023-04-10 22:01:03 +02:00
[ main . accounts . 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"
2022-03-28 19:15:12 +02:00
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 ?"
2022-03-28 19:15:12 +02:00
type = "select"
2022-03-26 00:21:52 +01:00
2023-04-10 22:01:03 +02:00
[ main . accounts . 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"
2022-03-28 19:15:12 +02:00
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 ?"
2022-03-28 19:15:12 +02:00
type = "select"
2022-03-26 00:21:52 +01:00
2023-04-10 22:01:03 +02:00
[ main . accounts . 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"
2022-03-28 19:15:12 +02:00
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) ?"
2022-03-28 19:15:12 +02:00
type = "select"
2022-03-26 00:21:52 +01:00
2023-04-10 22:01:03 +02:00
[ main . accounts . accounts_allow_custom_css ]
2023-10-24 00:12:20 +02:00
ask . en = "Allow user custom CSS?"
ask . fr = "Autoriser le CSS personnalisé des utilisateurices ?"
2022-09-28 16:39:10 +02:00
bind = "accounts-allow-custom-css:__FINALPATH__/config.yaml"
choices = [ "true" , "false" ]
default = "false"
help . en = "" " Allow accounts on this instance to set custom CSS for their profile pages and statuses . \
Enabling this setting will allow accounts to upload custom CSS via the / user settings page , which will then be rendered on the web view of the account ' s profile and statuses . \
For instances with public sign ups , it is * * HIGHLY RECOMMENDED * * to leave this setting on 'false' , since setting it to true allows malicious accounts to make their profile pages misleading , unusable or even dangerous to visitors . In other words , you should only enable this setting if you trust the users on your instance not to produce harmful CSS . \
Regardless of what this value is set to , any uploaded CSS will not be federated to other instances , it will only be shown on profiles and statuses on * this * instance . "" "
help . fr = "" " Autoriser les comptes de cette instance à d é finir un CSS personnalis é pour leurs pages de profil et leurs statuts . \
En activant ce param è tre , les comptes pourront t é l é charger des feuilles de style CSS personnalis é es via la page de configuration de l ' utilisateur-ice / user , qui seront ensuite affich é es sur la page Web du profil et des statuts du compte . \
Pour les instances avec des inscriptions publiques , il est * * HAUTEMENT RECOMMAND É * * de laisser ce param è tre sur "false" , car le mettre sur "true" permet aux comptes malveillants de rendre leurs pages de profil trompeuses , inutilisables ou m ê me dangereuses pour les visiteurs . En d ' autres termes , vous ne devez activer ce param è tre que si vous avez confiance dans le fait que les utilisateurs de votre instance ne produisent pas de CSS dangereux . \
Quelle que soit la valeur de ce param è tre , tout CSS t é l é charg é ne sera pas f é d é r é à d ' autres instances , il ne sera affich é que sur les profils et les statuts de * cette * instance . "" "
type = "select"
2023-07-14 18:10:35 +02:00
[ main . accounts . accounts_custom_css_length ]
2023-10-24 00:12:20 +02:00
ask . en = "Custom CSS max length?"
ask . fr = "Longueur max du CSS personnalisé ?"
2023-07-14 18:10:35 +02:00
bind = "accounts-custom-css-length:__FINALPATH__/config.yaml"
default = "10000"
help . en = "If accounts-allow-custom-css is 'true', this is the permitted length in characters for CSS uploaded by accounts on this instance. No effect if accounts-allow-custom-css is 'false'. Default: 10000"
help . fr = "Si accounts-allow-custom-css est 'true', il s'agit de la longueur autorisée en caractères pour les feuilles de style CSS qui sont fournies par les comptes sur cette instance. Aucun effet si accounts-allow-custom-css est 'false'. Valeur par défaut : 10000"
type = "number"
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
2022-12-06 18:41:09 +01:00
[ main . media ]
2022-03-27 22:37:46 +02:00
name = "Media config"
2022-03-26 00:21:52 +01:00
2022-03-27 22:37:46 +02:00
help = "Config pertaining to user media uploads (videos, image, image descriptions)."
2022-03-26 00:21:52 +01:00
2022-12-06 18:41:09 +01:00
[ main . 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-12-06 18:41:09 +01:00
[ main . 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-12-06 18:41:09 +01:00
[ main . 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-12-06 18:41:09 +01:00
[ main . 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-12-06 18:41:09 +01:00
[ main . 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"
2022-09-28 16:39:10 +02:00
help . en = "" " 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-09-28 16:39:10 +02:00
help . fr = "" " Valeur par d é faut : 30 \
2022-03-26 01:21:10 +01:00
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-12-06 18:41:09 +01:00
[ main . media . media_emoji_local_max_size ]
2022-11-09 18:05:57 +01:00
ask . en = "Max size in bytes of emojis uploaded to this instance via the admin API."
ask . fr = "Taille maximale en octets des emojis téléchargés vers cette instance via l'API d'administration."
2022-09-28 16:39:10 +02:00
bind = "media-emoji-local-max-size:__FINALPATH__/config.yaml"
default = "51200"
help . en = "" " Default : 51200 \
The default is the same as the Mastodon size limit for emojis ( 50 kb ) , which allows for good interoperability . \
Raising this limit may cause issues with federation of your emojis to other instances , so beware . "" "
help . fr = "" " Valeur par d é faut : 51200 \
La valeur par d é faut est la m ê me que la limite de taille des emojis de Mastodon ( 50 ko ) , ce qui permet une bonne interop é rabilit é . \
Si vous augmentez cette limite , vous risquez d 'avoir des problèmes avec la fédération de vos emojis à d' autres instances , alors faites preuve de prudence . "" "
type = "number"
2022-12-06 18:41:09 +01:00
[ main . media . media_emoji_remote_max_size ]
2022-11-09 18:05:57 +01:00
ask . en = "Max size in bytes of emojis to download from other instances."
ask . fr = "Taille maximale en octets des emojis téléchargeables à partir d'autres instances."
2022-09-28 16:39:10 +02:00
bind = "media-emoji-remote-max-size:__FINALPATH__/config.yaml"
default = "102400"
help . en = "" " Default : 102400 \
By default this is 100 kb , or twice the size of the default for media-emoji-local-max-size . \
This strikes a good balance between decent interoperability with instances that have higher emoji size limits , and not taking up too much space in storage . "" "
help . fr = "" " Valeur par d é faut : 102400 \
Par d é faut , cette taille est de 100 Ko , soit le double de la taille par d é faut de media-emoji-local-max-size ( le param è tre pr é c é dent ) . \
Cette valeur repr é sente un bon é quilibre entre une interop é rabilit é d é cente avec les instances qui ont des limites de taille d 'emoji plus élevées et le fait de ne pas prendre trop d' espace de stockage . "" "
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
2022-12-06 18:41:09 +01:00
[ main . statuses ]
2022-03-27 22:37:46 +02:00
name = "Status config"
2022-03-26 00:21:52 +01:00
2022-03-27 22:37:46 +02:00
help = "Config pertaining to the creation of statuses/posts, and permitted limits."
2022-03-26 00:21:52 +01:00
2022-12-06 18:41:09 +01:00
[ main . 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-12-06 18:41:09 +01:00
[ main . 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-12-06 18:41:09 +01:00
[ main . 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-12-06 18:41:09 +01:00
[ main . 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-12-06 18:41:09 +01:00
[ main . 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"
2022-07-04 21:00:07 +02:00
####################
#### INSTANCE CONFIG
####################
2022-12-06 18:41:09 +01:00
[ main . instance ]
2022-07-04 21:00:07 +02:00
name = "Instance config"
help = "Config pertaining to instance federation settings, pages to hide/expose, etc."
2023-10-23 17:15:14 +02:00
[ 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"
2022-07-04 21:00:07 +02:00
2022-12-17 22:41:56 +01:00
[ main . instance . landing_page_user ]
ask . en = "Landing page user"
ask . fr = "Utilisateurice en tant que page d'accueil"
bind = "landing-page-user:__FINALPATH__/config.yaml"
help . en = "The user that will be shown instead of the landing page. if no user is set, the landing page will be shown."
help . fr = "L'utilisateurice qui sera affiché-e à la place de la page d'accueil. Si le champ est laissé vide, la page d'accueil normale sera affichée."
type = "string"
2022-12-06 18:41:09 +01:00
[ main . instance . instance_expose_peers ]
2022-07-04 21:00:07 +02:00
ask . en = "API: Expose peers?"
ask . fr = "API : Exposer les pairs ?"
bind = "instance-expose-peers:__FINALPATH__/config.yaml"
choices = [ "true" , "false" ]
default = "false"
help . en = "Allow unauthenticated users to make queries to /api/v1/instance/peers?filter=open in order to see a list of instances that this instance 'peers' with. Even if set to 'false', then authenticated users (members of the instance) will still be able to query the endpoint."
help . fr = "Permet aux utilisateurs non authentifiés d'effectuer des requêtes API sur /api/v1/instance/peers?filter=open afin d'afficher la liste des instances avec lesquelles votre instance est en relation. Même s'il est défini à 'false', les utilisateurs authentifiés (membres de l'instance) seront toujours en mesure d'interroger l'API."
type = "select"
2022-12-06 18:41:09 +01:00
[ main . instance . instance_expose_suspended ]
2022-07-04 21:00:07 +02:00
ask . en = "API: Expose suspended?"
ask . fr = "API : Exposer les instances bloquées ?"
bind = "instance-expose-suspended:__FINALPATH__/config.yaml"
choices = [ "true" , "false" ]
default = "false"
help . en = "Allow unauthenticated users to make queries to /api/v1/instance/peers?filter=suspended in order to see a list of instances that this instance blocks/suspends. This will also allow unauthenticated users to see the list through the web UI. Even if set to 'false', then authenticated users (members of the instance) will still be able to query the endpoint."
help . fr = "Permet aux utilisateurs non authentifiés d'effectuer des requêtes API sur /api/v1/instance/peers?filter=suspended afin de voir la liste des instances bloquées ou suspendues par votre instance. Cela permettra également aux utilisateurs non authentifiés de consulter la liste via l'interface Web. Même s'il est défini à 'false', les utilisateurs authentifiés (membres de l'instance) seront toujours en mesure d'interroger l'API."
type = "select"
2022-09-28 16:39:10 +02:00
2023-02-18 18:35:16 +01:00
[ main . instance . instance_expose_suspended_web ]
ask . en = "API: Expose suspended on Web (/about/suspended)?"
ask . fr = "API : Exposer les instances bloquées sur le Web (/about/suspended) ?"
2023-02-21 22:37:51 +01:00
bind = "instance-expose-suspended-web:__FINALPATH__/config.yaml"
2023-02-18 18:35:16 +01:00
choices = [ "true" , "false" ]
default = "false"
help . en = "Allow unauthenticated users to view /about/suspended, showing the HTML rendered list of instances that this instance blocks/suspends."
help . fr = "Permet aux utilisateurs non authentifiés d'afficher /about/suspended, montrant la liste rendue en HTML des instances que cette instance bloque ou suspend."
type = "select"
2022-12-17 22:41:56 +01:00
[ main . instance . instance_expose_public_timeline ]
ask . en = "API: Expose public timeline?"
ask . fr = "API : Exposer la timeline publique ?"
bind = "instance-expose-public-timeline:__FINALPATH__/config.yaml"
choices = [ "true" , "false" ]
default = "false"
help . en = "Allow unauthenticated users to make queries to /api/v1/timelines/public in order to see a list of public posts on this server. Even if set to 'false', then authenticated users (members of the instance) will still be able to query the endpoint."
help . fr = "Permet aux utilisateurs non authentifiés d'effectuer des requêtes sur /api/v1/timelines/public afin de voir la liste des messages publics sur ce serveur. Même s'il est défini à 'false', les utilisateurs authentifiés (membres de l'instance) seront toujours en mesure d'interroger l'API."
type = "select"
2022-12-06 18:41:09 +01:00
[ main . instance . instance_deliver_to_shared_inboxes ]
2022-09-28 16:39:10 +02:00
ask . en = "Deliver to shared inboxes?"
ask . fr = "Envoi en boites partagées ?"
bind = "instance-deliver-to-shared-inboxes:__FINALPATH__/config.yaml"
choices = [ "true" , "false" ]
default = "true"
help . en = "" " This flag tweaks whether GoToSocial will deliver ActivityPub messages to the shared inbox of a recipient , if one is available , instead of delivering each message to each actor who should receive a message individually . \
Shared inbox delivery can significantly reduce network load when delivering to multiple recipients share an inbox ( eg . , on large Mastodon instances ) . \
See : https : / / www . w3 . org / TR / activitypub / #shared-inbox-delivery"""
help . fr = "" " Ce param è tre d é termine si GoToSocial livrera les messages ActivityPub à la bo î te de r é ception partag é e d ' un destinataire , si une bo î te de r é ception est disponible , au lieu de livrer chaque message à chaque acteur qui devrait recevoir un message individuellement . \
La livraison dans la bo î te de r é ception partag é e peut r é duire de mani è re significative la charge du r é seau lorsque la livraison à plusieurs destinataires partagent une bo î te de r é ception ( par exemple , sur les grandes instances Mastodon ) . \
Voir : https : / / www . w3 . org / TR / activitypub / #shared-inbox-delivery"""
type = "select"
2022-12-06 18:41:09 +01:00
2023-08-15 20:29:20 +02:00
[ main . instance . instance_inject_mastodon_version ]
ask . en = "Inject Mastodon version?"
ask . fr = "Injecter une version Mastodon ?"
bind = "instance-inject-mastodon-version:__FINALPATH__/config.yaml"
choices = [ "true" , "false" ]
default = "false"
help . en = "" " This flag will inject a Mastodon version into the version field that is included in / api / v1 / instance . \
This version is often used by Mastodon clients to do API feature detection . \
By injecting a Mastodon compatible version , it is possible to cajole those clients to behave correctly with GoToSocial . \
Default : false "" "
help . fr = "" " Ce param è tre injecte une version de Mastodon dans le champ version qui est inclus dans / api / v1 / instance . \
Cette version est souvent utilis é e par les clients Mastodon pour d é tecter les caract é ristiques de l ' API . \
En injectant une version compatible avec Mastodon , il est possible d ' inciter ces clients à se comporter correctement avec GoToSocial .
Par d é fautl : false "" "
type = "select"
2023-04-10 20:30:47 +02:00
################
#### SMTP CONFIG
################
[ main . smtp ]
name = "SMTP config"
help = "Config for sending emails via an smtp server."
[ main . smtp . smtp_host ]
ask . en = "SMTP Server Hostname"
ask . fr = "Nom d'hôte du serveur SMTP"
bind = "smtp-host:__FINALPATH__/config.yaml"
default = "localhost"
2023-04-10 21:06:14 +02:00
help . en = "The hostname of the SMTP server you want to use. Examples: mail.example.org, localhost"
help . fr = "Le nom d'hôte du serveur SMTP que vous souhaitez utiliser. Exemples: mail.example.org, localhost"
2023-04-10 20:30:47 +02:00
type = "string"
[ main . smtp . smtp_port ]
ask . en = "SMTP Port"
ask . fr = "Port SMTP"
bind = "smtp-port:__FINALPATH__/config.yaml"
default = "25"
2023-04-10 21:06:14 +02:00
help . en = "Port to use to connect to the SMTP server"
help . fr = "Port à utiliser pour se connecter au serveur SMTP"
2023-04-10 20:30:47 +02:00
type = "number"
[ main . smtp . smtp_username ]
ask . en = "SMTP Username"
ask . fr = "Nom d'utilisateur SMTP"
bind = "smtp-username:__FINALPATH__/config.yaml"
default = ""
2023-04-10 21:06:14 +02:00
help . en = "Username to use when authenticating with the SMTP server"
help . fr = "Nom d'utilisateur à utiliser lors de l'authentification avec le serveur SMTP"
2023-04-10 20:30:47 +02:00
type = "string"
[ main . smtp . smtp_password ]
ask . en = "SMTP Password"
ask . fr = "Mot de passe SMTP"
bind = "smtp-password:__FINALPATH__/config.yaml"
default = ""
2023-04-10 21:06:14 +02:00
help . en = "Password to use when authenticating with the SMTP server"
help . fr = "Mot de passe à utiliser lors de l'authentification avec le serveur SMTP"
2023-04-10 20:30:47 +02:00
type = "password"
[ main . smtp . smtp_from ]
ask . en = "SMTP From Address"
ask . fr = "Adresse d'expédition SMTP"
bind = "smtp-from:__FINALPATH__/config.yaml"
default = "GoToSocial@__DOMAIN__"
help . en = "From address for sent emails"
2023-04-10 21:06:14 +02:00
help . fr = "L'adresse utilisée pour les e-mails envoyés"
2023-04-10 20:30:47 +02:00
type = "email"
[ main . smtp . smtp_disclose_recipients ]
ask . en = "SMTP Disclose Recipients"
ask . fr = "SMTP Divulguer les destinataires"
bind = "smtp-disclose-recipients:__FINALPATH__/config.yaml"
choices = [ "true" , "false" ]
default = "false"
help . en = "" " true : Disclose all recipients in the To field \
false : Email will be sent to Undisclosed Recipients "" "
2023-04-10 21:06:14 +02:00
help . fr = "" " true : divulguer tous les destinataires dans le champ À \
false : l ' e-mail sera envoy é sans divulguer les destinataires "" "
2023-04-10 20:30:47 +02:00
type = "select"
2023-08-15 20:29:20 +02:00
####################
#### CACHE SETTINGS
####################
[ main . cache ]
name = "Cache settings"
help = "Settings pertaining to... the cache"
[ main . cache . cache_memory_target ]
ask . en = "Value of the cache target"
ask . fr = "Valeur du niveau de cache"
2023-08-15 21:13:45 +02:00
bind = "memory-target:__FINALPATH__/config.yaml"
2023-08-15 20:29:20 +02:00
default = "100MiB"
help . en = "" " Sets a target limit that the application will try to keep it ' s caches within . \
This is based on estimated sizes of in-memory objects , and so NOT AT ALL EXACT .
Examples : 100 MiB , 200 MiB , 500 MiB , 1 GiB ; Default : 100 MiB "" "
help . fr = "" " D é finit une limite cible que l ' application essaiera de ne pas d é passer pour ses caches . \
Cette limite est bas é e sur des estimations de la taille des objets en m é moire et N ' EST DONC PAS DU TOUT EXACTE .
Exemples : 100 MiB , 200 MiB , 500 MiB , 1 GiB ; Par d é faut : 100 MiB "" "
type = "string"
2022-12-06 18:41:09 +01:00
####################
#### ADVANCED SETTINGS
####################
2022-12-20 20:33:55 +01:00
[ main . advanced ]
2022-12-06 18:41:09 +01:00
name = "Advanced settings"
help = "Settings pertaining to http timeouts, security, cookies, and more. ⚠️ ONLY ADJUST THESE SETTINGS IF YOU KNOW WHAT YOU ARE DOING! ⚠️"
2022-12-20 20:33:55 +01:00
[ main . advanced . advanced_cookies_samesite ]
2022-12-06 18:41:09 +01:00
ask . en = "Value of the SameSite attribute of cookies set by GoToSocial."
2022-12-18 01:52:43 +01:00
ask . fr = "Valeur de l'attribut SameSite des cookies définis par GoToSocial."
2022-12-06 18:41:09 +01:00
bind = "advanced-cookies-samesite:__FINALPATH__/config.yaml"
choices = [ "lax" , "strict" ]
default = "lax"
help . en = "" " Defaults to 'lax' to ensure that the OIDC flow does not break , which is fine in most cases . \
If you want to harden your instance against CSRF attacks and don 't mind if some login-related things might break, you can set this to ' strict ' instead . \
For an overview of what this does , see : \
https : / / developer . mozilla . org / en-US / docs / Web / HTTP / Headers / Set-Cookie / SameSite "" "
help . fr = ""
type = "select"
2022-12-20 20:33:55 +01:00
[ main . advanced . advanced_rate_limit_requests ]
2022-12-06 18:41:09 +01:00
ask . en = "Amount of requests to permit from a single IP address within a span of 5 minutes."
2022-12-18 01:52:43 +01:00
ask . fr = "Nombre de requêtes autorisées à partir d'une seule adresse IP dans un délai de 5 minutes."
2022-12-06 18:41:09 +01:00
bind = "advanced-rate-limit-requests:__FINALPATH__/config.yaml"
2023-02-18 18:35:16 +01:00
default = "300"
help . en = "" " Default : 300 \
2022-12-06 18:41:09 +01:00
If this amount is exceeded , a 429 HTTP error code will be returned . \
See https : / / docs . gotosocial . org / en / latest / api / swagger / #rate-limit.\
If you find yourself adjusting this limit because it ' s regularly being exceeded , you should first verify that your settings for ` trusted-proxies ` are correct . \
In many cases , when the rate limit is exceeded it is because your instance sees all incoming requests as coming from the * same IP address * ( you can verify this by looking at the client IPs in your instance logs ) . \
If this is the case , try adding that IP address to your ` trusted-proxies ` * BEFORE * you go adjusting this rate limit setting ! \
If you set this to 0 or less , rate limiting will be disabled entirely . "" "
help . fr = "Valeur par défaut : 1000"
type = "number"