0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-13 22:34:05 +01:00
synapse/tests/rest/client
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
..
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
test_account.py Remove unstable identifiers for MSC3069. (#12596) 2022-05-03 12:43:12 -04:00
test_account_data.py Add a module callback to react to account data changes (#12327) 2022-04-01 11:22:48 +02:00
test_auth.py Add type hints to tests/rest/client (#12066) 2022-02-23 08:33:19 -05:00
test_capabilities.py Add type hints to tests/rest/client (#12066) 2022-02-23 08:33:19 -05:00
test_consent.py Add type hints to tests/rest/client (#12072) 2022-02-24 13:56:38 -05:00
test_device_lists.py Add type hints to tests/rest/client (#12072) 2022-02-24 13:56:38 -05:00
test_directory.py Test room alias deletion (#11327) 2021-11-12 19:56:00 +00:00
test_ephemeral_message.py Add type hints to tests/rest/client (#12072) 2022-02-24 13:56:38 -05:00
test_events.py Add type hints to tests/rest/client (#12094) 2022-02-28 18:59:00 +00:00
test_filter.py Add type hints to tests/rest/client (#12108) 2022-03-02 16:34:14 +00:00
test_groups.py Add type hints to tests/rest/client (#12094) 2022-02-28 18:59:00 +00:00
test_identity.py Add type hints to tests/rest/client (#12072) 2022-02-24 13:56:38 -05:00
test_keys.py Add type hints to tests/rest/client (#12072) 2022-02-24 13:56:38 -05:00
test_login.py Remove unstable/unspecced login types. (#12597) 2022-05-04 13:53:21 +00:00
test_mutual_rooms.py Rename shared_rooms to mutual_rooms (#12036) 2022-03-23 11:19:20 +00:00
test_password_policy.py Add type hints to tests/rest/client (#12072) 2022-02-24 13:56:38 -05:00
test_power_levels.py Add type hints to tests/rest/client (#12072) 2022-02-24 13:56:38 -05:00
test_presence.py Prefer make_awaitable over defer.succeed in tests (#12505) 2022-04-27 14:58:26 +01:00
test_profile.py Add type hints to tests/rest/client (#12084) 2022-02-28 17:47:37 +00:00
test_push_rule_attrs.py Add type hints to tests/rest/client (#12084) 2022-02-28 17:47:37 +00:00
test_redactions.py Add type hints to tests/rest/client (#12084) 2022-02-28 17:47:37 +00:00
test_register.py Add type hints to tests/rest/client (#12094) 2022-02-28 18:59:00 +00:00
test_relations.py Edits/annotations should not have any bundled aggregations calculated. (#12633) 2022-05-05 08:15:12 -04:00
test_report_event.py Add type hints to tests/rest/client (#12108) 2022-03-02 16:34:14 +00:00
test_retention.py Retention test: avoid relying on state at purged events (#12202) 2022-03-11 10:33:49 +00:00
test_room_batch.py Fix missing sync events during historical batch imports (#12319) 2022-04-13 11:38:35 +01:00
test_rooms.py SpamChecker metrics (#12513) 2022-05-13 12:17:38 +01:00
test_sendtodevice.py Add type hints to tests/rest/client (#12084) 2022-02-28 17:47:37 +00:00
test_shadow_banned.py Add type hints to tests/rest/client (#12084) 2022-02-28 17:47:37 +00:00
test_sync.py Consolidate logic for parsing relations. (#12693) 2022-05-16 12:42:45 +00:00
test_third_party_rules.py Add a callback to react to 3PID associations (#12302) 2022-03-31 18:27:21 +02:00
test_transactions.py Prefer make_awaitable over defer.succeed in tests (#12505) 2022-04-27 14:58:26 +01:00
test_typing.py Remove unused mocks from test_typing (#12136) 2022-03-02 17:24:52 +00:00
test_upgrade_room.py Convert stringy power levels to integers on room upgrade (#12657) 2022-05-07 13:37:29 +01:00
utils.py Default to private room visibility rather than public when a client does not specify one, according to spec. (#12350) 2022-04-01 15:55:09 +01:00