forked-synapse/synapse/storage
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
..
databases Consolidate logic for parsing relations. (#12693) 2022-05-16 12:42:45 +00:00
engines Refuse to start if DB has an unsafe locale (#12262) 2022-03-23 10:23:05 -07:00
schema Stop writing to event_reference_hashes (#12679) 2022-05-10 15:35:08 +01:00
util Await un-partial-stating after a partial-state join (#12399) 2022-04-21 07:42:03 +01:00
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
_base.py Invalidate the get_users_in_room{_with_profile} caches only when necessary. (#11878) 2022-02-02 12:24:07 -05:00
background_updates.py Another batch of type annotations (#12726) 2022-05-13 12:35:31 +01:00
database.py Reduce the number of "untyped defs" (#12716) 2022-05-12 14:33:50 +00:00
keys.py Use auto_attribs/native type hints for attrs classes. (#11692) 2022-01-13 13:49:28 +00:00
persist_events.py Reduce the number of "untyped defs" (#12716) 2022-05-12 14:33:50 +00:00
prepare_database.py Reduce the number of "untyped defs" (#12716) 2022-05-12 14:33:50 +00:00
purge_events.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
push_rule.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
roommember.py Do not include rooms with an unknown room version in a sync response. (#10644) 2021-08-19 11:12:55 -04:00
state.py Reduce the number of "untyped defs" (#12716) 2022-05-12 14:33:50 +00:00
types.py Reduce the number of "untyped defs" (#12716) 2022-05-12 14:33:50 +00:00