Fix *all* the linting errors in synapse config

This commit is contained in:
Jake Howard 2020-02-22 21:46:37 +00:00
parent 5b0adceb2e
commit 23d41a90b6
Signed by: jake
GPG Key ID: 57AFB45680EDD477

View File

@ -206,21 +206,6 @@ listeners:
- names: [client, federation]
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 ##
# 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.
#
enabled: false
# Endpoint to use to request certificates. If you only want to test,
# use Let's Encrypt's staging url:
# https://acme-staging.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
# you are forwarding connections through Apache/Nginx/etc.
#
port: 80
# Local addresses to listen on for incoming connections.
# Again, you may want to change this if you are forwarding connections
# through Apache/Nginx/etc.
#
bind_addresses: ['::', '0.0.0.0']
# How many days remaining on a certificate before it is renewed.
#
reprovision_threshold: 30
# The domain that the certificate should be for. Normally this
# 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',
@ -506,7 +486,6 @@ acme:
# If not set, defaults to your 'server_name'.
#
domain: matrix.example.com
# file to use for the account key. This will be generated if it doesn't
# exist.
#
@ -541,8 +520,6 @@ acme:
#
# tls_fingerprints: [{"sha256": "<base64_encoded_sha256_fingerprint>"}]
## Database ##
database:
@ -558,7 +535,6 @@ database:
cp_max: 10
# Number of events to cache in memory.
#
# event_cache_size: 10K
@ -650,8 +626,6 @@ log_config: "/data/theorangeone.net.log.config"
#
# federation_rr_transactions_per_room_per_second: 50
## Media Store ##
# Enable the media store service in the Synapse master. Uncomment the
@ -796,7 +770,6 @@ uploads_path: "/data/uploads"
#
# max_spider_size: 10M
## Captcha ##
# 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"
## TURN ##
# The public URIs of the TURN server to give to clients
@ -1029,7 +1001,6 @@ account_threepid_delegates:
#
# autocreate_auto_join_rooms: true
## Metrics ###
# Enable collection and rendering of performance metrics
@ -1276,7 +1247,6 @@ saml2_config:
# grandfathered_mxid_source_attribute: upn
# Enable CAS for registration and login.
#
# cas_config:
@ -1295,7 +1265,6 @@ saml2_config:
# secret: "a secret"
# algorithm: "HS256"
password_config:
# Uncomment to disable password login
#
@ -1313,7 +1282,6 @@ password_config:
# pepper: "EVEN_MORE_SECRET"
# Enable sending emails for password resets, notification events or
# account expiry notices
#
@ -1432,7 +1400,6 @@ password_config:
# #filter: "(objectClass=posixAccount)"
# Clients requesting push notifications can either have the body of
# 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`).
@ -1465,7 +1432,6 @@ password_config:
# group_creation_prefix: "unofficial/"
# User Directory configuration
#
# 'enabled' defines whether users can search the user directory. If
@ -1533,8 +1499,6 @@ password_config:
# policy_name: Privacy Policy
#
# Local statistics collection. Used in populating the room directory.
#
# '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"
# room_name: "Server Notices"
# Uncomment to disable searching the public room list. When disabled
# blocks searching local and remote room lists for local and remote
# users by always returning an empty list for all queries.