Commit Graph

10 Commits (95e02899b45735da73f299043e341f08287fc30e)

Author SHA1 Message Date
J. Ryan Stinnett 5701bf89de Direct some flows to the welcome page 2019-02-08 12:12:43 +00:00
Bruno Windels af9d572545 more lint fixing 2019-01-30 18:30:01 +01:00
Bruno Windels b90ca50e1d comment out unused function to appease linter 2019-01-30 17:08:34 +01:00
Bruno Windels a0d44003e4 disable ilag 2019-01-30 15:03:11 +01:00
Travis Ralston 576bfedfb5 Remove global flag
Regular expression objects are stateful, and the global flag interferes badly with the expression. A valid call can cause it to act like a flip flop instead of a stateless test.
2018-12-13 22:00:06 -07:00
Travis Ralston 8592e76e12 Standardize errors about localpart structure
Fixes https://github.com/vector-im/riot-web/issues/5833

This also includes changing some Jira references that aren't searchable anymore, and a thing to replace the spinner on the SetMxidDialog as per https://github.com/vector-im/riot-web/issues/5833#issuecomment-445323177
2018-12-13 16:45:30 -07:00
Travis Ralston fe27fae80f Add m.login.terms to the ILAG-compatible flows
Otherwise we get "Registration Required" instead of "Pick a username"

Part of https://github.com/vector-im/riot-web/issues/7700
2018-11-14 17:59:24 -07:00
David Baker 32da44615e Use some/every instead of doing it manually 2018-09-06 15:50:41 +01:00
David Baker eced58701d Lint 2018-09-05 20:34:03 +01:00
David Baker a042f4d0af Do full registration if HS doesn't support ILAG
ILAG only works on HSes that allow registering without an email
address, so whenever we redirect to the ILAG flow, check what
registration flows the server supports, and if it doesn't offer one
that's ILAG-compatible, prompt the user to go through the full
registration process instead.

This doesn't change all the entry points into ILAG, I'll do that
in a separate commit.
2018-09-05 17:07:39 +01:00