0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-06-18 10:38:21 +02:00
synapse/synapse/config
Erik Johnston 0304ad0c3d Move setting of Filter into code.
We do this to prevent foot guns. The default config uses a MemoryFilter,
but users are free to change to logging to files directly. If they do
then they have to ensure to set the `filters: [context]` on the right
handler, otherwise records get written with the wrong context.

Instead we move the logic to happen when we generate a record, which is
when we *log* rather than *handle*.

(It's possible to add filters to loggers in the config, however they
don't apply to descendant loggers and so they have to be manually set on
*every* logger used in the code base)
2020-08-11 18:10:46 +01:00
..
__init__.py Let synctl use a config directory. (#5904) 2019-08-28 15:55:58 +01:00
__main__.py isort 5 compatibility (#7786) 2020-07-05 16:32:02 +01:00
_base.py Add ability to run multiple pusher instances (#7855) 2020-07-16 14:06:28 +01:00
_base.pyi Add ability to run multiple pusher instances (#7855) 2020-07-16 14:06:28 +01:00
_util.py Implement login blocking based on SAML attributes (#8052) 2020-08-11 16:08:10 +01:00
api.py Refactor HomeserverConfig so it can be typechecked (#6137) 2019-10-10 09:39:35 +01:00
appservice.py Replace all remaining six usage with native Python 3 equivalents (#7704) 2020-06-16 08:51:47 -04:00
cache.py Take out a lock before modifying _CACHES (#7663) 2020-06-10 18:27:49 +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 Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
emailconfig.py Allow email subjects to be customised through Synapse's configuration (#7846) 2020-07-14 19:10:42 +01:00
federation.py Update worker docs with recent enhancements (#7969) 2020-07-29 23:22:13 +01:00
groups.py Refactor HomeserverConfig so it can be typechecked (#6137) 2019-10-10 09:39:35 +01:00
homeserver.py Update worker docs with recent enhancements (#7969) 2020-07-29 23:22:13 +01:00
jwt_config.py Add the option to validate the iss and aud claims for JWT logins. (#7827) 2020-07-14 07:16:43 -04:00
key.py Fix some DETECTED VIOLATIONS in the config file (#7550) 2020-05-22 10:11:50 +01:00
logger.py Move setting of Filter into code. 2020-08-11 18:10:46 +01:00
metrics.py Fix some DETECTED VIOLATIONS in the config file (#7550) 2020-05-22 10:11:50 +01:00
oidc_config.py fix broken link in sample config (#7712) 2020-06-16 19:50:16 +01:00
password.py Allow server admins to define and enforce a password policy (MSC2000). (#7118) 2020-03-26 16:51:13 +00:00
password_auth_providers.py Add documentation to password_providers config option (#7238) 2020-04-08 00:46:50 +01:00
push.py Add ability to run multiple pusher instances (#7855) 2020-07-16 14:06:28 +01:00
ratelimiting.py Add ratelimiting on joins 2020-07-31 15:06:56 +01:00
redis.py Update worker docs with recent enhancements (#7969) 2020-07-29 23:22:13 +01:00
registration.py Various improvements to the docs (#7899) 2020-07-29 10:35:44 -04:00
repository.py Support running multiple media repos. (#7706) 2020-06-17 14:13:30 +01:00
room.py Fix handling of "off" in encryption_enabled_by_default_for_room_type (#7822) 2020-07-13 17:14:42 +01:00
room_directory.py Clean up newline quote marks around the codebase (#6362) 2019-11-21 12:00:14 +00:00
saml2_config.py Implement login blocking based on SAML attributes (#8052) 2020-08-11 16:08:10 +01:00
server.py Typo 2020-08-10 11:23:24 +01:00
server_notices_config.py Fix copypasted comment (#7477) 2020-05-13 16:55:43 +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 Replace all remaining six usage with native Python 3 equivalents (#7704) 2020-06-16 08:51:47 -04: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 Update worker docs with recent enhancements (#7969) 2020-07-29 23:22:13 +01:00