forked-synapse/synapse/config
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 Let synctl use a config directory. (#5904) 2019-08-28 15:55:58 +01:00
__main__.py Fix synapse.config.__main__ on python 3 (#4356) 2019-01-08 10:03:09 +11:00
_base.py Don't crash when one of the configuration files is empty (#7341) 2020-04-27 15:01:03 +02:00
_base.pyi Implement OpenID Connect-based login (#7256) 2020-05-08 08:30:40 -04:00
api.py Refactor HomeserverConfig so it can be typechecked (#6137) 2019-10-10 09:39:35 +01:00
appservice.py Clean up newline quote marks around the codebase (#6362) 2019-11-21 12:00:14 +00:00
cache.py Fix up comments 2020-05-27 13:34:46 +01:00
captcha.py Fix some DETECTED VIOLATIONS in the config file (#7550) 2020-05-22 10:11:50 +01:00
cas.py cas: support setting display name (#6114) 2019-10-11 12:33:12 +01:00
consent_config.py Add config linting script that checks for bool casing (#6203) 2019-10-23 13:22:54 +01:00
database.py Allow configuration of Synapse's cache without using synctl or environment variables (#6391) 2020-05-11 18:45:23 +01:00
emailconfig.py Fix some DETECTED VIOLATIONS in the config file (#7550) 2020-05-22 10:11:50 +01:00
groups.py Refactor HomeserverConfig so it can be typechecked (#6137) 2019-10-10 09:39:35 +01:00
homeserver.py Add option to enable encryption by default for new rooms (#7639) 2020-06-10 17:44:34 +01:00
jwt_config.py Refactor HomeserverConfig so it can be typechecked (#6137) 2019-10-10 09:39:35 +01:00
key.py Fix some DETECTED VIOLATIONS in the config file (#7550) 2020-05-22 10:11:50 +01:00
logger.py Add option to move event persistence off master (#7517) 2020-05-22 16:11:35 +01:00
metrics.py Fix some DETECTED VIOLATIONS in the config file (#7550) 2020-05-22 10:11:50 +01:00
oidc_config.py Cleanups to the OpenID Connect integration (#7628) 2020-06-03 21:13:17 +01:00
password_auth_providers.py Add documentation to password_providers config option (#7238) 2020-04-08 00:46:50 +01:00
password.py Allow server admins to define and enforce a password policy (MSC2000). (#7118) 2020-03-26 16:51:13 +00:00
push.py Clarify the account_validity and email sections of the sample configuration. (#6685) 2020-01-17 10:04:15 +00:00
ratelimiting.py Performance improvements and refactor of Ratelimiter (#7595) 2020-06-05 10:47:20 +01:00
redis.py Drop support for redis.dbid (#7450) 2020-05-07 16:46:15 +01:00
registration.py Add an option to disable autojoin for guest accounts (#6637) 2020-06-05 18:18:15 +01:00
repository.py Add support for webp thumbnailing (#7586) 2020-06-05 11:54:27 +01:00
room_directory.py Clean up newline quote marks around the codebase (#6362) 2019-11-21 12:00:14 +00:00
room.py Add option to enable encryption by default for new rooms (#7639) 2020-06-10 17:44:34 +01:00
saml2_config.py Cleanups to the OpenID Connect integration (#7628) 2020-06-03 21:13:17 +01:00
server_notices_config.py Fix copypasted comment (#7477) 2020-05-13 16:55:43 +01:00
server.py Fix some DETECTED VIOLATIONS in the config file (#7550) 2020-05-22 10:11:50 +01:00
spam_checker.py Extend spam checker to allow for multiple modules (#7435) 2020-05-08 19:25:48 +01:00
sso.py Cleanups to the OpenID Connect integration (#7628) 2020-06-03 21:13:17 +01:00
stats.py Refactor HomeserverConfig so it can be typechecked (#6137) 2019-10-10 09:39:35 +01:00
third_party_event_rules.py Refactor HomeserverConfig so it can be typechecked (#6137) 2019-10-10 09:39:35 +01:00
tls.py Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) 2020-02-21 07:15:07 -05:00
tracer.py Refactor HomeserverConfig so it can be typechecked (#6137) 2019-10-10 09:39:35 +01:00
user_directory.py Refactor HomeserverConfig so it can be typechecked (#6137) 2019-10-10 09:39:35 +01:00
voip.py Add config linting script that checks for bool casing (#6203) 2019-10-23 13:22:54 +01:00
workers.py Add option to move event persistence off master (#7517) 2020-05-22 16:11:35 +01:00