- May 20, 2021
-
-
Javier Junquera Sánchez authored
Signed-off-by:
Javier Junquera Sánchez <javier@junquera.io>
-
- May 17, 2021
-
-
Erik Johnston authored
-
Erik Johnston authored
- May 12, 2021
-
-
Brendan Abolivier authored
-
Brendan Abolivier authored
-
Brendan Abolivier authored
* Correctly ratelimit invites when creating a room Also allow ratelimiting for more than one action at a time.
-
Richard van der Hoff authored
-
Erik Johnston authored
- May 11, 2021
-
-
Richard van der Hoff authored
-
Patrick Cloke authored
This should help ensure that equivalent results are achieved between homeservers querying for the summary of a space. This implements modified MSC1772 rules, according to MSC2946. The different is that the origin_server_ts of the m.room.create event is not used as a tie-breaker since this might not be known if the homeserver is not part of the room.
-
Patrick Cloke authored
Per changes in MSC2946, the C-S and S-S APIs for spaces summary should use GET requests. Until this is stable, the POST endpoints still exist. This does not switch federation requests to use the GET version yet since it is newly added and already deployed servers might not support it. When switching to the stable endpoint we should switch to GET requests.
-
Patrick Cloke authored
MSC1772 specifies the m.room.create event should be sent as part of the invite_state. This was done optionally behind an experimental flag, but is now done by default due to MSC1772 being approved.
-
Brendan Abolivier authored
-
Aaron authored
Now that cross signing exists there is much less of a need for other people to look at devices and verify them individually. This PR adds a config option to allow you to prevent device display names from being shared with other servers. Signed-off-by:
Aaron Raimist <aaron@raim.ist>
-
Brendan Abolivier authored
-
Richard van der Hoff authored
Hopefully this will help us track down where to-device messages are getting lost/delayed.
-
Richard van der Hoff authored
fixes #9960
-
Richard van der Hoff authored
* tests for push rule pattern matching * tests for acl pattern matching * factor out common `re.escape` * Factor out common re.compile * Factor out common anchoring code * add word_boundary support to `glob_to_regex` * Use `glob_to_regex` in push rule evaluator NB that this drops support for character classes. I don't think anyone ever used them. * Improve efficiency of globs with multiple wildcards The idea here is that we compress multiple `*` globs into a single `.*`. We also need to consider `?`, since `*?*` is as hard to implement efficiently as `**`. * add assertion on regex pattern * Fix mypy * Simplify glob_to_regex * Inline the glob_to_regex helper function Signed-off-by:
Dan Callahan <danc@element.io> * Moar comments Signed-off-by:
Dan Callahan <danc@element.io> Co-authored-by:
Dan Callahan <danc@element.io>
-
- May 10, 2021
-
-
Erik Johnston authored
We were pulling the full auth chain for the room out of the DB each time we backfilled, which can be *huge* for large rooms and is totally unnecessary.
-
Richard van der Hoff authored
... and test it.
-
- May 07, 2021
-
-
Erik Johnston authored
Fixes regression in send PDU times introduced in #9905.
-
Richard van der Hoff authored
-
Erik Johnston authored
-
Erik Johnston authored
c.f. #9936
-
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.
-
- May 06, 2021
-
-
Erik Johnston authored
-
Erik Johnston authored
This reverts commit e9eb3549.
-
Erik Johnston authored
-
Erik Johnston authored
Fixes #9936
-
- May 05, 2021
-
-
Patrick Cloke authored
-
Patrick Cloke authored
This is an update based on changes to MSC2946. The origin_server_ts of the m.room.create event is copied into the creation_ts field for each room returned from the spaces summary.
-
Erik Johnston authored
-
Patrick Cloke authored
Support both the unstable and stable identifiers. A future release will disable the unstable identifiers.
-
Erik Johnston authored
This will double count slightly in the presence of interned strings. It's off by default as it can consume a lot of resources.
-
Erik Johnston authored
Synapse can be quite memory intensive, and unless care is taken to tune the GC thresholds it can end up thrashing, causing noticable performance problems for large servers. We fix this by limiting how often we GC a given generation, regardless of current counts/thresholds. This does not help with the reverse problem where the thresholds are set too high, but that should only happen in situations where they've been manually configured. Adds a `gc_min_seconds_between` config option to override the defaults. Fixes #9890.
-
Erik Johnston authored
-