Commit Graph

22 Commits

Author SHA1 Message Date
Stefan Ceriu de0e26e5ce Fix authentication unit tests 2022-10-13 20:49:32 +03:00
Doug b2439c030b Fix authentication tests. 2022-10-10 15:30:24 +01:00
ismailgulek 27857f98db Login with QR UI components (#6790)
* Display QR button on login screen if HS supports

* Create start screen

* Add build flag

* Connect start screen to the login

* QR display screen

* Move `LabelledDividerView` into separate file

* Show display QR screen on button tap

* Add swift concurreny to CameraAccessManager

* Introduce `QRLoginServiceProtocol`

* Use new service in screens

* Introduce scan QR code screen

* Remove hardcoded service availability

* Remove unnecessary import

* Add confirmation screen

* Add loading screen

* Fix ZXingObjc targets

* Add failure screen

* Add strings

* Various UI tweaks, navigation according to the service state

* Fix tests

* Add string for invalid QR error

* Add QR login service mode
2022-10-06 18:05:46 +03:00
Gil Eluard 779613a02a Fixed failed to join room (was not legal room) 2022-09-20 10:01:46 +02:00
Doug e15e437616 Put the session creator on the main actor instead.
This covers all login and registration options.
2022-09-16 12:31:25 +01:00
Doug 3c409a632e Use the default homeserver when starting a new auth flow.
And override this when a provisioning link has been set.
2022-08-09 08:54:31 +01:00
Doug c5a50fd203 Stop using an ephemeral web browser session on SSO (#6464)
Rename the bundle name to Element for the SSO alert.

* Fix unit tests after bundle name change.

* Update slather for bundle name change.
2022-07-27 12:13:31 +01:00
Doug 6a3deb4c5c FTUE tweaks
- Allow login using a phone number.
- Update the server when entering a full MXID during registration.
- Reset the authentication service back to matrix.org after onboarding completes.
- Disable zoom on ReCaptcha to fix responsiveness issue.
- Tidy up unused methods.
2022-07-19 09:22:15 +01:00
Doug 85cdd41a29 Fix Riot tests. 2022-07-14 16:56:35 +01:00
Doug 6cb4a8cf04 Trim whitespace and trailing slashes from a user entered homeserver address. 2022-06-21 10:04:22 +01:00
Doug 61e42cd685 Add custom string representations of view model/coordinator results. 2022-06-17 10:15:10 +01:00
ismailgulek 0a53cc4ac7 Fix PR remarks 2022-06-09 13:22:50 +03:00
ismailgulek 9103ccc5d7 Add resetOthers parameter to session creator method 2022-06-08 17:22:47 +03:00
Doug c3c78a51fd Add initial tests on the authentication service. (#6229) 2022-06-06 13:20:46 +01:00
Doug e9484719ec Disable the next button whilst loading a server.
Add tests for login screen.
Self review.
2022-05-24 18:03:31 +01:00
Doug ac755f11f5 Add initial implementation of the LoginWizard. 2022-05-24 10:09:24 +01:00
Doug 68b5a9e88b Add tests for FlowResult. 2022-05-19 11:43:38 +01:00
Andy Uhnak e817286424 Reduce the number of unnecessary home page reloads 2022-04-04 12:04:55 +01:00
Andy Uhnak 3f34fd655a Refactor sections as enum types 2022-04-04 09:40:26 +01:00
Andy Uhnak fadfa48f9f Join room loading indicators 2022-03-29 15:03:09 +01:00
Andy Uhnak f648c5f137 URL encode fragment deeplink 2022-03-28 16:55:54 +01:00
Andy Uhnak 37a0a8b974 Enable joining a room via identifier from another home server 2022-03-28 16:34:12 +01:00