anonymousland-synapse/synapse/config
Richard van der Hoff fd463b4f5d
Comment out most options in the generated config. (#4863)
Make it so that most options in the config are optional, and commented out in
the generated config.

The reasons this is a good thing are as follows:

* If we decide that we should change the default for an option, we can do so,
  and only those admins that have deliberately chosen to override that option
  will be stuck on the old setting.

* It moves us towards a point where we can get rid of the super-surprising
  feature of synapse where the default settings for the config come from the
  generated yaml.

* It makes setting up a test config for unit testing an order of magnitude
  easier (see forthcoming PR).

* It makes the generated config more consistent, and hopefully easier for users
  to understand.
2019-03-19 10:06:40 +00:00
..
__init__.py ConsentResource to gather policy consent from users 2018-05-15 15:11:59 +01:00
__main__.py Fix synapse.config.__main__ on python 3 (#4356) 2019-01-08 10:03:09 +11:00
_base.py Allow passing --daemonize to workers 2019-03-13 17:33:54 +00:00
api.py Comment out most options in the generated config. (#4863) 2019-03-19 10:06:40 +00:00
appservice.py Comment out most options in the generated config. (#4863) 2019-03-19 10:06:40 +00:00
captcha.py Comment out most options in the generated config. (#4863) 2019-03-19 10:06:40 +00:00
cas.py Attempt to make default config more consistent 2019-02-19 13:54:29 +00:00
consent_config.py Attempt to make default config more consistent 2019-02-19 13:54:29 +00:00
database.py Comment out most options in the generated config. (#4863) 2019-03-19 10:06:40 +00:00
emailconfig.py Calculate absolute path for email templates 2018-10-19 14:01:59 +01:00
groups.py Comment out most options in the generated config. (#4863) 2019-03-19 10:06:40 +00:00
homeserver.py Infer no_tls from presence of TLS listeners 2019-02-11 21:39:14 +00:00
jwt_config.py Attempt to make default config more consistent 2019-02-19 13:54:29 +00:00
key.py Comment out most options in the generated config. (#4863) 2019-03-19 10:06:40 +00:00
logger.py Include a default configuration file in the 'docs' directory. (#4791) 2019-03-04 17:14:58 +00:00
metrics.py Comment out most options in the generated config. (#4863) 2019-03-19 10:06:40 +00:00
password_auth_providers.py Attempt to make default config more consistent 2019-02-19 13:54:29 +00:00
password.py Comment out most options in the generated config. (#4863) 2019-03-19 10:06:40 +00:00
push.py Attempt to make default config more consistent 2019-02-19 13:54:29 +00:00
ratelimiting.py Comment out most options in the generated config. (#4863) 2019-03-19 10:06:40 +00:00
registration.py Comment out most options in the generated config. (#4863) 2019-03-19 10:06:40 +00:00
repository.py Comment out most options in the generated config. (#4863) 2019-03-19 10:06:40 +00:00
room_directory.py Attempt to make default config more consistent 2019-02-19 13:54:29 +00:00
saml2_config.py Comment out most options in the generated config. (#4863) 2019-03-19 10:06:40 +00:00
server_notices_config.py Attempt to make default config more consistent 2019-02-19 13:54:29 +00:00
server.py Comment out most options in the generated config. (#4863) 2019-03-19 10:06:40 +00:00
spam_checker.py Attempt to make default config more consistent 2019-02-19 13:54:29 +00:00
tls.py Document using a certificate with a full chain (#4849) 2019-03-13 15:26:29 +00:00
user_directory.py Attempt to make default config more consistent 2019-02-19 13:54:29 +00:00
voip.py Comment out most options in the generated config. (#4863) 2019-03-19 10:06:40 +00:00
workers.py Correctly handle all command line options 2019-03-14 13:32:14 +00:00