- Aug 20, 2020
-
-
Patrick Cloke authored
-
- Aug 17, 2020
-
-
Patrick Cloke authored
-
Patrick Cloke authored
-
- Aug 12, 2020
-
-
Patrick Cloke authored
-
Patrick Cloke authored
-
- Aug 11, 2020
-
-
Patrick Cloke authored
-
- Aug 07, 2020
-
-
Patrick Cloke authored
-
- Aug 06, 2020
-
-
Patrick Cloke authored
-
- Aug 05, 2020
-
-
Erik Johnston authored
-
- Aug 03, 2020
-
-
Andrew Morgan authored
`StatsHandler` handles updates to the `current_state_delta_stream`, and updates room stats such as the amount of state events, joined users, etc. However, it counts every new join membership as a new user entering a room (and that user being in another room), whereas it's possible for a user's membership status to go from join -> join, for instance when they change their per-room profile information. This PR adds a check for join->join membership transitions, and bails out early, as none of the further checks are necessary at that point. Due to this bug, membership stats in many rooms have ended up being wildly larger than their true values. I am not sure if we also want to include a migration step which recalculates these statistics (possibly using the `_populate_stats_process_rooms` bg update). Bug introduced in the initial implementation https://github.com/matrix-org/synapse/pull/4338.
-
- Jul 30, 2020
-
-
Patrick Cloke authored
-
Patrick Cloke authored
-
- Jul 17, 2020
-
-
Patrick Cloke authored
-
Patrick Cloke authored
-
- Jul 15, 2020
-
-
Erik Johnston authored
-
Patrick Cloke authored
-
- Jul 06, 2020
-
-
Patrick Cloke authored
-
- Jul 05, 2020
-
-
Will Hunt authored
The CI appears to use the latest version of isort, which is a problem when isort gets a major version bump. Rather than try to pin the version, I've done the necessary to make isort5 happy with synapse.
-
- Jun 30, 2020
-
-
Patrick Cloke authored
-
- Jun 17, 2020
-
-
Patrick Cloke authored
-
- Jun 15, 2020
-
-
Hubert Chathi authored
-
- Jun 10, 2020
-
-
Andrew Morgan authored
Fixes https://github.com/matrix-org/synapse/issues/2431 Adds config option `encryption_enabled_by_default_for_room_type`, which determines whether encryption should be enabled with the default encryption algorithm in private or public rooms upon creation. Whether the room is private or public is decided based upon the room creation preset that is used. Part of this PR is also pulling out all of the individual instances of `m.megolm.v1.aes-sha2` into a constant variable to eliminate typos ala https://github.com/matrix-org/synapse/pull/7637 Based on #7637
-
- Jun 05, 2020
-
-
Patrick Cloke authored
-
Andrew Morgan authored
While working on https://github.com/matrix-org/synapse/issues/5665 I found myself digging into the `Ratelimiter` class and seeing that it was both: * Rather undocumented, and * causing a *lot* of config checks This PR attempts to refactor and comment the `Ratelimiter` class, as well as encourage config file accesses to only be done at instantiation. Best to be reviewed commit-by-commit.
-
- Jun 04, 2020
-
-
Andrew Morgan authored
@uhoreg has confirmed these were both typos. They are only in comments and tests though, rather than anything critical. Introduced in: * https://github.com/matrix-org/synapse/pull/7157 * https://github.com/matrix-org/synapse/pull/5726
-
- May 22, 2020
-
-
Erik Johnston authored
The idea here is that if an instance persists an event via the replication HTTP API it can return before we receive that event over replication, which can lead to races where code assumes that persisting an event immediately updates various caches (e.g. current state of the room). Most of Synapse doesn't hit such races, so we don't do the waiting automagically, instead we do so where necessary to avoid unnecessary delays. We may decide to change our minds here if it turns out there are a lot of subtle races going on. People probably want to look at this commit by commit.
-
- May 15, 2020
-
-
Patrick Cloke authored
-
Patrick Cloke authored
-
- May 14, 2020
-
-
Patrick Cloke authored
-
- May 08, 2020
-
-
Andrew Morgan authored
-
Quentin Gliech authored
-
- May 06, 2020
-
-
Andrew Morgan authored
-
- May 01, 2020
-
-
Andrew Morgan authored
-
- Apr 15, 2020
-
-
Patrick Cloke authored
-
- Apr 01, 2020
-
-
Patrick Cloke authored
-
- Mar 27, 2020
-
-
Dirk Klimpel authored
-
- Mar 24, 2020
-
-
Richard van der Hoff authored
this is never set to anything other than "test", and is a source of unnecessary boilerplate.
-
- Mar 17, 2020
-
-
Richard van der Hoff authored
This reverts commit 54dd2862, reversing changes made to 6640460d.
-
- Mar 09, 2020
-
-
dklimpel authored
-