Commit graph

143 commits

Author SHA1 Message Date
Alfonso Grillo
501f06279e Add tests 2022-11-16 11:18:03 +01:00
Alfonso Grillo
92fc0e5146 Cleanup unused code 2022-11-10 12:12:32 +01:00
Alfonso Grillo
47310b1a73 Move Move UserAgentParserTests 2022-11-10 10:31:32 +01:00
paleksandrs
36a9c3c696 Snooze controller 2022-11-09 14:59:35 +02:00
paleksandrs
484cab4451 Merge branch 'develop' into aleksandrs/6963_multi_session_logout 2022-11-02 14:02:52 +02:00
paleksandrs
6487da39e1 Fixed unit tests 2022-11-01 09:42:15 +02:00
Andy Uhnak
ba175027e3 Complete MXCryptoV2 implementation 2022-10-26 17:00:43 +01:00
Andy Uhnak
170f26532c Define MXCrypto and MXCrossSigning as protocols 2022-10-25 14:11:39 +01:00
Stefan Ceriu
096138452c Fix authentication unit tests 2022-10-13 20:49:32 +03:00
Stefan Ceriu
1739808130 Remove now unnecessary creator public key publishing. Rebuilt flows and fixed tests 2022-10-12 17:27:25 +03:00
Stefan Ceriu
e51a07b85c Fix initiator flows and e2e tests 2022-10-12 17:27:25 +03:00
Stefan Ceriu
dcc9cf71c6 Implement login with scanned QR code flows 2022-10-12 17:27:25 +03:00
Doug
be25adc21d Fix RiotTests. 2022-10-12 14:42:24 +01:00
Doug
313331708d
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
c358f28a55
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
d5ac519e8f
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
ff73246891 Fix authentication tests. 2022-10-10 15:30:24 +01:00
Johannes Marbach
03b0cd80da Merge branch 'develop' into johannes/session-name-trumps-device-type-name 2022-10-07 13:27:16 +02:00
ismailgulek
1ee8c9ca19
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
42f7934f74 Only use device type name as fallback for session display name 2022-10-07 09:48:17 +02:00
ismailgulek
19afad1f18
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
033920e63f 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
dd8d27bcac Unverified sessions screen 2022-10-05 16:22:52 +03:00
ismailgulek
dadbeca766
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
0ecbf82eee Added support for MSC3881
- Update after review
2022-10-03 15:33:35 +02:00
Stefan Ceriu
52c4ff65db
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
2f689f4557
Extended device info (PSG-772) (#6766) 2022-09-29 15:07:10 +03:00
Johannes Marbach
b846c393a5
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
a1361ce95d Add AppVersion to test target 2022-09-26 17:33:11 +02:00
Johannes Marbach
7c511238dd Add AppInfo to test target 2022-09-26 16:35:48 +02:00
aringenbach
04ef849913 Fix render of links with both characters requiring percent encoding and markdown-like syntax 2022-09-23 15:06:40 +02:00
Gil Eluard
c4e0544c89 Fixed failed to join room (was not legal room) 2022-09-20 10:01:46 +02:00
Doug
9a1c12f53b 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
84975deec7 Fix tests missing data source parameter 2022-08-29 10:10:56 +03:00
Gil Eluard
19d2a68902 App Layout: Fixed Analytics Tests 2022-08-24 13:43:24 +02:00
Doug
90ecedbd22 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
66a2d9f5ea
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
e3bcb71b09 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
a529389ddf Fix Riot tests. 2022-07-14 16:56:35 +01:00
aringenbach
6177562462 Fix PillsFormatter unit tests 2022-07-12 09:47:12 +02:00
aringenbach
ecd3fb9b01 Add formatter build reply HTML unit tests 2022-07-06 15:15:29 +02:00
Doug
3e6925b980 Trim whitespace and trailing slashes from a user entered homeserver address. 2022-06-21 10:04:22 +01:00
aringenbach
5aba712828
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
83e2b1d440 Add custom string representations of view model/coordinator results. 2022-06-17 10:15:10 +01:00
aringenbach
d2ca614655 Add avatar url and attachment size tests 2022-06-17 09:16:59 +02:00
aringenbach
ff17725bba Use latest user data for mention pills 2022-06-16 17:07:47 +02:00
ismailgulek
4a4c15aed2
Create PasswordValidator 2022-06-10 18:06:21 +03:00
ismailgulek
8e11dd46a8
Fix PR remarks 2022-06-09 13:22:50 +03:00
ismailgulek
9f59a7bf9d
Add resetOthers parameter to session creator method 2022-06-08 17:22:47 +03:00
ismailgulek
ceae4a455d
Merge pull request #6250 from vector-im/ismail/6180_support_prov_links 2022-06-07 20:54:14 +03:00