- Aug 04, 2021
-
-
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
-
- Jul 08, 2021
-
-
Cristina authored
Fixes #9602
-
- Jul 06, 2021
-
-
Dagfinn Ilmari Mannsåker authored
-
Dirk Klimpel authored
-
- Jul 05, 2021
-
-
Erik Johnston authored
-
- Jul 01, 2021
-
-
Patrick Cloke authored
Instead of mixing them with user authentication methods.
-
Dirk Klimpel authored
Related to #10251
-
- Jun 29, 2021
-
-
Erik Johnston authored
This adds a simple best effort locking mechanism that works cross workers.
-
Patrick Cloke authored
Previously m.child.room events in non-space rooms would be treated as part of the room graph, but this is no longer supported.
-
- Jun 24, 2021
-
-
Richard van der Hoff authored
Rather than persisting rejected events via `send_join` and friends, raise a 403 if someone tries to pull a fast one.
-
Richard van der Hoff authored
The idea here is to stop people sending things that aren't joins/leaves/knocks through these endpoints: previously you could send anything you liked through them. I wasn't able to find any security holes from doing so, but it doesn't sound like a good thing.
-
Quentin Gliech authored
This implements refresh tokens, as defined by MSC2918 This MSC has been implemented client side in Hydrogen Web: vector-im/hydrogen-web#235 The basics of the MSC works: requesting refresh tokens on login, having the access tokens expire, and using the refresh token to get a new one. Signed-off-by:
Quentin Gliech <quentingliech@gmail.com>
-
- Jun 23, 2021
-
-
Brendan Abolivier authored
Fixes #10234
-