summary refs log tree commit diff
path: root/changelog.d (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Improve comments in StateGroupBackgroundUpdateStore. (#16383)Patrick Cloke2023-09-251-0/+1
|
* Add developer documentation concerning gradual schema migrations with column ↵reivilibre2023-09-251-0/+1
| | | | | | | alterations. (#15691) Co-authored-by: Eric Eastwood <erice@element.io>
* Avoid running CI steps when the files they check have not been changed. (#14745)reivilibre2023-09-251-0/+1
|
* Bump types-psycopg2 from 2.9.21.11 to 2.9.21.14 (#16381)dependabot[bot]2023-09-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Bump types-psycopg2 from 2.9.21.11 to 2.9.21.14 Bumps [types-psycopg2](https://github.com/python/typeshed) from 2.9.21.11 to 2.9.21.14. - [Commits](https://github.com/python/typeshed/commits) --- updated-dependencies: - dependency-name: types-psycopg2 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Relax the annotation of Cursor.description See https://github.com/matrix-org/synapse/pull/16343#issuecomment-1726083384 for rationale. * Changelog * Changelog --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: David Robertson <davidr@element.io>
* Add support for pydantic v2 via pydantic.v1 compat module (#16332)Maxwell G2023-09-251-0/+1
| | | While maintaining support with pydantic v1.
* Get CI to check PRs have been signed-off (#16348)David Robertson2023-09-251-0/+1
|
* Add missing license header. (#16359)Patrick Cloke2023-09-211-0/+1
|
* Convert more cached return values to immutable types (#16356)Patrick Cloke2023-09-201-0/+1
|
* Return immutable objects for cachedList decorators (#16350)Patrick Cloke2023-09-191-0/+1
|
* Merge branch 'release-v1.93' into developPatrick Cloke2023-09-1956-56/+0
|\
| * 1.93.0rc1Patrick Cloke2023-09-1956-56/+0
| |
* | Fix-up deactivated notes in docs. (#16355)Patrick Cloke2023-09-191-0/+1
|/
* Use string for federation_client_minimum_tls_version documentation examples ↵Jan Christian Grünhage2023-09-191-0/+1
| | | | (#16353)
* Test against PostgreSQL 16. (#16351)Patrick Cloke2023-09-181-0/+1
|
* Stop patching EventBase.__eq__ in tests. (#16349)Patrick Cloke2023-09-181-0/+1
| | | | It is clearer to directly test equality instead of doing indirect assertions via patching __eq__.
* Filter locked users in the admin API (#16328)Hanadi2023-09-181-0/+1
| | | | Co-authored-by: Hanadi Tamimi <hanadi.tamimi@sdui.de>
* Make cached account data/tags/admin types immutable (#16325)Patrick Cloke2023-09-181-0/+1
|
* Return an immutable value from get_latest_event_ids_in_room. (#16326)Patrick Cloke2023-09-181-0/+1
|
* Additional validation of receipts (#16327)Patrick Cloke2023-09-181-0/+1
| | | | Reject invalid receipts with a reasonable error message & expands tests for receipts.
* Mandate Pillow>=10.0.1 because of libwebp CVE (#16347)Mathieu Velten2023-09-181-0/+1
|
* Set email charset as utf-8 rather than utf8 (#16329)José Joaquín Atria2023-09-181-0/+1
|
* Add automatic purge after all users forget a room (#15488)Mathieu Velten2023-09-151-0/+1
| | | | | | Also add restore of purge/shutdown rooms after a synapse restart. Co-authored-by: Eric Eastwood <erice@matrix.org> Co-authored-by: Erik Johnston <erikj@matrix.org>
* Convert `_insert_graph_receipts_txn` to `simple_upsert` (#16299)Jason Little2023-09-151-0/+1
|
* Only use literal strings for process names (#16315)Erik Johnston2023-09-151-0/+1
|
* Some minor performance fixes for task schedular (#16313)Erik Johnston2023-09-141-0/+1
|
* Speed up deleting to-device messages task (#16318)Erik Johnston2023-09-141-0/+1
|
* docs: Link to the Alpine Linux community package for Synapse (#16304)65432023-09-141-0/+1
|
* Refactor `get_user_by_id` (#16316)Erik Johnston2023-09-141-0/+1
|
* Remove a reference cycle in background process (#16314)Erik Johnston2023-09-131-0/+1
|
* Fix using dehydrated devices (MSC2697) & refresh tokens (#16288)Hanadi2023-09-131-0/+1
| | | | | Refresh tokens were not correctly moved to the rehydrated device (similar to how the access token is currently handled). This resulted in invalid refresh tokens after rehydration.
* Use StrCollection in additional places. (#16301)Patrick Cloke2023-09-131-0/+1
|
* Don't schedule an async task on every sync (#16312)Erik Johnston2023-09-131-0/+1
|
* Fix deleting device inbox when using background worker (#16311)Erik Johnston2023-09-131-0/+1
| | | | | Introduced in #16240 The action for the task was only defined on the "master" handler, rather than the base worker one.
* Improve logging of replication (#16309)Erik Johnston2023-09-131-0/+1
|
* Merge branch 'master' into developMathieu Velten2023-09-122-2/+0
|\
| * 1.92.0Mathieu Velten2023-09-123-3/+0
| |
| * Support releasing on macOS. (#16266)Patrick Cloke2023-09-071-0/+1
| |
* | Bump mypy from 1.4.1 to 1.5.1. (#16300)Patrick Cloke2023-09-121-0/+1
| |
* | Stop purging tables which are slated for removal. (#16273)Patrick Cloke2023-09-121-0/+1
| |
* | Refactor storing of server keys (#16261)Erik Johnston2023-09-121-0/+1
| |
* | Add the List-Unsubscribe header for notification emails. (#16274)Patrick Cloke2023-09-111-0/+1
| | | | | | | | | | | | | | | | Adds both the List-Unsubscribe (RFC2369) and List-Unsubscribe-Post (RFC8058) headers to push notification emails, which together should: * Show an "Unsubscribe" link in the MUA UI when viewing Synapse notification emails. * Enable "one-click" unsubscribe (the user never leaves their MUA, which automatically makes a POST request to the specified endpoint).
* | Filter out down hosts when retrying fetching device lists (#16298)Erik Johnston2023-09-111-0/+1
| |
* | Improve type hints for attrs classes (#16276)David Robertson2023-09-081-0/+1
| |
* | Upgrade CI run of Python 3.12 from rc1 to rc2 (#16280)V024602023-09-081-0/+1
| |
* | Update ruff config (#16283)Patrick Cloke2023-09-081-0/+1
| | | | | | Enable additional checks & clean-up unneeded configuration.
* | Log values at DEBUG level with execute_values (#16281)David Robertson2023-09-081-0/+1
| |
* | Fix-up incorrect spellings in docs. (#16282)Patrick Cloke2023-09-081-0/+1
| |
* | Fix bug with new task scheduler using lots of CPU. (#16278)Erik Johnston2023-09-081-0/+1
| | | | | | | | | | Using the new `TaskScheduler` meant that we'ed create lots of new metrics (due to adding task ID to the desc of background process), resulting in requests for metrics taking an increasing amount of CPU.
* | Avoid temporary storage of sensitive information. (#16272)Patrick Cloke2023-09-081-0/+1
| | | | | | | | During the UI auth process, avoid storing sensitive information into the database.
* | Raise setuptools_rust version cap to 1.7.0 (#16277)V024602023-09-081-0/+1
| |
* | Reduce CPU overhead of change password endpoint (#16264)Erik Johnston2023-09-081-0/+1
| |
* | Recheck if remote device is cached before requesting it (#16252)Erik Johnston2023-09-071-0/+1
| | | | | | | | This fixes a bug where we could get stuck re-requesting the device over replication again and again.
* | Add `/notifications` endpoint to workers (#16265)Erik Johnston2023-09-071-0/+1
| |
* | Send the opentracing span information to appservices (#16227)Marcel2023-09-061-0/+1
| |
* | Handle "registration_enabled" parameter for CAS (#16262)Aurélien Grimpard2023-09-061-0/+1
| | | | | | | | Similar to OIDC, CAS providers can now disable registration such that only existing users are able to login via SSO.
* | Merge remote-tracking branch 'origin/release-v1.92' into developPatrick Cloke2023-09-062-0/+2
|\|
| * Add back newsfile from #16258.Patrick Cloke2023-09-061-0/+1
| |
| * Fix incorrect docstring for Ratelimiter. (#16255)Patrick Cloke2023-09-051-0/+1
| |
* | Apply missed suggestions from the review of #16090. (#16263)reivilibre2023-09-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | * Suggestions from PR * Newsfile Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org> --------- Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>
* | Add GCC and GNU Make to the Nix flake development environment so that `ruff` ↵reivilibre2023-09-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | can be compiled. (#16090) * Add gcc and GNU make to the Nix flake * Newsfile Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org> * unset LD_LIBRARY_PATH --------- Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>
* | Update rust in flake.nix: 1.70.0 -> 1.71.1 to address CVE-2023-38497 (#16260)Andrew Morgan2023-09-061-0/+1
| |
* | Add the ability to use `G` (GiB) and `T` (TiB) suffixes in configuration ↵reivilibre2023-09-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | options that refer to numbers of bytes. (#16219) * Add more suffixes to `parse_size` * Newsfile Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org> --------- Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>
* | Allow modules to delete rooms. (#15997)reivilibre2023-09-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Allow user_id to be optional for room deletion * Add module API method to delete a room * Newsfile Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org> * Don't worry about the case block=True && requester_user_id is None --------- Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>
* | Delete device messages asynchronously and in staged batches (#16240)Mathieu Velten2023-09-061-0/+1
| |
* | Fix appservices being unable to handle to_device messages for multiple users ↵Will Hunt2023-09-051-0/+1
| | | | | | | | (#16251)
* | Add MSC4040 `matrix-fed` service lookups (#16137)Travis Ralston2023-09-051-0/+1
| |
* | Fix bug where we kept re-requesting a remote server's key repeatedly. (#16257)Erik Johnston2023-09-051-0/+1
| | | | | | | | | | * Correctly handle multiple rows per server/key * Newsfile
* | Merge tag 'v1.92.0rc1' into developDavid Robertson2023-09-0530-30/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add configuration setting for CAS protocol version. Contributed by Aurélien Grimpard. ([\#15816](https://github.com/matrix-org/synapse/issues/15816)) - Suppress notifications from message edits per [MSC3958](https://github.com/matrix-org/matrix-spec-proposals/pull/3958). ([\#16113](https://github.com/matrix-org/synapse/issues/16113)) - Return a `Retry-After` with `M_LIMIT_EXCEEDED` error responses. ([\#16136](https://github.com/matrix-org/synapse/issues/16136)) - Add `last_seen_ts` to the [admin users API](https://matrix-org.github.io/synapse/latest/admin_api/user_admin_api.html). ([\#16218](https://github.com/matrix-org/synapse/issues/16218)) - Improve resource usage when sending data to a large number of remote hosts that are marked as "down". ([\#16223](https://github.com/matrix-org/synapse/issues/16223)) - Fix IPv6-related bugs on SMTP settings, adding groundwork to fix similar issues. Contributed by @evilham and @telmich (ungleich.ch). ([\#16155](https://github.com/matrix-org/synapse/issues/16155)) - Fix a spec compliance issue where requests to the `/publicRooms` federation API would specify `include_all_networks` as a string. ([\#16185](https://github.com/matrix-org/synapse/issues/16185)) - Fix inaccurate error message while attempting to ban or unban a user with the same or higher PL by spliting the conditional statements. Contributed by @leviosacz. ([\#16205](https://github.com/matrix-org/synapse/issues/16205)) - Fix a rare bug that broke looping calls, which could lead to e.g. linearly increasing memory usage. Introduced in v1.90.0. ([\#16210](https://github.com/matrix-org/synapse/issues/16210)) - Fix a long-standing bug where uploading images would fail if we could not generate thumbnails for them. ([\#16211](https://github.com/matrix-org/synapse/issues/16211)) - Fix a long-standing bug where we did not correctly back off from servers that had "gone" if they returned 4xx series error codes. ([\#16221](https://github.com/matrix-org/synapse/issues/16221)) - Update links to the [matrix.org blog](https://matrix.org/blog/). ([\#16008](https://github.com/matrix-org/synapse/issues/16008)) - Document which [admin APIs](https://matrix-org.github.io/synapse/latest/usage/administration/admin_api/index.html) are disabled when experimental [MSC3861](https://github.com/matrix-org/matrix-spec-proposals/pull/3861) support is enabled. ([\#16168](https://github.com/matrix-org/synapse/issues/16168)) - Document [`exclude_rooms_from_sync`](https://matrix-org.github.io/synapse/v1.92/usage/configuration/config_documentation.html#exclude_rooms_from_sync) configuration option. ([\#16178](https://github.com/matrix-org/synapse/issues/16178)) - Prepare unit tests for Python 3.12. ([\#16099](https://github.com/matrix-org/synapse/issues/16099)) - Fix nightly CI jobs. ([\#16121](https://github.com/matrix-org/synapse/issues/16121), [\#16213](https://github.com/matrix-org/synapse/issues/16213)) - Describe which rate limiter was hit in logs. ([\#16135](https://github.com/matrix-org/synapse/issues/16135)) - Simplify presence code when using workers. ([\#16170](https://github.com/matrix-org/synapse/issues/16170)) - Track per-device information in the presence code. ([\#16171](https://github.com/matrix-org/synapse/issues/16171), [\#16172](https://github.com/matrix-org/synapse/issues/16172)) - Stop using the `event_txn_id` table. ([\#16175](https://github.com/matrix-org/synapse/issues/16175)) - Use `AsyncMock` instead of custom code. ([\#16179](https://github.com/matrix-org/synapse/issues/16179), [\#16180](https://github.com/matrix-org/synapse/issues/16180)) - Improve error reporting of invalid data passed to `/_matrix/key/v2/query`. ([\#16183](https://github.com/matrix-org/synapse/issues/16183)) - Task scheduler: add replication notify for new task to launch ASAP. ([\#16184](https://github.com/matrix-org/synapse/issues/16184)) - Improve type hints. ([\#16186](https://github.com/matrix-org/synapse/issues/16186), [\#16188](https://github.com/matrix-org/synapse/issues/16188), [\#16201](https://github.com/matrix-org/synapse/issues/16201)) - Bump black version to 23.7.0. ([\#16187](https://github.com/matrix-org/synapse/issues/16187)) - Log the details of background update failures. ([\#16212](https://github.com/matrix-org/synapse/issues/16212)) - Cache device resync requests over replication. ([\#16241](https://github.com/matrix-org/synapse/issues/16241)) * Bump anyhow from 1.0.72 to 1.0.75. ([\#16141](https://github.com/matrix-org/synapse/issues/16141)) * Bump furo from 2023.7.26 to 2023.8.19. ([\#16238](https://github.com/matrix-org/synapse/issues/16238)) * Bump phonenumbers from 8.13.18 to 8.13.19. ([\#16237](https://github.com/matrix-org/synapse/issues/16237)) * Bump psycopg2 from 2.9.6 to 2.9.7. ([\#16196](https://github.com/matrix-org/synapse/issues/16196)) * Bump regex from 1.9.3 to 1.9.4. ([\#16195](https://github.com/matrix-org/synapse/issues/16195)) * Bump ruff from 0.0.277 to 0.0.286. ([\#16198](https://github.com/matrix-org/synapse/issues/16198)) * Bump sentry-sdk from 1.29.2 to 1.30.0. ([\#16236](https://github.com/matrix-org/synapse/issues/16236)) * Bump serde from 1.0.184 to 1.0.188. ([\#16194](https://github.com/matrix-org/synapse/issues/16194)) * Bump serde_json from 1.0.104 to 1.0.105. ([\#16140](https://github.com/matrix-org/synapse/issues/16140)) * Bump types-psycopg2 from 2.9.21.10 to 2.9.21.11. ([\#16200](https://github.com/matrix-org/synapse/issues/16200)) * Bump types-pyyaml from 6.0.12.10 to 6.0.12.11. ([\#16199](https://github.com/matrix-org/synapse/issues/16199))
| * 1.92.0rc1David Robertson2023-09-0533-33/+0
| |
* | Time out busy presence status & test multi-device busy (#16174)Patrick Cloke2023-09-051-0/+1
| | | | | | | | | | | | | | Add a (long) timeout to when a "busy" device is considered not online. This does *not* match MSC3026, but is a reasonable thing for an implementation to do. Expands tests for the (unstable) busy presence with multiple devices.
* | Track presence state per-device and combine to a user state. (#16066)Patrick Cloke2023-09-057-3/+4
| | | | | | | | | | | | | | | | | | | | | | Tracks presence on an individual per-device basis and combine the per-device state into a per-user state. This should help in situations where a user has multiple devices with conflicting status (e.g. one is syncing with unavailable and one is syncing with online). The tie-breaking is done by priority: BUSY > ONLINE > UNAVAILABLE > OFFLINE
* | Bump minimum supported Rust version to 1.61.0 (#16248)Erik Johnston2023-09-051-0/+1
| |
* | Bump twisted from 22.10.0 to 23.8.0 (#16235)dependabot[bot]2023-09-051-0/+1
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Bump twisted from 22.10.0 to 23.8.0 Bumps [twisted](https://github.com/twisted/twisted) from 22.10.0 to 23.8.0. - [Release notes](https://github.com/twisted/twisted/releases) - [Changelog](https://github.com/twisted/twisted/blob/trunk/NEWS.rst) - [Commits](https://github.com/twisted/twisted/compare/twisted-22.10.0...twisted-23.8.0) --- updated-dependencies: - dependency-name: twisted dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Fix types * Fix lint * Newsfile --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Erik Johnston <erik@matrix.org>
* Don't wake up destination transaction queue if they're not due for retry. ↵Erik Johnston2023-09-041-0/+1
| | | | (#16223)
* Add last_seen_ts to the admin users API (#16218)Mathieu Velten2023-09-041-0/+1
|
* Don't reset retry timers on "valid" error codes (#16221)Erik Johnston2023-09-041-0/+1
|
* Cache device resync requests over replication (#16241)David Robertson2023-09-041-0/+1
|
* Fix typo where we ended up with multiple `WorkerLocksHandler` (#16220)Erik Johnston2023-09-011-0/+1
| | | | | I don't think has caused any actual issues. Introduced in #15891
* Log the details of background update failures (#16212)David Robertson2023-09-011-0/+1
|
* Ignore redundant casts in latest deps CI job (#16213)David Robertson2023-08-301-0/+1
|
* Gracefully handle failing to thumbnail images (#16211)Erik Johnston2023-08-301-0/+1
|
* Fix rare bug that broke looping calls (#16210)Erik Johnston2023-08-301-0/+1
| | | | | | | | | | * 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
* Stop writing to the event_txn_id table (#16175)Patrick Cloke2023-08-301-0/+1
|
* Describe which rate limiter was hit in logs (#16135)David Robertson2023-08-301-0/+1
|
* Track currently syncing users by device for presence (#16172)Patrick Cloke2023-08-291-0/+1
| | | | | | | 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-291-0/+1
|
* Support IPv6-only SMTP servers (#16155)Evilham2023-08-291-0/+1
| | | | 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-291-0/+1
| | | 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-291-0/+1
| | | | same or higher PL (#16205)
* Pass the device ID around in the presence handler (#16171)Patrick Cloke2023-08-281-0/+1
| | | | | | 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-281-0/+1
| | | | | | | | | | | | | 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-281-0/+1
|
* Bump setuptools-rust from 1.6.0 to 1.7.0. (#16201)Patrick Cloke2023-08-281-0/+1
|
* Prepare unit tests for Python 3.12 (#16099)V024602023-08-251-0/+1
|
* service-identity, incremental, and setuptools-rust now have type hints. (#16186)Patrick Cloke2023-08-251-0/+1
|
* Validate input to POST /key/v2/query endpoint. (#16183)Patrick Cloke2023-08-251-0/+1
| | | To avoid 500 internal server errors with garbage input.
* Send proper JSON POST data to /publicRooms (#16185)Patrick Cloke2023-08-251-0/+1
| | | | 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-251-0/+1
| | | | 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-251-0/+1
|
* Replace make_awaitable with AsyncMock (#16179)Patrick Cloke2023-08-241-0/+1
| | | | 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-241-0/+1
|
* Add configuration setting for CAS protocol version (#15816)Aurélien Grimpard2023-08-241-0/+1
|
* Update URLs to matrix.org blog categories. (#16008)Amirreza Aflakparast2023-08-241-0/+1
|
* Fix typechecking with twisted trunk (#16121)David Robertson2023-08-241-0/+1
|
* Add `Retry-After` to M_LIMIT_EXCEEDED error responses (#16136)Will Hunt2023-08-241-0/+1
| | | Implements MSC4041 behind an experimental configuration flag.
* Merge branch 'release-v1.91' into developH. Shay2023-08-2340-40/+0
|\
| * 1.91.0rc1 v1.91.0rc1H. Shay2023-08-2340-40/+0
| |
* | Stabilize support for MSC3958 (suppress notifications from edits). (#16113)Patrick Cloke2023-08-231-0/+1
|/
* Fix rare deadlock when using read/write locks (#16169) github/release-v1.91.0 release-v1.91.0Erik Johnston2023-08-231-0/+1
|
* Switch `devenv` dependency in the nix development environment to the latest ↵Andrew Morgan2023-08-231-0/+1
| | | | release (instead of the development branch) (#16063)
* Filter out unwanted user_agents from udv. (#16124)Neil Johnson2023-08-231-0/+1
|
* Fix rare deadlock when using read/write locks (#16133)Erik Johnston2023-08-231-0/+1
|
* Reduce DB contention on worker locks (#16160)Erik Johnston2023-08-231-0/+1
|
* Always update `retry_last_ts` (#16164)Erik Johnston2023-08-231-0/+1
|
* Task scheduler: mark task as active if we are scheduling ASAP (#16165)Mathieu Velten2023-08-231-0/+1
|
* Add tests for restoring the presence state after a restart. (#16151)Patrick Cloke2023-08-232-1/+2
|
* Properly update retry_last_ts when hitting the maximum retry interval (#16156)DeepBlueV7.X2023-08-231-0/+1
| | | | | | | | | | | | | | | | | | | | | * 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-231-0/+1
|
* Increase perf of read/write locks (#16149)Erik Johnston2023-08-231-0/+1
| | | We do this by marking the tables as `UNLOGGED` in PostgreSQL.
* Clean-up presence tests (#16158)Patrick Cloke2023-08-221-0/+1
| | | Reduce duplicated code & remove unused variables.
* Fix perf of `wait_for_stream_positions` (#16148)Erik Johnston2023-08-221-0/+1
|
* Disable `m.3pid_changes` capability when MSC3861 is enabled. (#16134)Mathieu Velten2023-08-222-1/+2
|
* Add an admin endpoint to allow authorizing server to signal token ↵Shay2023-08-221-0/+1
| | | | revocations (#16125)
* Fix user directory test for deactivated support user. (#16157)Patrick Cloke2023-08-221-0/+1
| | | | 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-221-0/+1
|
* Properly call setup_background_tasks in unit tests. (#16150)Patrick Cloke2023-08-221-0/+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-221-0/+1
|
* Add `client_secret_path` as alternative for `client_secret` for OIDC config ↵Maximilian Bosch2023-08-211-0/+1
| | | | (#16030)
* Implements a task scheduler for resumable potentially long running tasks ↵Mathieu Velten2023-08-211-0/+1
| | | | (#15891)
* Speed up state res in rare case we don't have all events (#16116)Erik Johnston2023-08-181-0/+1
| | | | | | | 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-181-0/+1
|
* Allow filtering for admins in the list accounts admin API (#16114)Alexander Fechler2023-08-181-0/+1
|
* Add response time metrics for introspection requests (#16131)Erik Johnston2023-08-181-0/+1
| | | See #16119
* Add cache to `get_server_keys_json_for_remote` (#16123)Erik Johnston2023-08-181-0/+1
|
* Cache token introspection response from OIDC provider (#16117)Shay2023-08-171-0/+1
|
* Fix database performance of read/write worker locks (#16061)Erik Johnston2023-08-171-0/+1
| | | | | | | 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-171-0/+1
|
* Disable caching in /sync corner case (#16080)Matthew Ma2023-08-171-0/+1
| | | Fixes #15502
* Rename pagination&purge locks and add comments explaining them (#16112)Mathieu Velten2023-08-161-0/+1
|
* Add link explaining ELK stack to structured_logging.md (#16091)axel simon2023-08-161-0/+1
|
* Attempt to fix twisted trunk (#16115)David Robertson2023-08-151-0/+1
|
* Run pyupgrade for python 3.7 & 3.8. (#16110)Patrick Cloke2023-08-151-0/+1
|
* Allow customizing IdP name and icon for SAML and CAS (#16094)Gabriel Rodríguez2023-08-111-0/+1
|
* Add linearizer on user ID to push rule PUT/DELETE requests (#16052)Nick Mills-Barrett2023-08-111-0/+1
| | | | | See: #16053 Signed off by Nick @ Beeper (@Fizzadar)
* Fix the type annotation on `run_db_interaction` in the Module API. (#16089)reivilibre2023-08-101-0/+1
| | | | | | | | | | | * 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-101-0/+1
| | | | | | | | 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-101-0/+1
|
* Support MSC3814: Dehydrated Devices Part 2 (#16010)Shay2023-08-081-0/+1
|
* 1.90.0rc1Erik Johnston2023-08-0827-28/+0
|
* Allow modules to schedule delayed background calls. (#15993)reivilibre2023-08-081-0/+1
| | | | | | | | | | | | | | | * 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-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-071-0/+1
|
* Drop backwards compat hack for event serialization (#16069)Shay2023-08-071-0/+1
|
* Add notes describing Synapse's streams (#16015)David Robertson2023-08-071-0/+1
| | | | Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
* Fix deletion for Dehydrated Devices (#16046)Shay2023-08-041-0/+1
|
* Stabilize support for MSC3970: updated transaction semantics (scope to ↵Patrick Cloke2023-08-041-0/+1
| | | | | | | `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-031-0/+1
| | | | configuration option (#16017)
* Allow config of the backoff algorithm for the federation client. (#15754)Mathieu Velten2023-08-031-0/+1
| | | | | | | | | | | 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-031-0/+1
| | | | background tasks. (#15991)
* Add forward-compatibility for the redacts property (MSC2174). (#16013)Patrick Cloke2023-08-021-0/+1
| | | | | | | | 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-021-0/+1
| | | | | | | * 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.
* Update `flake.lock` to fix running the nix developer environment on MacOS ↵Andrew Morgan2023-08-021-0/+1
| | | | (#16019)
* Update certifi to 2023.7.22 and pygments to 2.15.1. (#16044)Patrick Cloke2023-08-011-0/+1
|
* Properly setup the additional sequences in the portdb script. (#16043)Patrick Cloke2023-08-011-0/+1
| | | | | 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-011-0/+1
|
* Add metrics tracking for eviction to ResponseCache (#16028)Jason Little2023-08-011-0/+1
| | | | Track whether the ResponseCache is evicting due to invalidation or due to time.
* Combine duplicated code for calculating an event ID from a txn ID (#16023)Patrick Cloke2023-07-311-0/+1
| | | | Refactoring related to stabilization of MSC3970, refactor to combine code which has the same logic.
* Do not expose Admin API in caddy reverse proxy example (#16027)Nils2023-07-311-0/+1
| | | Signed-off-by: Nils ANDRÉ-CHANG <nils@nilsand.re>
* Add ability to wait for locks and add locks to purge history / room deletion ↵Erik Johnston2023-07-311-0/+1
| | | | | (#15791) c.f. #13476
* Clarify comment on key uploads over replication (#16016)Shay2023-07-271-0/+2
|
* Fix 404 on /profile when the display name is empty but not the avatar (#16012)Mathieu Velten2023-07-271-0/+1
|
* Update PyYAML to 6.0.1 (#16011)Mathieu Velten2023-07-271-0/+1
|
* Attempt to fix labelling in docker workflow (#16009)David Robertson2023-07-271-0/+1
|
* Remove support for legacy application service paths (#15964)Shay2023-07-261-0/+1
|
* Inline SQL queries using boolean parameters (#15525)Anshul Madnawat2023-07-261-0/+1
| | | | 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-261-0/+1
| | | | Co-authored-by: Mo Balaa <balaa@fractalnetworks.co>
* Remove changelog fileMathieu Velten2023-07-261-1/+0
|
* Bump DB version to 79 since synapse v1.88 was already there (#15998)Mathieu Velten2023-07-261-0/+1
|
* 1.89.0rc1Mathieu Velten2023-07-2530-30/+0
|
* Support MSC3814: Dehydrated Devices (#15929)Shay2023-07-241-0/+1
| | | | | | 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-241-0/+1
|
* Resync stale devices in background (#15975)Erik Johnston2023-07-241-0/+1
| | | | This is so we don't block responding to federation transaction while we try and fetch the device lists.
* Properly handle redactions of creation events (#15973)Shay2023-07-231-0/+1
|
* Actually stop reading from column `user_id` of tables `profiles` (#15955)Shay2023-07-231-0/+1
|
* Build packages for Debian Trixie (#15961)Shay2023-07-231-0/+1
|
* Speed up updating state in large rooms (#15971)Erik Johnston2023-07-201-0/+1
| | | 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-201-0/+1
| | | | | | | | | 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-201-0/+1
| | | Introduced in #15913
* Reduce the amount of state we pull out (#15968)Erik Johnston2023-07-201-0/+1
|
* Ensure a long state res does not starve CPU (#15960)Erik Johnston2023-07-191-0/+1
| | | We do this by yielding the reactor in hot loops.
* Fix bad merge of #15933 (#15958)Erik Johnston2023-07-191-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-191-0/+1
|
* Fix background schema updates failing over a large upgrade gap (#15887)Shay2023-07-181-0/+1
|
* Support room version 11 (#15912)Patrick Cloke2023-07-181-0/+1
| | | | | 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-181-0/+1
|
* Re-introduce the outbound federation proxy (#15913)Eric Eastwood2023-07-181-0/+1
| | | | | 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.
* Pin the rust version in `flake.nix`, and bump to 1.70.0 to fix installing ↵Andrew Morgan2023-07-171-0/+1
| | | | `ruff` (#15940)
* Document that you cannot login as yourself on ↵Will Hunt2023-07-141-0/+1
| | | | /_synapse/admin/v1/users/<user_id>/login (#15938)
* Stop accepting 'user' parameter for application service registration. (#15928)Patrick Cloke2023-07-131-0/+1
| | | This is unspecced, but has existed for a very long time.
* Remove unneeded __init__. (#15926)Patrick Cloke2023-07-121-0/+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-121-0/+1
|
* Fix push for invites received over federation (#15820)Erik Johnston2023-07-121-0/+1
|
* Mark get_user_in_directory private since only used in tests (#15884)Mathieu Velten2023-07-121-0/+1
|
* Make it more obvious which Python version runs on a given Linux distribution ↵Eric Eastwood2023-07-111-0/+1
| | | | | | | (#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-111-0/+1
| | | | | | | | | 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-111-0/+1
| | | | | | | | | | | | | **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-111-0/+1
| | | 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-111-0/+1
| | | | | | | | | 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-111-0/+1
|
* 1.88.0rc1David Robertson2023-07-1122-24/+0
|
* Add `Server` to Access-Control-Expose-Headers header (#15908)Michael Telatynski2023-07-111-0/+1
|
* Make the media `/upload` tracing less ambiguous (#15888)Eric Eastwood2023-07-101-0/+1
| | | | | | | | | | 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-101-0/+1
|
* Revert "Federation outbound proxy" (#15910)Eric Eastwood2023-07-101-1/+0
| | | | | | 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-101-0/+1
| | | We do this by marking the constraint as deferrable.
* Fix building rust with nightly (#15906)Erik Johnston2023-07-101-0/+1
| | | Also fix up a warning.
* Placeholder changelogEric Eastwood2023-07-101-0/+1
|
* Stop running sytest on buster/python3.7 (#15892)Shay2023-07-071-0/+1
|
* Stop writing to column `user_id` of tables `profiles` and `user_filters` ↵Shay2023-07-071-0/+1
| | | | (#15787)
* Remove `worker_replication_*` settings from worker doc (#15872)Dirk Klimpel2023-07-071-0/+1
| | | Co-authored-by: Mathieu Velten <mathieuv@matrix.org>
* Remove `worker_replication_*` deprecated settings, with helpful errors on ↵Jason Little2023-07-071-0/+1
| | | | | | startup (#15860) Co-authored-by: reivilibre <oliverw@matrix.org>
* Update link to the clients webpage, fix #15825 (#15874)sarthak shah2023-07-061-0/+1
|
* Federation outbound proxy (#15773)Eric Eastwood2023-07-051-0/+1
| | | | | | | 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-051-0/+1
| | | Fix https://github.com/matrix-org/synapse/issues/15836
* Add basic read/write lock (#15782)Erik Johnston2023-07-051-0/+1
|
* Add tracing to media `/upload` endpoint (#15850)Eric Eastwood2023-07-051-0/+1
| | | 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-051-0/+1
| | | Signed-off-by: Sumner Evans <sumner@beeper.com>
* Fix could not serialize access due to concurrent `DELETE` from ↵Jason Little2023-07-051-0/+1
| | | | | | | 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-051-0/+1
|
* use Image.LANCZOS instead of Image.ANTIALIAS for thumbnail resize (#15876)an0nfunc2023-07-051-0/+1
| | | | | 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-041-0/+1
| | | Signed-off-by: Michael Weimann <michaelw@element.io>
* Merge branch 'master' into developOlivier Wilkinson (reivilibre)2023-07-041-1/+0
|\
| * 1.87.0Olivier Wilkinson (reivilibre)2023-07-042-4/+0
| |
| * Pin `pydantic` to <2.0.0 (#15862)Paarth Shah2023-07-041-0/+3
| | | | | | Signed-off-by: Paarth Shah <mail@shahpaarth.com>
* | Pin `pydantic` to <2.0.0 (#15862)Paarth Shah2023-07-041-0/+3
| | | | | | Signed-off-by: Paarth Shah <mail@shahpaarth.com>
* | devices: use combined ANY clause for faster cleanup (#15861)pacien2023-07-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Old device entries for the same user were being removed in individual SQL commands, making the batch take way longer than necessary. This combines the commands into a single one with a IN/ANY clause. Example of log entry before the change, regularly observed with "log_min_duration_statement = 10000" in PostgreSQL's config: LOG: duration: 42538.282 ms statement: DELETE FROM device_lists_stream WHERE user_id = '@someone' AND device_id = 'someid1' AND stream_id < 123456789 ; DELETE FROM device_lists_stream WHERE user_id = '@someone' AND device_id = 'someid2' AND stream_id < 123456789 ; [repeated for each device ID of that user, potentially a lot...] With the patch applied on my instance for the past couple of days, I no longer notice overly long statements of that particular kind. Signed-off-by: pacien <pacien.trangirard@pacien.net>
* | Fix the `devenv up` configuration which was ignoring the config overrides. ↵reivilibre2023-07-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#15854) * Fix use of config override directory in `devenv up` `--config-directory` is for the generate config script; `-c` is for usage * Add homeserver config override directory to gitignore * Newsfile Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org> --------- Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>
* | Add a timeout that aborts any Postgres statement taking more than 1 hour. ↵reivilibre2023-07-031-0/+1
|/ | | | | | | | | | | | | (#15853) * Add a timeout to Postgres statements * Newsfile Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org> --------- Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>
* Split out 2022 changes from the changelog (#15846)Eric Eastwood2023-06-281-0/+1
| | | Split out 2022 changes from the changelog so the rendered version in GitHub doesn't timeout as much.
* Prepare changelog for v1.87.0rc1Eric Eastwood2023-06-2721-21/+0
|
* Fix sqlite `user_filters` upgrade (#15817)Shay2023-06-271-0/+1
|
* Add login spam checker API (#15838)Erik Johnston2023-06-261-0/+1
|
* Fix forgotten rooms missing in initial sync (#15815)Nicolas Werner2023-06-211-0/+1
| | | | | | | | If you leave a room and forget it, then rejoin it, the room would be missing from the next initial sync. fixes #13262 Signed-off-by: Nicolas Werner <n.werner@famedly.com>
* Fix harmless exception in port DB script (#15814)Erik Johnston2023-06-211-0/+1
| | | | | | | The port DB script would try and run database background tasks, which could fail if the data they acted on was in the process of being ported. These exceptions were non fatal. Fixes #15789
* Fix typo in faster join docs (#15812)Erik Johnston2023-06-211-0/+1
| | | Fixes #15756
* Allow for the configuration of max request retries and min/max retry delays ↵Mathieu Velten2023-06-211-0/+1
| | | | in the matrix federation client (#15783)
* Fix Sytest environmental variable evaluation in CI (#15804)Shay2023-06-201-0/+1
|
* Fix admin api documentation typo (#15805)ew-at-vier2023-06-201-0/+1
| | | | | * Fix admin api documentation typo Signed-off-by: Eric Wolf <eric.wolf@vier.ai>
* Switch from `matrix://` to `matrix-federation://` scheme for internal ↵Eric Eastwood2023-06-201-0/+1
| | | | | | | Synapse routing of outbound federation traffic (#15806) `matrix://` is a registered specced scheme nowadays and doesn't make sense for our internal to Synapse use case anymore. ([discussion] (https://github.com/matrix-org/synapse/pull/15773#discussion_r1227598679))