synapse-old/synapse/util
Brendan Abolivier 1b3e398bea
Standardise the module interface (#10062)
This PR adds a common configuration section for all modules (see docs). These modules are then loaded at startup by the homeserver. Modules register their hooks and web resources using the new `register_[...]_callbacks` and `register_web_resource` methods of the module API.
2021-06-18 12:15:52 +01:00
..
caches Extend `ResponseCache` to pass a context object into the callback (#10157) 2021-06-14 10:26:09 +01:00
__init__.py Merge pull request from GHSA-x345-32rc-8h85 2021-05-11 11:47:23 +02:00
async_helpers.py When joining a remote room limit the number of events we concurrently check signatures/hashes for (#10117) 2021-06-08 11:07:46 +01:00
batching_queue.py Fix up `BatchingQueue` (#10078) 2021-05-27 14:32:31 +01:00
daemonize.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
distributor.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
file_consumer.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
frozenutils.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
hash.py Add missing type hints to synapse.util (#9982) 2021-05-24 15:32:01 -04:00
httpresourcetree.py Replace instance variations of homeserver with correct case/spacing 2019-11-12 13:08:12 +00:00
iterutils.py Add missing type hints to synapse.util (#9982) 2021-05-24 15:32:01 -04:00
jsonobject.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
logcontext.py Improve the backwards compatibility re-exports of synapse.logging.context (#5617) 2019-07-05 02:32:02 +10:00
logformatter.py Improve the backwards compatibility re-exports of synapse.logging.context (#5617) 2019-07-05 02:32:02 +10:00
macaroons.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
manhole.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
metrics.py Add debug logging when we enter/exit Measure block (#10183) 2021-06-16 13:29:54 +01:00
module_loader.py Standardise the module interface (#10062) 2021-06-18 12:15:52 +01:00
msisdn.py Add missing type hints to synapse.util (#9982) 2021-05-24 15:32:01 -04:00
patch_inline_callbacks.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
ratelimitutils.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
retryutils.py Don't hammer the database for destination retry timings every ~5mins (#10036) 2021-05-21 17:57:08 +01:00
rlimit.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
stringutils.py Simplify exception handling in is_ascii. (#9985) 2021-05-14 10:58:52 +01:00
templates.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
threepids.py Limit length of accepted email addresses (#9855) 2021-04-22 17:49:11 +01:00
versionstring.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
wheel_timer.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00