synapse/tests/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
test_account.py annotate tests.server.FakeChannel (#13136) 2022-07-04 18:08:56 +01:00
test_account_data.py
test_auth.py
test_capabilities.py
test_consent.py
test_devices.py Add a background job to automatically delete stale devices (#12855) 2022-05-27 17:47:32 +02:00
test_directory.py validate room alias before interacting with the room directory (#13106) 2022-06-22 15:32:18 +01:00
test_ephemeral_message.py
test_events.py Additional constants for EDU types. (#12884) 2022-05-27 07:14:36 -04:00
test_filter.py
test_identity.py
test_keys.py
test_login.py Replace pyjwt with authlib in org.matrix.login.jwt (#13011) 2022-06-15 16:45:16 +00:00
test_mutual_rooms.py Mutual rooms: Remove dependency on user directory (#12836) 2022-05-30 10:05:31 +01:00
test_notifications.py Fix invite notifications for users without pushers (#12840) 2022-05-30 13:14:43 +02:00
test_password_policy.py
test_power_levels.py
test_presence.py
test_profile.py annotate tests.server.FakeChannel (#13136) 2022-07-04 18:08:56 +01:00
test_push_rule_attrs.py
test_redactions.py
test_register.py Drop support for delegating email validation (#13192) 2022-07-12 19:18:53 +01:00
test_relations.py annotate tests.server.FakeChannel (#13136) 2022-07-04 18:08:56 +01:00
test_report_event.py
test_retention.py Rename storage classes (#12913) 2022-05-31 12:17:50 +00:00
test_room_batch.py Remove remaining bits of groups code. (#12936) 2022-06-01 09:41:25 -04:00
test_rooms.py Don't pull out the full state when calculating push actions (#13078) 2022-07-11 20:08:39 +00:00
test_sendtodevice.py Additional constants for EDU types. (#12884) 2022-05-27 07:14:36 -04:00
test_shadow_banned.py Additional constants for EDU types. (#12884) 2022-05-27 07:14:36 -04:00
test_sync.py Additional constants for EDU types. (#12884) 2022-05-27 07:14:36 -04:00
test_third_party_rules.py
test_transactions.py
test_typing.py Additional constants for EDU types. (#12884) 2022-05-27 07:14:36 -04:00
test_upgrade_room.py Add more tests for room upgrades (#13074) 2022-06-15 18:58:23 +01:00
utils.py Uniformize spam-checker API, part 5: expand other spam-checker callbacks to return Tuple[Codes, dict] (#13044) 2022-07-11 16:52:10 +00:00