- Apr 03, 2022
-
-
David Robertson authored
-
- Apr 01, 2022
-
-
Richard van der Hoff authored
In particular, add type hints for get_success and friends, which are then helpful in a bunch of places.
-
Richard van der Hoff authored
There are a bunch of places we call get_success on an immediate value, which is unnecessary. Let's rip them out, and remove the redundant functionality in get_success and friends.
-
reivilibre authored
Default to `private` room visibility rather than `public` when a client does not specify one, according to spec. (#12350)
-
David Robertson authored
-
Nick Mills-Barrett authored
Switching to a sequence means there's no need to track `last_txn` on the AS state table to generate new TXN IDs. This also means that there is no longer contention between the AS scheduler and AS handler on updates to the `application_services_state` table, which will prevent serialization errors during the complete AS txn transaction.
-
David Robertson authored
-
Richard van der Hoff authored
These methods are only used by a single testcase, so they shouldn't be cluttering up the base `TestCase` class.
-
reivilibre authored
-
Richard van der Hoff authored
It seems like calling `_get_state_group_for_events` for an event where the state is unknown is an error. Accordingly, let's raise an exception rather than silently returning an empty result.
-
Richard van der Hoff authored
If we're missing most of the events in the room state, then we may as well call the /state endpoint, instead of individually requesting each and every event.
-
Brendan Abolivier authored
Co-authored-by:
Sean Quah <8349537+squahtx@users.noreply.github.com> Co-authored-by:
Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
-
Amanda Graven authored
-
- 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.
-
Patrick Cloke authored
-
Brendan Abolivier authored
-
Richard van der Hoff authored
-
Patrick Cloke authored
The PaginationChunk class attempted to bundle some properties together, but really just caused callers to jump through hoops and hid implementation details.
-
David Robertson authored
-
David Robertson authored
-
David Robertson 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>
-
reivilibre authored
Flesh out documentation for running SyTest against Synapse, including use of Postgres and worker mode. (#12271) Co-authored-by:
Patrick Cloke <clokep@users.noreply.github.com>
-
David Robertson authored
-
Andrew Morgan authored
-
Andrew Morgan authored
Co-authored-by:
Erik Johnston <erik@matrix.org>
-
Richard van der Hoff authored
Do not attempt to send remote joins out over federation. Normally, it will do nothing; occasionally, it will do the wrong thing.
-
Brendan Abolivier authored
-
- Mar 29, 2022
-
-
David Robertson authored
-
Richard van der Hoff authored
-
Sean Quah authored
Document the behaviour of `LoggingTransaction.call_after` and `LoggingTransaction.call_on_exception` when transactions are retried. Signed-off-by:
Sean Quah <seanq@element.io>
-
David Robertson authored
-
Eric Eastwood authored
Follow-up to https://github.com/matrix-org/synapse/pull/12083 Since we are now using the new `state_event_ids` parameter to do all of the heavy lifting. We can remove any spots where we plumbed `auth_event_ids` just for MSC2716 things in https://github.com/matrix-org/synapse/pull/9247/files. Removing `auth_event_ids` from following functions: - `create_and_send_nonmember_event` - `_local_membership_update` - `update_membership` - `update_membership_locked`
-
- Mar 28, 2022
-
-
Richard van der Hoff authored
When we are processing a `/backfill` request from a remote server, exclude any outliers from consideration early on. We can't return outliers anyway (since we don't know the state at the outlier), and filtering them out earlier means that we won't attempt to calulate the state for them.
-
Dirk Klimpel authored
-
Brendan Abolivier authored
Co-authored-by:
Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
-
Brendan Abolivier authored
-