Commit Graph

139 Commits

Author SHA1 Message Date
paleksandrs 5084e0f54e Merge branch 'develop' into aleksandrs/6963_multi_session_logout 2022-11-02 14:02:52 +02:00
paleksandrs c793057beb Fixed unit tests 2022-11-01 09:42:15 +02:00
Andy Uhnak 6fad57f0a5 Complete MXCryptoV2 implementation 2022-10-26 17:00:43 +01:00
Andy Uhnak ef41004586 Define MXCrypto and MXCrossSigning as protocols 2022-10-25 14:11:39 +01:00
Stefan Ceriu cf76ed99cd Fix authentication unit tests 2022-10-13 20:49:32 +03:00
Stefan Ceriu 1e03508a89 Remove now unnecessary creator public key publishing. Rebuilt flows and fixed tests 2022-10-12 17:27:25 +03:00
Stefan Ceriu 56bfde2a1d Fix initiator flows and e2e tests 2022-10-12 17:27:25 +03:00
Stefan Ceriu fa3866ea76 Implement login with scanned QR code flows 2022-10-12 17:27:25 +03:00
Doug bbd3470659 Fix RiotTests. 2022-10-12 14:42:24 +01:00
Doug 6a0112aa95 Device Manager: Verify session (#6832)
* Initial implementation
* Add verificationState to UserSessionInfo
* Listen for changes device changes in the service.
2022-10-11 16:11:52 +01:00
Doug 6c9a058b93 Device Manager: Rename Session (#6826)
* Publish the user sessions overview data.
* Add UserSessionName screen.
* Update logout action to match Figma more closely.
2022-10-11 13:11:15 +01:00
ismailgulek f6a0208bd5 Ignore OS version from web based sessions (PSG-826) (#6852)
* Ignore OS version from web based sessions

* Add changelog
2022-10-11 14:39:36 +03:00
Doug a3d57619bb Fix authentication tests. 2022-10-10 15:30:24 +01:00
Johannes Marbach ba7c84f451 Merge branch 'develop' into johannes/session-name-trumps-device-type-name 2022-10-07 13:27:16 +02:00
ismailgulek 429a2f83a3 QR login from device manager (#6818)
* Add link device button into the sessions overview screen

* Run Swift format

* Fix tests

* Fix a crash in tests

* Fix PR remark
2022-10-07 12:58:26 +03:00
Johannes Marbach bdce8f1c09 Only use device type name as fallback for session display name 2022-10-07 09:48:17 +02: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
Stefan Ceriu a31758bb3d Add rendezvous service (MSC3886) and ECDH X25519 AES 256 based secure channel creation establishing implementation and simple tests. 2022-10-06 17:33:18 +03:00
Aleksandrs Proskurins 21225b408f Unverified sessions screen 2022-10-05 16:22:52 +03:00
ismailgulek 8903fde833 Include browser version in parsed user agent (PSG-761) (#6788)
* Update UserSessionInfo structure to include client version

* Add string for browser

* Update user agent parser to parse browser version too

* Add browser row into the session details

* Add changelog

* Fix tests

* Run Swift format
2022-10-04 10:49:26 +03:00
Gil Eluard d5b8f43f59 Added support for MSC3881
- Update after review
2022-10-03 15:33:35 +02:00
Stefan Ceriu 5396e7351b Improve user session overview tests
* Add sessions overview UI tests
* Expose static methods from the UserSession name and lastActivity formatters; cleaned up the UserSessionsOverview a bit
* Add UserSessionsOverviewViewModel unit tests
* Add UserSessionsOverviewService unit tests
2022-09-30 13:49:16 +03:00
ismailgulek f8dccee9d6 Extended device info (PSG-772) (#6766) 2022-09-29 15:07:10 +03:00
Johannes Marbach cdbc271e29 Merge pull request #6761 from vector-im/johannes/device-model-in-user-agent
Include concrete device model in user agent (PSG-754)
2022-09-26 19:46:52 +02:00
Johannes Marbach f7e3bbc454 Add AppVersion to test target 2022-09-26 17:33:11 +02:00
Johannes Marbach cb26152166 Add AppInfo to test target 2022-09-26 16:35:48 +02:00
aringenbach 2cf7e7ebab Fix render of links with both characters requiring percent encoding and markdown-like syntax 2022-09-23 15:06:40 +02: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
Stefan Ceriu ca5b2be805 Fix tests missing data source parameter 2022-08-29 10:10:56 +03:00
Gil Eluard 029abe88fd App Layout: Fixed Analytics Tests 2022-08-24 13:43:24 +02: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
aringenbach bef199d9c2 Fix PillsFormatter unit tests 2022-07-12 09:47:12 +02:00
aringenbach 877e53c2b8 Add formatter build reply HTML unit tests 2022-07-06 15:15:29 +02:00
Doug e32d6893a9 Trim whitespace and trailing slashes from a user entered homeserver address. 2022-06-21 10:04:22 +01:00
aringenbach 23dc19be70 Merge pull request #6309 from vector-im/aringenbach/6302_use_latest_data_for_pills
Use latest user data for mention pills
2022-06-17 13:56:20 +02:00
Doug e8899f134e Add custom string representations of view model/coordinator results. 2022-06-17 10:15:10 +01:00
aringenbach 4f4f15e8d4 Add avatar url and attachment size tests 2022-06-17 09:16:59 +02:00
aringenbach cc2a95e865 Use latest user data for mention pills 2022-06-16 17:07:47 +02:00
ismailgulek 2ac59cdf20 Create PasswordValidator 2022-06-10 18:06:21 +03: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
ismailgulek fb4e5085cb Merge pull request #6250 from vector-im/ismail/6180_support_prov_links 2022-06-07 20:54:14 +03:00
ismailgulek 69d0954dd0 Update UniversalLink class to parse path and query params 2022-06-07 16:05:47 +03:00
ismailgulek f9334b1b13 Mock account manager and disable saving on session creator tests 2022-06-06 16:16:12 +03:00
ismailgulek 207277432f Merge branch 'develop' into ismail/6177_wellknown_IS 2022-06-06 15:23:22 +03:00
Doug c9acc240a8 Add initial tests on the authentication service. (#6229) 2022-06-06 13:20:46 +01:00