This repository was archived by the owner on Sep 11, 2024. It is now read-only.
Login / registration with phone number, mark 2#749
Closed
dbkr wants to merge 260 commits into
Closed
Conversation
Use the /login endpoint of the RTS to get the team token when the user has successfully logged in.
(Keep js-sdk on develop)
vector is dead, long live riot
Since I can't figure out how this is happening, add a shedload of logging to try to pin it down.
Logging to try to track down riot-web#3148
RTS Welcome Pages
Get team_token from the RTS on login
This is so that when the verification link is clicked from an email, the referrer is set on the new instance of riot when /rts/register is hit
…oken Do not set team_token if not returned by RTS on login
Set referrer qp in nextLink
This was necessary because the team token may not be known when registering, but domain is. Storing the icon under the "common" directory is the chosen solution to this.
For the purposes of testing (and having a team page)
There was a bug here that meant that sometimes arguments were given in the wrong order; presumably leading to the status bar not appearing for calls etc.
Instead show a user name or avatar.
Pass extra info from the UI auth process as a second parameter to onAuthFinished. Allows the email sid & client secret to be used outside of the UI auth process.
But make sure that nothing other than the callback is done when RoomTile is clicked.
Clarify "No devices" message
Fix the team server registration
Allow user to choose from existing DMs on new chat
Show message redactions as black event tiles
* WIP msisdn sign in * A mostly working country picker * Fix bug where you'dbe logged out after registering Stop the guest sync, otherwise it gets 401ed for using a guest access token for a non-guest, causing us to beliebe we've been logged out. * Use InteractiveAuth component for registration * Fix tests * Remove old signup code * Signup -> Login Now that Signup contains no code whatsoever related to signing up, rename it to Login. Get rid of the Signup class. * Stray newline * Fix more merge failing * Get phone country & number to the right place * More-or-less working msisdn auth component * Send the bind_msisdn param on registration * Refinements to country dropdown Rendering the whole lot when the component was rendered just makes the page load really slow, so just show 2 at a time and rely on type-to-search. Make type-to-search always display an exact iso2 match first * Propagate initial inputs to the phone input * Support msisdn login * semicolon * Fix PropTypes * Oops, use the 1qst element of the array Not the array of object keys which has no particular order * Make dropdown/countrydropdown controlled * Unused line * Add note on DOM layout * onOptionChange is required * More docs * Add missing propTypes * Don't resume promise on error * Use React.Children to manipulate children * Make catch less weird * Fix null dereference Assuming [0] of an empty list == undefined doesn't work if you're then taking a property of it.
Add support for pasting files into the text box
Add onClick to permalinks to route within Riot
This reverts commit 0269562. This breaks against the current synapse release. We need to think more carefully about backwards compatibility.
fix up default dialog cancel button
Changes from #742
To support login on old HSes
Member
Author
|
D'oh, wrong branch. |
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Once again, presented in 2 acts. First commit contains original changes from #742, second updates to support login on old HSes.