- 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`
-
Oliver Kurz authored
Fixes https://github.com/matrix-org/synapse/issues/7641 The package was pinned to <0.8.0 without an obvious reasoning with 7ad1d763 in https://github.com/matrix-org/synapse/pull/5636 while the version selection looks to just try to exclude an arbitrary next minor version number that might introduce API breaking changes. Selecting the next minor number might be a good conservative selection. Downstream distributions already reported success patching out the version requirements. This also fixes the integration of upgraded packages into openSUSE packages, e.g. for openSUSE Tumbleweed which already ships prometheus_client >= 0.8 . Signed-off-by:
Oliver Kurz <okurz@suse.de> Co-authored-by:
Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
-
- 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
-
Alex Kotov authored
Useful when config file is fully commented Signed-off-by:
Alex Kotov <kotovalexarian@gmail.com>
-
- Jul 02, 2020
-
-
Patrick Cloke authored
Synapse 1.16.0rc2 (2020-07-02) ============================== Synapse 1.16.0rc2 includes the security fixes released with Synapse 1.15.2. Please see [below](https://github.com/matrix-org/synapse/blob/master/CHANGES.md#synapse-1152-2020-07-02) for more details. Improved Documentation ---------------------- - Update postgres image in example `docker-compose.yaml` to tag `12-alpine`. ([\#7696](https://github.com/matrix-org/synapse/issues/7696)) Internal Changes ---------------- - Add some metrics for inbound and outbound federation latencies: `synapse_federation_server_pdu_process_time` and `synapse_event_processing_lag_by_event`. ([\#7771](https://github.com/matrix-org/synapse/issues/7771))
-
Patrick Cloke authored
-
Patrick Cloke authored
-
Patrick Cloke authored
-
Patrick Cloke authored
-
Patrick Cloke authored
Synapse 1.15.2 (2020-07-02) =========================== Due to the two security issues highlighted below, server administrators are encouraged to update Synapse. We are not aware of these vulnerabilities being exploited in the wild. Security advisory ----------------- * A malicious homeserver could force Synapse to reset the state in a room to a small subset of the correct state. This affects all Synapse deployments which federate with untrusted servers. ([96e9afe6](https://github.com/matrix-org/synapse/commit/96e9afe62500310977dc3cbc99a8d16d3d2fa15c)) * HTML pages served via Synapse were vulnerable to clickjacking attacks. This predominantly affects homeservers with single-sign-on enabled, but all server administrators are encouraged to upgrade. ([ea26e9a9](https://github.com/matrix-org/synapse/commit/ea26e9a98b0541fc886a1cb826a38352b7599dbe)) This was reported by [Quentin Gliech](https://sandhose.fr/).
-
Patrick Cloke authored
-
Patrick Cloke authored
-
Patrick Cloke authored
-
Erik Johnston authored
-
Patrick Cloke authored
-
- 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>
-
Richard van der Hoff authored
my editor was complaining about unset variables, so let's add some early returns to fix that and reduce indentation/cognitive load.
-
Richard van der Hoff authored
This makes it much easier to find where streams are referenced.
-
Richard van der Hoff authored
fix a few things to make this pass mypy.
-
Erik Johnston authored
Introduced in #7755, not yet released.
-
Richard van der Hoff authored
-
Andrew Morgan authored
-
Andrew Morgan authored
-
Brendan Abolivier authored
-
- Jun 30, 2020
-
-
Patrick Cloke authored
-
Erik Johnston authored
-
Andrew Morgan authored
-
- Jun 26, 2020
-
-
Erik Johnston authored
-
- Jun 25, 2020
-
-
Andrew Morgan authored
-
Dagfinn Ilmari Mannsåker authored
- Remove the requirement for a specific version of Python - Move dep comment to a separate line, Tox 3.7.0 like trailing ones Signed-off-by:
Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
-
- 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 23, 2020
-
-
Christian Svensson authored
HTTP requires the response to contain a Content-Length header unless chunked encoding is being used. Prometheus metrics endpoint did not set this, causing software such as prometheus-proxy to not be able to scrape synapse for metrics. Signed-off-by:
Christian Svensson <blue@cmd.nu>
-
Patrick Cloke authored
-
- Jun 22, 2020
-
-
Patrick Cloke authored
-