anonymousland-synapse/synapse/rest/client
Richard van der Hoff fa71bb18b5
Drop support for delegating email validation (#13192)
* Drop support for delegating email validation

Delegating email validation to an IS is insecure (since it allows the owner of
the IS to do a password reset on your HS), and has long been deprecated. It
will now cause a config error at startup.

* Update unit test which checks for email verification

Give it an `email` config instead of a threepid delegate

* Remove unused method `requestEmailToken`

* Simplify config handling for email verification

Rather than an enum and a boolean, all we need here is a single bool, which
says whether we are or are not doing email verification.

* update docs

* changelog

* upgrade.md: fix typo

* update version number

this will be in 1.64, not 1.63

* update version number

this one too
2022-07-12 19:18:53 +01:00
..
__init__.py
_base.py
account_data.py Extra validation for rest/client/account_data (#13148) 2022-07-01 11:04:56 +01:00
account_validity.py
account.py Drop support for delegating email validation (#13192) 2022-07-12 19:18:53 +01:00
auth.py Use getClientAddress instead of getClientIP. (#12599) 2022-05-04 14:11:21 -04:00
capabilities.py
devices.py Consolidate the logic of delete_device/delete_devices. (#12970) 2022-06-07 07:43:35 -04:00
directory.py Remove unspecced DELETE endpoint that modifies room visibility (#13123) 2022-06-28 11:22:59 +00:00
events.py
filter.py
initial_sync.py
keys.py
knock.py Use ParamSpec in a few places (#12667) 2022-05-09 10:27:39 +00:00
login.py Make the AS login method call Auth.get_user_by_req for checking the AS token. (#13094) 2022-07-12 18:06:29 +01:00
logout.py Consolidate the logic of delete_device/delete_devices. (#12970) 2022-06-07 07:43:35 -04:00
mutual_rooms.py Mutual rooms: Remove dependency on user directory (#12836) 2022-05-30 10:05:31 +01:00
notifications.py Implement changes to MSC2285 (hidden read receipts) (#12168) 2022-05-04 11:59:22 -04:00
openid.py
password_policy.py
presence.py
profile.py Fix destination_is errors seen in sentry. (#13041) 2022-06-14 18:28:26 +01:00
push_rule.py Add some type hints to datastore (#12717) 2022-05-17 15:29:06 +01:00
pusher.py Move the "email unsubscribe" resource, refactor the macaroon generator & simplify the access token verification logic. (#12986) 2022-06-14 09:12:08 -04:00
read_marker.py Don't error on unknown receipt types (#12670) 2022-05-09 11:09:19 +01:00
receipts.py No longer permit empty body when sending receipts (#12709) 2022-05-11 15:34:17 +00:00
register.py Drop support for delegating email validation (#13192) 2022-07-12 19:18:53 +01:00
relations.py Move the (unstable) dir parameter for /relations behind an experimental flag. (#12984) 2022-06-08 09:00:35 -04:00
report_event.py
room_batch.py Room batch: fix up handling of unknown prev_event_ids (#12316) 2022-03-29 14:56:25 +01:00
room_keys.py
room_upgrade_rest_servlet.py
room.py Allow MSC3030 'timestamp_to_event' calls from anyone on world-readable rooms. (#13062) 2022-06-17 11:39:26 +01:00
sendtodevice.py
sync.py Additional constants for EDU types. (#12884) 2022-05-27 07:14:36 -04:00
tags.py
thirdparty.py
tokenrefresh.py
transactions.py Use ParamSpec in a few places (#12667) 2022-05-09 10:27:39 +00:00
user_directory.py Correct check_username_for_spam annotations and docs (#12246) 2022-03-18 13:51:41 +00:00
versions.py Implement MSC3827: Filtering of /publicRooms by room type (#13031) 2022-06-29 17:12:45 +00:00
voip.py