This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Implement MSC2290 #6043
Merged
Merged
Implement MSC2290 #6043
Changes from 39 commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
d00435b
Allow HS to send emails when adding an email to the HS
anoadragon453 c04b2c0
Correct some small issues and fix bug
anoadragon453 292c007
Address review comments
anoadragon453 da11cc6
Remove blacklist
anoadragon453 f5e4c1b
Fix add_threepid template default values in emailconfig
anoadragon453 bb13515
Re-blacklist tests
anoadragon453 9718ad6
Factor out removing id_server from msisdn
anoadragon453 b7cd985
Ensure REMOTE vs LOCAL ThreepidBehaviour is handled
anoadragon453 1f17307
Move jinja failure template loading into servlet constructor
anoadragon453 d7ff1cd
Set email
anoadragon453 7a678a6
Make sure templates only get loaded when necessary
anoadragon453 102b608
Pull if validation_session out of helper method
anoadragon453 37281e3
this confused me for so long
anoadragon453 29fc7bb
Ensure we catch HttpResponseException when calling to id servers
anoadragon453 f4e93ae
Unpack response from identity server to check for errors
anoadragon453 b840aff
Factor out password_reset trailing slash change
anoadragon453 3713c2c
Address review comments
anoadragon453 8dcb79c
validation_session cannot be None
anoadragon453 3336902
Just added the endpoints, pulling in infra
anoadragon453 a7cd54e
Fill out ThreepidAddRestServlet
anoadragon453 088d6e4
Finish the bind endpoint servlet and remove _extract_items_from_creds…
anoadragon453 f3fbe5f
Add changelog
anoadragon453 8463b7d
Make user account deactivation remove bound 3pids not on the user acc…
anoadragon453 21ea59b
Just added the endpoints, pulling in infra
anoadragon453 b0a2c2e
Fill out ThreepidAddRestServlet
anoadragon453 113ebcf
Finish the bind endpoint servlet and remove _extract_items_from_creds…
anoadragon453 3a0b7f2
Remove id_server from POST /account/3pid/msisdn/requestToken
anoadragon453 b13db4a
Make sure these new endpoints aren't also on r0
anoadragon453 4206cfc
Fix wrong config option and delete double servlets
anoadragon453 8683acc
Correct pulling variables out of validation_session
anoadragon453 9066368
Make sure to yield
anoadragon453 c637f74
english
anoadragon453 d89152d
/account/3pid/add is email only for now
anoadragon453 4275980
Temporarily c/p /account/3pid to /account/3pid/add
anoadragon453 c1a676e
Address review comments
anoadragon453 8fd3581
Consolidate threepid adding functionality in /account/3pid, account/3…
anoadragon453 66944d7
lint
anoadragon453 3daf0de
typo
anoadragon453 e4bb5ab
submit_token got its trailing slash again
anoadragon453 abc6f20
remove cyclic dep
anoadragon453 ff9eca5
Forgot my darn yields
anoadragon453 b61b73a
Re-add error checking on threepid_from_creds
anoadragon453 4c784e9
address my own review comments
richvdh 93de39b
Update synapse/handlers/identity.py
richvdh e5f4041
Merge branch 'develop' into anoa/msc2290
richvdh 6b2f8d1
fix bad merge
richvdh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Implement new Client Server API endpoints `/account/3pid/add` and `/account/3pid/bind` as per [MSC2290](https://github.com/matrix-org/matrix-doc/pull/2290). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll address this in a future PR