From e8e7012265c2fa86444c187e1927ad2ebc47f76f Mon Sep 17 00:00:00 2001 From: Dirk Klimpel <5740567+dklimpel@users.noreply.github.com> Date: Thu, 18 Feb 2021 15:05:41 +0100 Subject: Deprecate old admin API `GET /_synapse/admin/v1/users/` (#9429) This API was undocumented and nonsensical. --- changelog.d/9429.removal | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/9429.removal (limited to 'changelog.d') diff --git a/changelog.d/9429.removal b/changelog.d/9429.removal new file mode 100644 index 0000000000..1ff9089a20 --- /dev/null +++ b/changelog.d/9429.removal @@ -0,0 +1 @@ +Deprecate old admin API `GET /_synapse/admin/v1/users/`. \ No newline at end of file -- cgit 1.5.1 From e17553e185aa6054b229524ac04a2743fe8c6fa9 Mon Sep 17 00:00:00 2001 From: Rishabh Arya Date: Thu, 18 Feb 2021 19:48:14 +0530 Subject: Parse ui_auth.session_timeout as a duration (instead of treating it as ms) (#9426) --- changelog.d/9426.bugfix | 1 + docs/sample_config.yaml | 6 +++--- synapse/config/auth.py | 10 ++++++---- tests/rest/client/v2_alpha/test_auth.py | 2 +- 4 files changed, 11 insertions(+), 8 deletions(-) create mode 100644 changelog.d/9426.bugfix (limited to 'changelog.d') diff --git a/changelog.d/9426.bugfix b/changelog.d/9426.bugfix new file mode 100644 index 0000000000..a852a315ad --- /dev/null +++ b/changelog.d/9426.bugfix @@ -0,0 +1 @@ +The `ui_auth.session_timeout` configuration setting can now be specified in terms of number of seconds/minutes/etc/. Contributed by Rishabh Arya. diff --git a/docs/sample_config.yaml b/docs/sample_config.yaml index 13a6f045f9..52380dfb04 100644 --- a/docs/sample_config.yaml +++ b/docs/sample_config.yaml @@ -2228,8 +2228,8 @@ password_config: #require_uppercase: true ui_auth: - # The number of milliseconds to allow a user-interactive authentication - # session to be active. + # The amount of time to allow a user-interactive authentication session + # to be active. # # This defaults to 0, meaning the user is queried for their credentials # before every action, but this can be overridden to allow a single @@ -2240,7 +2240,7 @@ ui_auth: # Uncomment below to allow for credential validation to last for 15 # seconds. # - #session_timeout: 15000 + #session_timeout: "15s" # Configuration for sending emails from Synapse. diff --git a/synapse/config/auth.py b/synapse/config/auth.py index 7fa64b821a..9aabaadf9e 100644 --- a/synapse/config/auth.py +++ b/synapse/config/auth.py @@ -37,7 +37,9 @@ class AuthConfig(Config): # User-interactive authentication ui_auth = config.get("ui_auth") or {} - self.ui_auth_session_timeout = ui_auth.get("session_timeout", 0) + self.ui_auth_session_timeout = self.parse_duration( + ui_auth.get("session_timeout", 0) + ) def generate_config_section(self, config_dir_path, server_name, **kwargs): return """\ @@ -93,8 +95,8 @@ class AuthConfig(Config): #require_uppercase: true ui_auth: - # The number of milliseconds to allow a user-interactive authentication - # session to be active. + # The amount of time to allow a user-interactive authentication session + # to be active. # # This defaults to 0, meaning the user is queried for their credentials # before every action, but this can be overridden to allow a single @@ -105,5 +107,5 @@ class AuthConfig(Config): # Uncomment below to allow for credential validation to last for 15 # seconds. # - #session_timeout: 15000 + #session_timeout: "15s" """ diff --git a/tests/rest/client/v2_alpha/test_auth.py b/tests/rest/client/v2_alpha/test_auth.py index 501f09203f..c26ad824f7 100644 --- a/tests/rest/client/v2_alpha/test_auth.py +++ b/tests/rest/client/v2_alpha/test_auth.py @@ -343,7 +343,7 @@ class UIAuthTests(unittest.HomeserverTestCase): }, ) - @unittest.override_config({"ui_auth": {"session_timeout": 5 * 1000}}) + @unittest.override_config({"ui_auth": {"session_timeout": "5s"}}) def test_can_reuse_session(self): """ The session can be reused if configured. -- cgit 1.5.1 From 9d64e4dbd6aac047c12c20198906dff90c234621 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Thu, 18 Feb 2021 14:46:22 +0000 Subject: Drop ARMv7 from docker (#9433) It's proving incredibly hard to build in CircleCI infra. --- .circleci/config.yml | 4 ++-- CHANGES.md | 2 ++ changelog.d/9433.docker | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 changelog.d/9433.docker (limited to 'changelog.d') diff --git a/.circleci/config.yml b/.circleci/config.yml index 375a7f7b04..1ac48a71ba 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -14,7 +14,7 @@ jobs: platforms: linux/amd64 - docker_build: tag: -t matrixdotorg/synapse:${CIRCLE_TAG} - platforms: linux/amd64,linux/arm/v7,linux/arm64 + platforms: linux/amd64,linux/arm64 dockerhubuploadlatest: docker: @@ -27,7 +27,7 @@ jobs: # until all of the platforms are built. - docker_build: tag: -t matrixdotorg/synapse:latest - platforms: linux/amd64,linux/arm/v7,linux/arm64 + platforms: linux/amd64,linux/arm64 workflows: build: diff --git a/CHANGES.md b/CHANGES.md index 309c34f90b..9837710d06 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,6 +1,8 @@ Synapse 1.xx.0 (2021-xx-xx) =========================== +Note that this release drops support for ARMv7 in the official Docker images, due to repeated problems building for ARMv7 (and the associated maintenance burden this entails). + Removal warning --------------- diff --git a/changelog.d/9433.docker b/changelog.d/9433.docker new file mode 100644 index 0000000000..cbe3a674d3 --- /dev/null +++ b/changelog.d/9433.docker @@ -0,0 +1 @@ +Drop support for ARMv7 in Docker images. -- cgit 1.5.1 From 8ad4676f35ec065853a5eb335b5566fdcf320460 Mon Sep 17 00:00:00 2001 From: Patrick Cloke Date: Thu, 18 Feb 2021 10:04:46 -0500 Subject: Newsfragment --- changelog.d/9434.doc | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/9434.doc (limited to 'changelog.d') diff --git a/changelog.d/9434.doc b/changelog.d/9434.doc new file mode 100644 index 0000000000..0500848a12 --- /dev/null +++ b/changelog.d/9434.doc @@ -0,0 +1 @@ +Properly document that Synapse v1.27.0 requires updating the sAML2 callback URL (similar to OpenID Connect). See [UPGRADE.rst](UPGRADE.rst) for more information. -- cgit 1.5.1 From 90550f598e9f543de151d1b75c3acd5c9b37ea49 Mon Sep 17 00:00:00 2001 From: Patrick Cloke Date: Thu, 18 Feb 2021 10:15:54 -0500 Subject: Revert "Newsfragment", which was meant to be part of #9434. This reverts commit 8ad4676f35ec065853a5eb335b5566fdcf320460. --- changelog.d/9434.doc | 1 - 1 file changed, 1 deletion(-) delete mode 100644 changelog.d/9434.doc (limited to 'changelog.d') diff --git a/changelog.d/9434.doc b/changelog.d/9434.doc deleted file mode 100644 index 0500848a12..0000000000 --- a/changelog.d/9434.doc +++ /dev/null @@ -1 +0,0 @@ -Properly document that Synapse v1.27.0 requires updating the sAML2 callback URL (similar to OpenID Connect). See [UPGRADE.rst](UPGRADE.rst) for more information. -- cgit 1.5.1 From 9ee3b9775fdd8cf5276e1834f9b9117218dcf882 Mon Sep 17 00:00:00 2001 From: Patrick Cloke Date: Thu, 18 Feb 2021 11:20:33 -0500 Subject: Remove deprecated SAML2 callback URL since it does not work. (#9434) Updates documentation from #9289 and removes a deprecated endpoint which didn't work as expected. --- CHANGES.md | 2 ++ UPGRADE.rst | 23 ++++++++++++----------- changelog.d/9434.doc | 1 + synapse/rest/synapse/client/__init__.py | 6 +----- 4 files changed, 16 insertions(+), 16 deletions(-) create mode 100644 changelog.d/9434.doc (limited to 'changelog.d') diff --git a/CHANGES.md b/CHANGES.md index 9837710d06..9476fef72d 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -3,6 +3,8 @@ Synapse 1.xx.0 (2021-xx-xx) Note that this release drops support for ARMv7 in the official Docker images, due to repeated problems building for ARMv7 (and the associated maintenance burden this entails). +This release also fixes the documentation included in v1.27.0 around the callback URI for SAML2 identity providers. If your server is configured to use single sign-on via a SAML2 IdP, you may need to make configuration changes. Please review [UPGRADE.rst](UPGRADE.rst) for more details on these changes. + Removal warning --------------- diff --git a/UPGRADE.rst b/UPGRADE.rst index 22edfe0d60..6f628a6947 100644 --- a/UPGRADE.rst +++ b/UPGRADE.rst @@ -88,20 +88,21 @@ for example: Upgrading to v1.27.0 ==================== -Changes to callback URI for OAuth2 / OpenID Connect ---------------------------------------------------- +Changes to callback URI for OAuth2 / OpenID Connect and SAML2 +------------------------------------------------------------- -This version changes the URI used for callbacks from OAuth2 identity providers. If -your server is configured for single sign-on via an OpenID Connect or OAuth2 identity -provider, you will need to add ``[synapse public baseurl]/_synapse/client/oidc/callback`` -to the list of permitted "redirect URIs" at the identity provider. +This version changes the URI used for callbacks from OAuth2 and SAML2 identity providers: -See `docs/openid.md `_ for more information on setting up OpenID -Connect. +* If your server is configured for single sign-on via an OpenID Connect or OAuth2 identity + provider, you will need to add ``[synapse public baseurl]/_synapse/client/oidc/callback`` + to the list of permitted "redirect URIs" at the identity provider. -(Note: a similar change is being made for SAML2; in this case the old URI -``[synapse public baseurl]/_matrix/saml2`` is being deprecated, but will continue to -work, so no immediate changes are required for existing installations.) + See `docs/openid.md `_ for more information on setting up OpenID + Connect. + +* If your server is configured for single sign-on via a SAML2 identity provider, you will + need to add ``[synapse public baseurl]/_synapse/client/saml2/authn_response`` as a permitted + "ACS location" (also known as "allowed callback URLs") at the identity provider. Changes to HTML templates ------------------------- diff --git a/changelog.d/9434.doc b/changelog.d/9434.doc new file mode 100644 index 0000000000..fd334136c2 --- /dev/null +++ b/changelog.d/9434.doc @@ -0,0 +1 @@ +Fix erroneous documentation from v1.27.0 about updating the SAML2 callback URL. diff --git a/synapse/rest/synapse/client/__init__.py b/synapse/rest/synapse/client/__init__.py index e5ef515090..8588b6d271 100644 --- a/synapse/rest/synapse/client/__init__.py +++ b/synapse/rest/synapse/client/__init__.py @@ -54,11 +54,7 @@ def build_synapse_client_resource_tree(hs: "HomeServer") -> Mapping[str, Resourc if hs.config.saml2_enabled: from synapse.rest.synapse.client.saml2 import SAML2Resource - res = SAML2Resource(hs) - resources["/_synapse/client/saml2"] = res - - # This is also mounted under '/_matrix' for backwards-compatibility. - resources["/_matrix/saml2"] = res + resources["/_synapse/client/saml2"] = SAML2Resource(hs) return resources -- cgit 1.5.1 From 1381cd05b00f4bd17b048c9a5efbd183d93b8e54 Mon Sep 17 00:00:00 2001 From: Patrick Cloke Date: Thu, 18 Feb 2021 12:32:49 -0500 Subject: 1.28.0rc1 --- CHANGES.md | 74 ++++++++++++++++++++++++++++++++++++++++++++++-- changelog.d/9003.misc | 1 - changelog.d/9123.misc | 1 - changelog.d/9150.feature | 1 - changelog.d/9240.misc | 1 - changelog.d/9257.bugfix | 1 - changelog.d/9281.doc | 1 - changelog.d/9291.doc | 1 - changelog.d/9296.bugfix | 1 - changelog.d/9299.misc | 1 - changelog.d/9300.feature | 1 - changelog.d/9301.feature | 1 - changelog.d/9305.misc | 1 - changelog.d/9307.misc | 1 - changelog.d/9308.doc | 1 - changelog.d/9311.feature | 1 - changelog.d/9317.doc | 1 - changelog.d/9321.bugfix | 1 - changelog.d/9322.doc | 1 - changelog.d/9326.misc | 1 - changelog.d/9333.bugfix | 1 - changelog.d/9361.bugfix | 1 - changelog.d/9362.misc | 1 - changelog.d/9376.feature | 1 - changelog.d/9377.misc | 1 - changelog.d/9381.misc | 1 - changelog.d/9384.misc | 1 - changelog.d/9390.doc | 1 - changelog.d/9391.bugfix | 1 - changelog.d/9393.bugfix | 1 - changelog.d/9394.misc | 1 - changelog.d/9395.bugfix | 1 - changelog.d/9396.misc | 1 - changelog.d/9400.feature | 1 - changelog.d/9404.doc | 1 - changelog.d/9407.doc | 1 - changelog.d/9408.misc | 1 - changelog.d/9421.bugfix | 1 - changelog.d/9425.bugfix | 1 - changelog.d/9426.bugfix | 1 - changelog.d/9428.bugfix | 1 - changelog.d/9429.removal | 1 - changelog.d/9433.docker | 1 - changelog.d/9434.doc | 1 - synapse/__init__.py | 2 +- 45 files changed, 73 insertions(+), 46 deletions(-) delete mode 100644 changelog.d/9003.misc delete mode 100644 changelog.d/9123.misc delete mode 100644 changelog.d/9150.feature delete mode 100644 changelog.d/9240.misc delete mode 100644 changelog.d/9257.bugfix delete mode 100644 changelog.d/9281.doc delete mode 100644 changelog.d/9291.doc delete mode 100644 changelog.d/9296.bugfix delete mode 100644 changelog.d/9299.misc delete mode 100644 changelog.d/9300.feature delete mode 100644 changelog.d/9301.feature delete mode 100644 changelog.d/9305.misc delete mode 100644 changelog.d/9307.misc delete mode 100644 changelog.d/9308.doc delete mode 100644 changelog.d/9311.feature delete mode 100644 changelog.d/9317.doc delete mode 100644 changelog.d/9321.bugfix delete mode 100644 changelog.d/9322.doc delete mode 100644 changelog.d/9326.misc delete mode 100644 changelog.d/9333.bugfix delete mode 100644 changelog.d/9361.bugfix delete mode 100644 changelog.d/9362.misc delete mode 100644 changelog.d/9376.feature delete mode 100644 changelog.d/9377.misc delete mode 100644 changelog.d/9381.misc delete mode 100644 changelog.d/9384.misc delete mode 100644 changelog.d/9390.doc delete mode 100644 changelog.d/9391.bugfix delete mode 100644 changelog.d/9393.bugfix delete mode 100644 changelog.d/9394.misc delete mode 100644 changelog.d/9395.bugfix delete mode 100644 changelog.d/9396.misc delete mode 100644 changelog.d/9400.feature delete mode 100644 changelog.d/9404.doc delete mode 100644 changelog.d/9407.doc delete mode 100644 changelog.d/9408.misc delete mode 100644 changelog.d/9421.bugfix delete mode 100644 changelog.d/9425.bugfix delete mode 100644 changelog.d/9426.bugfix delete mode 100644 changelog.d/9428.bugfix delete mode 100644 changelog.d/9429.removal delete mode 100644 changelog.d/9433.docker delete mode 100644 changelog.d/9434.doc (limited to 'changelog.d') diff --git a/CHANGES.md b/CHANGES.md index a2aa919ebe..a25951031a 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,5 @@ -Synapse 1.xx.0 (2021-xx-xx) -=========================== +Synapse 1.28.0rc1 (2021-02-18) +============================== Note that this release drops support for ARMv7 in the official Docker images, due to repeated problems building for ARMv7 (and the associated maintenance burden this entails). @@ -17,6 +17,76 @@ Please check if you're using any scripts which use the admin API and replace `GET /_synapse/admin/v1/users/` with `GET /_synapse/admin/v2/users`. +Features +-------- + +- New API /_synapse/admin/rooms/{roomId}/context/{eventId}. ([\#9150](https://github.com/matrix-org/synapse/issues/9150)) +- Further improvements to the user experience of registration via single sign-on. ([\#9300](https://github.com/matrix-org/synapse/issues/9300), [\#9301](https://github.com/matrix-org/synapse/issues/9301)) +- Add hook to spam checker modules that allow checking file uploads and remote downloads. ([\#9311](https://github.com/matrix-org/synapse/issues/9311)) +- Add support for receiving OpenID Connect authentication responses via form `POST`s rather than `GET`s. ([\#9376](https://github.com/matrix-org/synapse/issues/9376)) +- Add the shadow-banning status to the display user admin API. ([\#9400](https://github.com/matrix-org/synapse/issues/9400)) + + +Bugfixes +-------- + +- Fix long-standing bug where sending email push would fail for rooms that the server had since left. ([\#9257](https://github.com/matrix-org/synapse/issues/9257)) +- Fix bug in Synapse 1.27.0rc1 which meant the "session expired" error page during SSO registration was badly formatted. ([\#9296](https://github.com/matrix-org/synapse/issues/9296)) +- Assert a maximum length for some parameters for spec compliance. ([\#9321](https://github.com/matrix-org/synapse/issues/9321), [\#9393](https://github.com/matrix-org/synapse/issues/9393)) +- Fix additional errors when previewing URLs: "AttributeError 'NoneType' object has no attribute 'xpath'" and "ValueError: Unicode strings with encoding declaration are not supported. Please use bytes input or XML fragments without declaration.". ([\#9333](https://github.com/matrix-org/synapse/issues/9333)) +- Fix a bug causing Synapse to impose the wrong type constraints on fields when processing responses from appservices to `/_matrix/app/v1/thirdparty/user/{protocol}`. ([\#9361](https://github.com/matrix-org/synapse/issues/9361)) +- Fix bug where Synapse would occaisonally stop reconnecting after the connection was lost. ([\#9391](https://github.com/matrix-org/synapse/issues/9391)) +- Fix a long-standing bug when upgrading a room: "TypeError: '>' not supported between instances of 'NoneType' and 'int'". ([\#9395](https://github.com/matrix-org/synapse/issues/9395)) +- Reduce the amount of memory used when generating the URL preview of a file that is larger than the `max_spider_size`. ([\#9421](https://github.com/matrix-org/synapse/issues/9421)) +- Fix a long-standing bug in the deduplication of old presence, resulting in no deduplication. ([\#9425](https://github.com/matrix-org/synapse/issues/9425)) +- The `ui_auth.session_timeout` configuration setting can now be specified in terms of number of seconds/minutes/etc/. Contributed by Rishabh Arya. ([\#9426](https://github.com/matrix-org/synapse/issues/9426)) +- Fix a bug introduced in v1.27.0: "TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType." related to the user directory. ([\#9428](https://github.com/matrix-org/synapse/issues/9428)) + + +Updates to the Docker image +--------------------------- + +- Drop support for ARMv7 in Docker images. ([\#9433](https://github.com/matrix-org/synapse/issues/9433)) + + +Improved Documentation +---------------------- + +- Reorganizing CHANGELOG.md. ([\#9281](https://github.com/matrix-org/synapse/issues/9281)) +- Add note to `auto_join_rooms` config option explaining existing rooms must be publicly joinable. ([\#9291](https://github.com/matrix-org/synapse/issues/9291)) +- Correct name of Synapse's service file in TURN howto. ([\#9308](https://github.com/matrix-org/synapse/issues/9308)) +- Fix the braces in the `oidc_providers` section of the sample config. ([\#9317](https://github.com/matrix-org/synapse/issues/9317)) +- Update installation instructions on Fedora. ([\#9322](https://github.com/matrix-org/synapse/issues/9322)) +- Add HTTP/2 support to the nginx example configuration. Contributed by David Vo. ([\#9390](https://github.com/matrix-org/synapse/issues/9390)) +- Update docs for using Gitea as OpenID provider. ([\#9404](https://github.com/matrix-org/synapse/issues/9404)) +- Document that pusher instances are shardable. ([\#9407](https://github.com/matrix-org/synapse/issues/9407)) +- Fix erroneous documentation from v1.27.0 about updating the SAML2 callback URL. ([\#9434](https://github.com/matrix-org/synapse/issues/9434)) + + +Deprecations and Removals +------------------------- + +- Deprecate old admin API `GET /_synapse/admin/v1/users/`. ([\#9429](https://github.com/matrix-org/synapse/issues/9429)) + + +Internal Changes +---------------- + +- Fix 'object name reserved for internal use' errors with recent versions of SQLite. ([\#9003](https://github.com/matrix-org/synapse/issues/9003)) +- Add experimental support for running Synapse with PyPy. ([\#9123](https://github.com/matrix-org/synapse/issues/9123)) +- Deny access to additional IP addresses by default. ([\#9240](https://github.com/matrix-org/synapse/issues/9240)) +- Update the `Cursor` type hints to better match PEP 249. ([\#9299](https://github.com/matrix-org/synapse/issues/9299)) +- Add debug logging for SRV lookups. Contributed by @Bubu. ([\#9305](https://github.com/matrix-org/synapse/issues/9305)) +- Improve logging for OIDC login flow. ([\#9307](https://github.com/matrix-org/synapse/issues/9307)) +- Share the code for handling required attributes between the CAS and SAML handlers. ([\#9326](https://github.com/matrix-org/synapse/issues/9326)) +- Clean up the code to load the metadata for OpenID Connect identity providers. ([\#9362](https://github.com/matrix-org/synapse/issues/9362)) +- Convert tests to use `HomeserverTestCase`. ([\#9377](https://github.com/matrix-org/synapse/issues/9377), [\#9396](https://github.com/matrix-org/synapse/issues/9396)) +- Update the version of black used to 20.8b1. ([\#9381](https://github.com/matrix-org/synapse/issues/9381)) +- Allow OIDC config to override discovered values. ([\#9384](https://github.com/matrix-org/synapse/issues/9384)) +- Remove some dead code from the acceptance of room invites path. ([\#9394](https://github.com/matrix-org/synapse/issues/9394)) +- Clean up an unused method in the presence handler code. ([\#9408](https://github.com/matrix-org/synapse/issues/9408)) + + Synapse 1.27.0 (2021-02-16) =========================== diff --git a/changelog.d/9003.misc b/changelog.d/9003.misc deleted file mode 100644 index 557c8b2353..0000000000 --- a/changelog.d/9003.misc +++ /dev/null @@ -1 +0,0 @@ -Fix 'object name reserved for internal use' errors with recent versions of SQLite. diff --git a/changelog.d/9123.misc b/changelog.d/9123.misc deleted file mode 100644 index 329600c40c..0000000000 --- a/changelog.d/9123.misc +++ /dev/null @@ -1 +0,0 @@ -Add experimental support for running Synapse with PyPy. diff --git a/changelog.d/9150.feature b/changelog.d/9150.feature deleted file mode 100644 index 48a8148dee..0000000000 --- a/changelog.d/9150.feature +++ /dev/null @@ -1 +0,0 @@ -New API /_synapse/admin/rooms/{roomId}/context/{eventId}. diff --git a/changelog.d/9240.misc b/changelog.d/9240.misc deleted file mode 100644 index 850201f6cd..0000000000 --- a/changelog.d/9240.misc +++ /dev/null @@ -1 +0,0 @@ -Deny access to additional IP addresses by default. diff --git a/changelog.d/9257.bugfix b/changelog.d/9257.bugfix deleted file mode 100644 index 5d0bd88dce..0000000000 --- a/changelog.d/9257.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix long-standing bug where sending email push would fail for rooms that the server had since left. diff --git a/changelog.d/9281.doc b/changelog.d/9281.doc deleted file mode 100644 index 4dea375f80..0000000000 --- a/changelog.d/9281.doc +++ /dev/null @@ -1 +0,0 @@ -Reorganizing CHANGELOG.md. \ No newline at end of file diff --git a/changelog.d/9291.doc b/changelog.d/9291.doc deleted file mode 100644 index 422acd3891..0000000000 --- a/changelog.d/9291.doc +++ /dev/null @@ -1 +0,0 @@ -Add note to `auto_join_rooms` config option explaining existing rooms must be publicly joinable. diff --git a/changelog.d/9296.bugfix b/changelog.d/9296.bugfix deleted file mode 100644 index d723f8c5bd..0000000000 --- a/changelog.d/9296.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix bug in Synapse 1.27.0rc1 which meant the "session expired" error page during SSO registration was badly formatted. diff --git a/changelog.d/9299.misc b/changelog.d/9299.misc deleted file mode 100644 index c883a677ed..0000000000 --- a/changelog.d/9299.misc +++ /dev/null @@ -1 +0,0 @@ -Update the `Cursor` type hints to better match PEP 249. diff --git a/changelog.d/9300.feature b/changelog.d/9300.feature deleted file mode 100644 index a2d0b27da4..0000000000 --- a/changelog.d/9300.feature +++ /dev/null @@ -1 +0,0 @@ -Further improvements to the user experience of registration via single sign-on. diff --git a/changelog.d/9301.feature b/changelog.d/9301.feature deleted file mode 100644 index a2d0b27da4..0000000000 --- a/changelog.d/9301.feature +++ /dev/null @@ -1 +0,0 @@ -Further improvements to the user experience of registration via single sign-on. diff --git a/changelog.d/9305.misc b/changelog.d/9305.misc deleted file mode 100644 index 456bfbfdd7..0000000000 --- a/changelog.d/9305.misc +++ /dev/null @@ -1 +0,0 @@ -Add debug logging for SRV lookups. Contributed by @Bubu. diff --git a/changelog.d/9307.misc b/changelog.d/9307.misc deleted file mode 100644 index 2f54d1ad07..0000000000 --- a/changelog.d/9307.misc +++ /dev/null @@ -1 +0,0 @@ -Improve logging for OIDC login flow. diff --git a/changelog.d/9308.doc b/changelog.d/9308.doc deleted file mode 100644 index 847f2908af..0000000000 --- a/changelog.d/9308.doc +++ /dev/null @@ -1 +0,0 @@ -Correct name of Synapse's service file in TURN howto. diff --git a/changelog.d/9311.feature b/changelog.d/9311.feature deleted file mode 100644 index 293f2118e5..0000000000 --- a/changelog.d/9311.feature +++ /dev/null @@ -1 +0,0 @@ -Add hook to spam checker modules that allow checking file uploads and remote downloads. diff --git a/changelog.d/9317.doc b/changelog.d/9317.doc deleted file mode 100644 index f4d508e090..0000000000 --- a/changelog.d/9317.doc +++ /dev/null @@ -1 +0,0 @@ -Fix the braces in the `oidc_providers` section of the sample config. diff --git a/changelog.d/9321.bugfix b/changelog.d/9321.bugfix deleted file mode 100644 index f1c882b13c..0000000000 --- a/changelog.d/9321.bugfix +++ /dev/null @@ -1 +0,0 @@ -Assert a maximum length for some parameters for spec compliance. diff --git a/changelog.d/9322.doc b/changelog.d/9322.doc deleted file mode 100644 index c393a3a299..0000000000 --- a/changelog.d/9322.doc +++ /dev/null @@ -1 +0,0 @@ -Update installation instructions on Fedora. diff --git a/changelog.d/9326.misc b/changelog.d/9326.misc deleted file mode 100644 index 768c18d27e..0000000000 --- a/changelog.d/9326.misc +++ /dev/null @@ -1 +0,0 @@ -Share the code for handling required attributes between the CAS and SAML handlers. diff --git a/changelog.d/9333.bugfix b/changelog.d/9333.bugfix deleted file mode 100644 index c34ba378c5..0000000000 --- a/changelog.d/9333.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix additional errors when previewing URLs: "AttributeError 'NoneType' object has no attribute 'xpath'" and "ValueError: Unicode strings with encoding declaration are not supported. Please use bytes input or XML fragments without declaration.". diff --git a/changelog.d/9361.bugfix b/changelog.d/9361.bugfix deleted file mode 100644 index 4d0477f033..0000000000 --- a/changelog.d/9361.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a bug causing Synapse to impose the wrong type constraints on fields when processing responses from appservices to `/_matrix/app/v1/thirdparty/user/{protocol}`. diff --git a/changelog.d/9362.misc b/changelog.d/9362.misc deleted file mode 100644 index c75cfeb2a4..0000000000 --- a/changelog.d/9362.misc +++ /dev/null @@ -1 +0,0 @@ -Clean up the code to load the metadata for OpenID Connect identity providers. diff --git a/changelog.d/9376.feature b/changelog.d/9376.feature deleted file mode 100644 index 68ea21dbdd..0000000000 --- a/changelog.d/9376.feature +++ /dev/null @@ -1 +0,0 @@ -Add support for receiving OpenID Connect authentication responses via form `POST`s rather than `GET`s. diff --git a/changelog.d/9377.misc b/changelog.d/9377.misc deleted file mode 100644 index df1348ec42..0000000000 --- a/changelog.d/9377.misc +++ /dev/null @@ -1 +0,0 @@ -Convert tests to use `HomeserverTestCase`. diff --git a/changelog.d/9381.misc b/changelog.d/9381.misc deleted file mode 100644 index 5688166120..0000000000 --- a/changelog.d/9381.misc +++ /dev/null @@ -1 +0,0 @@ -Update the version of black used to 20.8b1. diff --git a/changelog.d/9384.misc b/changelog.d/9384.misc deleted file mode 100644 index 9db61f44db..0000000000 --- a/changelog.d/9384.misc +++ /dev/null @@ -1 +0,0 @@ -Allow OIDC config to override discovered values. diff --git a/changelog.d/9390.doc b/changelog.d/9390.doc deleted file mode 100644 index 8ed2aa8b6a..0000000000 --- a/changelog.d/9390.doc +++ /dev/null @@ -1 +0,0 @@ -Add HTTP/2 support to the nginx example configuration. Contributed by David Vo. diff --git a/changelog.d/9391.bugfix b/changelog.d/9391.bugfix deleted file mode 100644 index b5e68e2ac7..0000000000 --- a/changelog.d/9391.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix bug where Synapse would occaisonally stop reconnecting after the connection was lost. diff --git a/changelog.d/9393.bugfix b/changelog.d/9393.bugfix deleted file mode 100644 index f1c882b13c..0000000000 --- a/changelog.d/9393.bugfix +++ /dev/null @@ -1 +0,0 @@ -Assert a maximum length for some parameters for spec compliance. diff --git a/changelog.d/9394.misc b/changelog.d/9394.misc deleted file mode 100644 index b3e90143cc..0000000000 --- a/changelog.d/9394.misc +++ /dev/null @@ -1 +0,0 @@ -Remove some dead code from the acceptance of room invites path. \ No newline at end of file diff --git a/changelog.d/9395.bugfix b/changelog.d/9395.bugfix deleted file mode 100644 index d45cc4ffb9..0000000000 --- a/changelog.d/9395.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a long-standing bug when upgrading a room: "TypeError: '>' not supported between instances of 'NoneType' and 'int'". diff --git a/changelog.d/9396.misc b/changelog.d/9396.misc deleted file mode 100644 index df1348ec42..0000000000 --- a/changelog.d/9396.misc +++ /dev/null @@ -1 +0,0 @@ -Convert tests to use `HomeserverTestCase`. diff --git a/changelog.d/9400.feature b/changelog.d/9400.feature deleted file mode 100644 index 3067c3907b..0000000000 --- a/changelog.d/9400.feature +++ /dev/null @@ -1 +0,0 @@ -Add the shadow-banning status to the display user admin API. \ No newline at end of file diff --git a/changelog.d/9404.doc b/changelog.d/9404.doc deleted file mode 100644 index aa2e63f2f6..0000000000 --- a/changelog.d/9404.doc +++ /dev/null @@ -1 +0,0 @@ -Update docs for using Gitea as OpenID provider. diff --git a/changelog.d/9407.doc b/changelog.d/9407.doc deleted file mode 100644 index 36979bc0d8..0000000000 --- a/changelog.d/9407.doc +++ /dev/null @@ -1 +0,0 @@ -Document that pusher instances are shardable. diff --git a/changelog.d/9408.misc b/changelog.d/9408.misc deleted file mode 100644 index 600bacbfe7..0000000000 --- a/changelog.d/9408.misc +++ /dev/null @@ -1 +0,0 @@ -Clean up an unused method in the presence handler code. \ No newline at end of file diff --git a/changelog.d/9421.bugfix b/changelog.d/9421.bugfix deleted file mode 100644 index b73ed5664c..0000000000 --- a/changelog.d/9421.bugfix +++ /dev/null @@ -1 +0,0 @@ -Reduce the amount of memory used when generating the URL preview of a file that is larger than the `max_spider_size`. diff --git a/changelog.d/9425.bugfix b/changelog.d/9425.bugfix deleted file mode 100644 index f5b8857cdb..0000000000 --- a/changelog.d/9425.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a long-standing bug in the deduplication of old presence, resulting in no deduplication. \ No newline at end of file diff --git a/changelog.d/9426.bugfix b/changelog.d/9426.bugfix deleted file mode 100644 index a852a315ad..0000000000 --- a/changelog.d/9426.bugfix +++ /dev/null @@ -1 +0,0 @@ -The `ui_auth.session_timeout` configuration setting can now be specified in terms of number of seconds/minutes/etc/. Contributed by Rishabh Arya. diff --git a/changelog.d/9428.bugfix b/changelog.d/9428.bugfix deleted file mode 100644 index 132e35440a..0000000000 --- a/changelog.d/9428.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a bug introduced in v1.27.0: "TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType." related to the user directory. diff --git a/changelog.d/9429.removal b/changelog.d/9429.removal deleted file mode 100644 index 1ff9089a20..0000000000 --- a/changelog.d/9429.removal +++ /dev/null @@ -1 +0,0 @@ -Deprecate old admin API `GET /_synapse/admin/v1/users/`. \ No newline at end of file diff --git a/changelog.d/9433.docker b/changelog.d/9433.docker deleted file mode 100644 index cbe3a674d3..0000000000 --- a/changelog.d/9433.docker +++ /dev/null @@ -1 +0,0 @@ -Drop support for ARMv7 in Docker images. diff --git a/changelog.d/9434.doc b/changelog.d/9434.doc deleted file mode 100644 index fd334136c2..0000000000 --- a/changelog.d/9434.doc +++ /dev/null @@ -1 +0,0 @@ -Fix erroneous documentation from v1.27.0 about updating the SAML2 callback URL. diff --git a/synapse/__init__.py b/synapse/__init__.py index 359276427f..2e70f46186 100644 --- a/synapse/__init__.py +++ b/synapse/__init__.py @@ -48,7 +48,7 @@ try: except ImportError: pass -__version__ = "1.27.0" +__version__ = "1.28.0rc1" if bool(os.environ.get("SYNAPSE_TEST_PATCH_LOG_CONTEXTS", False)): # We import here so that we don't have to install a bunch of deps when -- cgit 1.5.1