Skip to content

Commit d0596f1

Browse files
committed
Merge tag 'v1.48.0' into beeper-master
Synapse 1.48.0 (2021-11-30) =========================== This release removes support for the long-deprecated `trust_identity_server_for_password_resets` configuration flag. This release also fixes some performance issues with some background database updates introduced in Synapse 1.47.0. No significant changes since 1.48.0rc1. Synapse 1.48.0rc1 (2021-11-25) ============================== Features -------- - Experimental support for the thread relation defined in [MSC3440](matrix-org/matrix-spec-proposals#3440). ([\matrix-org#11161](matrix-org#11161)) - Support filtering by relation senders & types per [MSC3440](matrix-org/matrix-spec-proposals#3440). ([\matrix-org#11236](matrix-org#11236)) - Add support for the `/_matrix/client/v3` and `/_matrix/media/v3` APIs from Matrix v1.1. ([\matrix-org#11318](matrix-org#11318), [\matrix-org#11371](matrix-org#11371)) - Support the stable version of [MSC2778](matrix-org/matrix-spec-proposals#2778): the `m.login.application_service` login type. Contributed by @tulir. ([\matrix-org#11335](matrix-org#11335)) - Add a new version of delete room admin API `DELETE /_synapse/admin/v2/rooms/<room_id>` to run it in the background. Contributed by @dklimpel. ([\matrix-org#11223](matrix-org#11223)) - Allow the admin [Delete Room API](https://matrix-org.github.io/synapse/latest/admin_api/rooms.html#delete-room-api) to block a room without the need to join it. ([\matrix-org#11228](matrix-org#11228)) - Add an admin API to un-shadow-ban a user. ([\matrix-org#11347](matrix-org#11347)) - Add an admin API to run background database schema updates. ([\matrix-org#11352](matrix-org#11352)) - Add an admin API for blocking a room. ([\matrix-org#11324](matrix-org#11324)) - Update the JWT login type to support custom a `sub` claim. ([\matrix-org#11361](matrix-org#11361)) - Store and allow querying of arbitrary event relations. ([\matrix-org#11391](matrix-org#11391)) Bugfixes -------- - Fix a long-standing bug wherein display names or avatar URLs containing null bytes cause an internal server error when stored in the DB. ([\matrix-org#11230](matrix-org#11230)) - Prevent [MSC2716](matrix-org/matrix-spec-proposals#2716) historical state events from being pushed to an application service via `/transactions`. ([\matrix-org#11265](matrix-org#11265)) - Fix a long-standing bug where uploading extremely thin images (e.g. 1000x1) would fail. Contributed by @Neeeflix. ([\matrix-org#11288](matrix-org#11288)) - Fix a bug, introduced in Synapse 1.46.0, which caused the `check_3pid_auth` and `on_logged_out` callbacks in legacy password authentication provider modules to not be registered. Modules using the generic module interface were not affected. ([\matrix-org#11340](matrix-org#11340)) - Fix a bug introduced in 1.41.0 where space hierarchy responses would be incorrectly reused if multiple users were to make the same request at the same time. ([\matrix-org#11355](matrix-org#11355)) - Fix a bug introduced in 1.45.0 where the `read_templates` method of the module API would error. ([\matrix-org#11377](matrix-org#11377)) - Fix an issue introduced in 1.47.0 which prevented servers re-joining rooms they had previously left, if their signing keys were replaced. ([\matrix-org#11379](matrix-org#11379)) - Fix a bug introduced in 1.13.0 where creating and publishing a room could cause errors if `room_list_publication_rules` is configured. ([\matrix-org#11392](matrix-org#11392)) - Improve performance of various background database updates. ([\matrix-org#11421](matrix-org#11421), [\matrix-org#11422](matrix-org#11422)) Improved Documentation ---------------------- - Suggest users of the Debian packages add configuration to `/etc/matrix-synapse/conf.d/` to prevent, upon upgrade, being asked to choose between their configuration and the maintainer's. ([\matrix-org#11281](matrix-org#11281)) - Fix typos in the documentation for the `username_available` admin API. Contributed by Stanislav Motylkov. ([\matrix-org#11286](matrix-org#11286)) - Add Single Sign-On, SAML and CAS pages to the documentation. ([\matrix-org#11298](matrix-org#11298)) - Change the word 'Home server' as one word 'homeserver' in documentation. ([\matrix-org#11320](matrix-org#11320)) - Fix missing quotes for wildcard domains in `federation_certificate_verification_whitelist`. ([\matrix-org#11381](matrix-org#11381)) Deprecations and Removals ------------------------- - Remove deprecated `trust_identity_server_for_password_resets` configuration flag. ([\matrix-org#11333](matrix-org#11333), [\matrix-org#11395](matrix-org#11395)) Internal Changes ---------------- - Add type annotations to `synapse.metrics`. ([\matrix-org#10847](matrix-org#10847)) - Split out federated PDU retrieval function into a non-cached version. ([\matrix-org#11242](matrix-org#11242)) - Clean up code relating to to-device messages and sending ephemeral events to application services. ([\matrix-org#11247](matrix-org#11247)) - Fix a small typo in the error response when a relation type other than 'm.annotation' is passed to `GET /rooms/{room_id}/aggregations/{event_id}`. ([\matrix-org#11278](matrix-org#11278)) - Drop unused database tables `room_stats_historical` and `user_stats_historical`. ([\matrix-org#11280](matrix-org#11280)) - Require all files in synapse/ and tests/ to pass mypy unless specifically excluded. ([\matrix-org#11282](matrix-org#11282), [\matrix-org#11285](matrix-org#11285), [\matrix-org#11359](matrix-org#11359)) - Add missing type hints to `synapse.app`. ([\matrix-org#11287](matrix-org#11287)) - Remove unused parameters on `FederationEventHandler._check_event_auth`. ([\matrix-org#11292](matrix-org#11292)) - Add type hints to `synapse._scripts`. ([\matrix-org#11297](matrix-org#11297)) - Fix an issue which prevented the `remove_deleted_devices_from_device_inbox` background database schema update from running when updating from a recent Synapse version. ([\matrix-org#11303](matrix-org#11303)) - Add type hints to storage classes. ([\matrix-org#11307](matrix-org#11307), [\matrix-org#11310](matrix-org#11310), [\matrix-org#11311](matrix-org#11311), [\matrix-org#11312](matrix-org#11312), [\matrix-org#11313](matrix-org#11313), [\matrix-org#11314](matrix-org#11314), [\matrix-org#11316](matrix-org#11316), [\matrix-org#11322](matrix-org#11322), [\matrix-org#11332](matrix-org#11332), [\matrix-org#11339](matrix-org#11339), [\matrix-org#11342](matrix-org#11342)) - Add type hints to `synapse.util`. ([\matrix-org#11321](matrix-org#11321), [\matrix-org#11328](matrix-org#11328)) - Improve type annotations in Synapse's test suite. ([\matrix-org#11323](matrix-org#11323), [\matrix-org#11330](matrix-org#11330)) - Test that room alias deletion works as intended. ([\matrix-org#11327](matrix-org#11327)) - Add type annotations for some methods and properties in the module API. ([\matrix-org#11341](matrix-org#11341)) - Fix running `scripts-dev/complement.sh`, which was broken in v1.47.0rc1. ([\matrix-org#11368](matrix-org#11368)) - Rename internal functions for token generation to better reflect what they do. ([\matrix-org#11369](matrix-org#11369), [\matrix-org#11370](matrix-org#11370)) - Add type hints to configuration classes. ([\matrix-org#11377](matrix-org#11377)) - Publish a `develop` image to Docker Hub. ([\matrix-org#11380](matrix-org#11380)) - Keep fallback key marked as used if it's re-uploaded. ([\matrix-org#11382](matrix-org#11382)) - Use `auto_attribs` on the `attrs` class `RefreshTokenLookupResult`. ([\matrix-org#11386](matrix-org#11386)) - Rename unstable `access_token_lifetime` configuration option to `refreshable_access_token_lifetime` to make it clear it only concerns refreshable access tokens. ([\matrix-org#11388](matrix-org#11388)) - Do not run the broken MSC2716 tests when running `scripts-dev/complement.sh`. ([\matrix-org#11389](matrix-org#11389)) - Remove dead code from supporting ACME. ([\matrix-org#11393](matrix-org#11393)) - Refactor including the bundled relations when serializing an event. ([\matrix-org#11408](matrix-org#11408))
2 parents 2fc9891 + e713855 commit d0596f1

File tree

170 files changed

+5972
-2007
lines changed

Some content is hidden

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

170 files changed

+5972
-2007
lines changed

.github/workflows/docker.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Build docker images
55
on:
66
push:
77
tags: ["v*"]
8-
branches: [ master, main ]
8+
branches: [ master, main, develop ]
99
workflow_dispatch:
1010

1111
permissions:
@@ -38,6 +38,9 @@ jobs:
3838
id: set-tag
3939
run: |
4040
case "${GITHUB_REF}" in
41+
refs/heads/develop)
42+
tag=develop
43+
;;
4144
refs/heads/master|refs/heads/main)
4245
tag=latest
4346
;;

CHANGES.md

+92-4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,91 @@
1+
Synapse 1.48.0 (2021-11-30)
2+
===========================
3+
4+
This release removes support for the long-deprecated `trust_identity_server_for_password_resets` configuration flag.
5+
6+
This release also fixes some performance issues with some background database updates introduced in Synapse 1.47.0.
7+
8+
No significant changes since 1.48.0rc1.
9+
10+
Synapse 1.48.0rc1 (2021-11-25)
11+
==============================
12+
13+
Features
14+
--------
15+
16+
- Experimental support for the thread relation defined in [MSC3440](https://github.com/matrix-org/matrix-doc/pull/3440). ([\#11161](https://github.com/matrix-org/synapse/issues/11161))
17+
- Support filtering by relation senders & types per [MSC3440](https://github.com/matrix-org/matrix-doc/pull/3440). ([\#11236](https://github.com/matrix-org/synapse/issues/11236))
18+
- Add support for the `/_matrix/client/v3` and `/_matrix/media/v3` APIs from Matrix v1.1. ([\#11318](https://github.com/matrix-org/synapse/issues/11318), [\#11371](https://github.com/matrix-org/synapse/issues/11371))
19+
- Support the stable version of [MSC2778](https://github.com/matrix-org/matrix-doc/pull/2778): the `m.login.application_service` login type. Contributed by @tulir. ([\#11335](https://github.com/matrix-org/synapse/issues/11335))
20+
- Add a new version of delete room admin API `DELETE /_synapse/admin/v2/rooms/<room_id>` to run it in the background. Contributed by @dklimpel. ([\#11223](https://github.com/matrix-org/synapse/issues/11223))
21+
- Allow the admin [Delete Room API](https://matrix-org.github.io/synapse/latest/admin_api/rooms.html#delete-room-api) to block a room without the need to join it. ([\#11228](https://github.com/matrix-org/synapse/issues/11228))
22+
- Add an admin API to un-shadow-ban a user. ([\#11347](https://github.com/matrix-org/synapse/issues/11347))
23+
- Add an admin API to run background database schema updates. ([\#11352](https://github.com/matrix-org/synapse/issues/11352))
24+
- Add an admin API for blocking a room. ([\#11324](https://github.com/matrix-org/synapse/issues/11324))
25+
- Update the JWT login type to support custom a `sub` claim. ([\#11361](https://github.com/matrix-org/synapse/issues/11361))
26+
- Store and allow querying of arbitrary event relations. ([\#11391](https://github.com/matrix-org/synapse/issues/11391))
27+
28+
29+
Bugfixes
30+
--------
31+
32+
- Fix a long-standing bug wherein display names or avatar URLs containing null bytes cause an internal server error when stored in the DB. ([\#11230](https://github.com/matrix-org/synapse/issues/11230))
33+
- Prevent [MSC2716](https://github.com/matrix-org/matrix-doc/pull/2716) historical state events from being pushed to an application service via `/transactions`. ([\#11265](https://github.com/matrix-org/synapse/issues/11265))
34+
- Fix a long-standing bug where uploading extremely thin images (e.g. 1000x1) would fail. Contributed by @Neeeflix. ([\#11288](https://github.com/matrix-org/synapse/issues/11288))
35+
- Fix a bug, introduced in Synapse 1.46.0, which caused the `check_3pid_auth` and `on_logged_out` callbacks in legacy password authentication provider modules to not be registered. Modules using the generic module interface were not affected. ([\#11340](https://github.com/matrix-org/synapse/issues/11340))
36+
- Fix a bug introduced in 1.41.0 where space hierarchy responses would be incorrectly reused if multiple users were to make the same request at the same time. ([\#11355](https://github.com/matrix-org/synapse/issues/11355))
37+
- Fix a bug introduced in 1.45.0 where the `read_templates` method of the module API would error. ([\#11377](https://github.com/matrix-org/synapse/issues/11377))
38+
- Fix an issue introduced in 1.47.0 which prevented servers re-joining rooms they had previously left, if their signing keys were replaced. ([\#11379](https://github.com/matrix-org/synapse/issues/11379))
39+
- Fix a bug introduced in 1.13.0 where creating and publishing a room could cause errors if `room_list_publication_rules` is configured. ([\#11392](https://github.com/matrix-org/synapse/issues/11392))
40+
- Improve performance of various background database updates. ([\#11421](https://github.com/matrix-org/synapse/issues/11421), [\#11422](https://github.com/matrix-org/synapse/issues/11422))
41+
42+
43+
Improved Documentation
44+
----------------------
45+
46+
- Suggest users of the Debian packages add configuration to `/etc/matrix-synapse/conf.d/` to prevent, upon upgrade, being asked to choose between their configuration and the maintainer's. ([\#11281](https://github.com/matrix-org/synapse/issues/11281))
47+
- Fix typos in the documentation for the `username_available` admin API. Contributed by Stanislav Motylkov. ([\#11286](https://github.com/matrix-org/synapse/issues/11286))
48+
- Add Single Sign-On, SAML and CAS pages to the documentation. ([\#11298](https://github.com/matrix-org/synapse/issues/11298))
49+
- Change the word 'Home server' as one word 'homeserver' in documentation. ([\#11320](https://github.com/matrix-org/synapse/issues/11320))
50+
- Fix missing quotes for wildcard domains in `federation_certificate_verification_whitelist`. ([\#11381](https://github.com/matrix-org/synapse/issues/11381))
51+
52+
53+
Deprecations and Removals
54+
-------------------------
55+
56+
- Remove deprecated `trust_identity_server_for_password_resets` configuration flag. ([\#11333](https://github.com/matrix-org/synapse/issues/11333), [\#11395](https://github.com/matrix-org/synapse/issues/11395))
57+
58+
59+
Internal Changes
60+
----------------
61+
62+
- Add type annotations to `synapse.metrics`. ([\#10847](https://github.com/matrix-org/synapse/issues/10847))
63+
- Split out federated PDU retrieval function into a non-cached version. ([\#11242](https://github.com/matrix-org/synapse/issues/11242))
64+
- Clean up code relating to to-device messages and sending ephemeral events to application services. ([\#11247](https://github.com/matrix-org/synapse/issues/11247))
65+
- Fix a small typo in the error response when a relation type other than 'm.annotation' is passed to `GET /rooms/{room_id}/aggregations/{event_id}`. ([\#11278](https://github.com/matrix-org/synapse/issues/11278))
66+
- Drop unused database tables `room_stats_historical` and `user_stats_historical`. ([\#11280](https://github.com/matrix-org/synapse/issues/11280))
67+
- Require all files in synapse/ and tests/ to pass mypy unless specifically excluded. ([\#11282](https://github.com/matrix-org/synapse/issues/11282), [\#11285](https://github.com/matrix-org/synapse/issues/11285), [\#11359](https://github.com/matrix-org/synapse/issues/11359))
68+
- Add missing type hints to `synapse.app`. ([\#11287](https://github.com/matrix-org/synapse/issues/11287))
69+
- Remove unused parameters on `FederationEventHandler._check_event_auth`. ([\#11292](https://github.com/matrix-org/synapse/issues/11292))
70+
- Add type hints to `synapse._scripts`. ([\#11297](https://github.com/matrix-org/synapse/issues/11297))
71+
- Fix an issue which prevented the `remove_deleted_devices_from_device_inbox` background database schema update from running when updating from a recent Synapse version. ([\#11303](https://github.com/matrix-org/synapse/issues/11303))
72+
- Add type hints to storage classes. ([\#11307](https://github.com/matrix-org/synapse/issues/11307), [\#11310](https://github.com/matrix-org/synapse/issues/11310), [\#11311](https://github.com/matrix-org/synapse/issues/11311), [\#11312](https://github.com/matrix-org/synapse/issues/11312), [\#11313](https://github.com/matrix-org/synapse/issues/11313), [\#11314](https://github.com/matrix-org/synapse/issues/11314), [\#11316](https://github.com/matrix-org/synapse/issues/11316), [\#11322](https://github.com/matrix-org/synapse/issues/11322), [\#11332](https://github.com/matrix-org/synapse/issues/11332), [\#11339](https://github.com/matrix-org/synapse/issues/11339), [\#11342](https://github.com/matrix-org/synapse/issues/11342))
73+
- Add type hints to `synapse.util`. ([\#11321](https://github.com/matrix-org/synapse/issues/11321), [\#11328](https://github.com/matrix-org/synapse/issues/11328))
74+
- Improve type annotations in Synapse's test suite. ([\#11323](https://github.com/matrix-org/synapse/issues/11323), [\#11330](https://github.com/matrix-org/synapse/issues/11330))
75+
- Test that room alias deletion works as intended. ([\#11327](https://github.com/matrix-org/synapse/issues/11327))
76+
- Add type annotations for some methods and properties in the module API. ([\#11341](https://github.com/matrix-org/synapse/issues/11341))
77+
- Fix running `scripts-dev/complement.sh`, which was broken in v1.47.0rc1. ([\#11368](https://github.com/matrix-org/synapse/issues/11368))
78+
- Rename internal functions for token generation to better reflect what they do. ([\#11369](https://github.com/matrix-org/synapse/issues/11369), [\#11370](https://github.com/matrix-org/synapse/issues/11370))
79+
- Add type hints to configuration classes. ([\#11377](https://github.com/matrix-org/synapse/issues/11377))
80+
- Publish a `develop` image to Docker Hub. ([\#11380](https://github.com/matrix-org/synapse/issues/11380))
81+
- Keep fallback key marked as used if it's re-uploaded. ([\#11382](https://github.com/matrix-org/synapse/issues/11382))
82+
- Use `auto_attribs` on the `attrs` class `RefreshTokenLookupResult`. ([\#11386](https://github.com/matrix-org/synapse/issues/11386))
83+
- Rename unstable `access_token_lifetime` configuration option to `refreshable_access_token_lifetime` to make it clear it only concerns refreshable access tokens. ([\#11388](https://github.com/matrix-org/synapse/issues/11388))
84+
- Do not run the broken MSC2716 tests when running `scripts-dev/complement.sh`. ([\#11389](https://github.com/matrix-org/synapse/issues/11389))
85+
- Remove dead code from supporting ACME. ([\#11393](https://github.com/matrix-org/synapse/issues/11393))
86+
- Refactor including the bundled relations when serializing an event. ([\#11408](https://github.com/matrix-org/synapse/issues/11408))
87+
88+
189
Synapse 1.47.1 (2021-11-23)
290
===========================
391

@@ -8717,14 +8805,14 @@ General:
87178805

87188806
Federation:
87198807

8720-
- Add key distribution mechanisms for fetching public keys of unavailable remote home servers. See [Retrieving Server Keys](https://github.com/matrix-org/matrix-doc/blob/6f2698/specification/30_server_server_api.rst#retrieving-server-keys) in the spec.
8808+
- Add key distribution mechanisms for fetching public keys of unavailable remote homeservers. See [Retrieving Server Keys](https://github.com/matrix-org/matrix-doc/blob/6f2698/specification/30_server_server_api.rst#retrieving-server-keys) in the spec.
87218809

87228810
Configuration:
87238811

87248812
- Add support for multiple config files.
87258813
- Add support for dictionaries in config files.
87268814
- Remove support for specifying config options on the command line, except for:
8727-
- `--daemonize` - Daemonize the home server.
8815+
- `--daemonize` - Daemonize the homeserver.
87288816
- `--manhole` - Turn on the twisted telnet manhole service on the given port.
87298817
- `--database-path` - The path to a sqlite database to use.
87308818
- `--verbose` - The verbosity level.
@@ -8929,7 +9017,7 @@ This version adds support for using a TURN server. See docs/turn-howto.rst on ho
89299017
Homeserver:
89309018

89319019
- Add support for redaction of messages.
8932-
- Fix bug where inviting a user on a remote home server could take up to 20-30s.
9020+
- Fix bug where inviting a user on a remote homeserver could take up to 20-30s.
89339021
- Implement a get current room state API.
89349022
- Add support specifying and retrieving turn server configuration.
89359023

@@ -9019,7 +9107,7 @@ Changes in synapse 0.2.3 (2014-09-12)
90199107

90209108
Homeserver:
90219109

9022-
- Fix bug where we stopped sending events to remote home servers if a user from that home server left, even if there were some still in the room.
9110+
- Fix bug where we stopped sending events to remote homeservers if a user from that homeserver left, even if there were some still in the room.
90239111
- Fix bugs in the state conflict resolution where it was incorrectly rejecting events.
90249112

90259113
Webclient:

debian/changelog

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
matrix-synapse-py3 (1.48.0) stable; urgency=medium
2+
3+
* New synapse release 1.48.0.
4+
5+
-- Synapse Packaging team <packages@matrix.org> Tue, 30 Nov 2021 11:24:15 +0000
6+
7+
matrix-synapse-py3 (1.48.0~rc1) stable; urgency=medium
8+
9+
* New synapse release 1.48.0~rc1.
10+
11+
-- Synapse Packaging team <packages@matrix.org> Thu, 25 Nov 2021 15:56:03 +0000
12+
113
matrix-synapse-py3 (1.47.1) stable; urgency=medium
214

315
* New synapse release 1.47.1.

docker/conf/homeserver.yaml

-8
Original file line numberDiff line numberDiff line change
@@ -148,14 +148,6 @@ bcrypt_rounds: 12
148148
allow_guest_access: {{ "True" if SYNAPSE_ALLOW_GUEST else "False" }}
149149
enable_group_creation: true
150150

151-
# The list of identity servers trusted to verify third party
152-
# identifiers by this server.
153-
#
154-
# Also defines the ID server which will be called when an account is
155-
# deactivated (one will be picked arbitrarily).
156-
trusted_third_party_id_servers:
157-
- matrix.org
158-
- vector.im
159151

160152
## Metrics ###
161153

docker/configure_workers_and_start.py

+11-11
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"app": "synapse.app.user_dir",
4949
"listener_resources": ["client"],
5050
"endpoint_patterns": [
51-
"^/_matrix/client/(api/v1|r0|unstable)/user_directory/search$"
51+
"^/_matrix/client/(api/v1|r0|v3|unstable)/user_directory/search$"
5252
],
5353
"shared_extra_conf": {"update_user_directory": False},
5454
"worker_extra_conf": "",
@@ -85,10 +85,10 @@
8585
"app": "synapse.app.generic_worker",
8686
"listener_resources": ["client"],
8787
"endpoint_patterns": [
88-
"^/_matrix/client/(v2_alpha|r0)/sync$",
89-
"^/_matrix/client/(api/v1|v2_alpha|r0)/events$",
90-
"^/_matrix/client/(api/v1|r0)/initialSync$",
91-
"^/_matrix/client/(api/v1|r0)/rooms/[^/]+/initialSync$",
88+
"^/_matrix/client/(v2_alpha|r0|v3)/sync$",
89+
"^/_matrix/client/(api/v1|v2_alpha|r0|v3)/events$",
90+
"^/_matrix/client/(api/v1|r0|v3)/initialSync$",
91+
"^/_matrix/client/(api/v1|r0|v3)/rooms/[^/]+/initialSync$",
9292
],
9393
"shared_extra_conf": {},
9494
"worker_extra_conf": "",
@@ -146,19 +146,19 @@
146146
"app": "synapse.app.generic_worker",
147147
"listener_resources": ["client"],
148148
"endpoint_patterns": [
149-
"^/_matrix/client/(api/v1|r0|unstable)/rooms/.*/redact",
150-
"^/_matrix/client/(api/v1|r0|unstable)/rooms/.*/send",
151-
"^/_matrix/client/(api/v1|r0|unstable)/rooms/.*/(join|invite|leave|ban|unban|kick)$",
152-
"^/_matrix/client/(api/v1|r0|unstable)/join/",
153-
"^/_matrix/client/(api/v1|r0|unstable)/profile/",
149+
"^/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/redact",
150+
"^/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/send",
151+
"^/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/(join|invite|leave|ban|unban|kick)$",
152+
"^/_matrix/client/(api/v1|r0|v3|unstable)/join/",
153+
"^/_matrix/client/(api/v1|r0|v3|unstable)/profile/",
154154
],
155155
"shared_extra_conf": {},
156156
"worker_extra_conf": "",
157157
},
158158
"frontend_proxy": {
159159
"app": "synapse.app.frontend_proxy",
160160
"listener_resources": ["client", "replication"],
161-
"endpoint_patterns": ["^/_matrix/client/(api/v1|r0|unstable)/keys/upload"],
161+
"endpoint_patterns": ["^/_matrix/client/(api/v1|r0|v3|unstable)/keys/upload"],
162162
"shared_extra_conf": {},
163163
"worker_extra_conf": (
164164
"worker_main_http_uri: http://127.0.0.1:%d"

docs/README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,10 @@ build the documentation with:
5050
mdbook build
5151
```
5252

53-
The rendered contents will be outputted to a new `book/` directory at the root of the repository. You can
54-
browse the book by opening `book/index.html` in a web browser.
53+
The rendered contents will be outputted to a new `book/` directory at the root of the repository. Please note that
54+
index.html is not built by default, it is created by copying over the file `welcome_and_overview.html` to `index.html`
55+
during deployment. Thus, when running `mdbook serve` locally the book will initially show a 404 in place of the index
56+
due to the above. Do not be alarmed!
5557

5658
You can also have mdbook host the docs on a local webserver with hot-reload functionality via:
5759

docs/SUMMARY.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323
- [Structured Logging](structured_logging.md)
2424
- [Templates](templates.md)
2525
- [User Authentication](usage/configuration/user_authentication/README.md)
26-
- [Single-Sign On]()
26+
- [Single-Sign On](usage/configuration/user_authentication/single_sign_on/README.md)
2727
- [OpenID Connect](openid.md)
28-
- [SAML]()
29-
- [CAS]()
28+
- [SAML](usage/configuration/user_authentication/single_sign_on/saml.md)
29+
- [CAS](usage/configuration/user_authentication/single_sign_on/cas.md)
3030
- [SSO Mapping Providers](sso_mapping_providers.md)
3131
- [Password Auth Providers](password_auth_providers.md)
3232
- [JSON Web Tokens](jwt.md)

docs/admin_api/purge_history_api.md

+2
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ This API returns a JSON body like the following:
7070

7171
The status will be one of `active`, `complete`, or `failed`.
7272

73+
If `status` is `failed` there will be a string `error` with the error message.
74+
7375
## Reclaim disk space (Postgres)
7476

7577
To reclaim the disk space and return it to the operating system, you need to run

0 commit comments

Comments
 (0)