synapse-product/tests
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
..
api Performance improvements and refactor of Ratelimiter (#7595) 2020-06-05 10:47:20 +01:00
app
appservice
config Fix specifying cache factors via env vars with * in name. (#7580) 2020-05-27 13:17:01 +01:00
crypto
events
federation Add option to enable encryption by default for new rooms (#7639) 2020-06-10 17:44:34 +01:00
handlers Add option to enable encryption by default for new rooms (#7639) 2020-06-10 17:44:34 +01:00
http
logging
push
replication Performance improvements and refactor of Ratelimiter (#7595) 2020-06-05 10:47:20 +01:00
rest Allow new users to be registered via the admin API even if the monthly active user limit has been reached (#7263) 2020-06-05 13:08:49 +01:00
scripts
server_notices Optimise some references to hs.config (#7546) 2020-05-22 21:47:07 +01:00
state
storage Replace instances of reactor pumping with get_success. (#7619) 2020-06-03 16:39:30 +01:00
test_utils
util Add test for Linearizer.is_queued(..) 2020-05-27 19:41:06 +01:00
__init__.py
server.py
test_distributor.py
test_event_auth.py
test_federation.py Add option to enable encryption by default for new rooms (#7639) 2020-06-10 17:44:34 +01:00
test_mau.py Replace instances of reactor pumping with get_success. (#7619) 2020-06-03 16:39:30 +01:00
test_metrics.py
test_phone_home.py
test_preview.py
test_server.py Fix missing CORS headers on OPTION responses (#7560) 2020-05-22 17:42:39 +01:00
test_state.py
test_terms_auth.py
test_test_utils.py
test_types.py
test_visibility.py
unittest.py
utils.py