Commit Graph

22 Commits

Author SHA1 Message Date
Harry
4ee467be2b
Add screens unique to change number to new registration flow
* Add splash controller for change number flow

* Add copy of change number phone number entry controller

* add copy of change number confirmation view controller

* hook up change number phone number entry screens

* fix header color

* fix change number error view

* add some spacing before error label

* run auto genstrings

* actually fix string comment
2023-03-24 12:32:59 -07:00
Harry
19c69db4cf
Allow device transfer from reg bravo 2023-03-22 10:20:56 -07:00
Harry
59c164d849
Show reg bravo loading controller between all steps 2023-03-22 09:24:14 -07:00
Harry
68f34d10cd
Let the user change e164 after entering one in registration bravo
* Allow changing e164 after entering one + tests

* hook up back to change number from sms code verification screen

* nit

Co-authored-by: Evan Hahn <69474926+EvanHahn-Signal@users.noreply.github.com>

* nit 2

Co-authored-by: Evan Hahn <69474926+EvanHahn-Signal@users.noreply.github.com>

---------

Co-authored-by: Evan Hahn <69474926+EvanHahn-Signal@users.noreply.github.com>
2023-03-22 07:52:34 -07:00
Evan Hahn
2c7a8a8feb New registration: update step when dismissing error sheet
When a registration error is dismissed, we now call `nextStep()` (and
push the corresponding view controller). Sometimes, this will do
nothing. Sometimes, it will take you to a new screen.

As a "proof-of-concept", I updated our server failure handling code. We
want to bonk the user back to the phone number registration screen.
2023-03-17 07:43:48 -05:00
Harry
a31fb00368
Change all e164 references in reg coordinator to E164 type 2023-03-16 11:32:13 -07:00
Evan Hahn
faa8569d4a
Show generic errors in new registration
I also found a few spots where I failed to identify network errors in
366c08ac1b. This updates those.
2023-03-15 17:38:41 -05:00
Evan Hahn
366c08ac1b Show UI for registration network errors 2023-03-15 16:15:50 -05:00
Evan Hahn
f415335d1b
Add (dormant) reglock timeout screen 2023-03-15 15:41:36 -05:00
Evan Hahn
f5bd3b95fe
Add (dormant) "app needs to be updated" alert during registration
If your app needs to be updated during registration, we'll show an
alert. This can happen if:

- The build has expired
- We receive an unexpected challenge (or a push challenge we cannot
  fulfill, but must)
2023-03-15 12:54:42 -05:00
Pete Walters
f857ae62c7
Update registration UI for phone number discoverability 2023-03-13 18:30:34 -05:00
Harry
a146e18aaf
Set up account state and exit registration
* Go to chat list view after registration

* sync system contacts during registration

* Use explicit local credentials for storage service operations during registration

* fix tests

* Quick hack to get through double pin confirmation

* Finishing touches

* lint

* fix build

* reload phone number discoverability after storage service sync

* fix tests again

* Take chat auth on account and contact record initializers

* Change around branches for clarity in OWSUserProfile

* pr comments

* Split ChatServiceAuth into the same and AuthedAccount

* fix tests

* merge woes
2023-03-09 21:54:51 -08:00
Harry
38cba70b85
Hook up new registration PIN entry screen 2023-02-23 09:50:17 -08:00
Harry
66b1f1e9ad
Hook up RegistrationPhoneNumberDiscoverabilityViewController 2023-02-21 11:53:32 -08:00
Harry
d3897e4c78
Hook up RegistrationCaptchaViewController 2023-02-21 10:50:26 -08:00
Harry
9382ba690f
Hook up RegistrationProfileViewController 2023-02-21 10:00:23 -08:00
Harry
56364341fb
Hook up RegistrationTransferChoiceViewController 2023-02-21 09:16:37 -08:00
Harry
f5bdd6bafa
Hook up RegistrationVerificationViewController
* Hook up RegistrationVerificationViewController

* Fix existing tests

* add new test cases

* pr comments
2023-02-21 08:37:08 -08:00
Harry
dc1ac4fc8b
Hook up RegistrationPhoneNumberViewController
* Hook up RegistrationPhoneNumberViewController

* Fix existing tests

* add some new tests; fix test scaffolding bug

* Show an error before going back to phone number entry if the session is invalidated
2023-02-21 07:46:56 -08:00
Harry
798ad6dc67
Hook up RegistrationPermissionsViewController
* Hook up RegistrationPermissionsViewController

* Update tests accordingly

* rebase woes

* Simplify opening path testing in RegistrationCoordinatorTest
2023-02-17 16:31:13 -08:00
Harry
eec4e88b6e
Hook up RegistrationSplashViewController
* Hook together splash screen

* Mark splash as shown when moving past it, not when showing it

* pr comments
2023-02-17 15:52:33 -08:00
Harry
39ec3d8d56
Hook together RegistrationNavigationController and RegistrationCoordinator
* Move RegistrationNavigationController

* Create the most basic version of RegistrationNavController conceivable

* Hook up RegistrationCoordinator

* Add new scheme for testing registration bravo
2023-02-17 08:00:48 -08:00