Commit Graph

37 Commits

Author SHA1 Message Date
Doug 9855eaa12d Update strings for unknown sessions. 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
Aleksandrs Proskurins 0923bced4e Fixed swiftformat warnings 2022-10-07 17:00:15 +03:00
Aleksandrs Proskurins 4c9c35bf59 Merge from develop 2022-10-07 14:51:30 +03: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
Aleksandrs Proskurins dfe5780dc3 'View all' button in other sessions list 2022-10-07 09:45:45 +03:00
Aleksandrs Proskurins 1c11427706 Merge branch 'develop' into aleksandrs/6801_unverified_sessions_screen 2022-10-06 10:49:48 +03:00
Aleksandrs Proskurins bb9c6695ee UI tests 2022-10-06 10:23:33 +03:00
Doug 3c34092a6a Session Manager: Single session logout 2022-10-05 16:48:51 +01:00
Aleksandrs Proskurins 21225b408f Unverified sessions screen 2022-10-05 16:22:52 +03:00
Aleksandrs Proskurins 99574a9d53 Merge branch 'develop' into aleksandrs/6786_inactive_sessions_screen
# Conflicts:
#	Riot/Assets/en.lproj/Vector.strings
#	Riot/Generated/Strings.swift
#	RiotSwiftUI/Modules/UserSessions/Coordinator/UserSessionsFlowCoordinator.swift
#	RiotSwiftUI/Modules/UserSessions/UserSessionOverview/Test/Unit/UserSessionOverviewViewModelTests.swift
#	RiotSwiftUI/Modules/UserSessions/UserSessionsOverview/Coordinator/UserSessionsOverviewCoordinator.swift
#	RiotSwiftUI/Modules/UserSessions/UserSessionsOverview/Service/Mock/MockUserSessionsOverviewService.swift
#	RiotSwiftUI/Modules/UserSessions/UserSessionsOverview/UserSessionsOverviewModels.swift
#	RiotSwiftUI/Modules/UserSessions/UserSessionsOverview/View/UserSessionListItemViewData.swift
2022-10-04 15:14:59 +03:00
Aleksandrs Proskurins 2fa3c69bf4 Added translation strings, cleanup 2022-10-04 10:07:04 +03:00
Aleksandrs Proskurins 2a42c8f42a Refactored creation of UserSessionListItemViewData, added inactive session icon 2022-10-03 15:47:40 +03:00
Aleksandrs Proskurins 20200fd22a User other sessions screen template 2022-10-03 11:27:12 +03: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
Stefan Ceriu 89d4bb2452 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 e0caf5980e Renamed userSession and userSessionInfo to session 2022-09-27 13:57:54 +03:00
Stefan Ceriu 89bcd92cca Configured and applied SwiftFormat 2022-09-27 12:55:44 +03:00
Stefan Ceriu 205e1645d4 Cleaned up various things around the UserSessionsOverviewService 2022-09-27 09:27:07 +03:00
Stefan Ceriu f83fce2064 Cleaned up various things, mostly removed unnecessary selfs, comments and bad formatting 2022-09-27 09:27:07 +03:00
Aleksandrs Proskurins b86c2ca150 Session overview screen 2022-09-26 16:58:02 +03:00
Aleksandrs Proskurins 3acfdbc83d User session flow coordinator and details view 2022-09-16 13:50:45 +03:00
Aleksandrs Proskurins 8a5a8b4eec Code review fixes 2022-09-14 11:28:47 +03:00
SBiOSoftWhare a46f0c240e UserSessionsOverview: Handle current session section view. 2022-09-08 20:01:02 +02:00
SBiOSoftWhare efb0a1fdd7 UserSessionListItem: Fix runtime issue. 2022-09-08 08:56:36 +02:00
SBiOSoftWhare 967da447f2 UserSessionsOverview: Improve other sessions list layout. 2022-09-08 08:34:21 +02:00
SBiOSoftWhare 0fa7b5acf5 UserSessionsOverview: Improve layout. 2022-09-07 15:47:03 +02:00
SBiOSoftWhare 7ea1f57990 UserSessionListItem: Improve layout and handle separator. 2022-09-07 15:42:27 +02:00
SBiOSoftWhare 3beaf041da UserSessionListItemViewData: Handles session name and details string building. 2022-09-07 12:22:48 +02:00
SBiOSoftWhare 126925e9e8 UserSessionListItem: Improve layout. 2022-09-07 11:21:05 +02:00
SBiOSoftWhare 261b8290f9 Update RiotSwiftUI/Modules/UserSessions/UserSessionsOverview/View/UserSessionListItem.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2022-09-07 10:52:29 +02:00
SBiOSoftWhare 1e7f43bf21 UserSessionsOverview: Fix safe area background color. 2022-09-06 16:44:34 +02:00
SBiOSoftWhare 22f674016c UserSessionsOverview: Add text headers to other sessions section. 2022-09-05 12:09:26 +02:00
SBiOSoftWhare 6591bceab4 Create UserSessionsOverview screen. 2022-09-05 11:15:37 +02:00
SBiOSoftWhare 8cf2954a7a Create UserSessionListItem view. 2022-09-05 10:44:18 +02:00
SBiOSoftWhare 3aa49a0cf6 Device manager: Create user sessions overview empty screen. 2022-08-22 17:44:32 +02:00