Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 7176832

Browse files
committed
Merge commit '837293c31' into anoa/dinsic_release_1_21_x
* commit '837293c31': Remove obsolete __future__ imports (#8337) Use admin_patterns for all admin APIs. (#8331) Fix a potential bug of UnboundLocalError (#8329) Switch metaclass initialization to python 3-compatible syntax (#8326) Catch-up after Federation Outage (split, 4): catch-up loop (#8272) Use slots in attrs classes where possible (#8296) Fix typos in comments. Add the topic and avatar to the room details admin API (#8305) Improve SAML error messages (#8248) Add experimental support for sharding event persister. Again. (#8294) Make `StreamToken.room_key` be a `RoomStreamToken` instance. (#8281) Use TLSv1.2 for fake servers in tests (#8208) Add /_synapse/client to the reverse proxy docs (#8227) Clean up `Notifier.on_new_room_event` code path (#8288)
2 parents 66d34af + 837293c commit 7176832

File tree

113 files changed

+990
-593
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+990
-593
lines changed

UPGRADE.rst

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -128,38 +128,6 @@ template. These templates are similar, but the parameters are slightly different
128128
* A string ``error`` parameter is available that includes a short hint of why a
129129
user is seeing the error page.
130130

131-
ThirdPartyEventRules breaking changes
132-
-------------------------------------
133-
134-
This release introduces a backwards-incompatible change to modules making use of
135-
`ThirdPartyEventRules` in Synapse.
136-
137-
The `http_client` argument is no longer passed to modules as they are initialised. Instead,
138-
modules are expected to make use of the `http_client` property on the `ModuleApi` class.
139-
Modules are now passed a `module_api` argument during initialisation, which is an instance of
140-
`ModuleApi`.
141-
142-
New HTML templates
143-
------------------
144-
145-
A new HTML template,
146-
`password_reset_confirmation.html <https://github.com/matrix-org/synapse/blob/develop/synapse/res/templates/password_reset_confirmation.html>`_,
147-
has been added to the ``synapse/res/templates`` directory. If you are using a
148-
custom template directory, you may want to copy the template over and modify it.
149-
150-
Note that as of v1.20.0, templates do not need to be included in custom template
151-
directories for Synapse to start. The default templates will be used if a custom
152-
template cannot be found.
153-
154-
This page will appear to the user after clicking a password reset link that has
155-
been emailed to them.
156-
157-
To complete password reset, the page must include a way to make a `POST`
158-
request to
159-
``/_synapse/client/password_reset/{medium}/submit_token``
160-
with the query parameters from the original link, presented as a URL-encoded form. See the file
161-
itself for more details.
162-
163131
Upgrading to v1.18.0
164132
====================
165133

changelog.d/8208.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix tests on distros which disable TLSv1.0. Contributed by @danc86.

changelog.d/8227.doc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add `/_synapse/client` to the reverse proxy documentation.

changelog.d/8248.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Consolidate the SSO error template across all configuration.

changelog.d/8272.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix messages over federation being lost until an event is sent into the same room.

changelog.d/8281.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Change `StreamToken.room_key` to be a `RoomStreamToken` instance.

changelog.d/8288.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Refactor notifier code to correctly use the max event stream position.

changelog.d/8294.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add experimental support for sharding event persister.

changelog.d/8296.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Use slotted classes where possible.

changelog.d/8305.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add the room topic and avatar to the room details admin API.

0 commit comments

Comments
 (0)