Olivier Wilkinson (reivilibre)
69699a9bd1
1.88.0
10 miesięcy temu
Shay
e625c3dca0
Revert "Stop writing to column `user_id` of tables `profiles` and `user_filters`. ( #15953 )
* Revert "Stop writing to column `user_id` of tables `profiles` and `user_filters` (#15787 )"
This reverts commit f25b0f8808
.
* newsfragement
10 miesięcy temu
David Robertson
92014fbf72
Don't build wheels for Python 3.7 ( #15917 )
* Don't build wheels for CPython or PyPy 3.7
* Update pyproject.toml comments
* Manually update the changelog
10 miesięcy temu
David Robertson
4ccfa16081
Call out upgrade notes in README
10 miesięcy temu
David Robertson
7c7bd9898b
1.88.0rc1
10 miesięcy temu
Michael Telatynski
b516d91999
Add `Server` to Access-Control-Expose-Headers header ( #15908 )
10 miesięcy temu
Eric Eastwood
2328e90fbb
Make the media `/upload` tracing less ambiguous ( #15888 )
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
10 miesięcy temu
Shay
5e82b07d2c
Drop debian buster ( #15893 )
10 miesięcy temu
Eric Eastwood
c9bf644fa0
Revert "Federation outbound proxy" ( #15910 )
Revert "Federation outbound proxy (#15773 )"
This reverts commit b07b14b494
.
10 miesięcy temu
Eric Eastwood
a704a35dd7
Revert "Placeholder changelog"
This reverts commit 6e731e86bf
.
10 miesięcy temu
Erik Johnston
e55a9b3e41
Fix downgrading to previous version of Synapse ( #15907 )
We do this by marking the constraint as deferrable.
10 miesięcy temu
Erik Johnston
6774f265b4
Fix building rust with nightly ( #15906 )
Also fix up a warning.
10 miesięcy temu
Eric Eastwood
6e731e86bf
Placeholder changelog
10 miesięcy temu
dependabot[bot]
c971698bff
Bump regex from 1.8.4 to 1.9.1 ( #15902 )
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>
10 miesięcy temu
dependabot[bot]
7477f43fd8
Bump serde_json from 1.0.99 to 1.0.100 ( #15901 )
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>
10 miesięcy temu
dependabot[bot]
3710fea19d
Bump ruff from 0.0.275 to 0.0.277 ( #15900 )
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>
10 miesięcy temu
dependabot[bot]
df8c8a4f45
Bump lxml from 4.9.2 to 4.9.3 ( #15897 )
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>
10 miesięcy temu
Shay
8a529e4fb6
Stop running sytest on buster/python3.7 ( #15892 )
10 miesięcy temu
Shay
f25b0f8808
Stop writing to column `user_id` of tables `profiles` and `user_filters` ( #15787 )
10 miesięcy temu
Dirk Klimpel
677272caed
Remove `worker_replication_*` settings from worker doc ( #15872 )
Co-authored-by: Mathieu Velten <mathieuv@matrix.org>
10 miesięcy temu
Jason Little
2481b7dfa4
Remove `worker_replication_*` deprecated settings, with helpful errors on startup ( #15860 )
Co-authored-by: reivilibre <oliverw@matrix.org>
10 miesięcy temu
sarthak shah
f19dd39dfc
Update link to the clients webpage, fix #15825 ( #15874 )
10 miesięcy temu
Eric Eastwood
b07b14b494
Federation outbound proxy ( #15773 )
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.
10 miesięcy temu
Eric Eastwood
561d06b481
Remove support for Python 3.7 ( #15851 )
Fix https://github.com/matrix-org/synapse/issues/15836
10 miesięcy temu
Erik Johnston
39d131b016
Add basic read/write lock ( #15782 )
10 miesięcy temu
Eric Eastwood
ce857c05d5
Add tracing to media `/upload` endpoint ( #15850 )
Add tracing instrumentation to media `/upload` code paths to investigate https://github.com/matrix-org/synapse/issues/15841
10 miesięcy temu
Sumner Evans
cc780b3f77
docs/admin_api: fix header level on 'Users' page ( #15852 )
Signed-off-by: Sumner Evans <sumner@beeper.com>
10 miesięcy temu
Jason Little
4cf9f92f39
Fix could not serialize access due to concurrent `DELETE` from presence_stream ( #15826 )
* Change update_presence to have a isolation level of READ_COMMITTED
* changelog
10 miesięcy temu
Erik Johnston
95a96b21eb
Add foreign key constraint to `event_forward_extremities`. ( #15751 )
10 miesięcy temu
an0nfunc
c303eca8cc
use Image.LANCZOS instead of Image.ANTIALIAS for thumbnail resize ( #15876 )
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>
10 miesięcy temu
Michael Weimann
c8e81898b6
Add not_user_type param to the list accounts admin API ( #15844 )
Signed-off-by: Michael Weimann <michaelw@element.io>
10 miesięcy temu
Olivier Wilkinson (reivilibre)
861752b3aa
Merge branch 'master' into develop
10 miesięcy temu
Olivier Wilkinson (reivilibre)
1294d10c70
Add notes about Python 3.7 EOL
10 miesięcy temu
Olivier Wilkinson (reivilibre)
718d7dfef2
Move warning up to the top
10 miesięcy temu
Olivier Wilkinson (reivilibre)
664ba14080
1.87.0
10 miesięcy temu
Paarth Shah
649848627c
Pin `pydantic` to <2.0.0 ( #15862 )
Signed-off-by: Paarth Shah <mail@shahpaarth.com>
10 miesięcy temu
Paarth Shah
670d590f8a
Pin `pydantic` to <2.0.0 ( #15862 )
Signed-off-by: Paarth Shah <mail@shahpaarth.com>
10 miesięcy temu
pacien
07d7cbfe69
devices: use combined ANY clause for faster cleanup ( #15861 )
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>
10 miesięcy temu
reivilibre
cd8b73aa97
Fix the `devenv up` configuration which was ignoring the config overrides. ( #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>
10 miesięcy temu
reivilibre
53aa26eddc
Add a timeout that aborts any Postgres statement taking more than 1 hour. ( #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>
10 miesięcy temu
dependabot[bot]
a587de96b8
Bump sentry-sdk from 1.25.1 to 1.26.0 ( #15867 )
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python ) from 1.25.1 to 1.26.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.25.1...1.26.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>
10 miesięcy temu
dependabot[bot]
411ba44790
Bump types-pyopenssl from 23.2.0.0 to 23.2.0.1 ( #15866 )
Bumps [types-pyopenssl](https://github.com/python/typeshed ) from 23.2.0.0 to 23.2.0.1.
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-pyopenssl
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>
10 miesięcy temu
dependabot[bot]
aea94ca8cd
Bump importlib-metadata from 6.6.0 to 6.7.0 ( #15865 )
Bumps [importlib-metadata](https://github.com/python/importlib_metadata ) from 6.6.0 to 6.7.0.
- [Release notes](https://github.com/python/importlib_metadata/releases )
- [Changelog](https://github.com/python/importlib_metadata/blob/main/NEWS.rst )
- [Commits](https://github.com/python/importlib_metadata/compare/v6.6.0...v6.7.0 )
---
updated-dependencies:
- dependency-name: importlib-metadata
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
10 miesięcy temu
dependabot[bot]
9345361c6b
Bump authlib from 1.2.0 to 1.2.1 ( #15864 )
Bumps [authlib](https://github.com/lepture/authlib ) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/lepture/authlib/releases )
- [Changelog](https://github.com/lepture/authlib/blob/master/docs/changelog.rst )
- [Commits](https://github.com/lepture/authlib/compare/v1.2.0...v1.2.1 )
---
updated-dependencies:
- dependency-name: authlib
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>
10 miesięcy temu
Eric Eastwood
13fc89148c
Split out 2022 changes from the changelog ( #15846 )
Split out 2022 changes from the changelog so the rendered version in GitHub doesn't timeout as much.
10 miesięcy temu
Eric Eastwood
10ed3e233e
Note last release with Python 3.7 support
See https://github.com/matrix-org/synapse/issues/15836
10 miesięcy temu
Eric Eastwood
472c2c72f6
Prepare changelog for v1.87.0rc1
10 miesięcy temu
Shay
78cfa55dad
Fix sqlite `user_filters` upgrade ( #15817 )
10 miesięcy temu
dependabot[bot]
14c1bfd534
Bump serde_json from 1.0.97 to 1.0.99 ( #15832 )
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.97 to 1.0.99.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.97...v1.0.99 )
---
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>
10 miesięcy temu
dependabot[bot]
70dc44f667
Bump towncrier from 22.12.0 to 23.6.0 ( #15831 )
Bumps [towncrier](https://github.com/twisted/towncrier ) from 22.12.0 to 23.6.0.
- [Release notes](https://github.com/twisted/towncrier/releases )
- [Changelog](https://github.com/twisted/towncrier/blob/trunk/NEWS.rst )
- [Commits](https://github.com/twisted/towncrier/compare/22.12.0...23.6.0 )
---
updated-dependencies:
- dependency-name: towncrier
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>
10 miesięcy temu