2023-01-06 14:38:14 +01:00
version = "1.0"
2023-01-18 17:46:24 +01:00
[ main ]
name = "Main Settings"
2024-02-06 22:02:32 +01:00
services = [ "__APP__" ]
2023-01-06 14:38:14 +01:00
2023-01-18 17:46:24 +01:00
[ main . welcome ]
name = "Experience for new Users"
2023-01-06 14:38:14 +01:00
2023-01-18 17:46:24 +01:00
[ main . welcome . enable_registration ]
2024-02-16 22:41:20 +01:00
ask = "Enable Registration for new users"
2023-01-18 17:46:24 +01:00
type = "boolean"
2023-08-13 18:47:19 +02:00
yes = "true"
no = "false"
2023-01-18 17:46:24 +01:00
help = "Defaults to 'false'. If 'true', it is highly recommended to use either captcha, email, or token-based verification to avoid SPAM."
2023-01-18 18:13:00 +01:00
2024-03-19 23:34:23 +01:00
# Disabled for matrix V2 because some client like Element X don't support cas and so require to have password authentication enabled
# [main.welcome.password_enabled]
# ask = "Enable Password Login"
# type = "boolean"
# yes = "true"
# no = "false"
# help = "If disabled, Login with Non-YunoHost Users impossible. But it simplies Login process if your Matrix server only has YunoHost SSO Users."
2024-02-14 22:33:46 +01:00
# Temporary disable the visible flag due of https://github.com/YunoHost/issues/issues/2331
# visible = "! enable_registration"
2023-01-06 14:38:14 +01:00
2023-01-18 17:46:24 +01:00
[ main . welcome . registrations_require_3pid ]
2024-02-16 22:41:20 +01:00
ask = "Registration requires all following 3PID personal identifier"
2023-01-18 17:46:24 +01:00
type = "select"
2024-02-16 23:27:55 +01:00
choices = [ "email" , "msisdn" , "email&msisdn" ]
help = "! Warning msisdn (Phone number) registration require a third party service which send confirmation token by SMS.\nDo not select msisdn if you don't know what to do. And don't select user msisdn if you don't understand privacy flow\nDefaults to: 'email'."
2023-01-18 18:22:56 +01:00
visible = "enable_registration"
2023-01-11 14:03:52 +01:00
2023-01-19 10:08:18 +01:00
[ main . welcome . allowed_local_3pids_email ]
2024-02-16 22:41:20 +01:00
ask = "Register only with given email formats"
2023-01-19 10:08:18 +01:00
type = "tags"
2024-02-29 20:14:25 +01:00
help = '( e.g. ^[^@]+@matrix\\.org$ )'
2023-01-19 10:08:18 +01:00
visible = 'enable_registration && (registrations_require_3pid == "email" || registrations_require_3pid == "email&msisdn")'
[ main . welcome . allowed_local_3pids_msisdn ]
2024-02-16 22:41:20 +01:00
ask = "Register only with given phone number formats"
2023-01-19 10:08:18 +01:00
type = "tags"
2024-02-29 20:14:25 +01:00
help = '( e.g. \\+33 )'
2023-01-19 10:08:18 +01:00
visible = 'enable_registration && (registrations_require_3pid == "email&msisdn" || registrations_require_3pid == "msisdn")'
2023-01-06 14:38:14 +01:00
2023-07-26 10:27:35 +02:00
[ main . welcome . disable_msisdn_registration ]
2024-02-16 22:41:20 +01:00
ask = "Disable asking Phone Number in Registration flow"
2023-07-26 10:27:35 +02:00
type = "boolean"
2023-08-13 18:47:19 +02:00
yes = "true"
no = "false"
2023-07-26 10:27:35 +02:00
help = "Overrides 3PID settings if MSISDNs are set as required."
visible = "enable_registration"
2023-08-21 22:30:00 +02:00
[ main . welcome . account_threepid_delegates_msisdn ]
2024-02-16 22:41:20 +01:00
ask = "Specify a third party server to send confirmation code by SMS"
2023-08-21 22:30:00 +02:00
type = "string"
2023-08-30 02:26:33 +02:00
help = "That should be an URL with port or API."
2023-08-21 22:30:00 +02:00
visible = 'enable_registration && (registrations_require_3pid == "email&msisdn" || registrations_require_3pid == "msisdn")'
2023-11-01 18:52:07 +01:00
2023-01-18 17:46:24 +01:00
[ main . welcome . auto_join_rooms ]
2024-02-16 22:41:20 +01:00
ask = "Auto Join new Users in following Rooms"
2023-01-19 10:08:18 +01:00
type = "tags"
2023-11-01 18:52:07 +01:00
help = "( e.g. #example:example.com ) Users who register on this homeserver will automatically be joined to these rooms. If the room already exists, the join rule must be set to 'public'. See also next setting."
2023-01-18 17:46:24 +01:00
[ main . welcome . autocreate_auto_join_rooms ]
2024-02-16 22:41:20 +01:00
ask = "Auto-Create room for Auto Join if not existing"
2023-01-18 17:46:24 +01:00
type = "boolean"
2023-08-13 18:47:19 +02:00
yes = "true"
no = "false"
2023-01-18 17:46:24 +01:00
help = "Setting to false means that if the rooms are not manually created, users cannot be auto-joined. Auto-created rooms will be public and federated by default, this can be customised in CLI with the settings auto_join_*."
2023-01-06 14:38:14 +01:00
2023-01-18 17:46:24 +01:00
[ main . welcome . notif_for_new_users ]
2024-02-16 22:41:20 +01:00
ask = "Enable email notifications for new users"
2023-01-18 17:46:24 +01:00
type = "boolean"
2023-08-13 18:47:19 +02:00
yes = "true"
no = "false"
2023-01-18 17:46:24 +01:00
help = "Defaults to 'true'."
2023-01-18 18:13:00 +01:00
visible = "enable_notifs"
2023-01-06 14:38:14 +01:00
2023-01-18 17:46:24 +01:00
[ main . privacy ]
name = "Data Privacy"
2023-11-01 18:52:07 +01:00
2023-01-18 17:46:24 +01:00
[ main . privacy . text ]
ask = '' '
* "all" : any locally-created room
* "invite" : any room created with the "private_chat" or "trusted_private_chat" room creation presets
* "off" : No encryption by default
'' '
type = "markdown"
2023-01-06 14:38:14 +01:00
2023-01-18 17:46:24 +01:00
[ main . privacy . e2e_enabled_by_default ]
ask = "End-to-End Encryption by default for locally-created Rooms"
type = "select"
choices = [ "all" , "invite" , "off" ]
help = "Note that encryption can always be turned on manually, even after creation."
2023-11-01 18:52:07 +01:00
2023-01-18 17:46:24 +01:00
[ main . privacy . allow_public_rooms_over_federation ]
2024-02-16 22:41:20 +01:00
ask = "Access Public Rooms Directory over Federation"
2023-01-18 17:46:24 +01:00
type = "boolean"
2023-08-13 18:47:19 +02:00
yes = "true"
no = "false"
2023-01-18 17:46:24 +01:00
help = "Disabled by default. If disabled, users on other homeserver will not be able to look for a public room on your homeserver. They will have to type the ID of the room to join."
2023-01-06 14:38:14 +01:00
2023-01-30 17:56:17 +01:00
[ main . privacy . push_include_content ]
2024-02-16 22:41:20 +01:00
ask = "Disable content sharing inside push notification"
2023-01-28 20:29:09 +01:00
type = "boolean"
2023-08-13 18:47:19 +02:00
yes = "true"
no = "false"
2023-07-31 02:03:22 +02:00
help = "Send content message and sender information in push notification. Set to false increase privacy when GAFAM notification service is used (ie: when element client is downloaded thrue Gplay store)."
2023-01-06 14:38:14 +01:00
2023-01-18 17:46:24 +01:00
[ main . experience ]
2023-01-11 14:03:52 +01:00
name = "User Experience"
2023-01-06 14:38:14 +01:00
2023-01-18 17:46:24 +01:00
[ main . experience . web_client_location ]
2024-02-16 22:41:20 +01:00
ask = "Element instance your HomeServer should redirect to"
2023-01-11 14:03:52 +01:00
type = "url"
2023-01-19 10:08:18 +01:00
help = "URL to the web client which / will redirect to."
2023-01-06 14:38:14 +01:00
2023-01-18 17:46:24 +01:00
[ main . experience . enable_group_creation ]
2024-02-16 22:41:20 +01:00
ask = "Allow non-server-admin Users to create Spaces"
2023-01-18 17:46:24 +01:00
type = "boolean"
2023-08-13 18:47:19 +02:00
yes = "true"
no = "false"
2023-01-19 10:08:18 +01:00
help = "Disabled by default: only server admins can create Spaces"
2023-01-18 17:46:24 +01:00
[ main . experience . enable_notifs ]
2024-02-16 22:41:20 +01:00
ask = "Enable sending emails for messages the user missed"
2023-01-18 17:46:24 +01:00
type = "boolean"
2023-08-13 18:47:19 +02:00
yes = "true"
no = "false"
2023-01-18 17:46:24 +01:00
help = "Defaults to 'false'."
[ main . experience . client_base_url ]
2024-02-16 22:41:20 +01:00
ask = "URL for client links within the email notifications"
2023-01-11 14:03:52 +01:00
type = "url"
help = "Used to be called 'riot_base_url', still supported"
2023-01-19 10:08:18 +01:00
visible = "enable_notifs"
2023-01-06 14:38:14 +01:00
2023-01-18 17:46:24 +01:00
[ resources ]
name = "Resource Usage"
2024-02-06 22:02:32 +01:00
services = [ "__APP__" ]
2023-01-18 17:46:24 +01:00
[ resources . media ]
2023-01-18 18:48:51 +01:00
name = "Manage Media growth and clean-up"
2023-01-18 17:46:24 +01:00
[ resources . media . max_upload_size ]
2024-02-16 22:41:20 +01:00
ask = "Largest allowed media upload size in bytes"
2023-01-18 18:48:51 +01:00
type = "string"
2023-06-29 10:28:25 +02:00
help = "Defaults to: '10M' . Format : <value><[GMK]?>"
2023-01-11 14:03:52 +01:00
2023-01-18 17:46:24 +01:00
[ advanced ]
name = "Advanced Settings"
2024-06-13 20:10:36 +02:00
services = [ "__APP__" ]
2023-01-18 17:46:24 +01:00
2024-03-05 23:31:34 +01:00
# Disabled as it don't work any more on bookworm
#
# [advanced.help]
# name = "SETTINGS FOR EXPERTS IN SERVER ADMINISTRATION"
#
# [advanced.help.text]
# ask = '''
# !!There are security and privacy risks if you change these settings without knowing what you do!!
# '''
# type = "markdown"
2023-01-06 14:38:14 +01:00
2023-01-18 17:46:24 +01:00
[ advanced . others ]
name = "Others"
2023-01-06 14:38:14 +01:00
2023-11-01 18:52:07 +01:00
[ advanced . others . report_stats ]
2023-01-18 17:46:24 +01:00
ask = "Server statistics"
type = "boolean"
2023-08-13 18:47:19 +02:00
yes = "true"
no = "false"
2023-01-18 17:46:24 +01:00
help = "Enable to send anonymous statistics to Synapse Developers to improve performance."
[ advanced . guests ]
name = "Experience for Guests / Anonymous"
[ advanced . guests . invite_client_location ]
2024-02-16 22:41:20 +01:00
ask = "Web client location to direct users to during an invite"
2023-01-18 17:46:24 +01:00
type = "url"
help = "This is passed to the identity server as the org.matrix.web_client_location key. Defaults to unset, giving no guidance to the identity server."
2023-01-10 04:14:11 +01:00
2023-01-18 17:46:24 +01:00
[ advanced . guests . allow_guest_access ]
2024-02-16 22:41:20 +01:00
ask = "Allow Users to Register as Guests"
2023-01-10 04:14:11 +01:00
type = "boolean"
2023-08-13 18:47:19 +02:00
yes = "true"
no = "false"
2023-01-18 17:46:24 +01:00
help = "Guests can participate on this server in rooms with guest access enabled, without a password/email/etc."
2023-01-06 14:38:14 +01:00
2023-01-18 17:46:24 +01:00
[ advanced . guests . auto_join_rooms_for_guests ]
2024-02-16 22:41:20 +01:00
ask = "Enable Auto Join Room for Guests"
2023-01-06 14:38:14 +01:00
type = "boolean"
2023-08-13 18:47:19 +02:00
yes = "true"
no = "false"
2023-01-06 14:38:14 +01:00
help = "Defaults to 'true'."
2023-07-03 22:30:08 +02:00
visible = "allow_guest_access"
2023-01-06 14:38:14 +01:00
2023-01-18 17:46:24 +01:00
[ advanced . privacy ]
name = "Data Privacy"
2023-01-06 14:38:14 +01:00
2023-01-19 10:08:18 +01:00
[ advanced . privacy . enable_3pid_lookup ]
2024-02-16 22:41:20 +01:00
ask = "Allow discovering friends with phone number or email"
2023-01-19 10:08:18 +01:00
type = "boolean"
2023-08-13 18:47:19 +02:00
yes = "true"
no = "false"
2023-01-19 10:08:18 +01:00
help = "Enable 3PIDs lookup requests to identity servers from this server. See Settings->General->Discovery in Element."
2023-01-18 17:46:24 +01:00
[ advanced . privacy . default_identity_server ]
2024-02-16 22:41:20 +01:00
ask = "Identity server suggested to clients"
2023-01-18 17:46:24 +01:00
type = "url"
2023-01-19 10:08:18 +01:00
help = "Identity server allows to discover, be discovered and invite people you know with phone number or email. If not set, users will probably chose centralized vector.im. See Settings->General->Discovery in Element."
2023-01-06 14:38:14 +01:00
2023-01-18 17:46:24 +01:00
[ advanced . privacy . allow_public_rooms_without_auth ]
2024-02-16 22:41:20 +01:00
ask = "Access Public Rooms Directory without authentification"
2023-01-18 17:46:24 +01:00
type = "boolean"
2023-08-13 18:47:19 +02:00
yes = "true"
no = "false"
2023-01-18 17:46:24 +01:00
help = "Disabled by default. If enabled, anyone can query the Public Rooms Directory (access through the client API). This only makes sense if you want everyone to be able to scroll your public room to see what's interesting on your Homeserver"
[ advanced . registration ]
name = "Account Registration"
[ advanced . registration . registration_shared_secret ]
2024-02-16 22:41:20 +01:00
ask = "Shared Secret for Registration"
2023-01-18 17:46:24 +01:00
type = "string"
help = "Allows registration of standard or admin accounts, even if Registration disabled."
2024-02-26 22:35:05 +01:00
[ advanced . security ]
name = "Security"
[ advanced . security . enable_dtls_for_audio_video_turn_call ]
2024-06-22 18:28:14 +02:00
ask = "Enable TLS/DTLS on Audio/Video call"
2024-02-26 22:35:05 +01:00
type = "boolean"
yes = "true"
no = "false"
help = "Enabling TLS/DTLS is really recommanded but it could bring some issues depending of the server certificate. There are some known issues with let's encrypt (https://github.com/element-hq/element-android/issues/1533), so if you have issues it could be better to disable this feature."