- Jun 29, 2021
-
-
Erik Johnston authored
Fixes #9490 This will break a couple of SyTest that are expecting failures to be added to the response of a federation /send, which obviously doesn't happen now that things are asynchronous. Two drawbacks: Currently there is no logic to handle any events left in the staging area after restart, and so they'll only be handled on the next incoming event in that room. That can be fixed separately. We now only process one event per room at a time. This can be fixed up further down the line.
-
Erik Johnston authored
This adds a simple best effort locking mechanism that works cross workers.
-
- Jun 24, 2021
-
-
Brendan Abolivier authored
-
Brendan Abolivier authored
- Jun 23, 2021
-
-
Brendan Abolivier authored
Fixes #10234
-
Brendan Abolivier authored
-
- Jun 22, 2021
-
-
Erik Johnston authored
Introduced in #6739
-
Brendan Abolivier authored
So admins aren't surprised if things break when we remove this code in a couple of months.
-
Eric Eastwood authored
Work on https://github.com/matrix-org/matrix-doc/pull/2716
-
- Jun 21, 2021
-
-
jkanefendt authored
Implemented config option sso.update_profile_information to keep user's display name in sync with the SSO displayname. Signed-off-by:
Johannes Kanefendt <johannes.kanefendt@krzn.de>
-
Erik Johnston authored
We were repeatedly looking up a config option in a loop (using the unclassed config style), which is expensive enough that it can cause large CPU usage.
-
Andrew Morgan authored
An accidental mis-ordering of operations during #6739 technically allowed an incoming knock event over federation in before checking it against any configured Third Party Access Rules modules. This PR corrects that by performing the TPAR check *before* persisting the event.
-
Richard van der Hoff authored
* Defer stdio redirection until we are about to start the reactor * Catch and handle exceptions during startup
-
- Jun 18, 2021
-
-
Andrew Morgan authored
This PR will run a new "Deploy release-specific documentation" job whenever a push to a branch name matching `release-v*` occurs. Doing so will create/add to a folder named `vX.Y` on the `gh-pages` branch. Doing so will allow us to build up `major.minor` releases of the docs as we release Synapse. This is especially useful for having a mechanism for keeping around documentation of old/removed features (for those running older versions of Synapse), without needing to clutter the latest copy of the docs. After a [discussion](https://matrix.to/#/!XaqDhxuTIlvldquJaV:matrix.org/$rKmkBmQle8OwTlGcoyu0BkcWXdnHW3_oap8BMgclwIY?via=matrix.org&via=vector.modular.im&via=envs.net) in #synapse-dev, we wanted to use tags to trigger the documentation deployments, which I agreed with. However, I soon realised that the bash-foo required to turn a tag of `v1.2.3rc1` into `1.2` was a lot more complex than the branch's `release-v1.2`. So, I've gone with the latter for simplicity. In the future we'll have some UI on the website to switch between versions, but for now you can simply just change 'develop' to 'v1.2' in the URL.
-
Patrick Cloke authored
This could cause a minor data leak if someone defined a non-restricted join rule with an allow key or used a restricted join rule in an older room version, but this is unlikely. Additionally this starts adding unit tests to the spaces summary handler.
-
Brendan Abolivier authored
-
Brendan Abolivier authored
This PR adds a common configuration section for all modules (see docs). These modules are then loaded at startup by the homeserver. Modules register their hooks and web resources using the new `register_[...]_callbacks` and `register_web_resource` methods of the module API.
-
Richard van der Hoff authored
Fixes: #9480
-
- Jun 17, 2021
-
-
Brendan Abolivier authored
Fixes #9778 ACME v1 has been fully decommissioned for existing installs on June 1st 2021(see https://community.letsencrypt.org/t/end-of-life-plan-for-acmev1/88430/27), so we can now safely remove it from Synapse.
-
Patrick Cloke authored
Adds a "type" field and generalize "space" to "room_id".
-
Richard van der Hoff authored
Fixes #8518 by telling the ResponseCache not to cache the /sync response if the next_batch param is the same as the since token.
-
Richard van der Hoff authored
As I've written in various places in the past (#7113, #9865) I'm pretty sure this is doing nothing useful at all.
-
Marcus authored
Reformat all files with the new version. Signed-off-by:
Marcus Hoffmann <bubu@bubu1.eu>
-
Andrew Morgan authored
Fixes https://github.com/matrix-org/synapse/issues/10030. We were expecting milliseconds where we should have provided a value in seconds. The impact of this bug isn't too bad. The code is intended to count the number of remote servers that the homeserver can see and report that as a metric. This metric is supposed to run initially 1 second after server startup, and every 60s as well. Instead, it ran 1,000 seconds after server startup, and every 60s after startup. This fix allows for the correct metrics to be collected immediately, as well as preventing a random collection 1,000s in the future after startup.
-
Eric Eastwood authored
Follow-up to https://github.com/matrix-org/synapse/pull/10156#discussion_r650292223
-
Richard van der Hoff authored
-
- Jun 16, 2021
-
-
Patrick Cloke authored
-
Patrick Cloke authored
Dangerous actions means deactivating an account, modifying an account password, or adding a 3PID. Other actions (deleting devices, uploading keys) can re-use the same UI auth session if ui_auth.session_timeout is configured.
-
Michael Kaye authored
This doc is short but a useful guide to what the request log lines mean. Co-authored-by:
Richard van der Hoff <1389908+richvdh@users.noreply.github.com> Co-authored-by:
Erik Johnston <erik@matrix.org> Co-authored-by:
Daniele Sluijters <daenney@users.noreply.github.com>
-
Erik Johnston authored
It can be helpful to know when trying to track down slow requests.
-
Lukas Lihotzki authored
`expires_in` must be an integer according to the OpenAPI spec: https://github.com/matrix-org/matrix-doc/blob/master/data/api/client-server/definitions/openid_token.yaml#L32 True division (`/`) returns a float instead (`"expires_in": 3600.0`). Floor division (`//`) returns an integer, so the response is spec compliant. Signed-off-by:
Lukas Lihotzki <lukas@lihotzki.de>
-
Dirk Klimpel authored
* Fix broken links in documentation * newsfile
-
Richard van der Hoff authored
* Trace event persistence When we persist a batch of events, set the parent opentracing span to the that from the request, so that we can trace all the way in. * changelog * When we force tracing, set a baggage item ... so that we can check again later. * Link in both directions between persist_events spans
-
- Jun 15, 2021
-
-
Erik Johnston authored
-
Patrick Cloke authored
The stable prefixes have been supported since v1.34.0. The unstable prefixes are not supported by any known clients.
-
Patrick Cloke authored
* Room version 7 for knocking. * Stable prefixes and endpoints (both client and federation) for knocking. * Removes the experimental configuration flag.
-
Michael Kutzner authored
Add 'federation_ip_range_whitelist'. This allows backwards-compatibility, If 'federation_ip_range_blacklist' is set. Otherwise 'ip_range_whitelist' will be used for federation servers. Signed-off-by:
Michael Kutzner <1mikure@gmail.com>
-
- Jun 14, 2021
-
-
Richard van der Hoff authored
some cleanup, pulled out of #10134.
-