forked-synapse/synapse/config
Richard van der Hoff ab7a24cc6b
Better formatting for config errors from modules (#8874)
The idea is that the parse_config method of extension modules can raise either a ConfigError or a JsonValidationError,
and it will be magically turned into a legible error message. There's a few components to it:

* Separating the "path" and the "message" parts of a ConfigError, so that we can fiddle with the path bit to turn it
   into an absolute path.
* Generally improving the way ConfigErrors get printed.
* Passing in the config path to load_module so that it can wrap any exceptions that get caught appropriately.
2020-12-08 14:04:35 +00: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 Better formatting for config errors from modules (#8874) 2020-12-08 14:04:35 +00:00
_base.pyi Better formatting for config errors from modules (#8874) 2020-12-08 14:04:35 +00:00
_util.py Better formatting for config errors from modules (#8874) 2020-12-08 14:04:35 +00:00
api.py Refactor HomeserverConfig so it can be typechecked (#6137) 2019-10-10 09:39:35 +01:00
appservice.py Send some ephemeral events to appservices (#8437) 2020-10-15 12:33:28 -04:00
cache.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
captcha.py Convert additional templates to Jinja (#8444) 2020-10-02 11:15:53 +01:00
cas.py Improve the sample config for SSO (OIDC, SAML, and CAS). (#8635) 2020-10-30 10:01:59 -04:00
consent_config.py Convert additional templates to Jinja (#8444) 2020-10-02 11:15:53 +01:00
database.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
emailconfig.py Clarify config template comments (#8891) 2020-12-08 14:03:08 +00:00
federation.py Apply an IP range blacklist to push and key revocation requests. (#8821) 2020-12-02 11:09:24 -05:00
groups.py Refactor HomeserverConfig so it can be typechecked (#6137) 2019-10-10 09:39:35 +01:00
homeserver.py Add prometheus metrics to track federation delays (#8430) 2020-10-01 11:09:12 +01:00
jwt_config.py Fix typos and spelling errors. (#8639) 2020-10-23 12:38:40 -04:00
key.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
logger.py Support generating structured logs in addition to standard logs. (#8607) 2020-10-29 07:27:37 -04:00
metrics.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
oidc_config.py Better formatting for config errors from modules (#8874) 2020-12-08 14:04:35 +00:00
password_auth_providers.py Better formatting for config errors from modules (#8874) 2020-12-08 14:04:35 +00: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 Add a config option to change whether unread push notification counts are per-message or per-room (#8820) 2020-11-30 18:43:54 +00:00
ratelimiting.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
redis.py Update worker docs with recent enhancements (#7969) 2020-07-29 23:22:13 +01:00
registration.py Clarify the usecase for an msisdn delegate (#8734) 2020-11-14 23:09:36 +00:00
repository.py Better formatting for config errors from modules (#8874) 2020-12-08 14:04:35 +00:00
room_directory.py Better formatting for config errors from modules (#8874) 2020-12-08 14:04:35 +00:00
room.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
saml2_config.py Better formatting for config errors from modules (#8874) 2020-12-08 14:04:35 +00:00
server_notices_config.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
server.py Update default room version to 6 (#8461) 2020-10-05 21:40:51 +01:00
spam_checker.py Better formatting for config errors from modules (#8874) 2020-12-08 14:04:35 +00:00
sso.py Clarify config template comments (#8891) 2020-12-08 14:03:08 +00:00
stats.py Remove obsolete __future__ imports (#8337) 2020-09-17 08:37:01 -04:00
third_party_event_rules.py Better formatting for config errors from modules (#8874) 2020-12-08 14:04:35 +00:00
tls.py Enable mypy checking for unreachable code and fix instances. (#8432) 2020-10-01 08:09:18 -04:00
tracer.py Fix typos and spelling errors. (#8639) 2020-10-23 12:38:40 -04: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 authentication to replication endpoints. (#8853) 2020-12-04 10:56:28 -05:00