- 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.
-
- 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 26, 2021
-
-
Patrick Cloke authored
-
- Jul 20, 2021
-
-
Erik Johnston authored
-
- Jul 13, 2021
-
-
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
-
- Jun 29, 2021
-
-
Erik Johnston authored
This adds a simple best effort locking mechanism that works cross workers.
-
- Jun 22, 2021
-
-
Eric Eastwood authored
Work on https://github.com/matrix-org/matrix-doc/pull/2716
-
- Jun 17, 2021
-
-
Marcus authored
Reformat all files with the new version. Signed-off-by:
Marcus Hoffmann <bubu@bubu1.eu>
-
- Jun 01, 2021
-
-
Richard van der Hoff authored
Empirically, this helped my server considerably when handling gaps in Matrix HQ. The problem was that we would repeatedly call have_seen_events for the same set of (50K or so) auth_events, each of which would take many minutes to complete, even though it's only an index scan.
-
- May 21, 2021
-
-
Erik Johnston authored
-
- May 07, 2021
-
-
Richard van der Hoff authored
The hope here is that by moving all the schema files into synapse/storage/schema, it gets a bit easier for newcomers to navigate. It certainly got easier for me to write a helpful README. There's more to do on that front, but I'll follow up with other PRs for that.
-
- Apr 27, 2021
-
-
Andrew Morgan authored
I went through and removed a bunch of cruft that was lying around for compatibility with old Python versions. This PR also will now prevent Synapse from starting unless you're running Python 3.6+.
-
- Apr 20, 2021
-
-
Jonathan de Jong authored
-
- Apr 14, 2021
-
-
Jonathan de Jong authored
Part of #9744 Removes all redundant `# -*- coding: utf-8 -*-` lines from files, as python 3 automatically reads source code as utf-8 now. `Signed-off-by:
Jonathan de Jong <jonathan@automatia.nl>`>
-
- Apr 09, 2021
-
-
Patrick Cloke authored
-
Dirk Klimpel authored
Related: #8334 Deprecated in: #9429 - Synapse 1.28.0 (2021-02-25) `GET /_synapse/admin/v1/users/<user_id>` has no - unit tests - documentation API in v2 is available (#5925 - 12/2019, v1.7.0). API is misleading. It expects `user_id` and returns a list of all users. Signed-off-by:
Dirk Klimpel <dirk@klimpel.org>
-
- Apr 08, 2021
-
-
Jonathan de Jong authored
Part of #9366 Adds in fixes for B006 and B008, both relating to mutable parameter lint errors. Signed-off-by:
Jonathan de Jong <jonathan@automatia.nl>
-
Richard van der Hoff authored
-
Richard van der Hoff authored
-
- Apr 06, 2021
-
-
Patrick Cloke authored
-
- Mar 29, 2021
-
-
Patrick Cloke authored
-
- Mar 10, 2021
-
-
Patrick Cloke authored
This uses a simplified version of get_chain_cover_difference to calculate auth chain of events.
-
- Mar 08, 2021
-
-
Patrick Cloke authored
Unfortunately this doesn't test re-joining the room since that requires having another homeserver to query over federation, which isn't easily doable in unit tests.
-
- Feb 17, 2021
-
-
Dirk Klimpel authored
-
- Feb 16, 2021
-
-
Eric Eastwood authored
- Update black version to the latest - Run black auto formatting over the codebase - Run autoformatting according to [`docs/code_style.md `](https://github.com/matrix-org/synapse/blob/80d6dc9783aa80886a133756028984dbf8920168/docs/code_style.md) - Update `code_style.md` docs around installing black to use the correct version
-
- Jan 18, 2021
-
-
Erik Johnston authored
-
- Jan 15, 2021
-
-
Erik Johnston authored
We do this by allowing a single iteration to process multiple rooms at a time, as there are often a lot of really tiny rooms, which can massively slow things down.
-
- Jan 14, 2021
-
-
Erik Johnston authored
-
- Jan 12, 2021
-
-
Dirk Klimpel authored
This only applies if the user's data is to be erased.
-
- Jan 11, 2021
-
-
Erik Johnston authored
-
- Jan 07, 2021
-
-
Patrick Cloke authored
This allows for efficiently finding which users ignore a particular user. Co-authored-by:
Erik Johnston <erik@matrix.org>
-
- Dec 18, 2020
-
-
Erik Johnston authored
If we see stale extremities while persisting events, and notice that they don't change the result of state resolution, we drop them.
-
- Dec 17, 2020
-
-
Brendan Abolivier authored
* Use the simple dictionary in fts for the user directory * Clarify naming
-
Dirk Klimpel authored
-
- Dec 11, 2020
-
-
Dirk Klimpel authored
-
- Dec 04, 2020
-
-
Erik Johnston authored
This is so that we can choose which algorithm to use based on the room ID.
-
- Dec 02, 2020
-
-
Richard van der Hoff authored
-