- Mar 11, 2022
-
-
Brendan Abolivier authored
-
reivilibre authored
-
Nick Mills-Barrett authored
And rename the field used for caching from _id to _cache_key.
-
Dirk Klimpel authored
Co-authored-by:
Patrick Cloke <clokep@users.noreply.github.com>
-
Patrick Cloke authored
-
Patrick Cloke authored
-
Andrew Morgan authored
Co-authored-by:
Patrick Cloke <clokep@users.noreply.github.com>
-
Richard van der Hoff authored
This test was relying on poking events which weren't in the database into filter_events_for_client.
-
- Mar 10, 2022
-
-
~creme authored
This includes the `typing`, `to_device`, `account_data`, `receipts`, and `presence` streams (really anything except the `events` stream).
-
Shay authored
-
reivilibre authored
Remove workaround introduced in Synapse v1.50.0rc1 for Mjolnir compatibility. Breaks compatibility with Mjolnir v1.3.1 and earlier. (#11700)
-
Patrick Cloke authored
The unstable identifiers are still supported if the experimental configuration flag is enabled. The unstable identifiers will be removed in a future release.
-
Richard van der Hoff authored
Some stuff that came up while we were talking about #12173.
-
Patrick Cloke authored
This is allowed per MSC2675, although the original implementation did not allow for it and would return an empty chunk / not bundle aggregations. The main thing to improve is that the various caches get cleared properly when an event is redacted, and that edits must not leak if the original event is redacted (as that would presumably leak something similar to the original event content).
-
Patrick Cloke authored
Since the object it returns is a ReplicationCommandHandler. This is clean-up from adding support to Redis where the command handler was added as an additional layer of abstraction from the TCP protocol.
-
- Mar 09, 2022
-
-
Sean Quah authored
Signed-off-by:
Sean Quah <seanq@element.io>
-
Will Hunt authored
Add third_party module callbacks to check if a user can delete a room and deactivate a user (#12028) * Add check_can_deactivate_user * Add check_can_shutdown_rooms * Documentation * callbacks, not functions * Various suggested tweaks * Add tests for test_check_can_shutdown_room and test_check_can_deactivate_user * Update check_can_deactivate_user to not take a Requester * Fix check_can_shutdown_room docs * Renegade and use `by_admin` instead of `admin_user_id` * fix lint * Update docs/modules/third_party_rules_callbacks.md Co-authored-by:
Brendan Abolivier <babolivier@matrix.org> * Update docs/modules/third_party_rules_callbacks.md Co-authored-by:
Brendan Abolivier <babolivier@matrix.org> * Update docs/modules/third_party_rules_callbacks.md Co-authored-by:
Brendan Abolivier <babolivier@matrix.org> * Update docs/modules/third_party_rules_callbacks.md Co-authored-by:
Brendan Abolivier <babolivier@matrix.org> Co-authored-by:
Brendan Abolivier <babolivier@matrix.org>
-
Patrick Cloke authored
* `@cached` can now take an `uncached_args` which is an iterable of names to not use in the cache key. * Requires `@cached`, @cachedList` and `@lru_cache` to use keyword arguments for clarity. * Asserts that keyword-only arguments in cached functions are not accepted. (I tested this briefly and I don't believe this works properly.)
-
Patrick Cloke authored
-
Nick Mills-Barrett authored
This allows for the target process to be down for around a minute which provides time for restarts during synapse upgrades/config updates. Closes: #12178 Signed off by Nick Mills-Barrett nick@beeper.com
-
Richard van der Hoff authored
We don't *have* the state at a backwards-extremity, so this is never going to do anything useful.
-
- Mar 08, 2022
-
-
Patrick Cloke authored
* Rewrites the demo documentation to be clearer, accurate, and moves it to our documentation tree. * Improvements to the demo scripts: * `clean.sh` now runs `stop.sh` first to avoid zombie processes. * Uses more modern Synapse configuration (and removes some obsolete configuration). * Consistently use the HTTP ports for server name, etc. * Remove the `demo/etc` directory and place everything into the `demo/808x` directories.
-
Sean Quah authored
Signed-off-by:
Sean Quah <seanq@element.io>
-
Olivier Wilkinson (reivilibre) authored
-
reivilibre authored
-
Olivier Wilkinson (reivilibre) authored
-
Erik Johnston authored
-
Patrick Cloke authored
This field is only to be used in the Server-Server API, and not the Client-Server API, but was being leaked when a federation response was used in the /hierarchy API.
-
Patrick Cloke authored
Some properties were marked as RedisProtocol instead of ConnectionHandler, which wraps RedisProtocol instance(s).
-
Olivier Wilkinson (reivilibre) authored
-
Olivier Wilkinson (reivilibre) authored
-
reivilibre authored
Fix a bug introduced in 1.54.0rc1 which meant that Synapse would refuse to start if pre-release versions of dependencies were installed. (#12177) * Add failing test to characterise the regression #12176 * Permit pre-release versions of specified packages * Newsfile (bugfix) Signed-off-by:
Olivier Wilkinson (reivilibre) <oliverw@matrix.org>
-
- Mar 07, 2022
-
-
Shay authored
Fix a bug in background updates wherein background updates are never run using the default batch size (#12157)
-
Patrick Cloke authored
The caches for the target of the relation must be cleared so that the bundled aggregations are re-calculated after the redaction is processed.
-
Richard van der Hoff authored
I've factored it out for easier use in other workflows.
-
- Mar 04, 2022
-
-
Richard van der Hoff authored
-
David Robertson authored
It’s just occurred to me that #12088 pulled in the “packaging” package (~=21.3). I pulled in the newest version I had at the time. I only use it for packaging.requirements.Requirements. Which was added in packaging 16.1: https://github.com/pypa/packaging/releases/tag/16.1 https://pkgs.org/download/python3-packaging suggests that the oldest version we care about is 17.1 in Ubuntu Bionic. So I think with this bound we're hunky dory.
-
Erik Johnston authored
-