David Robertson
b88cfe6d41
Require poetry>=1.3.2 ( #14860 )
* Upgrade to new lockfile format
Now requires poetry >= 1.2.2 to read and poetry >= 1.3.0 to write.
Cheat sheet:
```
poetry --version
poetry show > scratch/before
pipx upgrade poetry
poetry --version
poetry show > scratch/after
diff scratch{before,after} && echo "no change!"
```
* Use Poetry 1.3.2 when reading or writing lockfile
* Remove unneeded(?) poetry dep for cibuildwheel
* Update docs
* Remove redundant call to setup-python
* Remove outdated comments related to Poetry 1.x
* Remove outdated docs line
was fixed in #13082
* Minor improvements to poetry cheat sheet
* Invoke setup-python-poetry with explicit version
Not sure about this. It's hardcoding versions everywhere.
* Changelog
* Check the lockfile is version 2.0
Might one day incorporate other checks like #14742
* Typo fixes, thanks Sean
Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com>
Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com>
pirms 1 gada
Erik Johnston
2b084c5b71
Merge device list replication streams ( #14833 )
pirms 1 gada
Erik Johnston
73ff493dfb
Merge account data streams ( #14826 )
pirms 1 gada
David Robertson
c0145b06f5
Fix upgrade notes for installing ICU ( #14797 )
* Fix upgrade notes for installing ICU
As noticed in https://github.com/matrix-org/synapse/pull/14712/files#r1058433297
* Changelog
pirms 1 gada
reivilibre
4eb2f4e02b
Fix broken links in the Synapse documentation. ( #14744 )
* Fix stale external links
* Fix some internal links
* Fix URLs without trailing / where needed
* Fix more links
* Newsfile
Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>
* Reapply docs/openid.md fix after conflict
Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>
pirms 1 gada
Mathieu Velten
eb2defc2f7
Add release note and update doc regarding ICU ( #14712 )
Fixes #14704 .
Signed-off-by: Mathieu Velten <mathieuv@matrix.org>
pirms 1 gada
reivilibre
9af2be192a
Remove legacy Prometheus metrics names. They were deprecated in Synapse v1.69.0 and disabled by default in Synapse v1.71.0. ( #14538 )
pirms 1 gada
Sean Quah
a5fcdea090
Remove support for PostgreSQL 10 ( #14392 )
Signed-off-by: Sean Quah <seanq@matrix.org>
pirms 1 gada
reivilibre
6546308c1e
Disable legacy Prometheus metric names by default. They can still be re-enabled for now, but they will be removed altogether in Synapse 1.73.0. ( #14353 )
pirms 1 gada
Eric Eastwood
aa70556699
Check appservice user interest against the local users instead of all users (`get_users_in_room` mis-use) ( #13958 )
pirms 1 gada
Quentin Gliech
8756d5c87e
Save login tokens in database ( #13844 )
* Save login tokens in database
Signed-off-by: Quentin Gliech <quenting@element.io>
* Add upgrade notes
* Track login token reuse in a Prometheus metric
Signed-off-by: Quentin Gliech <quenting@element.io>
pirms 1 gada
Quentin Gliech
79c592cec6
Deprecate the `generate_short_term_login_token` method in favor of an async `create_login_token` method in the Module API. ( #13842 )
Signed-off-by: Quentin Gliech <quenting@element.io>
Co-authored-by: Brendan Abolivier <babolivier@matrix.org>
pirms 1 gada
reivilibre
b381701f8c
Announce that legacy metric names are deprecated, will be turned off by default in Synapse v1.71.0 and removed altogether in Synapse v1.73.0. ( #14024 )
pirms 1 gada
Patrick Cloke
d768c50c0e
Add upgrade notes for changes to receipts replication. ( #13932 )
pirms 1 gada
David Robertson
9bd442e202
Update upgrade notes ( #13923 )
* Update upgrade notes
* Synapse Synapse Synapse Synapse
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
pirms 1 gada
David Robertson
3853011d01
Clarify who isn't affected by rust
pirms 1 gada
David Robertson
3fe2b7f122
tweak upgrade notes
pirms 1 gada
Olivier Wilkinson (reivilibre)
bffb71b04a
Edit changelog in response to feedback
pirms 1 gada
David Robertson
a7c71686ca
Add minimum version bump for sqlite to the release notes ( #13742 )
* Notify that SQLite min version will be bumped
* Mention in upgrade notes
Co-authored-by: reivilibre <oliverw@matrix.org>
pirms 1 gada
Erik Johnston
571f565c1f
Update changelog
pirms 1 gada
Patrick Cloke
32fc3b7ba4
Remove configuration options for direct TCP replication. ( #13647 )
Removes the ability to configure legacy direct TCP replication. Workers now require Redis to run.
pirms 1 gada
Erik Johnston
4fee4a339d
Update lock file for Poetry v1.2.0 ( #13689 )
pirms 1 gada
Sean Quah
90c99fb3aa
Fix dead link in 1.18.0 upgrade notes
pirms 1 gada
David Robertson
956e015413
Drop support for delegating email validation, round 2 ( #13596 )
pirms 1 gada
Olivier Wilkinson (reivilibre)
cb209638ea
Add upgrade notes
pirms 1 gada
3nprob
98fb610cc0
Revert "Drop support for delegating email validation ( #13192 )" ( #13406 )
Reverts commit fa71bb18b527d1a3e2629b48640ea67fff2f8c59, and tweaks documentation.
Signed-off-by: 3nprob <git@3n.anonaddy.com>
pirms 1 gada
Sean Quah
0fa41a7b17
Update locked frozendict version to 2.3.3 ( #13352 )
frozendict 2.3.3 includes fixes for memory leaks that get triggered during `/sync`.
pirms 1 gada
David Robertson
b977867358
Rate limit joins per-room ( #13276 )
pirms 1 gada
Richard van der Hoff
fa71bb18b5
Drop support for delegating email validation ( #13192 )
* Drop support for delegating email validation
Delegating email validation to an IS is insecure (since it allows the owner of
the IS to do a password reset on your HS), and has long been deprecated. It
will now cause a config error at startup.
* Update unit test which checks for email verification
Give it an `email` config instead of a threepid delegate
* Remove unused method `requestEmailToken`
* Simplify config handling for email verification
Rather than an enum and a boolean, all we need here is a single bool, which
says whether we are or are not doing email verification.
* update docs
* changelog
* upgrade.md: fix typo
* update version number
this will be in 1.64, not 1.63
* update version number
this one too
pirms 1 gada
Erik Johnston
b8bf61230c
Fixup upgrades
pirms 1 gada
Sami Olmari
7b54badd31
Mention removed community/group worker endpoints in upgrade.md ( #13023 )
pirms 1 gada
Sami Olmari
a542a92c57
Mention removed community/group worker endpoints in upgrade.md ( #13023 )
pirms 1 gada
David Teller
a164a46038
Uniformize spam-checker API, part 4: port other spam-checker callbacks to return `Union[Allow, Codes]`. ( #12857 )
Co-authored-by: Brendan Abolivier <babolivier@matrix.org>
pirms 1 gada
Brendan Abolivier
8fd87739bf
Fix import in module_api module and docs on the new check_event_for_spam signature ( #12918 )
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
pirms 1 gada
David Teller
28199e9357
Uniformize spam-checker API, part 2: check_event_for_spam ( #12808 )
Signed-off-by: David Teller <davidt@element.io>
pirms 2 gadiem
reivilibre
66a5f6c400
Add a unique index to `state_group_edges` to prevent duplicates being accidentally introduced and the consequential impact to performance. ( #12687 )
pirms 2 gadiem
reivilibre
699192fc1a
Add the `update_user_directory_from_worker` configuration option (superseding `update_user_directory`) to allow a generic worker to be designated as the worker to update the user directory. ( #12654 )
Co-authored-by: Shay <hillerys@element.io>
pirms 2 gadiem
reivilibre
c2d50e9f6c
Add the `notify_appservices_from_worker` configuration option (superseding `notify_appservices`) to allow a generic worker to be designated as the worker to send traffic to Application Services. ( #12452 )
pirms 2 gadiem
Andrew Morgan
332cce8dcf
Disable device name lookup over federation by default ( #12616 )
pirms 2 gadiem
David Robertson
ecef741add
Recommend poetry in docs ( #12475 )
* Recommend poetry in docs
- readme
- contributor guide
- upgrade notes
- new dev cheat sheet for poetry
Co-authored-by: Shay <hillerys@element.io>
Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
pirms 2 gadiem
Richard van der Hoff
9f512ff537
fix typo in upgrade notes
pirms 2 gadiem
Patrick Cloke
9535fd0f9c
Disable groups/communities by default. ( #12344 )
This disables the endpoints (and sync response fields) for
groups/communities by default.
pirms 2 gadiem
Richard van der Hoff
643c0c50c1
Update UPGRADE notes to include more details about v1.57 upgrade failure mode ( #12448 )
pirms 2 gadiem
Patrick Cloke
6902e9ff2b
Remove docs for converting a legacy structured logging config. ( #12392 )
And update the upgrade notes to point at old versions of the documentation.
pirms 2 gadiem
Nick Mills-Barrett
993d90f82b
Use a sequence to generate AS transaction IDs, drop `last_txn` AS state ( #12209 )
Switching to a sequence means there's no need to track `last_txn` on the
AS state table to generate new TXN IDs. This also means that there is
no longer contention between the AS scheduler and AS handler on updates
to the `application_services_state` table, which will prevent serialization
errors during the complete AS txn transaction.
pirms 2 gadiem
Andrew Morgan
013f3f5e44
Move warning of open registration to v1.56 upgrade notes ( #12322 )
pirms 2 gadiem
Shay
3c41d87b67
Add restrictions by default to open registration in Synapse ( #12091 )
pirms 2 gadiem
Brendan Abolivier
5859e2fe0c
Mention the new behaviour on unsafe database locale in the upgrade notes ( #12288 )
Co-authored-by: Shay <hillerys@element.io>
pirms 2 gadiem
Patrick Cloke
54f674f7a9
Deprecate the groups/communities endpoints and add an experimental configuration flag. ( #12200 )
pirms 2 gadiem
reivilibre
72e7f1c420
Remove workaround introduced in Synapse v1.50.0rc1 for Mjolnir compatibility. Breaks compatibility with Mjolnir v1.3.1 and earlier. ( #11700 )
pirms 2 gadiem