Commit Graph

24 Commits

Author SHA1 Message Date
Alfonso Grillo
a3959fe3d2 Add VerificationState.isUnverified 2022-11-18 10:50:53 +01:00
Alfonso Grillo
6bd006337e Improve unit tests 2022-11-16 11:52:22 +01:00
Aleksandrs Proskurins
0614b019af PSG-976 Exclude current session from security recommendations and other sessions 2022-10-28 10:14:19 +03:00
Doug
7697724adc Update strings for unknown sessions. 2022-10-12 14:42:24 +01:00
Doug
3279f58ec4 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
efaf98fe6a 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
09124c2243 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
Aleksandrs Proskurins
31a2ad9229 Renamed sortAndConvertDevices method 2022-10-06 13:16:10 +03:00
Aleksandrs Proskurins
2d09243139 Unverified sessions screen 2022-10-05 16:22:52 +03:00
ismailgulek
c37b7d434b 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
Stefan Ceriu
f8d6f43967 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
8d9ef7ce1d Extended device info (PSG-772) (#6766) 2022-09-29 15:07:10 +03:00
Stefan Ceriu
63a37d59e9 Fix member modifier warning 2022-09-28 15:36:11 +03:00
Stefan Ceriu
c2f9a19316 Cleaned up session overview services 2022-09-28 15:36:11 +03:00
Stefan Ceriu
7eee1cceab Implemented PSG-680 - Sessions overview security recommendations
- remove uppercased strings from localizables
- moved inactivity computation to the service
2022-09-28 15:36:11 +03:00
Aleksandrs Proskurins
ed8d2f1083 Moved isCurrentSession into UserSessionInfo 2022-09-27 15:36:44 +03:00
Stefan Ceriu
43c28d23b7 Configured and applied SwiftFormat 2022-09-27 12:55:44 +03:00
Stefan Ceriu
ff2e6ddfa7 Cleaned up various things around the UserSessionsOverviewService 2022-09-27 09:27:07 +03:00
Stefan Ceriu
eac1401cc1 Cleaned up various things, mostly removed unnecessary selfs, comments and bad formatting 2022-09-27 09:27:07 +03:00
Aleksandrs Proskurins
066f179b60 User session flow coordinator and details view 2022-09-16 13:50:45 +03:00
SBiOSoftWhare
f50b58b252 Update RiotSwiftUI/Modules/UserSessions/UserSessionsOverview/Service/MatrixSDK/UserSessionsOverviewService.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2022-09-07 10:50:50 +02:00
SBiOSoftWhare
33a93c9e6e UserSessionsOverviewService: Fix UserSessionInfo last seen ts building. 2022-09-05 11:14:40 +02:00
SBiOSoftWhare
069f0f3684 Implement UserSessionsOverviewService. 2022-09-05 10:49:37 +02:00
SBiOSoftWhare
2660d1a12f Device manager: Create user sessions overview empty screen. 2022-08-22 17:44:32 +02:00