- Nov 02, 2020
-
-
Andrew Morgan authored
This PR fixes two things: * Corrects the copy/paste error of telling the client their displayname is wrong when they are submitting an `avatar_url`. * Returns a `M_INVALID_PARAM` instead of `M_UNKNOWN` for non-str type parameters. Reported by @t3chguy.
-
David Baker authored
This could be customised to trigger a different kind of notification in the future, but for now it's a normal non-highlight one.
-
Dan Callahan authored
This bumps us closer to current Python without going all the way to 3.9. Fixes #8674 Signed-off-by:
Dan Callahan <danc@element.io>
-
Erik Johnston authored
We do a `SELECT MAX(stream_id) FROM e2e_cross_signing_keys` on startup.
-
Matthew Hodgson authored
-
Andrew Morgan authored
-
Andrew Morgan authored
-
- Oct 30, 2020
-
-
Brendan Abolivier authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Richard van der Hoff authored
Fix serialisation errors when using third-party event rules.
-
Will Hunt authored
* Tie together matches_user_in_member_list and get_users_in_room * changelog * Remove type to fix mypy * Add `on_invalidate` to the function signature in the hopes that may make things work well * Remove **kwargs * Update 8676.bugfix
-
Patrick Cloke authored
-
Richard van der Hoff authored
We don't always need the full power of a DeferredCache.
-
Patrick Cloke authored
-
Erik Johnston authored
Fixes #6755
-
Andrew Morgan authored
Missed in #8671.
-
- Oct 29, 2020
-
-
Erik Johnston authored
* Fix unit tests * Newsfile
-
Will Hunt authored
* Tie together matches_user_in_member_list and get_users_in_room * changelog * Remove type to fix mypy * Add `on_invalidate` to the function signature in the hopes that may make things work well * Remove **kwargs * Update 8676.bugfix
-
Patrick Cloke authored
-
Erik Johnston authored
We do it this way round so that only the "owner" can delete the access token (i.e. `/logout/all` by the "owner" also deletes that token, but `/logout/all` by the "target user" doesn't). A future PR will add an API for creating such a token. When the target user and authenticated entity are different the `Processed request` log line will be logged with a: `{@admin:server as @bob:server} ...`. I'm not convinced by that format (especially since it adds spaces in there, making it harder to use `cut -d ' '` to chop off the start of log lines). Suggestions welcome.
-
Erik Johnston authored
Cached functions accept an `on_invalidate` function, which we failed to add to the type signature. It's rarely used in the files that we have typed, which is why we haven't noticed it before.
-
Richard van der Hoff authored
otherwise non-state events get written as `<FrozenEvent ... state_key='None'>` which is indistinguishable from state events with the actual state_key `None`.
-
Richard van der Hoff authored
By not dropping the membership lock between invites, we can stop joins from grabbing the lock when we're half-done and slowing the whole thing down.
-
Patrick Cloke authored
This modifies the configuration of structured logging to be usable from the standard Python logging configuration. This also separates the formatting of logs from the transport allowing JSON logs to files or standard logs to sockets.
-
Erik Johnston authored
-
- Oct 28, 2020
-
-
Richard van der Hoff authored
Fix serialisation errors when using third-party event rules.
-
Richard van der Hoff authored
-
Richard van der Hoff authored
Not being able to serialise `frozendicts` is fragile, and it's annoying to have to think about which serialiser you want. There's no real downside to supporting frozendicts, so let's just have one json encoder.
-
Patrick Cloke authored
-
Dirk Klimpel authored
Add an admin API `GET /_synapse/admin/v1/users/<user_id>/pushers` like https://matrix.org/docs/spec/client_server/latest#get-matrix-client-r0-pushers
-
kleph authored
-
Erik Johnston authored
I was trying to make it so that we didn't have to start a background task when handling RDATA, but that is a bigger job (due to all the code in `generic_worker`). However I still think not pulling the event from the DB may help reduce some DB usage due to replication, even if most workers will simply go and pull that event from the DB later anyway. Co-authored-by:
Patrick Cloke <clokep@users.noreply.github.com>
-
- Oct 27, 2020
-
-
Dan Callahan authored
This allows trailing commas in multi-line arg lists. Minor, but we might as well keep our formatting current with regard to our minimum supported Python version. Signed-off-by:
Dan Callahan <danc@element.io>
-
Dan Callahan authored
The test runner isn't present in the `[all]` set of extras, so the previous instructions did not work without also installing `[test]`. Note that this does not include the `[lint]` extras, since those do not install on all supported Python versions (specifically, isort 5.x requires Python 3.6, while we still support 3.5). Instructions for that are included in our pull request template, so we should be fine there. I've also dropped the `--no-use-pep517` arg to `pip install` since it seems to have been added to address a temporary regression in pip 19.1 which was fixed in pip 19.1.1 the following month. Lastly, updated the example output of the test suite to set more realistic expectations around run time. Signed-off-by:
Dan Callahan <danc@element.io>
-
Dan Callahan authored
As expected, all tests pass locally without modification. Signed-off-by:
Dan Callahan <danc@element.io>
-
Michael Kaye authored
-