- Aug 18, 2022
-
-
Sean Quah authored
Use a state filter or accept partial state in a few places where we request state, to avoid blocking. To make lazy-loading `/sync`s work, we need to provide the memberships of event senders, which are not guaranteed to be in the room state. Instead we dig through auth events for memberships to present to clients. The auth events of an event are guaranteed to contain a passable membership event, otherwise the event would have been rejected. Note that this only covers the common code paths encountered during testing. There has been no exhaustive checking of all sync code paths. Fixes #13146. Signed-off-by:
Sean Quah <seanq@matrix.org>
-
- Aug 17, 2022
-
-
Eric Eastwood authored
Related to https://github.com/matrix-org/synapse/pull/13499 Part of https://github.com/matrix-org/synapse/issues/13356
-
reivilibre authored
Fix a bug in the `/event_reports` Admin API which meant that the total count could be larger than the number of results you can actually query for. (#13525) Co-authored-by:
Brendan Abolivier <babolivier@matrix.org>
-
David Robertson authored
-
Erik Johnston authored
Broke by #13522 It looks like we have some rules in the DB with a priority class less than 0 that don't override the base rules. Before these were just dropped, but #13522 made that a hard error.
-
David Robertson authored
-
Antonin Loubiere authored
-
Dirk Klimpel authored
-
Eric Eastwood authored
-
Eric Eastwood authored
-
Eric Eastwood authored
-
- Aug 16, 2022
-
-
Eric Eastwood authored
Instrument the federation/backfill part of `/messages` so it's easier to follow what's going on in Jaeger when viewing a trace. Split out from https://github.com/matrix-org/synapse/pull/13440 Follow-up from https://github.com/matrix-org/synapse/pull/13368 Part of https://github.com/matrix-org/synapse/issues/13356
-
Andrew Morgan authored
-
Andrew Morgan authored
-
Sean Quah authored
Synapse does not currently support faster room joins on deployments with workers. Signed-off-by:
Sean Quah <seanq@matrix.org>
-
Dirk Klimpel authored
Signed-off-by:
Dirk Klimpel <dirk@klimpel.org>
-
reivilibre authored
-
Erik Johnston authored
This improves load times for push rules: | Version | Time per user | Time for 1k users | | -------------------- | ------------- | ----------------- | | Before | 138 µs | 138ms | | Now (with custom) | 2.11 µs | 2.11ms | | Now (without custom) | 49.7 ns | 0.05 ms | This therefore has a large impact on send times for rooms with large numbers of local users in the room.
-
- Aug 15, 2022
-
-
David Robertson authored
Use Pydantic to systematically validate a first batch of endpoints in `synapse.rest.client.account`. (#13188)
-
Shay authored
-
Eric Eastwood authored
Instrument FederationStateIdsServlet - `/state_ids` so it's easier to follow what's going on in Jaeger when viewing a trace.
-
David Robertson authored
This reverts commit f383b9b3. Other PRs were seeing mypy failures that looked to be related to mypy-zope. Confusingly, we didn't see this on #13521. Revert this for now and investigate later.
-
Patrick Cloke authored
* Clarifies comments. * Fixes an erroneous comment (about return type) added in #13455 (ec248132). * Clarifies the name of a variable. * Simplifies logic of pulling out the latest join for the requesting user.
-
David Robertson authored
-
- Aug 13, 2022
-
-
Richard van der Hoff authored
-
- Aug 12, 2022
-
-
reivilibre authored
-
- Aug 11, 2022
-
-
James Barton authored
Signed-off-by:
James Barton <james@neodon.com>
-
Andrew Morgan authored
Add note to `redaction_retention_period` documentation mentioning that event purging runs at most every 5m (#13492)
-
Germain authored
-
Olivier Wilkinson (reivilibre) authored
-
Richard van der Hoff authored
Events can be un-rejected or newly-rejected during resync, so ensure we update the database and caches when that happens.
-
reivilibre authored
Revert 'Remove the unspecced field in the response. (#13365)' to give more time for clients to update. (#13501)
-
- Aug 10, 2022
-
-
Dirk Klimpel authored
* Use literals in place of `HTTPStatus` constants in tests * newsfile * code style * code style
-
Sean Quah authored
Add some miscellaneous comments to document sync, especially around `compute_state_delta`. Signed-off-by:
Sean Quah <seanq@matrix.org> Co-authored-by:
Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
-
- Aug 09, 2022
-
-
Eric Eastwood authored
```py @trace @tag_args async def get_oldest_event_ids_with_depth_in_room(...) ... ``` Before this PR, you would see a warning in the logs and the span was not exported: ``` 2022-08-03 19:11:59,383 - synapse.logging.opentracing - 835 - ERROR - GET-0 - @trace may not have wrapped EventFederationWorkerStore.get_oldest_event_ids_with_depth_in_room correctly! The function is not async but returned a coroutine. ```
-
Dirk Klimpel authored
Replace - `HTTPStatus.NOT_FOUND` - `HTTPStatus.FORBIDDEN` - `HTTPStatus.UNAUTHORIZED` - `HTTPStatus.CONFLICT` - `HTTPStatus.CREATED` Signed-off-by:
Dirk Klimpel <dirk@klimpel.org>
-
Olivier Wilkinson (reivilibre) authored
-
Olivier Wilkinson (reivilibre) authored
-