- Jul 21, 2020
-
-
Richard van der Hoff authored
I'm going to be doing more stuff synchronously, and I don't want to lose the CPU metrics down the sofa.
-
Richard van der Hoff authored
This had some dead code and some just plain wrong docstrings.
-
Richard van der Hoff authored
-
Patrick Cloke authored
-
Jason Robinson authored
Use Element CSS and logo in notification emails when app name is Element. Signed-off-by:
Jason Robinson <jasonr@matrix.org>
-
- Jul 20, 2020
-
-
Andrew Morgan authored
Run `isort`, `flake8` and `black` over the `contrib/` directory and `synctl` script. The latter was already being done in CI, but now the linting script does it too. Fixes https://github.com/matrix-org/synapse/issues/7910
-
Karthikeyan Singaravelan authored
-
Adrian authored
-
Karthikeyan Singaravelan authored
-
Andrew Morgan authored
The [postgres setup docs](https://github.com/matrix-org/synapse/blob/develop/docs/postgres.md#set-up-database) recommend setting up your database with user `synapse_user`. However, uncommenting the postgres defaults in the sample config leave you with user `synapse`. This PR switches the sample config to recommend `synapse_user`. Took a me a second to figure this out, so assume this will beneficial to others.
-
Karthikeyan Singaravelan authored
* Fix deprecation warnings due to invalid escape sequences. * Add changelog Signed-off-by:
Karthikeyan Singaravelan <tir.karthi@gmail.com>
-
- Jul 17, 2020
-
-
Gary Kim authored
-
Patrick Cloke authored
Co-authored-by:
Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
-
Michael Kaye authored
-
Christopher May-Townsend authored
As mentioned in #7397, switching to a debian base should help with multi-arch work to save time on compiling. This is unashamedly based on #6373, but without the extra functionality. Switch python version back to generic 3.7 to always pull the latest. Essentially, keeping this as small as possible. The image is bigger though unfortunately.
-
Erik Johnston authored
It serves no purpose and updating everytime we write to the device inbox stream means all such transactions will conflict, causing lots of transaction failures and retries.
-
Erik Johnston authored
Fixes #7774
-
Patrick Cloke authored
-
Erik Johnston authored
It's somewhat expected for us to have unknown room versions in the database due to room version experiments.
-
Patrick Cloke authored
-
Patrick Cloke authored
-
Patrick Cloke authored
-
- Jul 16, 2020
-
-
Michael Albert authored
-
Patrick Cloke authored
-
Luke Faraone authored
I'm pretty sure there's no technical reason these have to be distinct server blocks, so collapse into one and go with the more terse location block. Signed-off-by:
Luke W Faraone <luke@faraone.cc>
-
Richard van der Hoff authored
When we get behind on replication, we tend to stack up background processes behind a linearizer. Bg processes are heavy (particularly with respect to prometheus metrics) and linearizers aren't terribly efficient once the queue gets long either. A better approach is to maintain a queue of requests to be processed, and nominate a single process to work its way through the queue. Fixes: #7444
-
Richard van der Hoff authored
We shouldn't allow others to make_join through us if we've left the room; reject such attempts with a 404. Fixes #7835. Fixes #6958.
-
Erik Johnston authored
-
Erik Johnston authored
This reuses the same scheme as federation sender sharding
-
Richard van der Hoff authored
Fix guest user registration with lots of client readers
-
Richard van der Hoff authored
I found these made pycharm have more of a clue as to what was going on in other places.
-
Richard van der Hoff authored
-
Richard van der Hoff authored
-
Richard van der Hoff authored
-
Richard van der Hoff authored
partly just to show it works, but alwo to remove a bit of code duplication.
-
Richard van der Hoff authored
-
Olivier Wilkinson (reivilibre) authored
It was correct at the time of our friend Jorik writing it (checking git blame), but the world has moved now and it is no longer a generator. Signed-off-by:
Olivier Wilkinson (reivilibre) <olivier@librepush.net>
-
- Jul 15, 2020
-
-
Patrick Cloke authored
-
Richard van der Hoff authored
When considering rooms to clean up in `delete_old_current_state_events`, skip rooms which we are creating, which otherwise look a bit like rooms we have left. Fixes #7834.
-
Erik Johnston authored
-