Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2022-03-17 | WORKING workers setup template | Olivier Wilkinson (reivilibre) | 5 | -38/+300 | |
2022-03-16 | STASH | Olivier Wilkinson (reivilibre) | 3 | -36/+83 | |
2022-03-11 | STASH | Olivier Wilkinson (reivilibre) | 1 | -4/+13 | |
2022-02-24 | STASH | Olivier Wilkinson (reivilibre) | 6 | -1/+239 | |
2022-02-23 | Remove `HomeServer.get_datastore()` (#12031) | Richard van der Hoff | 230 | -500/+526 | |
The presence of this method was confusing, and mostly present for backwards compatibility. Let's get rid of it. Part of #11733 | |||||
2022-02-23 | Rename default branch of complement.sh to main (#12063) | Nicolas Werner | 2 | -2/+3 | |
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> | |||||
2022-02-22 | Remove excess condition on `knock->leave` check (#11900) | Travis Ralston | 2 | -3/+4 | |
2022-02-22 | Better error message when failing to request from another process (#12060) | Erik Johnston | 2 | -1/+4 | |
2022-02-22 | Implement account status endpoints (MSC3720) (#12001) | Brendan Abolivier | 11 | -6/+511 | |
See matrix-org/matrix-doc#3720 Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com> | |||||
2022-02-22 | Prune setup.cfg some more (#12059) | David Robertson | 5 | -13/+14 | |
* 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 | |||||
2022-02-22 | Cap the number of in-flight requests for state from a single group (#11608) | reivilibre | 3 | -0/+86 | |
2022-02-22 | Use room version 9 as the default room version (per MSC3589). (#12058) | Patrick Cloke | 3 | -2/+3 | |
2022-02-22 | Run `_handle_queued_pdus` as a background process (#12041) | Richard van der Hoff | 2 | -2/+5 | |
... to ensure it gets a proper log context, mostly. | |||||
2022-02-22 | Fix slow performance of `/logout` in some cases where refresh tokens are in ↵ | reivilibre | 4 | -4/+136 | |
use. The slowness existed since the initial implementation of refresh tokens. (#12056) | |||||
2022-02-22 | Faster joins: Support for calling `/federation/v1/state` (#12013) | Richard van der Hoff | 7 | -17/+377 | |
This is an endpoint that we have server-side support for, but no client-side support. It's going to be useful for resyncing partial-stated rooms, so let's introduce it. | |||||
2022-02-22 | Fetch images when previewing Twitter URLs. (#11985) | AndrewRyanChama | 3 | -4/+11 | |
By including "bot" in the User-Agent, which some sites use to decide whether to include additional Open Graph information. | |||||
2022-02-22 | Update changelog | Erik Johnston | 1 | -1/+1 | |
2022-02-22 | Update changelog | Erik Johnston | 1 | -2/+2 | |
2022-02-22 | Add more tests for in-flight state query duplication. (#12033) | reivilibre | 2 | -21/+172 | |
2022-02-22 | Tidy the building of sdists and wheels (#12051) | David Robertson | 3 | -28/+4 | |
* Don't build distribution pkgs in tests.yml * Run `release-artifacts` on release branches * Use backend-meta workflow for packaging | |||||
2022-02-22 | 1.53.0 v1.53.0 | Erik Johnston | 3 | -1/+13 | |
2022-02-22 | Move isort config to `pyproject.toml` (#12052) | David Robertson | 4 | -12/+14 | |
2022-02-22 | Use v3 endpoints for fallback auth (Matrix 1.1) (#12019) | Travis Ralston | 2 | -4/+5 | |
2022-02-21 | remote join processing: get create event from state, not auth_chain (#12039) | Richard van der Hoff | 4 | -5/+8 | |
A follow-up to #12005, in which I apparently missed that there are a bunch of other places that assume the create event is in the auth chain. | |||||
2022-02-21 | Minor typing fixes (#12034) | Richard van der Hoff | 4 | -16/+19 | |
These started failing in https://github.com/matrix-org/synapse/pull/12031... I'm a bit mystified by how they ever worked. | |||||
2022-02-21 | Add type hints to `synapse/storage/databases/main` (#11984) | Dirk Klimpel | 7 | -53/+79 | |
2022-02-21 | Advertise Matrix 1.2 in `/_matrix/client/versions` (#12022) | Travis Ralston | 2 | -0/+2 | |
Co-authored-by: Patrick Cloke <patrickc@matrix.org> | |||||
2022-02-18 | Document why auth providers aren't validated in the admin API. (#12004) | Patrick Cloke | 4 | -2/+29 | |
Since it is reasonable to give a future or past auth provider, which might not be in the current configuration. | |||||
2022-02-18 | Track and deduplicate in-flight requests to `_get_state_for_groups`. (#10870) | reivilibre | 3 | -25/+312 | |
Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com> | |||||
2022-02-18 | Upgrade mypy to version 0.931 (#12030) | Sean Quah | 9 | -19/+33 | |
Upgrade mypy to 0.931, mypy-zope to 0.3.5 and fix new complaints. | |||||
2022-02-18 | Fix bug in `StateFilter.return_expanded()` and add some tests. (#12016) | reivilibre | 3 | -1/+117 | |
2022-02-18 | Advertise Matrix 1.1 in `/_matrix/client/versions` (#12020) | Travis Ralston | 2 | -0/+2 | |
2022-02-18 | Use stable MSC3069 `is_guest` flag on `/whoami`. (#12021) | Travis Ralston | 3 | -3/+9 | |
Keeping backwards compatibility with the unstable flag for now. | |||||
2022-02-18 | Fix 500 error with Postgres when looking backwards with the MSC3030 ↵ | Eric Eastwood | 2 | -1/+2 | |
`/timestamp_to_event` endpoint (#12024) | |||||
2022-02-18 | Update the olddeps CI check to use an old version of markupsafe (#12025) | Brendan Abolivier | 2 | -0/+4 | |
2022-02-17 | Remove unstable MSC3283 flags (#12018) | Erik Johnston | 3 | -17/+1 | |
Fixes #11962 | |||||
2022-02-17 | Allow modules to set a display name on registration (#12009) | Brendan Abolivier | 6 | -34/+195 | |
Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com> | |||||
2022-02-17 | Faster joins: parse msc3706 fields in send_join response (#12011) | Richard van der Hoff | 6 | -33/+140 | |
Part of my work on #11249: add code to handle the new fields added in MSC3706. | |||||
2022-02-17 | Configure `tox` to use `venv` (#12015) | Richard van der Hoff | 3 | -1/+9 | |
As the comment says, virtualenv is a pile of fail. | |||||
2022-02-17 | Remove support for the legacy structured logging configuration. (#12008) | Patrick Cloke | 5 | -175/+24 | |
2022-02-17 | `send_join` response: get create event from `state`, not `auth_chain` (#12005) | Richard van der Hoff | 2 | -1/+2 | |
msc3706 proposes changing the `/send_join` response: > Any events returned within `state` can be omitted from `auth_chain`. Currently, we rely on `m.room.create` being returned in `auth_chain`, but since the `m.room.create` event must necessarily be part of the state, the above change will break this. In short, let's look for `m.room.create` in `state` rather than `auth_chain`. | |||||
2022-02-17 | Prevent duplicate push notifications for room reads (#11835) | lukasdenk | 3 | -66/+71 | |
2022-02-16 | Explain the meaning of spam checker callbacks' return values (#12003) | David Robertson | 2 | -13/+28 | |
Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com> | |||||
2022-02-16 | Fix a typo in a comment. | Patrick Cloke | 1 | -1/+1 | |
2022-02-16 | Limit concurrent AS joins (#11996) | Brendan Abolivier | 2 | -19/+28 | |
Initially introduced in matrix-org-hotfixes by e5537cf (and tweaked by later commits). Fixes #11995 See also #4826 | |||||
2022-02-15 | Optimise calculating device_list changes in `/sync`. (#11974) | Erik Johnston | 4 | -15/+126 | |
For users with large accounts it is inefficient to calculate the set of users they share a room with (and takes a lot of space in the cache). Instead we can look at users whose devices have changed since the last sync and check if they share a room with the syncing user. | |||||
2022-02-15 | `_auth_and_persist_outliers`: drop events we have already seen (#11994) | Richard van der Hoff | 2 | -24/+21 | |
We already have two copies of this code, in 2/3 of the callers of `_auth_and_persist_outliers`. Before I add a third, let's push it down. | |||||
2022-02-15 | Track cache invalidations (#12000) | Erik Johnston | 4 | -1/+10 | |
Currently we only track evictions due to size or time constraints. | |||||
2022-02-15 | Fix incorrect `get_rooms_for_user` for remote user (#11999) | Erik Johnston | 3 | -11/+124 | |
When the server leaves a room the `get_rooms_for_user` cache is not correctly invalidated for the remote users in the room. This means that subsequent calls to `get_rooms_for_user` for the remote users would incorrectly include the room (it shouldn't be included because the server no longer knows anything about the room). | |||||
2022-02-15 | Docker: remove `VOLUME` directive (#11997) | Richard van der Hoff | 2 | -2/+1 | |
The driver for this is to stop Complement complaining about it, but as far as I can tell it was pointless and needed to go away anyway. I'm a bit unclear about what exactly VOLUME does, but I think what it means is that, if you don't override it with an explicit -v argument, then docker run will create a temporary volume, and copy things into it. The temporary volume is then deleted when the container finishes. That only sounds useful if your image has something to copy into it (otherwise you may as well just use the default root filesystem), and our image notably doesn't copy anything into /data. So... this wasn't doing anything, except annoying Complement? | |||||
2022-02-15 | Refactor search code to reduce function size. (#11991) | Patrick Cloke | 3 | -226/+435 | |
Splits the search code into a few logical functions instead of a single unreadable function. There are also a few additional changes for readability. After refactoring it was clear to see there were some unused and unnecessary variables, which were simplified. | |||||
2022-02-15 | Fix incorrect thread summaries when the latest event is edited. (#11992) | Patrick Cloke | 5 | -31/+107 | |
If the latest event in a thread was edited than the original event content was included in bundled aggregation for threads instead of the edited event content. | |||||
2022-02-15 | Add some tests for propagation of device list changes between local users ↵ | Andrew Morgan | 4 | -3/+163 | |
(#11972) | |||||
2022-02-15 | Update CHANGES.md v1.53.0rc1 | Sean Quah | 1 | -7/+7 | |
2022-02-15 | 1.53.0rc1 | Sean Quah | 60 | -58/+86 | |
2022-02-14 | Revert "Pin to frozendict<2.1.2 (#11625)" and allow frozendict>2.1.2 (#11969) | Pascal Bach | 2 | -1/+2 | |
This reverts commit 2bf31f7807c7a0c229170803c97090d612dc16f9. Signed-off-by: Pascal Bach <pascal.bach@nextrem.ch> | |||||
2022-02-14 | Fix M_WRONG_ROOM_KEYS_VERSION error not including `current_version` field ↵ | Michael Telatynski | 2 | -0/+4 | |
(#11988) Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> | |||||
2022-02-14 | Note when unstable MSC3283 prefixes will be removed (#11989) | Andrew Morgan | 2 | -1/+2 | |
2022-02-14 | remove empty file, reword/rename newsfragment, and add line to upgrade doc | H. Shay | 4 | -1/+2 | |
2022-02-14 | Require that modules register their callbacks using keyword arguments. (#11975) | Patrick Cloke | 2 | -0/+7 | |
To allow for easier backwards/forwards compatibility by making it easier to add/remove callbacks. | |||||
2022-02-14 | Use version string helper from matrix-common (#11979) | David Robertson | 13 | -112/+42 | |
* Require latest matrix-common * Use the common function | |||||
2022-02-12 | Notify users, rather than rooms, of device list updates (#11905) | Andrew Morgan | 2 | -5/+4 | |
Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com> | |||||
2022-02-12 | Implement MSC3706: partial state in `/send_join` response (#11967) | Richard van der Hoff | 7 | -21/+262 | |
* Make `get_auth_chain_ids` return a Set It has a set internally, and a set is often useful where it gets used, so let's avoid converting to an intermediate list. * Minor refactors in `on_send_join_request` A little bit of non-functional groundwork * Implement MSC3706: partial state in /send_join response | |||||
2022-02-11 | Enable cache time-based expiry by default (#11849) | Shay | 5 | -11/+50 | |
2022-02-11 | Support the MSC3715 for `/relations`. (#11941) | Patrick Cloke | 3 | -6/+36 | |
This adds an unstable org.matrix.msc3715.dir parameter which acts like dir on /mesages. | |||||
2022-02-11 | Fetch thread summaries for multiple events in a single query (#11752) | Patrick Cloke | 3 | -74/+151 | |
This should reduce database usage when fetching bundled aggregations as the number of individual queries (and round trips to the database) are reduced. | |||||
2022-02-11 | Prepare for rename of default complement branch (#11971) | Richard van der Hoff | 2 | -3/+4 | |