summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Add back newsfile from #16258.Patrick Cloke2023-09-061-0/+1
|
* Merge remote-tracking branch 'origin/release-v1.91' into release-v1.92Patrick Cloke2023-09-0611-390/+41
|\
| * Link to MSC in changelog. v1.91.2Patrick Cloke2023-09-061-1/+1
| |
| * 1.91.2Patrick Cloke2023-09-064-2/+14
| |
| * Revert MSC3861 introspection cache, admin impersonation and account lock ↵Quentin Gliech2023-09-0610-391/+31
| | | | | | | | (#16258)
* | Fix incorrect docstring for Ratelimiter. (#16255)Patrick Cloke2023-09-052-3/+5
| |
* | Amend changelog for MSC4041David Robertson2023-09-051-1/+1
| |
* | Update changelog v1.92.0rc1David Robertson2023-09-051-9/+7
| |
* | 1.92.0rc1David Robertson2023-09-0536-34/+64
| |
* | Don't wake up destination transaction queue if they're not due for retry. ↵Erik Johnston2023-09-0415-90/+228
| | | | | | | | (#16223)
* | Add last_seen_ts to the admin users API (#16218)Mathieu Velten2023-09-0410-2/+80
| |
* | Merge branch 'master' into developDavid Robertson2023-09-043-1/+14
|\|
| * 1.91.1 v1.91.1David Robertson2023-09-044-2/+14
| |
| * Tentatively update changelogDavid Robertson2023-09-012-1/+1
| | | | | | | | Will need to confirm this though
| * Fix typo where we ended up with multiple `WorkerLocksHandler` (#16220)Erik Johnston2023-09-012-0/+2
| | | | | | | | | | I don't think has caused any actual issues. Introduced in #15891
* | Don't reset retry timers on "valid" error codes (#16221)Erik Johnston2023-09-045-5/+30
| |
* | Bump furo from 2023.7.26 to 2023.8.19 (#16238)dependabot[bot]2023-09-041-4/+4
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Bump phonenumbers from 8.13.18 to 8.13.19 (#16237)dependabot[bot]2023-09-041-3/+3
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Bump sentry-sdk from 1.29.2 to 1.30.0 (#16236)dependabot[bot]2023-09-041-5/+16
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Cache device resync requests over replication (#16241)David Robertson2023-09-042-1/+2
| |
* | Fix typo where we ended up with multiple `WorkerLocksHandler` (#16220)Erik Johnston2023-09-012-0/+2
| | | | | | | | | | I don't think has caused any actual issues. Introduced in #15891
* | Log the details of background update failures (#16212)David Robertson2023-09-013-3/+26
| |
* | Ignore redundant casts in latest deps CI job (#16213)David Robertson2023-08-302-2/+3
| |
* | Gracefully handle failing to thumbnail images (#16211)Erik Johnston2023-08-303-1/+10
| |
* | Fix rare bug that broke looping calls (#16210)Erik Johnston2023-08-303-14/+25
| | | | | | | | | | | | | | | | | | | | * Fix rare bug that broke looping calls We can't interact with the reactor from the main thread via looping call. Introduced in v1.90.0 / #15791. * Newsfile
* | Merge branch 'master' into developDavid Robertson2023-08-303-1/+12
|\|
| * 1.91.0 v1.91.0David Robertson2023-08-303-1/+12
| |
* | Stop writing to the event_txn_id table (#16175)Patrick Cloke2023-08-306-95/+26
| |
* | Describe which rate limiter was hit in logs (#16135)David Robertson2023-08-3018-121/+235
| |
* | Track currently syncing users by device for presence (#16172)Patrick Cloke2023-08-294-63/+129
| | | | | | | | | | | | | | Refactoring to use both the user ID & the device ID when tracking the currently syncing users in the presence handler. This is done both locally and over replication. Note that the device ID is discarded but will be used in a future change.
* | Bump mypy-zope & mypy. (#16188)Patrick Cloke2023-08-2939-161/+180
| |
* | Bump ruff from 0.0.277 to 0.0.286 (#16198)dependabot[bot]2023-08-2919-53/+67
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Support IPv6-only SMTP servers (#16155)Evilham2023-08-295-29/+125
| | | | | | | | Use Twisted HostnameEndpoint to connect to SMTP servers (instead of connectTCP/connectSSL) which properly supports IPv6-only servers.
* | Update black & fix the targeted Python versions. (#16187)Patrick Cloke2023-08-293-30/+31
| | | | | | Black should target Python 3.8 to 3.11.
* | Fix inaccurate error message while trying to ban or unban a user with the ↵Chen Zhang2023-08-292-1/+8
| | | | | | | | same or higher PL (#16205)
* | Pass the device ID around in the presence handler (#16171)Patrick Cloke2023-08-2811-30/+91
| | | | | | | | | | | | Refactoring to pass the device ID (in addition to the user ID) through the presence handler (specifically the `user_syncing`, `set_state`, and `bump_presence_active_time` methods and their replication versions).
* | Combine logic about not overriding BUSY presence. (#16170)Patrick Cloke2023-08-284-104/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | Simplify some of the presence code by reducing duplicated code between worker & non-worker modes. The main change is to push some of the logic from `user_syncing` into `set_state`. This is done by passing whether the user is setting the presence via a `/sync` with a new `is_sync` flag to `set_state`. If this is `true` some additional logic is performed: * Don't override `busy` presence. * Update the `last_user_sync_ts`. * Never update the status message.
* | Task scheduler: add replication notify for new task to launch ASAP (#16184)Mathieu Velten2023-08-285-67/+114
| |
* | Bump serde from 1.0.184 to 1.0.188 (#16194)dependabot[bot]2023-08-281-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [serde](https://github.com/serde-rs/serde) from 1.0.184 to 1.0.188. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.184...v1.0.188) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production 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>
* | Bump setuptools-rust from 1.6.0 to 1.7.0. (#16201)Patrick Cloke2023-08-282-4/+6
| |
* | Bump regex from 1.9.3 to 1.9.4 (#16195)dependabot[bot]2023-08-281-6/+6
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Bump psycopg2 from 2.9.6 to 2.9.7 (#16196)dependabot[bot]2023-08-281-14/+12
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Bump types-pyyaml from 6.0.12.10 to 6.0.12.11 (#16199)dependabot[bot]2023-08-281-3/+3
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Bump types-psycopg2 from 2.9.21.10 to 2.9.21.11 (#16200)dependabot[bot]2023-08-281-3/+3
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Prepare unit tests for Python 3.12 (#16099)V024602023-08-2513-84/+94
| |
* | service-identity, incremental, and setuptools-rust now have type hints. (#16186)Patrick Cloke2023-08-252-9/+1
| |
* | Validate input to POST /key/v2/query endpoint. (#16183)Patrick Cloke2023-08-252-10/+30
| | | | | | To avoid 500 internal server errors with garbage input.
* | Send proper JSON POST data to /publicRooms (#16185)Patrick Cloke2023-08-252-10/+7
| | | | | | | | The include_all_networks was previously sent in the JSON body as string "true" and "false" instead of boolean true and false.
* | Replace simple_async_mock with AsyncMock (#16180)Patrick Cloke2023-08-2515-160/+140
| | | | | | | | Python 3.8 has a native AsyncMock, use it instead of a custom implementation.
* | Add warnings about MSC3861 on certain APIs. (#16168)Will Hunt2023-08-255-1/+16
| |
* | Replace make_awaitable with AsyncMock (#16179)Patrick Cloke2023-08-2436-603/+507
| | | | | | | | Python 3.8 provides a native AsyncMock, we can replace the homegrown version we have.
* | Document `exclude_rooms_fom_sync` configuration option (#16178)Shay2023-08-242-0/+14
| |
* | Add configuration setting for CAS protocol version (#15816)Aurélien Grimpard2023-08-244-2/+20
| |
* | Bump anyhow from 1.0.72 to 1.0.75 (#16141)dependabot[bot]2023-08-241-2/+2
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Update URLs to matrix.org blog categories. (#16008)Amirreza Aflakparast2023-08-242-2/+3
| |
* | Fix typechecking with twisted trunk (#16121)David Robertson2023-08-246-36/+36
| |
* | Add `Retry-After` to M_LIMIT_EXCEEDED error responses (#16136)Will Hunt2023-08-245-7/+73
| | | | | | Implements MSC4041 behind an experimental configuration flag.
* | Bump serde_json from 1.0.104 to 1.0.105 (#16140)dependabot[bot]2023-08-241-2/+2
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Merge branch 'release-v1.91' into developH. Shay2023-08-2343-41/+135
|\|
| * 1.91.0rc1 v1.91.0rc1H. Shay2023-08-2343-41/+71
| |
| * fix changelogH. Shay2023-08-231-1/+0
| |
| * fix changelogH. Shay2023-08-231-0/+65
| |
* | Stabilize support for MSC3958 (suppress notifications from edits). (#16113)Patrick Cloke2023-08-239-20/+3
|/
* Fix rare deadlock when using read/write locks (#16169) github/release-v1.91.0 release-v1.91.0Erik Johnston2023-08-233-37/+72
|
* Switch `devenv` dependency in the nix development environment to the latest ↵Andrew Morgan2023-08-233-5/+6
| | | | release (instead of the development branch) (#16063)
* Filter out unwanted user_agents from udv. (#16124)Neil Johnson2023-08-233-0/+71
|
* Fix rare deadlock when using read/write locks (#16133)Erik Johnston2023-08-232-0/+38
|
* Reduce DB contention on worker locks (#16160)Erik Johnston2023-08-232-0/+38
|
* Always update `retry_last_ts` (#16164)Erik Johnston2023-08-232-3/+4
|
* Task scheduler: mark task as active if we are scheduling ASAP (#16165)Mathieu Velten2023-08-233-2/+5
|
* Add tests for restoring the presence state after a restart. (#16151)Patrick Cloke2023-08-233-1/+118
|
* Properly update retry_last_ts when hitting the maximum retry interval (#16156)DeepBlueV7.X2023-08-233-1/+55
| | | | | | | | | | | | | | | | | | | | | * Properly update retry_last_ts when hitting the maximum retry interval This was broken in 1.87 when the maximum retry interval got changed from almost infinite to a week (and made configurable). fixes #16101 Signed-off-by: Nicolas Werner <nicolas.werner@hotmail.de> * Add changelog * Change fix + add test * Add comment --------- Signed-off-by: Nicolas Werner <nicolas.werner@hotmail.de> Co-authored-by: Mathieu Velten <mathieuv@matrix.org>
* Only lock when we're backfilling (#16159)Erik Johnston2023-08-233-146/+157
|
* Increase perf of read/write locks (#16149)Erik Johnston2023-08-232-0/+31
| | | We do this by marking the tables as `UNLOGGED` in PostgreSQL.
* Clean-up presence tests (#16158)Patrick Cloke2023-08-222-92/+38
| | | Reduce duplicated code & remove unused variables.
* Fix perf of `wait_for_stream_positions` (#16148)Erik Johnston2023-08-222-7/+13
|
* Disable `m.3pid_changes` capability when MSC3861 is enabled. (#16134)Mathieu Velten2023-08-225-2/+23
|
* Add an admin endpoint to allow authorizing server to signal token ↵Shay2023-08-2210-1/+223
| | | | revocations (#16125)
* Bump serde from 1.0.183 to 1.0.184 (#16139)dependabot[bot]2023-08-221-4/+4
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Fix user directory test for deactivated support user. (#16157)Patrick Cloke2023-08-222-8/+12
| | | | Support users should not be added to the user directory after being deactivated.
* Raise poetry-core version cap to 1.7.0 (#16152)Theodore Ni2023-08-222-1/+2
|
* Properly call setup_background_tasks in unit tests. (#16150)Patrick Cloke2023-08-222-2/+1
| | | | | This should only be called on HomeServer objects which are configured to run background tasks, which is automatically (and properly) done via the call to setup().
* Disallow user_consent where experimental MSC3861 is enabled (#16127)Hugh Nimmo-Smith2023-08-223-0/+24
|
* Add `client_secret_path` as alternative for `client_secret` for OIDC config ↵Maximilian Bosch2023-08-213-1/+24
| | | | (#16030)
* Implements a task scheduler for resumable potentially long running tasks ↵Mathieu Velten2023-08-2110-1/+831
| | | | (#15891)
* Bump ijson from 3.2.1 to 3.2.3 (#16143)dependabot[bot]2023-08-211-79/+79
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump pygithub from 1.59.0 to 1.59.1 (#16144)dependabot[bot]2023-08-211-3/+3
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump click from 8.1.6 to 8.1.7 (#16145)dependabot[bot]2023-08-211-3/+3
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump types-pyopenssl from 23.2.0.1 to 23.2.0.2 (#16146)dependabot[bot]2023-08-211-3/+3
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump sentry-sdk from 1.28.1 to 1.29.2 (#16142)dependabot[bot]2023-08-211-3/+3
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Speed up state res in rare case we don't have all events (#16116)Erik Johnston2023-08-183-71/+355
| | | | | | | If we don't have all the auth events in a room then not all state events will have a chain cover index. Even so, we can still use the chain cover index on the events that do have it, rather than bailing and using the slower functions. This situation should not arise for newly persisted rooms, as we check we have the full auth chain for each event, but can happen for existing rooms. c.f. #15245
* MSC3861: allow impersonation by an admin using a query param (#16132)Mathieu Velten2023-08-183-3/+58
|
* Allow filtering for admins in the list accounts admin API (#16114)Alexander Fechler2023-08-185-0/+54
|
* Add response time metrics for introspection requests (#16131)Erik Johnston2023-08-182-7/+28
| | | See #16119
* Add cache to `get_server_keys_json_for_remote` (#16123)Erik Johnston2023-08-185-101/+144
|
* Cache token introspection response from OIDC provider (#16117)Shay2023-08-173-2/+101
|
* Fix database performance of read/write worker locks (#16061)Erik Johnston2023-08-173-55/+40
| | | | | | | We were seeing serialization errors when taking out multiple read locks. The transactions were retried, so isn't causing any failures. Introduced in #15782.
* Override global statement timeout when creating indexes in Postgres (#16085)Shay2023-08-172-0/+13
|
* Disable caching in /sync corner case (#16080)Matthew Ma2023-08-172-10/+11
| | | Fixes #15502
* Rename pagination&purge locks and add comments explaining them (#16112)Mathieu Velten2023-08-168-19/+29
|
* Add link explaining ELK stack to structured_logging.md (#16091)axel simon2023-08-162-1/+2
|
* Attempt to fix twisted trunk (#16115)David Robertson2023-08-154-2/+15
|
* Run pyupgrade for python 3.7 & 3.8. (#16110)Patrick Cloke2023-08-1543-121/+113
|
* Merge branch 'master' into developOlivier Wilkinson (reivilibre)2023-08-153-1/+12
|\
| * 1.90.0 v1.90.0Olivier Wilkinson (reivilibre)2023-08-153-1/+12
| |
* | Bump log from 0.4.19 to 0.4.20 (#16109)dependabot[bot]2023-08-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [log](https://github.com/rust-lang/log) from 0.4.19 to 0.4.20. - [Release notes](https://github.com/rust-lang/log/releases) - [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/log/compare/0.4.19...0.4.20) --- updated-dependencies: - dependency-name: log dependency-type: direct:production 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>
* | Bump txredisapi from 1.4.9 to 1.4.10 (#16107)dependabot[bot]2023-08-141-3/+3
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Bump gitpython from 3.1.31 to 3.1.32 (#16103)dependabot[bot]2023-08-141-3/+3
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Bump types-bleach from 6.0.0.3 to 6.0.0.4 (#16106)dependabot[bot]2023-08-141-3/+3
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Bump types-pillow from 10.0.0.1 to 10.0.0.2 (#16105)dependabot[bot]2023-08-141-3/+3
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Bump isort from 5.11.5 to 5.12.0 (#16108)dependabot[bot]2023-08-141-5/+5
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Allow customizing IdP name and icon for SAML and CAS (#16094)Gabriel Rodríguez2023-08-116-11/+44
| |
* | Add linearizer on user ID to push rule PUT/DELETE requests (#16052)Nick Mills-Barrett2023-08-112-6/+23
| | | | | | | | | | See: #16053 Signed off by Nick @ Beeper (@Fizzadar)
* | Fix the type annotation on `run_db_interaction` in the Module API. (#16089)reivilibre2023-08-102-2/+3
| | | | | | | | | | | | | | | | | | | | | | * Fix the method signature of `run_db_interaction` on the module API * Newsfile Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org> --------- Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>
* | Clean-up presence code (#16092)Patrick Cloke2023-08-102-94/+76
| | | | | | | | | | | | | | | | Misc. clean-ups to: * Use keyword arguments. * Return early (reducing indentation) of some functions. * Removing duplicated / unused code. * Use wrap_as_background_process.
* | Implements admin API to lock an user (MSC3939) (#15870)Mathieu Velten2023-08-1019-11/+262
| |
* | Support MSC3814: Dehydrated Devices Part 2 (#16010)Shay2023-08-088-97/+254
|/
* Fixup changelog v1.90.0rc1Erik Johnston2023-08-081-3/+3
|
* Fixup changelogErik Johnston2023-08-081-3/+3
|
* 1.90.0rc1Erik Johnston2023-08-0830-29/+72
|
* Allow modules to schedule delayed background calls. (#15993)reivilibre2023-08-082-0/+42
| | | | | | | | | | | | | | | * Add a module API function to provide `call_later` * Newsfile Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org> * Add comments * Update version number --------- Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>
* Remove old rows from the `cache_invalidation_stream_by_instance` table ↵reivilibre2023-08-082-0/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | automatically. (This table is not used when Synapse is configured to use SQLite.) (#15868) * Add a cache invalidation clean-up task * Run the cache invalidation stream clean-up on the background worker * Tune down * call_later is in millis! * Newsfile Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org> * fixup! Add a cache invalidation clean-up task * Update synapse/storage/databases/main/cache.py Co-authored-by: Eric Eastwood <erice@element.io> * Update synapse/storage/databases/main/cache.py Co-authored-by: Eric Eastwood <erice@element.io> * MILLISEC -> MS * Expand on comment * Move and tweak comment about Postgres * Use `wrap_as_background_process` --------- Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org> Co-authored-by: Eric Eastwood <erice@element.io>
* Fix endpoint improperly declaring support for MSC3814 (#16068)Shay2023-08-072-10/+9
|
* Drop backwards compat hack for event serialization (#16069)Shay2023-08-072-11/+2
|
* Add notes describing Synapse's streams (#16015)David Robertson2023-08-073-0/+159
| | | | Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
* Bump jsonschema from 4.18.3 to 4.19.0 (#16081)dependabot[bot]2023-08-071-3/+3
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump serde from 1.0.179 to 1.0.183 (#16074)dependabot[bot]2023-08-071-7/+7
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump regex from 1.9.1 to 1.9.3 (#16073)dependabot[bot]2023-08-071-6/+6
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump types-opentracing from 2.4.10.5 to 2.4.10.6 (#16078)dependabot[bot]2023-08-071-3/+3
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump furo from 2023.5.20 to 2023.7.26 (#16077)dependabot[bot]2023-08-071-3/+3
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump types-setuptools from 68.0.0.0 to 68.0.0.3 (#16079)dependabot[bot]2023-08-071-3/+3
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump phonenumbers from 8.13.14 to 8.13.18 (#16076)dependabot[bot]2023-08-071-3/+3
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Fix deletion for Dehydrated Devices (#16046)Shay2023-08-044-5/+165
|
* Stabilize support for MSC3970: updated transaction semantics (scope to ↵Patrick Cloke2023-08-049-59/+48
| | | | | | | `device_id`) (#15629) For now this maintains compatible with old Synapses by falling back to using transaction semantics on a per-access token. A future version of Synapse will drop support for this.
* Move support for application service query parameter authorization behind a ↵Shay2023-08-036-14/+144
| | | | configuration option (#16017)
* Allow config of the backoff algorithm for the federation client. (#15754)Mathieu Velten2023-08-036-26/+64
| | | | | | | | | | | Adds three new configuration variables: * destination_min_retry_interval is identical to before (10mn). * destination_retry_multiplier is now 2 instead of 5, the maximum value will be reached slower. * destination_max_retry_interval is one day instead of (essentially) infinity. Capping this will cause destinations to continue to be retried sometimes instead of being lost forever. The previous value was 2 ^ 62 milliseconds.
* Allow modules to check whether the current worker is configured to run ↵reivilibre2023-08-032-0/+13
| | | | background tasks. (#15991)
* Add forward-compatibility for the redacts property (MSC2174). (#16013)Patrick Cloke2023-08-023-25/+61
| | | | | | | | The location of the redacts field changes in room version 11. Ensure it is copied to the *new* location for *old* room versions for forwards-compatibility with clients. Note that copying it to the *old* location for the *new* room version was previously handled.
* Update MSC3958 support to interact with intentional mentions. (#15992)Patrick Cloke2023-08-026-42/+64
| | | | | | | * Updates the rule ID. * Use `event_property_is` instead of `event_match`. This updates the implementation of MSC3958 to match the latest text from the MSC.
* Bump cryptography from 41.0.2 to 41.0.3 (#16048)dependabot[bot]2023-08-021-24/+24
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Update `flake.lock` to fix running the nix developer environment on MacOS ↵Andrew Morgan2023-08-023-23/+42
| | | | (#16019)
* Update certifi to 2023.7.22 and pygments to 2.15.1. (#16044)Patrick Cloke2023-08-012-7/+8
|
* Properly setup the additional sequences in the portdb script. (#16043)Patrick Cloke2023-08-012-3/+16
| | | | | The un_partial_stated_event_stream_sequence and application_services_txn_id_seq were never properly configured in the portdb script, resulting in an error on start-up.
* Trim whitespace when setting display names (#16031)Mohit Rathee2023-08-013-1/+14
|
* Add metrics tracking for eviction to ResponseCache (#16028)Jason Little2023-08-012-2/+9
| | | | Track whether the ResponseCache is evicting due to invalidation or due to time.
* Merge branch 'master' into developDavid Robertson2023-08-013-1/+12
|\
| * 1.89.0 v1.89.0David Robertson2023-08-013-1/+12
| |
* | Combine duplicated code for calculating an event ID from a txn ID (#16023)Patrick Cloke2023-07-313-32/+36
| | | | | | | | Refactoring related to stabilization of MSC3970, refactor to combine code which has the same logic.
* | Bump serde from 1.0.175 to 1.0.179 (#16033)dependabot[bot]2023-07-311-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [serde](https://github.com/serde-rs/serde) from 1.0.175 to 1.0.179. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.175...v1.0.179) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production 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>
* | Bump immutabledict from 2.2.4 to 3.0.0 (#16034)dependabot[bot]2023-07-311-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [immutabledict](https://github.com/corenting/immutabledict) from 2.2.4 to 3.0.0. - [Release notes](https://github.com/corenting/immutabledict/releases) - [Changelog](https://github.com/corenting/immutabledict/blob/master/CHANGELOG.md) - [Commits](https://github.com/corenting/immutabledict/compare/v2.2.4...v3.0.0) --- updated-dependencies: - dependency-name: immutabledict dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Do not expose Admin API in caddy reverse proxy example (#16027)Nils2023-07-312-1/+2
| | | | | | Signed-off-by: Nils ANDRÉ-CHANG <nils@nilsand.re>
* | Bump service-identity from 21.1.0 to 23.1.0 (#16038)dependabot[bot]2023-07-311-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [service-identity](https://github.com/pyca/service-identity) from 21.1.0 to 23.1.0. - [Release notes](https://github.com/pyca/service-identity/releases) - [Changelog](https://github.com/pyca/service-identity/blob/main/CHANGELOG.md) - [Commits](https://github.com/pyca/service-identity/compare/21.1.0...23.1.0) --- updated-dependencies: - dependency-name: service-identity dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Add ability to wait for locks and add locks to purge history / room deletion ↵Erik Johnston2023-07-3116-108/+783
| | | | | | | | | | (#15791) c.f. #13476
* | Bump types-commonmark from 0.9.2.3 to 0.9.2.4 (#16037)dependabot[bot]2023-07-311-3/+3
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Bump serde_json from 1.0.103 to 1.0.104 (#16032)dependabot[bot]2023-07-311-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.103 to 1.0.104. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.103...v1.0.104) --- updated-dependencies: - dependency-name: serde_json dependency-type: direct:production 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>
* | Bump types-jsonschema from 4.17.0.8 to 4.17.0.10 (#16036)dependabot[bot]2023-07-311-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [types-jsonschema](https://github.com/python/typeshed) from 4.17.0.8 to 4.17.0.10. - [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>
* | Bump types-netaddr from 0.8.0.8 to 0.8.0.9 (#16035)dependabot[bot]2023-07-311-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [types-netaddr](https://github.com/python/typeshed) from 0.8.0.8 to 0.8.0.9. - [Commits](https://github.com/python/typeshed/commits) --- updated-dependencies: - dependency-name: types-netaddr 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>
* | Clarify comment on key uploads over replication (#16016)Shay2023-07-272-2/+4
| |
* | Fix 404 on /profile when the display name is empty but not the avatar (#16012)Mathieu Velten2023-07-273-1/+12
| |
* | Update PyYAML to 6.0.1 (#16011)Mathieu Velten2023-07-272-41/+42
| |
* | Attempt to fix labelling in docker workflow (#16009)David Robertson2023-07-272-1/+8
| |
* | Remove support for legacy application service paths (#15964)Shay2023-07-263-124/+12
| |
* | Inline SQL queries using boolean parameters (#15525)Anshul Madnawat2023-07-268-25/+24
| | | | | | | | SQLite now supports TRUE and FALSE constants, simplify some queries by inlining those instead of passing them as arguments.
* | Add synapse version as Docker container label (#15972)Mo Balaa2023-07-262-1/+8
| | | | | | | | Co-authored-by: Mo Balaa <balaa@fractalnetworks.co>
* | Merge branch 'release-v1.89' into developMathieu Velten2023-07-2639-47/+89
|\|
| * Edit changelog v1.89.0rc1Mathieu Velten2023-07-261-7/+7
| |
| * Remove changelog fileMathieu Velten2023-07-261-1/+0
| |
| * Bump DB version to 79 since synapse v1.88 was already there (#15998)Mathieu Velten2023-07-267-16/+22
| |
| * 1.89.0rc1Mathieu Velten2023-07-2533-31/+68
| |
* | Bump serde from 1.0.171 to 1.0.175 (#15982)dependabot[bot]2023-07-261-4/+4
|/ | | | | | | | | | | | | | | Bumps [serde](https://github.com/serde-rs/serde) from 1.0.171 to 1.0.175. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.171...v1.0.175) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production 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>
* Bump pygithub from 1.58.2 to 1.59.0 (#15834)dependabot[bot]2023-07-251-3/+3
| | | | | | | | | | | | | | | | Bumps [pygithub](https://github.com/pygithub/pygithub) from 1.58.2 to 1.59.0. - [Release notes](https://github.com/pygithub/pygithub/releases) - [Changelog](https://github.com/PyGithub/PyGithub/blob/main/doc/changes.rst) - [Commits](https://github.com/pygithub/pygithub/compare/v1.58.2...v1.59.0) --- updated-dependencies: - dependency-name: pygithub dependency-type: direct:development 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>
* Support MSC3814: Dehydrated Devices (#15929)Shay2023-07-247-12/+603
| | | | | | Signed-off-by: Nicolas Werner <n.werner@famedly.com> Co-authored-by: Nicolas Werner <n.werner@famedly.com> Co-authored-by: Nicolas Werner <89468146+nico-famedly@users.noreply.github.com> Co-authored-by: Hubert Chathi <hubert@uhoreg.ca>
* Fix broken Arch Linux package link (#15981)SnipeX_2023-07-242-2/+3
|
* Resync stale devices in background (#15975)Erik Johnston2023-07-242-1/+9
| | | | This is so we don't block responding to federation transaction while we try and fetch the device lists.
* Bump click from 8.1.3 to 8.1.6 (#15984)dependabot[bot]2023-07-241-3/+3
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump sentry-sdk from 1.26.0 to 1.28.1 (#15985)dependabot[bot]2023-07-241-3/+3
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump pillow from 9.4.0 to 10.0.0 (#15986)dependabot[bot]2023-07-241-83/+62
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump types-requests from 2.31.0.1 to 2.31.0.2 (#15983)dependabot[bot]2023-07-241-3/+3
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Properly handle redactions of creation events (#15973)Shay2023-07-233-5/+13
|
* Actually stop reading from column `user_id` of tables `profiles` (#15955)Shay2023-07-235-12/+12
|
* Build packages for Debian Trixie (#15961)Shay2023-07-232-0/+2
|
* Speed up updating state in large rooms (#15971)Erik Johnston2023-07-205-131/+141
| | | This should speed up updating state in rooms with lots of state.
* Fixed grafana deploy annotations in the dashboard config, so it shows for ↵Will Lewis2023-07-202-1/+2
| | | | | | | | | those not managing matrix.org (#15957) Removed the 'matrix.org' hardcorded instance setting Originally introduced in #15674 Co-authored-by: wrjlewis <will.lewis@askattest.com>
* Don't log exceptions for every non-200 response (#15969)Erik Johnston2023-07-202-4/+1
| | | Introduced in #15913
* Reduce the amount of state we pull out (#15968)Erik Johnston2023-07-204-12/+14
|
* Ensure a long state res does not starve CPU (#15960)Erik Johnston2023-07-192-1/+9
| | | We do this by yielding the reactor in hot loops.
* Fix bad merge of #15933 (#15958)Erik Johnston2023-07-193-0/+1
| | | This was because we reverted the bump of the schema version, so we were not applying the new deltas.
* Fix race in triggers for read/write locks. (#15933)Erik Johnston2023-07-195-98/+135
|
* Fix background schema updates failing over a large upgrade gap (#15887)Shay2023-07-182-0/+71
|
* Merge branch 'master' into developOlivier Wilkinson (reivilibre)2023-07-1812-124/+189
|\
| * 1.88.0 v1.88.0Olivier Wilkinson (reivilibre)2023-07-184-3/+16
| |
| * Revert "Stop writing to column `user_id` of tables `profiles` and ↵Shay2023-07-1810-122/+174
| | | | | | | | | | | | | | | | | | `user_filters`. (#15953) * Revert "Stop writing to column `user_id` of tables `profiles` and `user_filters` (#15787)" This reverts commit f25b0f88081bb436bef914983cff7087b54eba5f. * newsfragement
* | Support room version 11 (#15912)Patrick Cloke2023-07-1819-290/+190
| | | | | | | | | | And fix a bug in the implementation of the updated redaction format (MSC2174) where the top-level redacts field was not properly added for backwards-compatibility.
* | Add a locality to a few presence metrics (#15952)Jason Little2023-07-182-13/+25
| |
* | Re-introduce the outbound federation proxy (#15913)Eric Eastwood2023-07-1832-96/+1128
| | | | | | | | | | Allow configuring the set of workers to proxy outbound federation traffic through (`outbound_federation_restricted_to`). This is useful when you have a worker setup with `federation_sender` instances responsible for sending outbound federation requests and want to make sure *all* outbound federation traffic goes through those instances. Before this change, the generic workers would still contact federation themselves for things like profile lookups, backfill, etc. This PR allows you to set more strict access controls/firewall for all workers and only allow the `federation_sender`'s to contact the outside world.
* | Bump anyhow from 1.0.71 to 1.0.72 (#15949)dependabot[bot]2023-07-171-2/+2
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Bump pyo3-log from 0.8.2 to 0.8.3 (#15951)dependabot[bot]2023-07-171-2/+2
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Bump serde_json from 1.0.100 to 1.0.103 (#15950)dependabot[bot]2023-07-171-2/+2
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Bump jsonschema from 4.17.3 to 4.18.3 (#15948)dependabot[bot]2023-07-171-42/+144
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Bump typing-extensions from 4.5.0 to 4.7.1 (#15947)dependabot[bot]2023-07-171-3/+3
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Bump pydantic from 1.10.10 to 1.10.11 (#15946)dependabot[bot]2023-07-171-37/+37
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Bump prometheus-client from 0.17.0 to 0.17.1 (#15945)dependabot[bot]2023-07-171-3/+3
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Pin the rust version in `flake.nix`, and bump to 1.70.0 to fix installing ↵Andrew Morgan2023-07-173-43/+87
| | | | | | | | `ruff` (#15940)
* | Bump cryptography from 41.0.1 to 41.0.2 (#15943)dependabot[bot]2023-07-151-20/+24
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Document that you cannot login as yourself on ↵Will Hunt2023-07-142-1/+3
| | | | | | | | /_synapse/admin/v1/users/<user_id>/login (#15938)
* | Stop accepting 'user' parameter for application service registration. (#15928)Patrick Cloke2023-07-133-8/+15
| | | | | | This is unspecced, but has existed for a very long time.
* | Bump types-pillow from 9.5.0.4 to 10.0.0.1 (#15932)dependabot[bot]2023-07-131-3/+5
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Remove unneeded __init__. (#15926)Patrick Cloke2023-07-122-9/+1
| | | | | | | | Remove an __init__ which only calls super() without changing the input arguments.
* | Fix running with an empty experimental features section. (#15925)Patrick Cloke2023-07-122-1/+2
| |
* | Fix push for invites received over federation (#15820)Erik Johnston2023-07-122-1/+37
| |
* | Mark get_user_in_directory private since only used in tests (#15884)Mathieu Velten2023-07-124-20/+14
| |
* | Make it more obvious which Python version runs on a given Linux distribution ↵Eric Eastwood2023-07-112-7/+12
| | | | | | | | | | | | | | (#15909) Make it more obvious which Python version runs on a given Linux distribution so when we end up dropping support for a given Python version, we can more easily find the reference to the Python version and remove any references for the distribution. We don't want to be running tests or building packages on a distribution that no longer has a supported Python version. This way, we can avoid another situation like when we dropped support for Python 3.7 but forgot to drop the Debian Buster references everywhere (https://github.com/matrix-org/synapse/pull/15893)
* | Better clarify how to run a worker instance (pass both configs) (#15921)Eric Eastwood2023-07-112-2/+3
| | | | | | | | | | | | | | | | | | Previously, if you just followed the instructions per the docs, you just ran into an error: ```sh $ poetry run synapse_worker --config-path homeserver_generic_worker1.yaml Missing mandatory `server_name` config option. ```
* | Better warning in logs when we fail to fetch an alias (#15922)Eric Eastwood2023-07-112-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | **Before:** ``` Error retrieving alias ``` **After:** ``` Error retrieving alias #foo:bar -> 401 Unauthorized ``` *Spawning from creating the [manual testing strategy for the outbound federation proxy](https://github.com/matrix-org/synapse/pull/15773).*
* | Bump Unix sockets intro version (#15924)Eric Eastwood2023-07-112-1/+2
| | | | | | https://github.com/matrix-org/synapse/pull/15708 didn't quite make the cut for `1.88.0` this morning.
* | Unix Sockets for HTTP Replication (#15708)Jason Little2023-07-1116-52/+260
| | | | | | | | | | | | | | | | | | Unix socket support for `federation` and `client` Listeners has existed now for a little while(since [1.81.0](https://github.com/matrix-org/synapse/pull/15353)), but there was one last hold out before it could be complete: HTTP Replication communication. This should finish it up. The Listeners would have always worked, but would have had no way to be talked to/at. --------- Co-authored-by: Eric Eastwood <madlittlemods@gmail.com> Co-authored-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org> Co-authored-by: Eric Eastwood <erice@element.io>
* | Add + as an allowed character for Matrix IDs (MSC4009) (#15911)Patrick Cloke2023-07-117-39/+17
|/
* Don't build wheels for Python 3.7 (#15917) v1.88.0rc1David Robertson2023-07-112-2/+10
| | | | | | | * Don't build wheels for CPython or PyPy 3.7 * Update pyproject.toml comments * Manually update the changelog
* Call out upgrade notes in READMEDavid Robertson2023-07-111-2/+6
|
* 1.88.0rc1David Robertson2023-07-1125-25/+56
|
* Add `Server` to Access-Control-Expose-Headers header (#15908)Michael Telatynski2023-07-113-2/+3
|
* Make the media `/upload` tracing less ambiguous (#15888)Eric Eastwood2023-07-103-42/+62
| | | | | | | | | | A lot of the functions have the same name in this space like `store_file`, and we also do it multiple times for different reasons (main media repo, other storage providers, thumbnails, etc) so it's good to differentiate them so your head doesn't explode. Follow-up to https://github.com/matrix-org/synapse/pull/15850 Tracing instrumentation to media `/upload` code paths to investigate https://github.com/matrix-org/synapse/issues/15841
* Drop debian buster (#15893)Shay2023-07-105-4/+8
|
* Revert "Federation outbound proxy" (#15910)Eric Eastwood2023-07-1029-890/+90
| | | | | | Revert "Federation outbound proxy (#15773)" This reverts commit b07b14b494ae1dd564b4c44f844c9a9545b3d08a.
* Revert "Placeholder changelog"Eric Eastwood2023-07-101-1/+0
| | | | This reverts commit 6e731e86bfa9d92f983f7df9367e37aa80733078.
* Fix downgrading to previous version of Synapse (#15907)Erik Johnston2023-07-105-6/+24
| | | We do this by marking the constraint as deferrable.
* Fix building rust with nightly (#15906)Erik Johnston2023-07-102-0/+2
| | | Also fix up a warning.
* Placeholder changelogEric Eastwood2023-07-101-0/+1
|
* Bump regex from 1.8.4 to 1.9.1 (#15902)dependabot[bot]2023-07-101-4/+16
| | | | | | | | | | | | | | | | Bumps [regex](https://github.com/rust-lang/regex) from 1.8.4 to 1.9.1. - [Release notes](https://github.com/rust-lang/regex/releases) - [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/regex/compare/1.8.4...1.9.1) --- updated-dependencies: - dependency-name: regex 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>
* Bump serde_json from 1.0.99 to 1.0.100 (#15901)dependabot[bot]2023-07-101-13/+13
| | | | | | | | | | | | | | | Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.99 to 1.0.100. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.99...v1.0.100) --- updated-dependencies: - dependency-name: serde_json dependency-type: direct:production 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>
* Bump ruff from 0.0.275 to 0.0.277 (#15900)dependabot[bot]2023-07-102-20/+20
| | | | | | | | | | | | | | | | Bumps [ruff](https://github.com/astral-sh/ruff) from 0.0.275 to 0.0.277. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md) - [Commits](https://github.com/astral-sh/ruff/compare/v0.0.275...v0.0.277) --- updated-dependencies: - dependency-name: ruff 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>
* Bump lxml from 4.9.2 to 4.9.3 (#15897)dependabot[bot]2023-07-101-80/+93
| | | | | | | | | | | | | | | | Bumps [lxml](https://github.com/lxml/lxml) from 4.9.2 to 4.9.3. - [Release notes](https://github.com/lxml/lxml/releases) - [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt) - [Commits](https://github.com/lxml/lxml/compare/lxml-4.9.2...lxml-4.9.3) --- updated-dependencies: - dependency-name: lxml dependency-type: direct:production 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>
* Stop running sytest on buster/python3.7 (#15892)Shay2023-07-072-5/+1
|
* Stop writing to column `user_id` of tables `profiles` and `user_filters` ↵Shay2023-07-0710-173/+123
| | | | (#15787)
* Remove `worker_replication_*` settings from worker doc (#15872)Dirk Klimpel2023-07-076-21/+2
| | | Co-authored-by: Mathieu Velten <mathieuv@matrix.org>
* Remove `worker_replication_*` deprecated settings, with helpful errors on ↵Jason Little2023-07-077-98/+49
| | | | | | startup (#15860) Co-authored-by: reivilibre <oliverw@matrix.org>
* Update link to the clients webpage, fix #15825 (#15874)sarthak shah2023-07-062-1/+2
|
* Federation outbound proxy (#15773)Eric Eastwood2023-07-0529-90/+890
| | | | | | | Allow configuring the set of workers to proxy outbound federation traffic through (`outbound_federation_restricted_to`). This is useful when you have a worker setup with `federation_sender` instances responsible for sending outbound federation requests and want to make sure *all* outbound federation traffic goes through those instances. Before this change, the generic workers would still contact federation themselves for things like profile lookups, backfill, etc. This PR allows you to set more strict access controls/firewall for all workers and only allow the `federation_sender`'s to contact the outside world. The original code is from @erikjohnston's branches which I've gotten in-shape to merge.
* Remove support for Python 3.7 (#15851)Eric Eastwood2023-07-0512-108/+55
| | | Fix https://github.com/matrix-org/synapse/issues/15836
* Add basic read/write lock (#15782)Erik Johnston2023-07-056-58/+730
|
* Add tracing to media `/upload` endpoint (#15850)Eric Eastwood2023-07-057-0/+27
| | | Add tracing instrumentation to media `/upload` code paths to investigate https://github.com/matrix-org/synapse/issues/15841
* docs/admin_api: fix header level on 'Users' page (#15852)Sumner Evans2023-07-052-3/+4
| | | Signed-off-by: Sumner Evans <sumner@beeper.com>
* Fix could not serialize access due to concurrent `DELETE` from ↵Jason Little2023-07-052-1/+7
| | | | | | | presence_stream (#15826) * Change update_presence to have a isolation level of READ_COMMITTED * changelog
* Add foreign key constraint to `event_forward_extremities`. (#15751)Erik Johnston2023-07-059-11/+699
|
* use Image.LANCZOS instead of Image.ANTIALIAS for thumbnail resize (#15876)an0nfunc2023-07-052-1/+2
| | | | | Image.ANTIALIAS is not defined in current pillow releases. Since ANTIALIAS was just using LANCZOS anyways, this is just a cosmetic change, but makes synapse work with most recent pillow releases. Signed-off-by: Giovanni Harting <539@idlegandalf.com>
* Add not_user_type param to the list accounts admin API (#15844)Michael Weimann2023-07-045-0/+128
| | | Signed-off-by: Michael Weimann <michaelw@element.io>
* Merge branch 'master' into developOlivier Wilkinson (reivilibre)2023-07-044-3/+23
|\
| * Add notes about Python 3.7 EOL v1.87.0Olivier Wilkinson (reivilibre)2023-07-041-0/+2
| |
| * Move warning up to the topOlivier Wilkinson (reivilibre)2023-07-041-3/+3
| |
| * 1.87.0Olivier Wilkinson (reivilibre)2023-07-045-5/+20
| |