- Aug 11, 2021
-
-
Patrick Cloke authored
And ensure that the file is checked via mypy.
-
Dirk Klimpel authored
Signed-off-by:
Marcus Hoffmann <bubu@bubu1.eu> Signed-off-by:
Dirk Klimpel <dirk@klimpel.org>
-
- Aug 10, 2021
-
-
Patrick Cloke authored
This adds support for the /hierarchy endpoint, which is an update to MSC2946. Currently this only supports rooms known locally to the homeserver.
-
Patrick Cloke authored
If a room which the requesting user was invited to was queried over federation it will now properly appear in the spaces summary (instead of being stripped out by the requesting server).
-
- Aug 09, 2021
-
-
Dirk Klimpel authored
Signed-off-by:
Dirk Klimpel <dirk@klimpel.org>
-
Patrick Cloke authored
This adds support for MSC3289: room version 8. This is room version 7 + MSC3083.
-
- Aug 06, 2021
-
-
Erik Johnston authored
-
Richard van der Hoff authored
* drop old-room hack pretty sure we don't need this any more. * Remove incorrect comment about modifying `context` It doesn't look like the supplied context is ever modified. * Stop `_auth_and_persist_event` modifying its parameters This is only called in three places. Two of them don't pass `auth_events`, and the third doesn't use the dict after passing it in, so this should be non-functional. * Stop `_check_event_auth` modifying its parameters `_check_event_auth` is only called in three places. `on_send_membership_event` doesn't pass an `auth_events`, and `prep` and `_auth_and_persist_event` do not use the map after passing it in. * Stop `_update_auth_events_and_context_for_auth` modifying its parameters Return the updated auth event dict, rather than modifying the parameter. This is only called from `_check_event_auth`. * Improve documentation on `_auth_and_persist_event` Rename `auth_events` parameter to better reflect what it contains. * Improve documentation on `_NewEventInfo` * Improve documentation on `_check_event_auth` rename `auth_events` parameter to better describe what it contains * changelog
-
Richard van der Hoff authored
This is mostly useful in case the server offers TLS, but doesn't present a valid certificate.
-
- Aug 05, 2021
-
-
Patrick Cloke authored
This should have no user-visible changes, but refactors some pieces of the SpaceSummaryHandler before adding support for the updated MSC2946.
-
Will Hunt authored
If there are no services providing a protocol, omit it completely instead of returning an empty dictionary. This fixes a long-standing spec compliance bug.
-
- Aug 04, 2021
-
-
Brendan Abolivier authored
Fixes a bug introduced in rc1 that would cause Synapse to 400 on read receipts requests with empty bodies. Broken in #10413
-
Erik Johnston authored
Ensure we only load an event from the DB once when the same event is requested multiple times at once.
-
Jason Robinson authored
Makes it easier to fetch user details in for example spam checker modules, without needing to use api._store or figure out database interactions. Signed-off-by:
Jason Robinson <jasonr@matrix.org>
-
- Aug 02, 2021
-
-
reivilibre authored
Co-authored-by:
Erik Johnston <erik@matrix.org>
-
Erik Johnston authored
-
Toni Spets authored
Setting the value will help PostgreSQL free up memory by recycling the connections in the connection pool. Signed-off-by:
Toni Spets <toni.spets@iki.fi>
-
- Jul 29, 2021
-
-
Eric Eastwood authored
Reproducible on a federated homeserver when there is a membership auth event as a floating outlier. Then when we try to backfill one of that persons messages, it has missing membership auth to fetch which caused us to mistakenly replace the `context` for the message with that of the floating membership `outlier` event. Since `outliers` have no `state` or `state_group`, the error bubbles up when we continue down the persisting route: `sqlite3.IntegrityError: NOT NULL constraint failed: event_to_state_groups.state_group` Call stack: ``` backfill _auth_and_persist_event _check_event_auth _update_auth_events_and_context_for_auth ```
-
- Jul 28, 2021
-
-
Patrick Cloke authored
-
Šimon Brandner authored
Implementation of matrix-org/matrix-doc#2285
-
- Jul 27, 2021
-
-
sri-vidyut authored
-
Dirk Klimpel authored
-
Andrew Morgan authored
Co-authored-by:
Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
-
Travis Ralston authored
* Fix no-access-token bug in deactivation tests * Support MSC2033: Device ID on whoami * Test for appservices too MSC: https://github.com/matrix-org/matrix-doc/pull/2033 The MSC has passed FCP, which means stable endpoints can be used.
-
- Jul 26, 2021
-
-
Patrick Cloke authored
-
- Jul 22, 2021
-
-
Dirk Klimpel authored
Signed-off-by:
Dirk Klimpel <dirk@klimpel.org>
-
- Jul 21, 2021
-
-
Patrick Cloke authored
Improves type hints for: * parse_{boolean,integer} * parse_{boolean,integer}_from_args * parse_json_{value,object}_from_request And fixes any incorrect calls that resulted from unknown types.
-
- Jul 20, 2021
-
-
Erik Johnston authored
-
Michael Telatynski authored
-
Brendan Abolivier authored
Port the third-party event rules interface to the generic module interface introduced in v1.37.0
-
- Jul 19, 2021
-
-
reivilibre authored
Add a new version of the R30 phone-home metric, which removes a false impression of retention given by the old R30 metric (#10332) Signed-off-by:
Olivier Wilkinson (reivilibre) <olivier@librepush.net>
-
- Jul 16, 2021
-
-
Brendan Abolivier authored
This adds an API for third-party plugin modules to implement account validity, so they can provide this feature instead of Synapse. The module implementing the current behaviour for this feature can be found at https://github.com/matrix-org/synapse-email-account-validity. To allow for a smooth transition between the current feature and the new module, hooks have been added to the existing account validity endpoints to allow their behaviours to be overridden by a module.
-
- Jul 15, 2021
-
-
reivilibre authored
Signed-off-by:
Olivier Wilkinson (reivilibre) <olivier@librepush.net>
-
Erik Johnston authored
This is to help with performance, where trying to connect to thousands of hosts at once can consume a lot of CPU (due to TLS etc). Co-authored-by:
Brendan Abolivier <babolivier@matrix.org>
-
Dirk Klimpel authored
-
- Jul 14, 2021
-
-
Patrick Cloke authored
-
- Jul 13, 2021
-
-
Patrick Cloke authored
Previously only world-readable rooms were shown. This means that rooms which are public, knockable, or invite-only with a pending invitation, are included in a space summary. It also applies the same logic to the experimental room version from MSC3083 -- if a user has access to the proper allowed rooms then it is shown in the spaces summary. This change is made per MSC3173 allowing stripped state of a room to be shown to any potential room joiner.
-
Jonathan de Jong authored
This PR is tantamount to running: python3.8 -m com2ann -v 6 tests/ (com2ann requires python 3.8 to run)
-
Jonathan de Jong authored
-
- Jul 12, 2021
-
-
Patrick Cloke authored
-