- Aug 05, 2020
-
-
Erik Johnston authored
-
Richard van der Hoff authored
This solves the problem that the first few lines are logged twice on matrix.org. Hopefully the comments explain it.
-
Richard van der Hoff authored
-
- Aug 04, 2020
-
-
Andrew Morgan authored
This PR: * Reduces the amount of noise in the `check-newsfragment` CI output by hiding the dependency installation output by default. * Prints a link to the changelog/debian changelog section of the contributing guide if an error is found.
-
Patrick Cloke authored
-
Patrick Cloke authored
-
Patrick Cloke authored
-
Richard van der Hoff authored
This has long been something I've wanted to do. Basically the `Daemonize` code is both too flexible and not flexible enough, in that it offers a bunch of features that we don't use (changing UID, closing FDs in the child, logging to syslog) and doesn't offer a bunch that we could do with (redirecting stdout/err to a file instead of /dev/null; having the parent not exit until the child is running). As a first step, I've lifted the Daemonize code and removed the bits we don't use. This should be a non-functional change. Fixing everything else will come later.
-
- Aug 03, 2020
-
-
Andrew Morgan authored
We've [decided](https://github.com/matrix-org/synapse/issues/5253#issuecomment-665976308) to remove the signature check for v1 lookups. The signature check has been removed in v2 lookups. v1 lookups are currently deprecated. As mentioned in the above linked issue, this verification was causing deployments for the vector.im and matrix.org IS deployments, and this change is the simplest solution, without being unjustified. Implementations are encouraged to use the v2 lookup API as it has [increased privacy benefits](https://github.com/matrix-org/matrix-doc/pull/2134).
-
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.
-
Patrick Cloke authored
-
Patrick Cloke authored
-
Michael Albert authored
Signed-off-by:
Michael Albert <michael.albert@awesome-technologies.de>
-
Patrick Cloke authored
-
Patrick Cloke authored
-
- Jul 31, 2020
-
-
Patrick Cloke authored
-
Erik Johnston authored
Add ratelimiting on joins
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Travis Ralston authored
These docs were tested successfully in production by a customer, so it's probably fine.
-
- Jul 30, 2020
-
-
Stuart Mumford authored
-
Richard van der Hoff authored
Thanks to some slightly overzealous cleanup in the `delete_old_current_state_events`, it's possible to end up with no `event_forward_extremities` in a room where we have outstanding local invites. The user would then get a "no create event in auth events" when trying to reject the invite. We can hack around it by using the dangling invite as the prev event.
-
Erik Johnston authored
-
Olivier Wilkinson (reivilibre) authored
-
Patrick Cloke authored
-
Patrick Cloke authored
-
Patrick Cloke authored
-
Patrick Cloke authored
-
Olivier Wilkinson (reivilibre) authored
Signed-off-by:
Olivier Wilkinson (reivilibre) <olivier@librepush.net>
-
Olivier Wilkinson (reivilibre) authored
-
- Jul 29, 2020
-
-
Erik Johnston authored
-
Patrick Cloke authored
-
Patrick Cloke authored
-
Patrick Cloke authored
-
Brendan Abolivier authored
-
Brendan Abolivier authored
-
Aaron authored
-
- Jul 28, 2020
-
-
Patrick Cloke authored
-