Skip to content
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
masterfrom
dbkr/msisdn_signin_2
Closed

Login / registration with phone number, mark 2#749
dbkr wants to merge 260 commits into
masterfrom
dbkr/msisdn_signin_2

Conversation

@dbkr
Copy link
Copy Markdown
Member

@dbkr dbkr commented Mar 14, 2017

Once again, presented in 2 acts. First commit contains original changes from #742, second updates to support login on old HSes.

Luke Barnard and others added 30 commits February 2, 2017 13:56
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
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
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.
Luke Barnard and others added 27 commits March 6, 2017 15:01
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.
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
To support login on old HSes
@dbkr
Copy link
Copy Markdown
Member Author

dbkr commented Mar 14, 2017

D'oh, wrong branch.

@dbkr dbkr closed this Mar 14, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants