MatrixSynapse/synapse/handlers
Eric Eastwood a6f1a3abec
Add MSC3030 experimental client and federation API endpoints to get the closest event to a given timestamp (#9445)
MSC3030: https://github.com/matrix-org/matrix-doc/pull/3030

Client API endpoint. This will also go and fetch from the federation API endpoint if unable to find an event locally or we found an extremity with possibly a closer event we don't know about.
```
GET /_matrix/client/unstable/org.matrix.msc3030/rooms/<roomID>/timestamp_to_event?ts=<timestamp>&dir=<direction>
{
    "event_id": ...
    "origin_server_ts": ...
}
```

Federation API endpoint:
```
GET /_matrix/federation/unstable/org.matrix.msc3030/timestamp_to_event/<roomID>?ts=<timestamp>&dir=<direction>
{
    "event_id": ...
    "origin_server_ts": ...
}
```

Co-authored-by: Erik Johnston <erik@matrix.org>
2021-12-02 01:02:20 -06:00
..
ui_auth
__init__.py
account_data.py
account_validity.py
admin.py
appservice.py
auth.py Support expiry of refresh tokens and expiry of the overall session when refresh tokens are in use. (#11425) 2021-11-26 14:27:14 +00:00
cas.py
deactivate_account.py
device.py
devicemessage.py
directory.py
e2e_keys.py
e2e_room_keys.py
event_auth.py
events.py Refactor the code to inject bundled relations during serialization. (#11408) 2021-11-23 06:43:56 -05:00
federation.py Add MSC3030 experimental client and federation API endpoints to get the closest event to a given timestamp (#9445) 2021-12-02 01:02:20 -06:00
federation_event.py
groups_local.py
identity.py Remove legacy code related to deprecated `trust_identity_server_for_password_resets` config flag (#11333) 2021-11-18 10:56:32 -08:00
initial_sync.py
message.py Refactor the code to inject bundled relations during serialization. (#11408) 2021-11-23 06:43:56 -05:00
oidc.py
pagination.py
password_policy.py
presence.py
profile.py
read_marker.py
receipts.py
register.py Add type annotations to some of the configuration surrounding refresh tokens. (#11428) 2021-11-29 13:34:14 +00:00
room.py Add MSC3030 experimental client and federation API endpoints to get the closest event to a given timestamp (#9445) 2021-12-02 01:02:20 -06:00
room_batch.py Prevent historical state from being pushed to an application service via `/transactions` (MSC2716) (#11265) 2021-11-18 14:16:08 -06:00
room_list.py
room_member.py Prevent historical state from being pushed to an application service via `/transactions` (MSC2716) (#11265) 2021-11-18 14:16:08 -06:00
room_member_worker.py
room_summary.py Support the stable /hierarchy endpoint from MSC2946 (#11329) 2021-11-29 14:32:20 -05:00
saml.py
search.py
send_email.py
set_password.py
sso.py
state_deltas.py
stats.py
sync.py
typing.py Add type annotations to `synapse.metrics` (#10847) 2021-11-17 19:07:02 +00:00
user_directory.py