anonymousland-synapse/synapse
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
..
_scripts
api Stop the master relaying USER_SYNC for other workers (#7318) 2020-04-22 22:39:04 +01:00
app Stop the master relaying USER_SYNC for other workers (#7318) 2020-04-22 22:39:04 +01:00
appservice
config Don't crash when one of the configuration files is empty (#7341) 2020-04-27 15:01:03 +02:00
crypto
events
federation Merge branch 'release-v1.12.4' into develop 2020-04-22 13:09:23 +01:00
groups
handlers Convert some of the federation handler methods to async/await. (#7338) 2020-04-24 14:36:38 -04:00
http Reduce federation logging on success (#7321) 2020-04-22 11:18:18 +01:00
logging
metrics
module_api
push Do not treat display names as globs for push rules. (#7271) 2020-04-22 13:07:12 +01:00
replication Fix EventsStream raising assertions when it falls behind 2020-04-24 13:59:21 +01:00
res/templates Use a template for the SSO success page to allow for customization. (#7279) 2020-04-17 13:34:55 -04:00
rest Revert "Revert "Merge pull request #7315 from matrix-org/babolivier/request_token"" 2020-04-23 11:23:53 +02:00
server_notices
spam_checker_api
state
static
storage Fix EventsStream raising assertions when it falls behind 2020-04-24 13:59:21 +01:00
streams
util Extend StreamChangeCache to support multiple entities per stream ID (#7303) 2020-04-22 13:45:40 +01:00
__init__.py 1.12.4 2020-04-23 10:59:10 -04:00
event_auth.py
notifier.py
python_dependencies.py Add ability to run replication protocol over redis. (#7040) 2020-04-22 13:07:41 +01:00
secrets.py
server.py
server.pyi Stop the master relaying USER_SYNC for other workers (#7318) 2020-04-22 22:39:04 +01:00
types.py
visibility.py