- Jul 06, 2020
-
-
reivilibre authored
* Fix spec compliance; tweaks without values are valid (default to True, which is only concretely specified for `highlight`, but it seems only reasonable to generalise) * Changelog for 7766. * Add documentation to `tweaks_for_actions` May as well tidy up when I'm here. * Add a test for `tweaks_for_actions`
-
- 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.
-
- Jul 03, 2020
-
-
Erik Johnston authored
-
Dirk Klimpel authored
fixes #7016
-
- Jul 01, 2020
-
-
reivilibre authored
* Remove obsolete comment about ancient temporary code Signed-off-by:
Olivier Wilkinson (reivilibre) <olivier@librepush.net> * Implement hack to set push priority based on whether the tweaks indicate the event might cause effects. * Changelog for 7765 Signed-off-by:
Olivier Wilkinson (reivilibre) <olivier@librepush.net> * Antilint * Add tests for push priority Signed-off-by:
Olivier Wilkinson (reivilibre) <olivier@librepush.net> * Update synapse/push/httppusher.py Co-authored-by:
Brendan Abolivier <babolivier@matrix.org> * Antilint * Remove needless invites from tests. Co-authored-by:
Brendan Abolivier <babolivier@matrix.org>
-
Brendan Abolivier authored
-
- Jun 30, 2020
-
-
Patrick Cloke authored
-
- Jun 24, 2020
-
-
Erik Johnston authored
State res v2 across large data sets can be very CPU intensive, and if all the relevant events are in the cache the algorithm will run from start to finish within a single reactor tick. This can result in blocking the reactor tick for several seconds, which can have major repercussions on other requests. To fix this we simply add the occaisonal `sleep(0)` during iterations to yield execution until the next reactor tick. The aim is to only do this for large data sets so that we don't impact otherwise quick resolutions.=
-
Sorunome authored
-
- Jun 22, 2020
-
-
Patrick Cloke authored
-
- Jun 17, 2020
-
-
Patrick Cloke authored
-
Patrick Cloke authored
-
- Jun 16, 2020
-
-
Patrick Cloke authored
-
Dagfinn Ilmari Mannsåker authored
-
Richard van der Hoff authored
This ended up being a bit more invasive than I'd hoped for (not helped by generic_worker duplicating some of the code from homeserver), but hopefully it's an improvement. The idea is that, rather than storing unstructured `dict`s in the config for the listener configurations, we instead parse it into a structured `ListenerConfig` object.
-
Andrew Morgan authored
Fixes https://github.com/matrix-org/synapse/issues/7683 Broke in: #7649 We had a `yield` acting on a coroutine. To be fair this one is a bit difficult to notice as there's a function in the middle that just passes the coroutine along.
-
- Jun 15, 2020
-
-
Patrick Cloke authored
-
Hubert Chathi authored
-
Patrick Cloke authored
-
- Jun 12, 2020
-
-
Brendan Abolivier authored
-
Brendan Abolivier authored
-
Brendan Abolivier authored
-
Brendan Abolivier authored
-
- Jun 10, 2020
-
-
Brendan Abolivier authored
-
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
-
Dirk Klimpel authored
Allow new users to be registered via the admin API even if the monthly active user limit has been reached (#7263)
-
Dirk Klimpel authored
- Admin is able to - change displaynames - delete devices - list devices - get device informations Fixes #7330
-
WGH authored
Closes #4382 Signed-off-by:
Maxim Plotnikov <wgh@torlan.ru>
-
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
-
- Jun 03, 2020
-
-
Andrew Morgan authored
Calls `self.get_success` on all deferred methods instead of abusing `self.pump()`. This has the benefit of working with coroutines, as well as checking that method execution completed successfully. There are also a few small cleanups that I made in the process.
-
- Jun 01, 2020
-
-
Olof Johansson authored
-
Brendan Abolivier authored
It looks like `user_device_resync` was ignoring cross-signing keys from the results received from the remote server. This patch fixes this, by processing these keys using the same process `_handle_signing_key_updates` does (and effectively factor that part out of that function).
-
Dirk Klimpel authored
-
- May 27, 2020
-
-
Erik Johnston authored
-
Erik Johnston authored
This mostly applise to `*stateGroupCache*` and co. Broke in #6391.
-
Erik Johnston authored
This is already correctly done when we instansiate the cache, but wasn't when it got reloaded (which always happens at least once on startup).
-
- May 26, 2020
-
-
Richard van der Hoff authored
A couple of changes of significance: * remove the `_last_ack < federation_position` condition, so that updates will still be correctly processed after restart * Correctly wire up send_federation_ack to the right class.
-