- Aug 19, 2021
-
-
Patrick Cloke authored
A user will still see this room if it is in a local cache, but it will not reappear if clearing the cache and reloading.
-
Dirk Klimpel authored
-
Dirk Klimpel authored
-
- Aug 18, 2021
-
-
Dirk Klimpel authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Patrick Cloke authored
Follow-up to #10629 which set it to true, not false.
-
Erik Johnston authored
-
Patrick Cloke authored
Instead of using namedtuples. This helps with asserting type hints and code completion.
-
Andrew Morgan authored
Co-authored-by:
Patrick Cloke <patrickc@matrix.org>
-
Callum Brown authored
-
Richard van der Hoff authored
-
Richard van der Hoff authored
* drop room pdu linearizer sooner No point holding onto it while we recheck the db * move out `missing_prevs` calculation we're going to need `missing_prevs` whatever we do, so we may as well calculate it eagerly and just update it if it gets outdated. * Add another `if missing_prevs` condition this should be a no-op, since all the code inside the block already checks `if missing_prevs` * reorder if conditions This shouldn't change the logic at all. * Push down `min_depth` read No point reading it from the database unless we're going to use it. * Collect the sent_to_us_directly code together Move the remaining `sent_to_us_directly` code inside the `if sent_to_us_directly` block. * Properly separate the `not sent_to_us_directly` branch Since the only way this second block is now reachable is if we *didn't* go into the `sent_to_us_directly` branch, we can replace it with a simple `else`. * changelog
-
Patrick Cloke authored
-
Erik Johnston authored
By default the calls only ran on the worker configured to run background tasks.
-
- Aug 17, 2021
-
-
Dirk Klimpel authored
-
Andrew Morgan authored
Fixes https://github.com/matrix-org/synapse/issues/7867
-
Azrenbeth authored
Port the PresenceRouter module interface to the new generic interface introduced in v1.37.0
-
Andrew Morgan authored
Co-authored-by:
Patrick Cloke <clokep@users.noreply.github.com>
-
Richard van der Hoff authored
-
Brendan Abolivier authored
Several configuration sections are using separate settings for custom template directories, which can be confusing. This PR adds a new top-level configuration for a custom template directory which is then used for every module. The only exception is the consent templates, since the consent template directory require a specific hierarchy, so it's probably better that it stays separate from everything else.
-
Patrick Cloke authored
If the new /hierarchy API does not exist on all destinations, fallback to querying the /spaces API and translating the results. This is a backwards compatibility hack since not all of the federated homeservers will update at the same time.
-
Richard van der Hoff authored
Marking things as outliers to inhibit pushes is a sledgehammer to crack a nut. Move the test further down the stack so that we just inhibit the thing we want.
-
reivilibre authored
-
reivilibre authored
-
Andrew Morgan authored
-
Dirk Klimpel authored
Signed-off-by:
Dirk Klimpel <dirk@klimpel.org>
-
Richard van der Hoff authored
-
Brendan Abolivier authored
Allow using several directories in read_templates.
-
Will Hunt authored
This adds a new API GET /_synapse/admin/v1/username_available?username=foo to check if a username is available. It is the counterpart to https://matrix.org/docs/spec/client_server/r0.6.0#get-matrix-client-r0-register-available, except that it works even if registration is disabled.
-
- Aug 16, 2021
-
-
reivilibre authored
-
reivilibre authored
Signed-off-by:
Olivier Wilkinson (reivilibre) <olivier@librepush.net>
-
Patrick Cloke authored
-
Michael Telatynski authored
-
Patrick Cloke authored
-
Richard van der Hoff authored
* Include outlier status in `str(event)` In places where we log event objects, knowing whether or not you're dealing with an outlier is super useful. * Remove duplicated logging in get_missing_events When we process events received from get_missing_events, we log them twice (once in `_get_missing_events_for_pdu`, and once in `on_receive_pdu`). Reduce the duplication by removing the logging in `on_receive_pdu`, and ensuring the call sites do sensible logging. * log in `on_receive_pdu` when we already have the event * Log which prev_events we are missing * changelog
-
Patrick Cloke authored
-
Šimon Brandner authored
* Handle string read receipt data Signed-off-by:
Šimon Brandner <simon.bra.ag@gmail.com> * Test that we handle string read receipt data Signed-off-by:
Šimon Brandner <simon.bra.ag@gmail.com> * Add changelog for #10606 Signed-off-by:
Šimon Brandner <simon.bra.ag@gmail.com> * Add docs Signed-off-by:
Šimon Brandner <simon.bra.ag@gmail.com> * Ignore malformed RRs Signed-off-by:
Šimon Brandner <simon.bra.ag@gmail.com> * Only surround hidden = ... Signed-off-by:
Šimon Brandner <simon.bra.ag@gmail.com> * Remove unnecessary argument Signed-off-by:
Šimon Brandner <simon.bra.ag@gmail.com> * Update changelog.d/10606.bugfix Co-authored-by:
Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
-
Brendan Abolivier authored
-