synapse-product/synapse/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
..
ui_auth
__init__.py
_base.py Performance improvements and refactor of Ratelimiter (#7595) 2020-06-05 10:47:20 +01:00
account_data.py
account_validity.py
acme_issuing_service.py
acme.py
admin.py
appservice.py
auth.py Performance improvements and refactor of Ratelimiter (#7595) 2020-06-05 10:47:20 +01:00
cas_handler.py
deactivate_account.py
device.py
devicemessage.py
directory.py
e2e_keys.py
e2e_room_keys.py
events.py
federation.py Add option to enable encryption by default for new rooms (#7639) 2020-06-10 17:44:34 +01:00
groups_local.py
identity.py
initial_sync.py
message.py Performance improvements and refactor of Ratelimiter (#7595) 2020-06-05 10:47:20 +01:00
oidc_handler.py
pagination.py
password_policy.py
presence.py
profile.py
read_marker.py
receipts.py
register.py Convert the registration handler to async/await. (#7649) 2020-06-08 11:15:02 -04:00
room_list.py
room_member_worker.py
room_member.py
room.py Add option to enable encryption by default for new rooms (#7639) 2020-06-10 17:44:34 +01:00
saml_handler.py
search.py
set_password.py
state_deltas.py Convert user directory handler and related classes to async/await. (#7640) 2020-06-05 14:42:55 -04:00
stats.py Convert user directory handler and related classes to async/await. (#7640) 2020-06-05 14:42:55 -04:00
sync.py Typo fixes. 2020-06-05 08:43:21 -04:00
typing.py
user_directory.py Convert user directory handler and related classes to async/await. (#7640) 2020-06-05 14:42:55 -04:00