- Mar 21, 2022
-
-
Nick Mills-Barrett authored
* Make it possible to enable compression for the metrics HTTP resource This can provide significant bandwidth savings pulling metrics from synapse instances. * Add changelog file. * Fix type hint
-
Richard van der Hoff authored
* Replace `get_state_for_pdu` with `get_state_ids_for_pdu` and `get_events_as_list`. * Return a 404 from `/state` and `/state_ids` for an outlier
-
- Mar 18, 2022
-
-
David Robertson authored
* Try to detect borked package installations. Fixes #12223. Co-authored-by:
Sean Quah <8349537+squahtx@users.noreply.github.com>
-
Patrick Cloke authored
The get_bundled_aggregations code is fairly high-level and uses a lot of store methods, we move it into the handler as that seems like a better fit.
-
Patrick Cloke authored
We fetch the thread summary in two phases: 1. The summary that is shared by all users (count of messages and latest event). 2. Whether the requesting user has participated in the thread. There's no use in attempting step 2 for events which did not return a summary from step 1.
-
Patrick Cloke authored
-
Dirk Klimpel authored
* inherit `MonthlyActiveUsersStore` from `RegistrationWorkerStore` Co-authored-by:
Patrick Cloke <clokep@users.noreply.github.com>
-
David Robertson authored
* Formally type the UserProfile in user searches * export UserProfile in synapse.module_api * Update docs Co-authored-by:
Sean Quah <8349537+squahtx@users.noreply.github.com>
-
- Mar 17, 2022
-
-
David Robertson authored
-
Dirk Klimpel authored
-
- Mar 16, 2022
-
-
Patrick Cloke authored
-
Patrick Cloke authored
An error occured if a filter was supplied with `event_fields` which did not include `unsigned`. In that case, bundled aggregations are still added as the spec states it is allowed for servers to add additional fields.
-
Sean Quah authored
To handle cancellation, we ensure that `after_callback`s and `exception_callback`s are always run, since the transaction will complete on another thread regardless of cancellation. We also wait until everything is done before releasing the `CancelledError`, so that logging contexts won't get used after they have been finished. Signed-off-by:
Sean Quah <seanq@element.io>
-
Patrick Cloke authored
Adds a handler layer between the REST and datastore layers for relations.
-
Patrick Cloke authored
-
David Robertson authored
-
Patrick Cloke authored
* Moves the relation pagination tests to a separate class. * Move the assertion of the response code into the `_send_relation` helper. * Moves some helpers into the base-class.
-
Patrick Cloke authored
By using urljoin from the standard library and reducing the number of places URLs are rebased.
-
- Mar 15, 2022
-
-
Patrick Cloke authored
Instead of fetching the raw account data and re-parsing it. The ignored_users table is a denormalised version of the account data for quick searching.
-
Sean Quah authored
Signed-off-by:
Sean Quah <seanq@element.io>
-
Dirk Klimpel authored
-
David Robertson authored
-
David Robertson authored
-
- Mar 14, 2022
-
-
Sean Quah authored
These decorators mostly support cancellation already. Add cancellation tests and fix use of finished logging contexts by delaying cancellation, as suggested by @erikjohnston. Signed-off-by:
Sean Quah <seanq@element.io>
-
Sean Quah authored
Also convert `ReadWriteLock` to use async context managers. Signed-off-by:
Sean Quah <seanq@element.io>
-
Sean Quah authored
Signed-off-by:
Sean Quah <seanq@element.io>
-
Sean Quah authored
`delay_cancellation` behaves like `stop_cancellation`, except it delays `CancelledError`s until the original `Deferred` resolves. This is handy for unifying cleanup paths and ensuring that uncancelled coroutines don't use finished logcontexts. Signed-off-by:
Sean Quah <seanq@element.io>
-
- Mar 12, 2022
-
-
Patrick Cloke authored
-
- Mar 11, 2022
-
-
Shay authored
-
Brendan Abolivier authored
-
reivilibre authored
-
Nick Mills-Barrett authored
And rename the field used for caching from _id to _cache_key.
-
Dirk Klimpel authored
Co-authored-by:
Patrick Cloke <clokep@users.noreply.github.com>
-
Patrick Cloke authored
-
Patrick Cloke authored
-
Andrew Morgan authored
Co-authored-by:
Patrick Cloke <clokep@users.noreply.github.com>
-
Richard van der Hoff authored
This test was relying on poking events which weren't in the database into filter_events_for_client.
-
- Mar 10, 2022
-
-
~creme authored
This includes the `typing`, `to_device`, `account_data`, `receipts`, and `presence` streams (really anything except the `events` stream).
-