summary refs log tree commit diff
path: root/synapse/rest/client/account.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* A second batch of Pydantic models for rest/client/account.py (#13687)David Robertson2022-09-071-28/+26
|
* Drop support for delegating email validation, round 2 (#13596)David Robertson2022-08-231-73/+35
|
* Fix validation problem that occurs when a user tries to deactivate their ↵reivilibre2022-08-191-3/+3
| | | | account or change their password. (#13563)
* Use Pydantic to systematically validate a first batch of endpoints in ↵David Robertson2022-08-151-85/+63
| | | | `synapse.rest.client.account`. (#13188)
* Revert "Drop support for delegating email validation (#13192)" (#13406)3nprob2022-07-291-34/+72
| | | | | Reverts commit fa71bb18b527d1a3e2629b48640ea67fff2f8c59, and tweaks documentation. Signed-off-by: 3nprob <git@3n.anonaddy.com>
* Drop support for calling `/_matrix/client/v3/account/3pid/bind` without an ↵Jacek Kuśnierz2022-07-121-2/+4
| | | | | | | `id_access_token` (#13239) Fixes #13201 Signed-off-by: Jacek Kusnierz jacek.kusnierz@tum.de
* Drop support for delegating email validation (#13192)Richard van der Hoff2022-07-121-73/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Remove unstable identifiers for MSC3069. (#12596)Patrick Cloke2022-05-031-2/+0
|
* Remove more references to `get_datastore` (#12067)Richard van der Hoff2022-02-231-3/+0
| | | | | These have snuck in since #12031 was started. Also a couple of other cleanups while we're in the area.
* Remove `HomeServer.get_datastore()` (#12031)Richard van der Hoff2022-02-231-9/+9
| | | | | | | The presence of this method was confusing, and mostly present for backwards compatibility. Let's get rid of it. Part of #11733
* Implement account status endpoints (MSC3720) (#12001)Brendan Abolivier2022-02-221-0/+33
| | | | | See matrix-org/matrix-doc#3720 Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com>
* Use stable MSC3069 `is_guest` flag on `/whoami`. (#12021)Travis Ralston2022-02-181-0/+2
| | | Keeping backwards compatibility with the unstable flag for now.
* Add a callback to allow modules to deny 3PID (#11854)Brendan Abolivier2022-02-081-2/+2
| | | | | Part of the Tchap Synapse mainlining. This allows modules to implement extra logic to figure out whether a given 3PID can be added to the local homeserver. In the Tchap use case, this will allow a Synapse module to interface with the custom endpoint /internal_info.
* Use direct references for configuration variables (part 7). (#10959)Patrick Cloke2021-10-041-11/+11
|
* Use direct references for configuration variables (part 6). (#10916)Patrick Cloke2021-09-291-5/+5
|
* Implement MSC3069: Guest support on whoami (#9655)Travis Ralston2021-09-291-2/+6
|
* Use direct references for some configuration variables (part 3) (#10885)Patrick Cloke2021-09-231-20/+20
| | | | | | | | This avoids the overhead of searching through the various configuration classes by directly referencing the class that the attributes are in. It also improves type hints since mypy can now resolve the types of the configuration variables.
* Additional type hints for client REST servlets (part 4) (#10728)Patrick Cloke2021-09-011-43/+39
|
* Flatten the synapse.rest.client package (#10600)reivilibre2021-08-171-0/+910