- Dec 02, 2021
-
-
Richard van der Hoff authored
-
Eric Eastwood authored
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>
-
- Dec 01, 2021
-
-
Shay authored
* move wiki pages to synapse/docs and add a few titles where necessary * update SUMMARY.md with added pages * add changelog * move incorrectly located newsfragment * update changelog number * snake case added files and update summary.md accordingly * update issue/pr links * update relative links to docs * update changelog to indicate that we moved wiki pages to the docs and state reasoning * revert unintentional change to CHANGES.md * add link Co-authored-by:
Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> * Update CHANGES.md Co-authored-by:
Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> Co-authored-by:
Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
-
Patrick Cloke authored
-
Patrick Cloke authored
-
Brendan Abolivier authored
-
Patrick Cloke authored
This adds some misc. type hints to helper methods used in the `synapse.config` module.
-
Patrick Cloke authored
As specified for Matrix v1.1.
-
Richard van der Hoff authored
fix header level
-
Etienne Dysli Metref authored
Dex isn't yet [1,2] a certified OpenID Provider implementation. As of today, it's not on the list maintained by the OpenID Foundation. [3] [1] https://github.com/dexidp/dex/issues/42 [2] https://github.com/dexidp/dex/issues/262 [3] https://openid.net/certification/
-
Shay authored
* Add note to postgres doc about hugepages * Newsfragment
-
- Nov 30, 2021
-
-
Shay authored
* Add check to catch syanpse master process starting when workers are configured * add test to verify that starting master process with worker config raises error * newsfragment * specify config.worker.worker_app in check * update test * report specific config option that triggered the error Co-authored-by:
reivilibre <oliverw@matrix.org> * clarify error message Co-authored-by:
reivilibre <oliverw@matrix.org> Co-authored-by:
reivilibre <oliverw@matrix.org>
-
Maximilian Bosch authored
Co-authored-by:
reivilibre <oliverw@matrix.org>
-
Patrick Cloke authored
Per updates to MSC2675 which now states that bundled aggregations should be included from the `/relations` endpoint.
-
Sean Quah authored
When all entries in an `LruCache` have a size of 0 according to the provided `size_callback`, and `drop_from_cache` is called on a cache node, the node would be unlinked from the LRU linked list but remain in the cache dictionary. An assertion would be later be tripped due to the inconsistency. Avoid unintentionally calling `__len__` and use a strict `is None` check instead when unwrapping the weak reference.
-
Sean Quah authored
-
Dirk Klimpel authored
The tests helpers automatically convert dictionaries to JSON payloads, no need to do it manually for each test.
-
Brendan Abolivier authored
-
Patrick Cloke authored
-
Richard van der Hoff authored
If you're trying to shut down Synapse, it's rather handy if it *actually* shuts down before you move on.
-
Marcus authored
Co-authored-by:
Sean Quah <8349537+squahtx@users.noreply.github.com>
-
Brendan Abolivier authored
-
Brendan Abolivier authored
-
Brendan Abolivier authored
-
Dirk Klimpel authored
-
- Nov 29, 2021
-
-
Dirk Klimpel authored
-
Eric Eastwood authored
Refactor `backfilled` into specific behavior function arguments (`_persist_events_and_state_updates`) (#11417) Part of https://github.com/matrix-org/synapse/issues/11300 Call stack: - `_persist_events_and_state_updates` (added `use_negative_stream_ordering`) - `_persist_events_txn` - `_update_room_depths_txn` (added `update_room_forward_stream_ordering`) - `_update_metadata_tables_txn` - `_store_room_members_txn` (added `inhibit_local_membership_updates`) Using keyword-only arguments (`*`) to reduce the mistakes from `backfilled` being left as a positional argument somewhere and being interpreted wrong by our new arguments.
-
Patrick Cloke authored
This also makes additional updates where the implementation had drifted from the approved MSC. Unstable endpoints will be removed at a later data.
-
Erik Johnston authored
Co-authored-by:
Brendan Abolivier <babolivier@matrix.org>
-
Patrick Cloke authored
This does not remove the unstable field and still parses both. Handling of the unstable field will need to be removed in the future.
-
Sean Quah authored
-
reivilibre authored
-
Richard van der Hoff authored
If we tried to request multiple keys for the same server, we would end up dropping some of those requests.
-
Tulir Asokan authored
Signed-off-by:
Tulir Asokan <tulir@beeper.com>
-
David Robertson authored
-
David Robertson authored
-
David Robertson authored
This would have caught the bug #11438 introduced in #11217 and fixed in #11439.
-
- Nov 26, 2021
-
-
Daniel Molkentin authored
Since e81fa926, Synapse depends on the use_float flag which has been introduced in ijson 3.1 and is not available in 3.0. This is known to cause runtime errors with send_join. Signed-off-by:
Daniel Molkentin <danimo@infra.run> Co-authored-by:
Daniel Molkentin <danimo@infra.run>
-
reivilibre authored
Update MSC2918 refresh token support to confirm with the latest revision: accept the `refresh_tokens` parameter in the request body rather than in the URL parameters. (#11430)
-