- May 05, 2021
-
-
DeepBlueV7.X authored
This leaves out all optional keys from /sync. This should be fine for all clients tested against conduit already, but it may break some clients, as such we should check, that at least most of them don't break horribly and maybe back out some of the individual changes. (We can probably always leave out groups for example, while the others may cause more issues.) Signed-off-by:
Nicolas Werner <nicolas.werner@hotmail.de>
-
- Apr 29, 2021
-
-
ThibF authored
Support the delete of a room through DELETE request and mark previous request as deprecated through documentation. Signed-off-by:
Thibault Ferrante <thibault.ferrante@pm.me>
-
- Apr 28, 2021
-
-
Erik Johnston authored
Only affects workers. Introduced in #9819. Fixes #9899.
-
- Apr 27, 2021
-
-
Andrew Morgan authored
I went through and removed a bunch of cruft that was lying around for compatibility with old Python versions. This PR also will now prevent Synapse from starting unless you're running Python 3.6+.
-
- Apr 23, 2021
-
-
Richard van der Hoff authored
* Simplify `start_listening` callpath * Correctly check the size of uploaded files
-
Richard van der Hoff authored
First of all, a fixup to `FakeChannel` which is needed to make it work with the default HTTP channel implementation. Secondly, it looks like we no longer need `_PushHTTPChannel`, because as of #8013, the producer that gets attached to the `HTTPChannel` is now an `IPushProducer`. This is good, because it means we can remove a whole load of test-specific boilerplate which causes variation between tests and production.
-
Richard van der Hoff authored
-
Andrew Morgan authored
-
Erik Johnston authored
-
Richard van der Hoff authored
-
- Apr 22, 2021
-
-
Erik Johnston authored
-
- Apr 20, 2021
-
-
Patrick Cloke authored
-
Patrick Cloke authored
As far as I can tell our logging contexts are meant to log the request ID, or sometimes the request ID followed by a suffix (this is generally stored in the name field of LoggingContext). There's also code to log the name@memory location, but I'm not sure this is ever used. This simplifies the code paths to require every logging context to have a name and use that in logging. For sub-contexts (created via nested_logging_contexts, defer_to_threadpool, Measure) we use the current context's str (which becomes their name or the string "sentinel") and then potentially modify that (e.g. add a suffix).
-
Erik Johnston authored
-
Jonathan de Jong authored
-
- Apr 19, 2021
-
-
Andrew Morgan authored
Port "Allow users to click account renewal links multiple times without hitting an 'Invalid Token' page #74" from synapse-dinsic (#9832) This attempts to be a direct port of https://github.com/matrix-org/synapse-dinsic/pull/74 to mainline. There was some fiddling required to deal with the changes that have been made to mainline since (mainly dealing with the split of `RegistrationWorkerStore` from `RegistrationStore`, and the changes made to `self.make_request` in test code).
-
- Apr 14, 2021
-
-
Richard van der Hoff authored
Every single time I want to access the config object, I have to remember whether or not we use `get_config`. Let's just get rid of it.
-
Patrick Cloke authored
This refactoring allows adding logic that uses the event context before persisting it.
-
Patrick Cloke authored
This reverts commit cc51aaaa. The PR was prematurely merged and not yet approved.
-
Patrick Cloke authored
When receiving a /send_join request for a room with join rules set to 'restricted', check if the user is a member of the spaces defined in the 'allow' key of the join rules. This only applies to an experimental room version, as defined in MSC3083.
-
Erik Johnston authored
Co-authored-by:
Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
-
Jonathan de Jong authored
Part of #9744 Removes all redundant `# -*- coding: utf-8 -*-` lines from files, as python 3 automatically reads source code as utf-8 now. `Signed-off-by:
Jonathan de Jong <jonathan@automatia.nl>`>
-
- Apr 13, 2021
-
-
Dan Callahan authored
Signed-off-by:
Dan Callahan <danc@element.io>
-
Dirk Klimpel authored
-
- Apr 12, 2021
-
-
Will Hunt authored
This change ensures that the appservice registration behaviour follows the spec. We decided to do this for Dendrite, so it made sense to also make a PR for synapse to correct the behaviour.
-
- Apr 09, 2021
-
-
Patrick Cloke authored
-
Dirk Klimpel authored
Related: #8334 Deprecated in: #9429 - Synapse 1.28.0 (2021-02-25) `GET /_synapse/admin/v1/users/<user_id>` has no - unit tests - documentation API in v2 is available (#5925 - 12/2019, v1.7.0). API is misleading. It expects `user_id` and returns a list of all users. Signed-off-by:
Dirk Klimpel <dirk@klimpel.org>
-
- Apr 08, 2021
-
-
Jonathan de Jong authored
Part of #9366 Adds in fixes for B006 and B008, both relating to mutable parameter lint errors. Signed-off-by:
Jonathan de Jong <jonathan@automatia.nl>
-
Richard van der Hoff authored
-
Richard van der Hoff authored
-
Patrick Cloke authored
Records additional request information into the structured logs, e.g. the requester, IP address, etc.
-
- Apr 06, 2021
-
-
Andrew Morgan authored
At the moment, if you'd like to share presence between local or remote users, those users must be sharing a room together. This isn't always the most convenient or useful situation though. This PR adds a module to Synapse that will allow deployments to set up extra logic on where presence updates should be routed. The module must implement two methods, `get_users_for_states` and `get_interested_users`. These methods are given presence updates or user IDs and must return information that Synapse will use to grant passing presence updates around. A method is additionally added to `ModuleApi` which allows triggering a set of users to receive the current, online presence information for all users they are considered interested in. This is the equivalent of that user receiving presence information during an initial sync. The goal of this module is to be fairly generic and useful for a variety of applications, with hard requirements being: * Sending state for a specific set or all known users to a defined set of local and remote users. * The ability to trigger an initial sync for specific users, so they receive all current state.
-
Andrew Morgan authored
-
Patrick Cloke authored
-
- Apr 05, 2021
-
-
Jonathan de Jong authored
-
- Apr 01, 2021
-
-
Dirk Klimpel authored
-
- Mar 31, 2021
-
-
Patrick Cloke authored
Per MSC3083.
-
- Mar 30, 2021
-
-
Richard van der Hoff authored
`room_invite_state_types` was inconvenient as a configuration setting, because anyone that ever set it would not receive any new types that were added to the defaults. Here, we deprecate the old setting, and replace it with a couple of new settings under `room_prejoin_state`.
-
Erik Johnston authored
This should fix a class of bug where we forget to check if e.g. the appservice shouldn't be ratelimited. We also check the `ratelimit_override` table to check if the user has ratelimiting disabled. That table is really only meant to override the event sender ratelimiting, so we don't use any values from it (as they might not make sense for different rate limits), but we do infer that if ratelimiting is disabled for the user we should disabled all ratelimits. Fixes #9663
-
- Mar 29, 2021
-
-
Patrick Cloke authored
-