Fix *all* the linting errors in synapse config
This commit is contained in:
parent
5b0adceb2e
commit
23d41a90b6
1 changed files with 302 additions and 340 deletions
|
@ -206,21 +206,6 @@ listeners:
|
||||||
- names: [client, federation]
|
- names: [client, federation]
|
||||||
compress: false
|
compress: false
|
||||||
|
|
||||||
# example additional_resources:
|
|
||||||
#
|
|
||||||
#additional_resources:
|
|
||||||
# "/_matrix/my/custom/endpoint":
|
|
||||||
# module: my_module.CustomRequestHandler
|
|
||||||
# config: {}
|
|
||||||
|
|
||||||
# Turn on the twisted ssh manhole service on localhost on the given
|
|
||||||
# port.
|
|
||||||
#
|
|
||||||
#- port: 9000
|
|
||||||
# bind_addresses: ['::1', '127.0.0.1']
|
|
||||||
# type: manhole
|
|
||||||
|
|
||||||
|
|
||||||
## Homeserver blocking ##
|
## Homeserver blocking ##
|
||||||
|
|
||||||
# How to reach the server admin, used in ResourceLimitError
|
# How to reach the server admin, used in ResourceLimitError
|
||||||
|
@ -471,28 +456,23 @@ acme:
|
||||||
# tls_certificate_path and tls_private_key_path above to enable it.
|
# tls_certificate_path and tls_private_key_path above to enable it.
|
||||||
#
|
#
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
||||||
# Endpoint to use to request certificates. If you only want to test,
|
# Endpoint to use to request certificates. If you only want to test,
|
||||||
# use Let's Encrypt's staging url:
|
# use Let's Encrypt's staging url:
|
||||||
# https://acme-staging.api.letsencrypt.org/directory
|
# https://acme-staging.api.letsencrypt.org/directory
|
||||||
#
|
#
|
||||||
# url: https://acme-v01.api.letsencrypt.org/directory
|
# url: https://acme-v01.api.letsencrypt.org/directory
|
||||||
|
|
||||||
# Port number to listen on for the HTTP-01 challenge. Change this if
|
# Port number to listen on for the HTTP-01 challenge. Change this if
|
||||||
# you are forwarding connections through Apache/Nginx/etc.
|
# you are forwarding connections through Apache/Nginx/etc.
|
||||||
#
|
#
|
||||||
port: 80
|
port: 80
|
||||||
|
|
||||||
# Local addresses to listen on for incoming connections.
|
# Local addresses to listen on for incoming connections.
|
||||||
# Again, you may want to change this if you are forwarding connections
|
# Again, you may want to change this if you are forwarding connections
|
||||||
# through Apache/Nginx/etc.
|
# through Apache/Nginx/etc.
|
||||||
#
|
#
|
||||||
bind_addresses: ['::', '0.0.0.0']
|
bind_addresses: ['::', '0.0.0.0']
|
||||||
|
|
||||||
# How many days remaining on a certificate before it is renewed.
|
# How many days remaining on a certificate before it is renewed.
|
||||||
#
|
#
|
||||||
reprovision_threshold: 30
|
reprovision_threshold: 30
|
||||||
|
|
||||||
# The domain that the certificate should be for. Normally this
|
# The domain that the certificate should be for. Normally this
|
||||||
# should be the same as your Matrix domain (i.e., 'server_name'), but,
|
# should be the same as your Matrix domain (i.e., 'server_name'), but,
|
||||||
# by putting a file at 'https://<server_name>/.well-known/matrix/server',
|
# by putting a file at 'https://<server_name>/.well-known/matrix/server',
|
||||||
|
@ -506,7 +486,6 @@ acme:
|
||||||
# If not set, defaults to your 'server_name'.
|
# If not set, defaults to your 'server_name'.
|
||||||
#
|
#
|
||||||
domain: matrix.example.com
|
domain: matrix.example.com
|
||||||
|
|
||||||
# file to use for the account key. This will be generated if it doesn't
|
# file to use for the account key. This will be generated if it doesn't
|
||||||
# exist.
|
# exist.
|
||||||
#
|
#
|
||||||
|
@ -541,8 +520,6 @@ acme:
|
||||||
#
|
#
|
||||||
# tls_fingerprints: [{"sha256": "<base64_encoded_sha256_fingerprint>"}]
|
# tls_fingerprints: [{"sha256": "<base64_encoded_sha256_fingerprint>"}]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Database ##
|
## Database ##
|
||||||
|
|
||||||
database:
|
database:
|
||||||
|
@ -558,7 +535,6 @@ database:
|
||||||
cp_max: 10
|
cp_max: 10
|
||||||
|
|
||||||
# Number of events to cache in memory.
|
# Number of events to cache in memory.
|
||||||
#
|
|
||||||
# event_cache_size: 10K
|
# event_cache_size: 10K
|
||||||
|
|
||||||
|
|
||||||
|
@ -650,8 +626,6 @@ log_config: "/data/theorangeone.net.log.config"
|
||||||
#
|
#
|
||||||
# federation_rr_transactions_per_room_per_second: 50
|
# federation_rr_transactions_per_room_per_second: 50
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Media Store ##
|
## Media Store ##
|
||||||
|
|
||||||
# Enable the media store service in the Synapse master. Uncomment the
|
# Enable the media store service in the Synapse master. Uncomment the
|
||||||
|
@ -796,7 +770,6 @@ uploads_path: "/data/uploads"
|
||||||
#
|
#
|
||||||
# max_spider_size: 10M
|
# max_spider_size: 10M
|
||||||
|
|
||||||
|
|
||||||
## Captcha ##
|
## Captcha ##
|
||||||
# See docs/CAPTCHA_SETUP for full details of configuring this.
|
# See docs/CAPTCHA_SETUP for full details of configuring this.
|
||||||
|
|
||||||
|
@ -822,7 +795,6 @@ uploads_path: "/data/uploads"
|
||||||
#
|
#
|
||||||
# recaptcha_siteverify_api: "https://www.recaptcha.net/recaptcha/api/siteverify"
|
# recaptcha_siteverify_api: "https://www.recaptcha.net/recaptcha/api/siteverify"
|
||||||
|
|
||||||
|
|
||||||
## TURN ##
|
## TURN ##
|
||||||
|
|
||||||
# The public URIs of the TURN server to give to clients
|
# The public URIs of the TURN server to give to clients
|
||||||
|
@ -1029,7 +1001,6 @@ account_threepid_delegates:
|
||||||
#
|
#
|
||||||
# autocreate_auto_join_rooms: true
|
# autocreate_auto_join_rooms: true
|
||||||
|
|
||||||
|
|
||||||
## Metrics ###
|
## Metrics ###
|
||||||
|
|
||||||
# Enable collection and rendering of performance metrics
|
# Enable collection and rendering of performance metrics
|
||||||
|
@ -1276,7 +1247,6 @@ saml2_config:
|
||||||
# grandfathered_mxid_source_attribute: upn
|
# grandfathered_mxid_source_attribute: upn
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Enable CAS for registration and login.
|
# Enable CAS for registration and login.
|
||||||
#
|
#
|
||||||
# cas_config:
|
# cas_config:
|
||||||
|
@ -1295,7 +1265,6 @@ saml2_config:
|
||||||
# secret: "a secret"
|
# secret: "a secret"
|
||||||
# algorithm: "HS256"
|
# algorithm: "HS256"
|
||||||
|
|
||||||
|
|
||||||
password_config:
|
password_config:
|
||||||
# Uncomment to disable password login
|
# Uncomment to disable password login
|
||||||
#
|
#
|
||||||
|
@ -1313,7 +1282,6 @@ password_config:
|
||||||
# pepper: "EVEN_MORE_SECRET"
|
# pepper: "EVEN_MORE_SECRET"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Enable sending emails for password resets, notification events or
|
# Enable sending emails for password resets, notification events or
|
||||||
# account expiry notices
|
# account expiry notices
|
||||||
#
|
#
|
||||||
|
@ -1432,7 +1400,6 @@ password_config:
|
||||||
# #filter: "(objectClass=posixAccount)"
|
# #filter: "(objectClass=posixAccount)"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Clients requesting push notifications can either have the body of
|
# Clients requesting push notifications can either have the body of
|
||||||
# the message sent in the notification poke along with other details
|
# the message sent in the notification poke along with other details
|
||||||
# like the sender, or just the event ID and room ID (`event_id_only`).
|
# like the sender, or just the event ID and room ID (`event_id_only`).
|
||||||
|
@ -1465,7 +1432,6 @@ password_config:
|
||||||
# group_creation_prefix: "unofficial/"
|
# group_creation_prefix: "unofficial/"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# User Directory configuration
|
# User Directory configuration
|
||||||
#
|
#
|
||||||
# 'enabled' defines whether users can search the user directory. If
|
# 'enabled' defines whether users can search the user directory. If
|
||||||
|
@ -1533,8 +1499,6 @@ password_config:
|
||||||
# policy_name: Privacy Policy
|
# policy_name: Privacy Policy
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Local statistics collection. Used in populating the room directory.
|
# Local statistics collection. Used in populating the room directory.
|
||||||
#
|
#
|
||||||
# 'bucket_size' controls how large each statistics timeslice is. It can
|
# 'bucket_size' controls how large each statistics timeslice is. It can
|
||||||
|
@ -1569,8 +1533,6 @@ password_config:
|
||||||
# system_mxid_avatar_url: "mxc://server.com/oumMVlgDnLYFaPVkExemNVVZ"
|
# system_mxid_avatar_url: "mxc://server.com/oumMVlgDnLYFaPVkExemNVVZ"
|
||||||
# room_name: "Server Notices"
|
# room_name: "Server Notices"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Uncomment to disable searching the public room list. When disabled
|
# Uncomment to disable searching the public room list. When disabled
|
||||||
# blocks searching local and remote room lists for local and remote
|
# blocks searching local and remote room lists for local and remote
|
||||||
# users by always returning an empty list for all queries.
|
# users by always returning an empty list for all queries.
|
||||||
|
|
Loading…
Reference in a new issue