summary refs log tree commit diff
path: root/book.toml (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-06-08Fix up changelog v1.85.2Erik Johnston1-1/+1
2023-06-08Clear event caches when we purge history (#15609)Erik Johnston9-14/+184
This should help a little with #13476 --------- Co-authored-by: Patrick Cloke <patrickc@matrix.org>
2023-06-081.85.2Erik Johnston4-2/+16
2023-06-08Fix using TLS for replication (#15746)Erik Johnston2-1/+2
Fixes #15744.
2023-06-07Quick & dirty metric for background update status (#15740)David Robertson4-1/+40
* Quick & dirty metric for background update status * Changelog * Remove debug Co-authored-by: Mathieu Velten <mathieuv@matrix.org> * Actually write to _aborted --------- Co-authored-by: Mathieu Velten <mathieuv@matrix.org>
2023-06-07Remove superfluous `room_memberships` join from background update (#15733)Eric Eastwood2-1/+1
Spawning from https://github.com/matrix-org/synapse/pull/15731
2023-06-07Remove redundant `room_memberships` join to find participating servers in a ↵Eric Eastwood2-3/+3
room (#15732) Spawning from https://github.com/matrix-org/synapse/pull/15731
2023-06-07Check required power levels earlier in createRoom handler. (#15695)Grant McLean3-14/+100
* Check required power levels earlier in createRoom handler. - If a server was configured to reject the creation of rooms with E2EE enabled (by specifying an unattainably high power level for "m.room.encryption" in default_power_level_content_override), the 403 error was not being triggered until after the room was created and before the "m.room.power_levels" was sent. This allowed a user to access the partially-configured room and complete the setup of E2EE and power levels manually. - This change causes the power level overrides to be checked earlier and the request to be rejected before the user gains access to the room. - A new `_validate_room_config` method is added to contain checks that should be run before a room is created. - The new test case confirms that a user request is rejected by the new validation method. Signed-off-by: Grant McLean <grant@catalyst.net.nz> * Add a changelog file. * Formatting fix for black. * Remove unneeded line from test. --------- Signed-off-by: Grant McLean <grant@catalyst.net.nz>
2023-06-07Update changelog v1.85.1Erik Johnston1-0/+2
2023-06-07Update changelogErik Johnston2-2/+1
2023-06-07Fix schema delta error in 1.85 (#15739)Erik Johnston2-2/+15
Some users seem to have multiple rows per user / room with a null thread ID, which we need to handle.
2023-06-071.85.1Erik Johnston4-2/+16
2023-06-07Fix schema delta error in 1.85 (#15738)Erik Johnston2-0/+9
There appears to be a race where you can end up with entries in `event_push_summary` with both a `NULL` and `main` thread ID. Fixes #15736 Introduced in #15597
2023-06-06No need for the extra join since `membership` is built-in to ↵Eric Eastwood2-4/+4
`current_state_events` (#15731) This helps with the upstream `is_host_joined()` and `is_host_invited()` functions. `membership` was added to `current_state_events` in https://github.com/matrix-org/synapse/pull/5706 and forced in https://github.com/matrix-org/synapse/pull/13745
2023-06-06Trace functions which return `Awaitable` (#15650)Eric Eastwood3-22/+59
2023-06-06Update error to more plainly explain we can only authorize our own events ↵Eric Eastwood2-1/+2
(#15725)
2023-06-06Add context for when/why to use the `long_retries` option when sending ↵Eric Eastwood2-2/+10
Federation requests (#15721)
2023-06-06Improve performance of user directory search (#15729)Shay2-4/+9
2023-06-06Prevent "twisted trunk" and "latest deps" workflows from running on forks ↵Andrew Morgan3-4/+44
(#15726)
2023-06-06Remove some unused `server_name` fields (#15723)Sean Quah6-5/+1
Signed-off-by: Sean Quah <seanq@matrix.org>
2023-06-06Fix link in changelogErik Johnston1-1/+1
2023-06-06Fixup changelog v1.85.0Erik Johnston1-1/+1
2023-06-061.85.0Erik Johnston3-1/+28
2023-06-06Stabilize support for MSC3952: Intentional mentions. (#15520)Patrick Cloke13-64/+27
2023-06-05Some house keeping on `maybe_backfill()` functions (#15709)Eric Eastwood2-0/+18
2023-06-05Bump types-requests from 2.31.0.0 to 2.31.0.1 (#15715)dependabot[bot]1-3/+3
Bumps [types-requests](https://github.com/python/typeshed) from 2.31.0.0 to 2.31.0.1. - [Commits](https://github.com/python/typeshed/commits) --- updated-dependencies: - dependency-name: types-requests dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-05Bump types-jsonschema from 4.17.0.7 to 4.17.0.8 (#15716)dependabot[bot]1-3/+3
Bumps [types-jsonschema](https://github.com/python/typeshed) from 4.17.0.7 to 4.17.0.8. - [Commits](https://github.com/python/typeshed/commits) --- updated-dependencies: - dependency-name: types-jsonschema dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-05Bump sentry-sdk from 1.22.1 to 1.25.0 (#15714)dependabot[bot]1-5/+6
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 1.22.1 to 1.25.0. - [Release notes](https://github.com/getsentry/sentry-python/releases) - [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-python/compare/1.22.1...1.25.0) --- updated-dependencies: - dependency-name: sentry-sdk dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-05Bump pyasn1 from 0.4.8 to 0.5.0 (#15713)dependabot[bot]1-5/+5
Bumps [pyasn1](https://github.com/pyasn1/pyasn1) from 0.4.8 to 0.5.0. - [Release notes](https://github.com/pyasn1/pyasn1/releases) - [Changelog](https://github.com/pyasn1/pyasn1/blob/main/CHANGES.rst) - [Commits](https://github.com/pyasn1/pyasn1/compare/v0.4.8...v0.5.0) --- updated-dependencies: - dependency-name: pyasn1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-05Bump library/redis from 6-bullseye to 7-bullseye in /docker (#15712)dependabot[bot]1-1/+1
Bumps library/redis from 6-bullseye to 7-bullseye. --- updated-dependencies: - dependency-name: library/redis dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-05Bump importlib-metadata from 6.1.0 to 6.6.0 (#15711)dependabot[bot]1-7/+7
Bumps [importlib-metadata](https://github.com/python/importlib_metadata) from 6.1.0 to 6.6.0. - [Release notes](https://github.com/python/importlib_metadata/releases) - [Changelog](https://github.com/python/importlib_metadata/blob/main/CHANGES.rst) - [Commits](https://github.com/python/importlib_metadata/compare/v6.1.0...v6.6.0) --- updated-dependencies: - dependency-name: importlib-metadata dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-02`N + 3`: Read from column `full_user_id` rather than `user_id` of tables ↵Shay22-95/+252
`profiles` and `user_filters` (#15649)
2023-06-02Add a catch-all * to the supported relation types when redacting (#15705)Mathieu Velten4-8/+143
This is an update to MSC3912 implementation
2023-06-01Log when events are (unexpectedly) filtered out of responses in tests (#14213)Eric Eastwood7-14/+53
See https://github.com/matrix-org/synapse/pull/14095#discussion_r990335492 This is useful because when see that a relevant event is an `outlier` or `soft-failed`, then that's a good unexpected indicator explaining why it's not showing up. `filter_events_for_client` is used in `/sync`, `/messages`, `/context` which are all common end-to-end assertion touch points (also notifications, relations).
2023-06-011.85.0rc2 v1.85.0rc2H. Shay6-4/+28
2023-06-01Cache requests for user's devices from federation (#15675)Erik Johnston3-2/+70
This should mitigate the issue where lots of different servers requests the same user's devices all at once.
2023-06-01Implement stable support for MSC3882 to allow an existing device/session to ↵Hugh Nimmo-Smith12-75/+225
generate a login token for use on a new device/session (#15388) Implements stable support for MSC3882; this involves updating Synapse's support to match the MSC / the spec says. Continue to support the unstable version to allow clients to transition.
2023-06-01Add a note about deprecating /register with a user property. (#15703)Patrick Cloke2-0/+12
Application services providing a "user" property (instead of "username") for the /register endpoint was never specified. Deprecate this very old fallback.
2023-05-31Speed up background jobs populate_full_user_id_user_filters and ↵Shay3-2/+3
populate_full_user_id_profiles (#15700)
2023-05-31Add Synapse version deploy annotations to Grafana dashboard (#15674)Eric Eastwood2-174/+895
Fix https://github.com/matrix-org/synapse/issues/15662 This manifests as purple lines that show up on all time series panels that you can hover and see what version was deployed. Also added a new "Deployed Synapse versions over time" panel where the color block changes with each version. And mixed this color block into the "Up" time series panel. To get the Grafana dashboard JSON to copy here: use the **Share** icon at the top -> **Export** -> check the **Export for sharing externally** option -> **View JSON** or **Save to file**
2023-05-31Add stubs package for lxml. (#15697)Patrick Cloke10-48/+117
The stubs have some issues so this has some generous cast and ignores in it, but it is better than not having stubs. Note that confusing that Element is a function which creates _Element instances (and similarly for Comment).
2023-05-31Docker fully qualified image names (#15689)Jason Little8-10/+15
* Fully qualified docker image names for the main Dockerfile and Complement related. * Fully qualified docker image names for Dockerfiles associated with building Debian release artifacts. This one is harder and is separate from the other commit in case it wasn't correct or was unwanted. I decided to do the expansion on the docker images in the Dockerfile itself, instead of the various source places that build which distribution that is selected, as it would have been more invasive with the scripts breaking up the string for tagging and such. This one is untested. * Changelog * Update docker/Dockerfile-workers * Update docker/complement/Dockerfile --------- Co-authored-by: reivilibre <olivier@librepush.net>
2023-05-31Fix a performance issue introduced in Synapse v1.83.0 which meant that ↵reivilibre3-0/+52
purging rooms was very slow and database-intensive. (#15693) * Add indices required to efficiently validate new foreign key constraints on stream_ordering * Newsfile Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org> --------- Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>