forked-synapse/synapse/config
Brendan Abolivier cc9eceb00d
Don't crash when one of the configuration files is empty (#7341)
If the admin adds a `.yaml` file that's either empty or doesn't parse into a dict to a config directory (e.g. `conf.d` for debs installs), stuff like https://github.com/matrix-org/synapse/issues/7322 would happen. This PR checks that the file is correctly parsed into a dict, or ignores it with a warning if it parses into any other type (including `None` for empty files).

Fixes https://github.com/matrix-org/synapse/issues/7322
2020-04-27 15:01:03 +02:00
..
__init__.py
__main__.py
_base.py Don't crash when one of the configuration files is empty (#7341) 2020-04-27 15:01:03 +02:00
_base.pyi
api.py
appservice.py
captcha.py Remove unused captcha_bypass_secret option (#7137) 2020-03-25 17:49:34 +00:00
cas.py
consent_config.py
database.py Don't default to an invalid sqlite config if no database configuration is provided (#6573) 2020-03-26 17:13:14 +00:00
emailconfig.py Fix minor issues with email config (#6962) 2020-02-24 15:18:38 +00:00
groups.py
homeserver.py Add ability to run replication protocol over redis. (#7040) 2020-04-22 13:07:41 +01:00
jwt_config.py
key.py
logger.py
metrics.py Fix a small typo in the metrics_flags config option. (#7171) 2020-03-30 17:38:21 +01:00
password_auth_providers.py Add documentation to password_providers config option (#7238) 2020-04-08 00:46:50 +01:00
password.py Allow server admins to define and enforce a password policy (MSC2000). (#7118) 2020-03-26 16:51:13 +00:00
push.py
ratelimiting.py
redis.py Add ability to run replication protocol over redis. (#7040) 2020-04-22 13:07:41 +01:00
registration.py Add options to prevent users from changing their profile. (#7096) 2020-03-27 19:15:23 +00:00
repository.py Clarify the comments for media_storage_providers options (#7272) 2020-04-17 07:09:33 -04:00
room_directory.py
saml2_config.py Fix indention in generated config file (#7300) 2020-04-20 16:51:27 +01:00
server_notices_config.py
server.py Revert "Revert "Merge pull request #7315 from matrix-org/babolivier/request_token"" 2020-04-23 11:23:53 +02:00
spam_checker.py
sso.py Add documentation to the sample config about the templates for SSO. (#7343) 2020-04-24 15:03:49 -04:00
stats.py
third_party_event_rules.py
tls.py
tracer.py Refactor HomeserverConfig so it can be typechecked (#6137) 2019-10-10 09:39:35 +01:00
user_directory.py
voip.py Add config linting script that checks for bool casing (#6203) 2019-10-23 13:22:54 +01:00
workers.py