forked-synapse/synapse
Patrick Cloke 86a515ccbf
Consolidate logic for parsing relations. (#12693)
Parse the `m.relates_to` event content field (which describes relations)
in a single place, this is used during:

* Event persistence.
* Validation of the Client-Server API.
* Fetching bundled aggregations.
* Processing of push rules.

Each of these separately implement the logic and each made slightly
different assumptions about what was valid. Some had minor / potential
bugs.
2022-05-16 12:42:45 +00:00
..
_scripts Add missing type hints to config classes. (#12402) 2022-04-11 12:07:23 -04:00
api Fix incorrect type hint in filtering code. (#12695) 2022-05-10 14:10:22 -04:00
app Reload cache factors from disk on SIGHUP (#12673) 2022-05-11 13:43:22 +00:00
appservice Update mypy to 0.950 and fix complaints (#12650) 2022-05-06 12:35:20 +00:00
config Add config flags to allow for cache auto-tuning (#12701) 2022-05-13 12:32:39 -07:00
crypto Bump black and click versions (#12320) 2022-04-05 11:04:28 +01:00
events Consolidate logic for parsing relations. (#12693) 2022-05-16 12:42:45 +00:00
federation Complain if a federation endpoint has the @cancellable flag (#12705) 2022-05-11 14:52:26 +01:00
groups Reduce the number of "untyped defs" (#12716) 2022-05-12 14:33:50 +00:00
handlers Consolidate logic for parsing relations. (#12693) 2022-05-16 12:42:45 +00:00
http Another batch of type annotations (#12726) 2022-05-13 12:35:31 +01:00
logging Another batch of type annotations (#12726) 2022-05-13 12:35:31 +01:00
metrics Add config flags to allow for cache auto-tuning (#12701) 2022-05-13 12:32:39 -07:00
module_api Use ParamSpec in a few places (#12667) 2022-05-09 10:27:39 +00:00
push Consolidate logic for parsing relations. (#12693) 2022-05-16 12:42:45 +00:00
replication Respect the @cancellable flag for ReplicationEndpoints (#12700) 2022-05-11 12:25:39 +01:00
res Fix Jinja templating error when generating thumbnail URLs. (#12510) 2022-04-20 12:03:03 -04:00
rest URL preview cache expiry logs: INFO -> DEBUG, text clarifications (#12720) 2022-05-12 18:16:32 +01:00
server_notices Don't create an empty room when checking for MAU limits (#12713) 2022-05-13 15:30:15 +02:00
spam_checker_api Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
state Refactor EventContext (#12689) 2022-05-10 19:43:13 +00:00
static Display an error page during failure of fallback UIA. (#10561) 2021-08-18 08:13:35 -04:00
storage Consolidate logic for parsing relations. (#12693) 2022-05-16 12:42:45 +00:00
streams Generate historic pagination token for /messages when no ?from token provided (#12370) 2022-04-06 11:40:28 +01:00
util Add config flags to allow for cache auto-tuning (#12701) 2022-05-13 12:32:39 -07:00
__init__.py Dump setuptools; correct pyproject version number (#12478) 2022-04-20 17:33:20 +01:00
event_auth.py Remove excess condition on knock->leave check (#11900) 2022-02-22 18:35:01 +00:00
notifier.py Immediately retry any requests that have backed off when a server comes back online. (#12500) 2022-05-10 10:39:54 +01:00
py.typed Mark Module API error imports as re-exported and mark Synapse as containing type annotations (#11054) 2021-10-13 08:42:41 +01:00
server.py SpamChecker metrics (#12513) 2022-05-13 12:17:38 +01:00
types.py Another batch of type annotations (#12726) 2022-05-13 12:35:31 +01:00
visibility.py Optimise backfill calculation (#12522) 2022-04-26 10:27:11 +01:00