- Mar 31, 2022
-
-
Patrick Cloke authored
To match the current thinking on disabling experimental features by default.
-
Richard van der Hoff authored
The intention here is to avoid doing state lookups for outliers in `/_matrix/federation/v1/event`. Unfortunately that's expanded into something of a rewrite of `filter_events_for_server`, which ended up trying to do that operation in a couple of places.
-
Brendan Abolivier authored
-
Brendan Abolivier authored
-
- Mar 30, 2022
-
-
Patrick Cloke authored
This endpoint was removed from MSC2675 before it was approved. It is currently unspecified (even in any MSCs) and therefore subject to removal. It is not implemented by any known clients. This also changes the bundled aggregation format for `m.annotation`, which previously included pagination tokens for the `/aggregations` endpoint, which are no longer useful.
-
Andrew Morgan authored
Co-authored-by:
Patrick Cloke <clokep@users.noreply.github.com>
-
Andrew Morgan authored
-
Andrew Morgan authored
Co-authored-by:
Erik Johnston <erik@matrix.org>
-
Brendan Abolivier authored
-
- Mar 29, 2022
-
-
David Robertson authored
-
David Robertson authored
-
- Mar 25, 2022
-
-
Shay authored
-
David Robertson authored
Hopefully this fixes #12257. Co-authored-by:
Patrick Cloke <clokep@users.noreply.github.com>
-
- Mar 24, 2022
-
-
Patrick Cloke authored
The `MockHttpResource` and `MockKey` objects were unused since #9396 (74af356b).
-
Patrick Cloke authored
Filter the events returned from `/relations` for the requester's ignored users in a similar way to `/messages` (and `/sync`).
-
Brendan Abolivier authored
-
- Mar 23, 2022
-
-
Shay authored
-
Nicolas Werner authored
Signed-off-by:
Nicolas Werner <n.werner@famedly.com>
-
Jonathan de Jong authored
Co-authored-by:
reivilibre <olivier@librepush.net>
-
- Mar 21, 2022
-
-
Dirk Klimpel authored
-
- 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
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.
-
- Mar 17, 2022
-
-
Dirk Klimpel authored
-
- Mar 16, 2022
-
-
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
* 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
-
- 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
`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 11, 2022
-
-
Shay 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
-
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
-
-
Patrick Cloke authored
The unstable identifiers are still supported if the experimental configuration flag is enabled. The unstable identifiers will be removed in a future release.
-