summary refs log tree commit diff
path: root/changelog.d/7678.misc (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-10-23Force TLS certificate verification in registration script. (#16530)Denis Kasak2-2/+3
If using the script remotely, there's no particularly convincing reason to disable certificate verification, as this makes the connection interceptible. If on the other hand, the script is used locally (the most common use case), you can simply target the HTTP listener and avoid TLS altogether. This is what the script already attempts to do if passed a homeserver configuration YAML file.
2023-10-23Remove the last reference to event_txn_id. (#16521)Patrick Cloke3-7/+5
This table was no longer used, except for a background process which purged old entries in it.
2023-10-23Bump matrix-synapse-ldap3 from 0.2.2 to 0.3.0 (#16539)David Robertson2-4/+5
2023-10-23Bump black from 23.9.1 to 23.10.0 (#16538)dependabot[bot]1-23/+19
Bumps [black](https://github.com/psf/black) from 23.9.1 to 23.10.0. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/compare/23.9.1...23.10.0) --- updated-dependencies: - dependency-name: black 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>
2023-10-23Bump types-requests from 2.31.0.2 to 2.31.0.10 (#16537)dependabot[bot]1-23/+13
Bumps [types-requests](https://github.com/python/typeshed) from 2.31.0.2 to 2.31.0.10. - [Commits](https://github.com/python/typeshed/commits) --- updated-dependencies: - dependency-name: types-requests dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-23Bump gitpython from 3.1.37 to 3.1.40 (#16534)dependabot[bot]1-4/+4
Bumps [gitpython](https://github.com/gitpython-developers/GitPython) from 3.1.37 to 3.1.40. - [Release notes](https://github.com/gitpython-developers/GitPython/releases) - [Changelog](https://github.com/gitpython-developers/GitPython/blob/main/CHANGES) - [Commits](https://github.com/gitpython-developers/GitPython/compare/3.1.37...3.1.40) --- updated-dependencies: - dependency-name: gitpython dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-23Bump types-pillow from 10.0.0.3 to 10.1.0.0 (#16536)dependabot[bot]1-4/+4
Bumps [types-pillow](https://github.com/python/typeshed) from 10.0.0.3 to 10.1.0.0. - [Commits](https://github.com/python/typeshed/commits) --- updated-dependencies: - dependency-name: types-pillow 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>
2023-10-23Bump pygithub from 1.59.1 to 2.1.1 (#16535)dependabot[bot]1-5/+8
Bumps [pygithub](https://github.com/pygithub/pygithub) from 1.59.1 to 2.1.1. - [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.59.1...v2.1.1) --- updated-dependencies: - dependency-name: pygithub dependency-type: direct:development 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>
2023-10-20Clarify presence router docs. (#16529)Patrick Cloke2-3/+12
2023-10-19Mark sync as limited if there is a gap in the timeline (#16485)Erik Johnston5-33/+166
This splits thinsg into two queries, but most of the time we won't have new event backwards extremities so this shouldn't actually add an extra RTT for the majority of cases. Note this removes the check for events with no prev events, but that was part of MSC2716 work that has since been removed.
2023-10-18Avoid sending massive replication updates when purging a room. (#16510)Patrick Cloke4-30/+115
2023-10-18Improve performance of delete device messages query (#16492)Mathieu Velten3-7/+11
2023-10-18Run trial/integration tests if .ci is modified. (#16512)Patrick Cloke2-0/+7
2023-10-18Bump urllib3 from 1.26.17 to 1.26.18 (#16516)dependabot[bot]1-3/+3
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-17Test against Python 3.12 release (#16511)Patrick Cloke2-2/+3
2023-10-17Update the changelog. v1.95.0rc1Patrick Cloke1-2/+2
2023-10-171.95.0rc1Patrick Cloke33-31/+55
2023-10-17Convert DeviceLastConnectionInfo to attrs. (#16507)Patrick Cloke4-103/+104
To improve type safety & memory usage.
2023-10-17Fix a bug where servers could be marked as up when they were failing (#16506)Patrick Cloke3-13/+93
After this change a server will only be reported as back online if they were previously having requests fail.
2023-10-16Documentation.Patrick Cloke1-7/+24
2023-10-16Update the release script to remind releaser to check for special release ↵reivilibre2-0/+5
notes. (#16461) * Add reminder to check special release notes board in release script * Newsfile Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org> * Update release.py * Bah, black --------- Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>
2023-10-16Convert state delta processing from a dict to attrs. (#16469)Patrick Cloke8-109/+111
For improved type checking & memory usage.
2023-10-16Bump pillow from 10.0.1 to 10.1.0 (#16498)dependabot[bot]1-55/+55
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-16Bump serde from 1.0.188 to 1.0.189 (#16494)dependabot[bot]1-4/+4
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.188 to 1.0.189. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.188...v1.0.189) --- 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>
2023-10-16Bump sentry-sdk from 1.31.0 to 1.32.0 (#16496)dependabot[bot]1-3/+3
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 1.31.0 to 1.32.0. - [Release notes](https://github.com/getsentry/sentry-python/releases) - [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-python/compare/1.31.0...1.32.0) --- updated-dependencies: - dependency-name: sentry-sdk dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-16Remove useless async job to delete device messages on sync (#16491)Mathieu Velten3-24/+4
2023-10-16Bump jsonschema from 4.19.0 to 4.19.1 (#16500)dependabot[bot]1-3/+3
Bumps [jsonschema](https://github.com/python-jsonschema/jsonschema) from 4.19.0 to 4.19.1. - [Release notes](https://github.com/python-jsonschema/jsonschema/releases) - [Changelog](https://github.com/python-jsonschema/jsonschema/blob/main/CHANGELOG.rst) - [Commits](https://github.com/python-jsonschema/jsonschema/compare/v4.19.0...v4.19.1) --- updated-dependencies: - dependency-name: jsonschema 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>
2023-10-16Bump types-jsonschema from 4.17.0.10 to 4.19.0.3 (#16499)dependabot[bot]1-4/+7
Bumps [types-jsonschema](https://github.com/python/typeshed) from 4.17.0.10 to 4.19.0.3. - [Commits](https://github.com/python/typeshed/commits) --- updated-dependencies: - dependency-name: types-jsonschema 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>
2023-10-16Bump packaging from 23.1 to 23.2 (#16497)dependabot[bot]1-3/+14
Bumps [packaging](https://github.com/pypa/packaging) from 23.1 to 23.2. - [Release notes](https://github.com/pypa/packaging/releases) - [Changelog](https://github.com/pypa/packaging/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pypa/packaging/compare/23.1...23.2) --- updated-dependencies: - dependency-name: packaging dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-16Bump pyo3-log from 0.8.3 to 0.8.4 (#16495)dependabot[bot]1-2/+2
Bumps [pyo3-log](https://github.com/vorner/pyo3-log) from 0.8.3 to 0.8.4. - [Changelog](https://github.com/vorner/pyo3-log/blob/main/CHANGELOG.md) - [Commits](https://github.com/vorner/pyo3-log/compare/v0.8.3...v0.8.4) --- updated-dependencies: - dependency-name: pyo3-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>
2023-10-14Clean up logging on event persister endpoints (#16488)Richard van der Hoff3-6/+14
2023-10-12Fix typo in useful_sql_for_admins.md (#16477)Laurence Gill2-1/+2
2023-10-12Revert "Drop unused tables & unneeded access token ID for events. (#16268)" ↵Patrick Cloke4-29/+8
(#16465) This reverts commit cabd57746004fe2dacc11aa8d373854a3d25e306. There are additional usages of these tables which need to be removed first.
2023-10-12Update complement.sh to match new public API shape (#16466)kegsay3-2/+4
* Update complement.sh to match new public API shape Sister PR to https://github.com/matrix-org/complement/pull/666 Context: https://github.com/matrix-org/complement/issues/654#issuecomment-1746613495 * Changelog * Pedantry * Run complement plz
2023-10-11Convert user_get_threepids response to attrs. (#16468)Patrick Cloke9-18/+31
This improves type annotations by not having a dictionary of Any values.
2023-10-11Convert simple_select_many_batch, simple_select_many_txn to tuples. (#16444)Patrick Cloke23-442/+640
2023-10-11Handle content types with parameters. (#16440)Patrick Cloke3-2/+22
2023-10-10Inline simple_search_list/simple_search_list_txn. (#16434)Patrick Cloke4-73/+49
This only has a single use and is over abstracted. Inline it so that we can improve type hints.
2023-10-10Add CVE number for advisory GHSA-5chr-wjw5-3gq4.Patrick Cloke1-1/+1
2023-10-10Add security advisory note to the changelogOlivier Wilkinson (reivilibre)1-0/+13
2023-10-101.94.0 v1.94.0Olivier Wilkinson (reivilibre)3-1/+12
2023-10-10Add DB indices to speed up purging rooms (#16457)David Robertson4-0/+35
2023-10-09Disable statement timeout whilst purging rooms (#16455)reivilibre2-0/+6
* Disable statement timeout whilst purging rooms * Newsfile Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org> * Note the introduction version --------- Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>
2023-10-09Don't block CI on sign-off (#16454)Erik Johnston2-1/+1
As this doesn't work with the private sign off flow.
2023-10-09Bump ruff from 0.0.290 to 0.0.292 (#16449)dependabot[bot]7-28/+20
* Bump ruff from 0.0.290 to 0.0.292 Bumps [ruff](https://github.com/astral-sh/ruff) from 0.0.290 to 0.0.292. - [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.290...v0.0.292) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Fix up lint --------- 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>
2023-10-09Bump netaddr from 0.8.0 to 0.9.0 (#16453)dependabot[bot]1-3/+3
Bumps [netaddr](https://github.com/drkjam/netaddr) from 0.8.0 to 0.9.0. - [Release notes](https://github.com/drkjam/netaddr/releases) - [Changelog](https://github.com/netaddr/netaddr/blob/master/CHANGELOG) - [Commits](https://github.com/drkjam/netaddr/compare/0.8.0...0.9.0) --- updated-dependencies: - dependency-name: netaddr dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-09Bump psycopg2 from 2.9.8 to 2.9.9 (#16452)dependabot[bot]1-13/+13
Bumps [psycopg2](https://github.com/psycopg/psycopg2) from 2.9.8 to 2.9.9. - [Changelog](https://github.com/psycopg/psycopg2/blob/master/NEWS) - [Commits](https://github.com/psycopg/psycopg2/compare/2.9.8...2.9.9) --- updated-dependencies: - dependency-name: psycopg2 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>
2023-10-09Bump bleach from 6.0.0 to 6.1.0 (#16451)dependabot[bot]1-5/+5
Bumps [bleach](https://github.com/mozilla/bleach) from 6.0.0 to 6.1.0. - [Changelog](https://github.com/mozilla/bleach/blob/main/CHANGES) - [Commits](https://github.com/mozilla/bleach/compare/v6.0.0...v6.1.0) --- updated-dependencies: - dependency-name: bleach dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-09Bump types-bleach from 6.0.0.4 to 6.1.0.0 (#16450)dependabot[bot]1-4/+4
Bumps [types-bleach](https://github.com/python/typeshed) from 6.0.0.4 to 6.1.0.0. - [Commits](https://github.com/python/typeshed/commits) --- updated-dependencies: - dependency-name: types-bleach 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>
2023-10-09Fix possible AttributeError when account-api is called over unix socket (#16404)Christoph2-1/+2
Fixes #16396
2023-10-06Apply join rate limiter outside the lineariser (#16441)David Robertson3-20/+48
2023-10-06Convert simple_select_list_paginate_txn to return tuples. (#16433)Patrick Cloke7-39/+67
2023-10-06Return ThumbnailInfo in more places (#16438)Patrick Cloke6-80/+90
Improves type hints by using concrete types instead of dictionaries.
2023-10-06Drop unused tables & unneeded access token ID for events. (#16268)Patrick Cloke4-8/+29
Drop the event_txn_id table and the tables related to MSC2716, which is no longer supported in Synapse.
2023-10-06Stop sending incorrect knock_state_events. (#16403)Patrick Cloke6-23/+8
Synapse was incorrectly implemented with a knock_state_events property on some APIs (instead of knock_room_state). This was correct in Synapse 1.70.0, but *both* fields were sent to also be compatible with Synapse versions expecting the wrong field. Enough time has passed that only the correct field needs to be included/handled.
2023-10-06Fix comments related to replication. (#16428)Patrick Cloke3-3/+2
2023-10-06Add documentation on background updates. (#16420)Patrick Cloke2-0/+62
2023-10-06Register media servlets via regex. (#16419)Patrick Cloke20-337/+297
This converts the media servlet URLs in the same way as (most) of the rest of Synapse. This will give more flexibility in the versions each endpoint exists under.
2023-10-06Bump pyo3 from 0.17.1 to 0.19.2 (#16162)V024604-17/+29
Signed-off-by: Kai A. Hiller <V02460@gmail.com>
2023-10-05Remove unused method. (#16435)Patrick Cloke2-20/+1
2023-10-05Remove manys calls to cursor_to_dict (#16431)Patrick Cloke16-228/+320
This avoids calling cursor_to_dict and then immediately unpacking the values in the dict for other users. By not creating the intermediate dictionary we can avoid allocating the dictionary and strings for the keys, which should generally be more performant. Additionally this improves type hints by avoid Dict[str, Any] dictionaries coming out of the database layer.
2023-10-05Add __slots__ to replication commands. (#16429)Patrick Cloke2-1/+27
To slightly reduce the amount of memory each command takes.
2023-10-05Factor out `MultiWriter` token from `RoomStreamToken` (#16427)Erik Johnston9-61/+115
2023-10-04Add type hints to synmark. (#16421)Patrick Cloke7-48/+90
2023-10-04Some refactors around receipts stream (#16426)Erik Johnston16-80/+111
2023-10-03Update changelog v1.94.0rc1David Robertson1-2/+2
2023-10-031.94.0rc1David Robertson27-25/+59
2023-10-03Bump urllib3 from 1.26.15 to 1.26.17 (#16422)dependabot[bot]1-4/+4
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-03Add note to 'federation_domain_whitelist' option (#16416)Erik Johnston2-0/+6
2023-10-02Clean-up old release notes (#16418)Patrick Cloke3-134/+136
Fixes some broken formatting from the reStructuedText to Markdown conversion and fixes some typos.
2023-10-02mypy plugin to check `@cached` return types (#14911)David Robertson8-59/+324
Co-authored-by: David Robertson <davidr@element.io> Co-authored-by: Patrick Cloke <patrickc@matrix.org> Co-authored-by: Erik Johnston <erik@matrix.org> Assert that the return type of callables wrapped in @cached and @cachedList are cachable (aka immutable).
2023-10-02Remove Python version from `/_synapse/admin/v1/server_version` (#16380)MomentQYC4-12/+9
There's no reason to expose the full Python version over what is frequently a public API.
2023-10-02Bump phonenumbers from 8.13.19 to 8.13.22 (#16413)dependabot[bot]1-3/+3
2023-10-02Bump msgpack from 1.0.6 to 1.0.7 (#16412)dependabot[bot]1-57/+57
2023-10-02Bump types-netaddr from 0.8.0.9 to 0.9.0.1 (#16411)dependabot[bot]1-3/+3
2023-10-02Bump pydantic from 2.3.0 to 2.4.2 (#16410)dependabot[bot]1-111/+111
2023-10-02Bump psycopg2 from 2.9.7 to 2.9.8 (#16409)dependabot[bot]1-12/+22
2023-10-02Bump regex from 1.9.5 to 1.9.6 (#16408)dependabot[bot]1-4/+4
2023-09-29Downgrade repl stream time out error to warning (#16401)Erik Johnston2-1/+2
This is because if a worker reaches ~100% CPU then everything starts lagging and we hit the log line a lot. When at error we invoke sentry and that has a lot of overhead, which then puts even more pressure on the worker.
2023-09-29