summary refs log tree commit diff
path: root/scripts-dev/mypy_synapse_plugin.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-12-08Simplify the flow for SSO UIA (#8881)Richard van der Hoff7-40/+144
* SsoHandler: remove inheritance from BaseHandler * Simplify the flow for SSO UIA We don't need to do all the magic for mapping users when we are doing UIA, so let's factor that out.
2020-12-08Clarify config template comments (#8891)Richard van der Hoff4-16/+9
2020-12-07Call set_avatar_url with target_user, not user_id (#8872)Will Hunt3-3/+9
* Call set_avatar_url with target_user, not user_id Fixes https://github.com/matrix-org/synapse/issues/8871 * Create 8872.bugfix * Update synapse/rest/admin/users.py Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com> * Testing * Update changelog.d/8872.bugfix Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com> Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
2020-12-07Do not raise a 500 exception when previewing empty media. (#8883)Patrick Cloke3-12/+22
2020-12-07Add type hints for HTTP and email pushers. (#8880)Patrick Cloke8-101/+168
2020-12-07Add type hints to the push mailer module. (#8882)Patrick Cloke3-40/+85
2020-12-04Add authentication to replication endpoints. (#8853)Patrick Cloke7-15/+184
Authentication is done by checking a shared secret provided in the Synapse configuration file.
2020-12-04Pass room_id to get_auth_chain_difference (#8879)Erik Johnston6-17/+33
This is so that we can choose which algorithm to use based on the room ID.
2020-12-04Add additional validation to pusher URLs. (#8865)Patrick Cloke6-30/+106
Pusher URLs now must end in `/_matrix/push/v1/notify` per the specification.
2020-12-04Do not 500 if the content-length is not provided when uploading media. (#8862)Patrick Cloke2-1/+2
Instead return the proper 400 error.
2020-12-04Minor update to CHANGES. v1.24.0rc2Patrick Cloke1-1/+1
2020-12-041.24.0rc2Patrick Cloke4-3/+16
2020-12-04Fix a regression that mapping providers should be able to redirect users. ↵Patrick Cloke6-8/+60
(#8878) This was broken in #8801.
2020-12-04Remove version pin prometheus_client dependency (#8875)Jordan Bancino3-9/+7
This removes the version pin of the `prometheus_client` dependency, in direct response to #8831. If merged, this will close #8831 As far as I can tell, no other changes are needed, but as I'm no synapse expert, I'm relying heavily on CI and maintainer reviews for this. My very primitive test of synapse with prometheus_client v0.9.0 on my home server didn't bring up any issues, so we'll see what happens. Signed-off-by: Jordan Bancino
2020-12-04Fix a buglet in the SAML username mapping provider doc (#8873)Richard van der Hoff2-1/+4
the constructor is called with a `module_api`.
2020-12-03