synapse/tests/rest
Patrick Cloke 4bd54b263e
Do not allow MSC3440 threads to fork threads (#11161)
Adds validation to the Client-Server API to ensure that
the potential thread head does not relate to another event
already. This results in not allowing a thread to "fork" into
other threads.

If the target event is unknown for some reason (maybe it isn't
visible to your homeserver), but is the target of other events
it is assumed that the thread can be created from it. Otherwise,
it is rejected as an unknown event.
2021-11-18 13:43:09 +00:00
..
admin Rename get_access_token_for_user_id method to create_access_token_for_user_id (#11369) 2021-11-17 14:10:57 +00:00
client Do not allow MSC3440 threads to fork threads (#11161) 2021-11-18 13:43:09 +00:00
key Add reactor to SynapseRequest and fix up types. (#10868) 2021-09-24 11:01:25 +01:00
media Handle missing Content-Type header when accessing remote media (#11200) 2021-11-01 10:26:02 -07:00
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
test_health.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
test_well_known.py Support for serving server well-known files (#11211) 2021-11-01 15:10:16 +00:00