synapse/changelog.d
Richard van der Hoff 895e04319b
Preparatory refactoring of the OidcHandlerTestCase (#8911)
* Remove references to handler._auth_handler

(and replace them with hs.get_auth_handler)

* Factor out a utility function for building Requests

* Remove mocks of `OidcHandler._map_userinfo_to_user`

This method is going away, so mocking it out is no longer a valid approach.

Instead, we mock out lower-level methods (eg _remote_id_from_userinfo), or
simply allow the regular implementation to proceed and update the expectations
accordingly.

* Remove references to `OidcHandler._map_userinfo_to_user` from tests

This method is going away, so we can no longer use it as a test point. Instead
we build mock "callback" requests which we pass into `handle_oidc_callback`,
and verify correct behaviour by mocking out `AuthHandler.complete_sso_login`.
2020-12-14 11:38:50 +00:00
..
.gitignore Correct attrs package name in requirements (#3492) 2018-07-07 10:46:59 +10:00
8802.doc Add missing prometheus rules for persisted events (#8802) 2020-12-02 15:18:41 +00:00
8821.bugfix Default to blacklisting reserved IP ranges and add a whitelist. (#8870) 2020-12-09 13:56:06 -05:00
8827.bugfix Correctly handle unpersisted events when calculating auth chain difference. (#8827) 2020-12-02 15:22:37 +00:00
8829.removal Deprecate Shutdown Room and Purge Room Admin API (#8829) 2020-12-10 11:42:48 +00:00
8837.bugfix Add additional validation for the admin register endpoint. (#8837) 2020-12-02 10:01:15 -05:00
8839.doc Combine related media admin API docs (#8839) 2020-12-09 16:19:57 +00:00
8853.feature Add authentication to replication endpoints. (#8853) 2020-12-04 10:56:28 -05:00
8858.bugfix newsfile 2020-12-02 18:54:15 +00:00
8861.misc changelog 2020-12-02 18:38:29 +00:00
8862.bugfix Do not 500 if the content-length is not provided when uploading media. (#8862) 2020-12-04 10:26:09 -05:00
8864.misc remove unused FakeResponse (#8864) 2020-12-02 18:58:25 +00:00
8865.bugfix Add additional validation to pusher URLs. (#8865) 2020-12-04 10:51:56 -05:00
8867.bugfix Fix errorcode for disabled registration (#8867) 2020-12-03 15:41:19 +00:00
8870.bugfix Default to blacklisting reserved IP ranges and add a whitelist. (#8870) 2020-12-09 13:56:06 -05:00
8872.bugfix Call set_avatar_url with target_user, not user_id (#8872) 2020-12-07 19:13:07 +00:00
8873.doc Fix a buglet in the SAML username mapping provider doc (#8873) 2020-12-04 10:14:15 +00:00
8874.feature Better formatting for config errors from modules (#8874) 2020-12-08 14:04:35 +00:00
8879.misc Pass room_id to get_auth_chain_difference (#8879) 2020-12-04 15:52:49 +00:00
8880.misc Add type hints for HTTP and email pushers. (#8880) 2020-12-07 09:59:38 -05:00
8881.misc Simplify the flow for SSO UIA (#8881) 2020-12-08 14:03:38 +00:00
8882.misc Add type hints to the push mailer module. (#8882) 2020-12-07 07:10:22 -05:00
8883.bugfix Do not raise a 500 exception when previewing empty media. (#8883) 2020-12-07 10:00:08 -05:00
8886.feature Add number of local devices to Room Details Admin API (#8886) 2020-12-11 10:42:47 +00:00
8887.feature Add X-Robots-Tag header to stop crawlers from indexing media (#8887) 2020-12-08 22:51:03 +00:00
8890.feature Allow spam-checker modules to be provide async methods. (#8890) 2020-12-11 14:05:15 -05:00
8891.doc Clarify config template comments (#8891) 2020-12-08 14:03:08 +00:00
8897.feature Fix buglet in DirectRenderJsonResource (#8897) 2020-12-10 12:42:55 +00:00
8900.feature Refactor SsoHandler.get_mxid_from_sso (#8900) 2020-12-10 12:43:58 +00:00
8901.misc Add type hints to the push module. (#8901) 2020-12-11 11:43:53 -05:00
8905.misc Skip the SAML tests if xmlsec1 isn't available. (#8905) 2020-12-09 12:23:30 -05:00
8906.misc Pin the docker version for multiarch builds 2020-12-09 15:51:11 +00:00
8909.misc Don't publish latest docker image until all archs are built (#8909) 2020-12-10 17:00:29 +00:00
8911.feature Preparatory refactoring of the OidcHandlerTestCase (#8911) 2020-12-14 11:38:50 +00:00
8916.misc Improve tests for structured logging. (#8916) 2020-12-11 07:25:01 -05:00
8918.bugfix Fix deadlock on SIGHUP (#8918) 2020-12-10 16:56:05 +00:00
8920.bugfix Honour AS ratelimit settings for /login requests (#8920) 2020-12-11 16:33:31 +00:00
8921.bugfix Don't ratelimit autojoining of rooms (#8921) 2020-12-11 10:17:49 +00:00