- Mar 01, 2022
-
-
David Robertson authored
* Don't use `tox` for `check-sampleconfig` * Don't use `tox` for check-newsfragment
-
David Robertson authored
* Pull runtime dep checks into their own module * Reimplement `check_requirements` using `importlib` I've tried to make this clearer. We start by working out which of Synapse's requirements we need to be installed here and now. I was surprised that there wasn't an easier way to see which packages were installed by a given extra. I've pulled out the error messages into functions that deal with "is this for an extra or not". And I've rearranged the loop over two different sets of requirements into one loop with a "must be instaled" flag. I hope you agree that this is clearer. * Test cases
-
Sean Quah authored
Signed-off-by:
Sean Quah <seanq@element.io>
-
Brendan Abolivier authored
-
Andrew Morgan authored
-
Sean Quah authored
-
reivilibre authored
Co-authored-by:
Patrick Cloke <clokep@users.noreply.github.com>
-
Richard van der Hoff authored
When we get a partial_state response from send_join, store information in the database about it: * store a record about the room as a whole having partial state, and stash the list of member servers too. * flag the join event itself as having partial state * also, for any new events whose prev-events are partial-stated, note that they will *also* be partial-stated. We don't yet make any attempt to interpret this data, so API calls (and a bunch of other things) are just going to get incorrect data.
-
Andrew Morgan authored
-
Richard van der Hoff authored
* Fix 'Unhandled error in Deferred' Fixes a CRITICAL "Unhandled error in Deferred" log message which happened when a function wrapped with `@cachedList` failed * Minor optimisation to cachedListDescriptor we can avoid re-using `missing`, which saves looking up entries in `deferreds_map`, and means we don't need to copy it. * Improve type annotation on CachedListDescriptor
-
Richard van der Hoff authored
* fix incorrect unwrapFirstError import this was being imported from the wrong place * Refactor `concurrently_execute` to use `yieldable_gather_results` * Improve exception handling in `yieldable_gather_results` Try to avoid swallowing so many stack traces. * mark unwrapFirstError deprecated * changelog
-
- Feb 28, 2022
-
-
Dirk Klimpel authored
* Add type hints to `tests/rest/client` * update `mypy.ini` * newsfile * add `test_register.py`
-
Patrick Cloke authored
...and various code supporting it. The /spaces endpoint was from an old version of MSC2946 and included both a Client-Server and Server-Server API. Note that the unstable /hierarchy endpoint (from the final version of MSC2946) is not yet removed.
-
Patrick Cloke authored
Instead of being part of /capabilities, this matches a change to MSC3440 to properly use these endpoints.
-
Dirk Klimpel authored
-
Richard van der Hoff authored
* Fix `PushRuleEvaluator` to work on frozendicts frozendicts do not (necessarily) inherit from dict, so this needs to handle them correctly. * Fix event filtering for frozen events Looks like this one was introduced by #11194.
-
David Robertson authored
-
Patrick Cloke authored
Before this fix, a legitimate 404 from a federation endpoint (e.g. due to an unknown room) would be treated as an unknown endpoint. This could cause unnecessary federation traffic.
-
Patrick Cloke authored
-
lukasdenk authored
Co-authored-by:
Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
-
- Feb 25, 2022
-
-
Sean Quah authored
Signed-off-by:
Sean Quah <seanq@element.io>
-
Sean Quah authored
Signed-off-by:
Sean Quah <seanq@element.io>
-
- Feb 24, 2022
-
-
Dirk Klimpel authored
-
reivilibre authored
Add support for MSC3202: sending one-time key counts and fallback key usage states to Application Services. (#11617) Co-authored-by:
Erik Johnston <erik@matrix.org>
-
Sean Quah authored
Don't attempt to add non-string `value`s to `event_search` and add a background update to clear out bad rows from `event_search` when using sqlite. Signed-off-by:
Sean Quah <seanq@element.io>
-
- Feb 23, 2022
-
-
Patrick Cloke authored
And clean-up the endpoints which should be routed to workers.
-
Erik Johnston authored
-
Dirk Klimpel authored
-
Richard van der Hoff authored
These have snuck in since #12031 was started. Also a couple of other cleanups while we're in the area.
-
Richard van der Hoff authored
The presence of this method was confusing, and mostly present for backwards compatibility. Let's get rid of it. Part of #11733
-
Nicolas Werner authored
The complement.sh script relies on the name of the ref matching the name of the unpacked folder. The branch redirect from renaming the default branch breaks that assumption. Signed-off-by:
Nicolas Werner <n.werner@famedly.com>
-
- Feb 22, 2022
-
-
Travis Ralston authored
-
Erik Johnston authored
-
Brendan Abolivier authored
See matrix-org/matrix-doc#3720 Co-authored-by:
Sean Quah <8349537+squahtx@users.noreply.github.com>
-
David Robertson authored
* Remove `trial` section from setup.cfg This was added in the initial commit from 2014. I can't see that it does anything. Maybe it's there so that you can run `trial` without any extra args, but if I do that then I just get the `--help` message. * Move flake8's config to its own file
-
reivilibre authored
-
Patrick Cloke authored
-
Richard van der Hoff authored
... to ensure it gets a proper log context, mostly.
-
reivilibre authored
Fix slow performance of `/logout` in some cases where refresh tokens are in use. The slowness existed since the initial implementation of refresh tokens. (#12056)
-
Erik Johnston authored
-