Commit Graph

22 Commits

Author SHA1 Message Date
Stefan Ceriu cf76ed99cd Fix authentication unit tests 2022-10-13 20:49:32 +03:00
Doug a3d57619bb Fix authentication tests. 2022-10-10 15:30:24 +01:00
ismailgulek d5c7e6bd8e 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 264801b2e7 Fixed failed to join room (was not legal room) 2022-09-20 10:01:46 +02:00
Doug aa31c852f1 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 7e411d1528 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 e0a85292d9 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 a2ff36ab21 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 c577521c6c Fix Riot tests. 2022-07-14 16:56:35 +01:00
Doug e32d6893a9 Trim whitespace and trailing slashes from a user entered homeserver address. 2022-06-21 10:04:22 +01:00
Doug e8899f134e Add custom string representations of view model/coordinator results. 2022-06-17 10:15:10 +01:00
ismailgulek e2927ac206 Fix PR remarks 2022-06-09 13:22:50 +03:00
ismailgulek 4e696c36bc Add resetOthers parameter to session creator method 2022-06-08 17:22:47 +03:00
Doug c9acc240a8 Add initial tests on the authentication service. (#6229) 2022-06-06 13:20:46 +01:00
Doug 292cd4a5d2 Disable the next button whilst loading a server.
Add tests for login screen.
Self review.
2022-05-24 18:03:31 +01:00
Doug 770771473b Add initial implementation of the LoginWizard. 2022-05-24 10:09:24 +01:00
Doug 5d17badc66 Add tests for FlowResult. 2022-05-19 11:43:38 +01:00
Andy Uhnak dcb33a5380 Reduce the number of unnecessary home page reloads 2022-04-04 12:04:55 +01:00
Andy Uhnak 454f62bce0 Refactor sections as enum types 2022-04-04 09:40:26 +01:00
Andy Uhnak a783227e64 Join room loading indicators 2022-03-29 15:03:09 +01:00
Andy Uhnak 6285bb5efe URL encode fragment deeplink 2022-03-28 16:55:54 +01:00
Andy Uhnak 1ba45524a7 Enable joining a room via identifier from another home server 2022-03-28 16:34:12 +01:00