synapse/changelog.d
Andrew Morgan a64c29926e
Pass a dict, instead of None, to modules if a None config is specified in the homeserver config (#9229)
If a Synapse module's config block were empty in YAML, thus being translated to a `Nonetype` in Python, then some modules could fail as that None ends up getting passed to their `parse_config` method. Modules are expected to accept a `dict` instead.

This PR ensures that if the user does end up specifying an empty config block (such as what [the default oidc config in the sample config](5310808d3b/docs/sample_config.yaml (L1816-L1845)) states) then `None` is not passed to the module. An empty dict is passed instead.

This code assumes that no existing modules are relying on receiving a `None` config block, but I'd really hope that they aren't.
2021-01-27 11:49:31 +00:00
..
.gitignore Correct attrs package name in requirements (#3492) 2018-07-07 10:46:59 +10:00
9045.misc Add tests for List Users Admin API (#9045) 2021-01-21 09:18:46 -05:00
9062.feature Add changelog and admin API docs 2021-01-09 22:58:29 +02:00
9121.bugfix Don't error if deleting a non-existent pusher. (#9121) 2021-01-25 14:52:30 -05:00
9129.misc Various improvements to the federation client. (#9129) 2021-01-20 07:59:18 -05:00
9135.doc docs: Add link to Matrix VoIP tester for turn-howto (#9135) 2021-01-20 12:41:57 +00:00
9163.bugfix Return a 404 if no valid thumbnail is found. (#9163) 2021-01-21 14:53:58 -05:00
9164.bugfix Try to recover from unknown encodings when previewing media. (#9164) 2021-01-26 07:32:17 -05:00
9165.bugfix Handle missing content keys when calculating presentable names. (#9165) 2021-01-25 07:27:16 -05:00
9176.misc Speed up chain cover calculation (#9176) 2021-01-21 17:00:12 +00:00
9180.misc Specify that the long description is rST in the package metadata. (#9180) 2021-01-20 16:00:59 -05:00
9181.misc Use execute_batch instead of executemany in places (#9181) 2021-01-21 10:22:53 +00:00
9184.misc Add a check for duplicate IdP ids (#9184) 2021-01-21 13:20:58 +00:00
9188.misc Use execute_batch in more places (#9188) 2021-01-21 14:44:12 +00:00
9190.misc Increase perf of handling concurrent use of StreamIDGenerators. (#9190) 2021-01-21 16:31:51 +00:00
9191.misc Align the directories linted in CI with the defaults in scripts-dev/lint.sh (#9191) 2021-01-21 18:26:52 +00:00
9198.misc Precompute joined hosts and store in Redis (#9198) 2021-01-26 13:57:31 +00:00
9199.removal Do not require the CAS service URL setting (use public_baseurl instead). (#9199) 2021-01-26 10:49:25 -05:00
9209.feature Add an admin API for shadow-banning users. (#9209) 2021-01-25 14:49:39 -05:00
9217.misc Fix Python 3.5 old deps build by using a compatible pip version. (#9217) 2021-01-25 14:22:35 -05:00
9218.bugfix Periodically send pings to detect dead Redis connections (#9218) 2021-01-26 10:54:54 +00:00
9222.misc Update isort to v5.7.0 (#9222) 2021-01-26 11:36:12 +00:00
9223.misc Add type hints to various handlers. (#9223) 2021-01-26 10:50:21 -05:00
9229.bugfix Pass a dict, instead of None, to modules if a None config is specified in the homeserver config (#9229) 2021-01-27 11:49:31 +00:00