MatrixSynapse/tests/handlers
Andrew Morgan fcd6961441
Add option to enable encryption by default for new rooms (#7639)
Fixes https://github.com/matrix-org/synapse/issues/2431

Adds config option `encryption_enabled_by_default_for_room_type`, which determines whether encryption should be enabled with the default encryption algorithm in private or public rooms upon creation. Whether the room is private or public is decided based upon the room creation preset that is used.

Part of this PR is also pulling out all of the individual instances of `m.megolm.v1.aes-sha2` into a constant variable to eliminate typos ala https://github.com/matrix-org/synapse/pull/7637

Based on #7637
2020-06-10 17:44:34 +01:00
..
__init__.py Reference Matrix Home Server 2014-08-12 15:10:52 +01:00
test_admin.py Fixup from review comments. 2019-07-04 11:41:06 +01:00
test_appservice.py Run black. 2018-08-10 23:54:09 +10:00
test_auth.py Stop Auth methods from polling the config on every req. (#7420) 2020-05-06 15:54:58 +01:00
test_device.py Reject device display names that are too long (#6882) 2020-02-10 16:35:26 -05:00
test_directory.py Allow admins to create aliases when they are not in the room (#7191) 2020-04-01 08:27:05 -04:00
test_e2e_keys.py Add option to enable encryption by default for new rooms (#7639) 2020-06-10 17:44:34 +01:00
test_e2e_room_keys.py add etag and count to key backup endpoints (#5858) 2019-11-27 16:14:44 -05:00
test_federation.py Implement room version 6 (MSC2240). (#7506) 2020-05-15 09:30:10 -04:00
test_oidc.py Support UI Authentication for OpenID Connect accounts (#7457) 2020-05-15 12:26:02 -04:00
test_presence.py Port PresenceHandler to async/await (#6991) 2020-02-26 15:33:26 +00:00
test_profile.py Performance improvements and refactor of Ratelimiter (#7595) 2020-06-05 10:47:20 +01:00
test_register.py Add an option to disable autojoin for guest accounts (#6637) 2020-06-05 18:18:15 +01:00
test_stats.py Move background update handling out of store 2019-12-05 11:11:26 +00:00
test_sync.py Stop Auth methods from polling the config on every req. (#7420) 2020-05-06 15:54:58 +01:00
test_typing.py Add ability to wait for replication streams (#7542) 2020-05-22 14:21:54 +01:00
test_user_directory.py Add option to enable encryption by default for new rooms (#7639) 2020-06-10 17:44:34 +01:00