Aleksandrs Proskurins
8427a87e27
Merge branch 'develop' into aleksandrs/6786_inactive_sessions_screen
...
# Conflicts:
# RiotSwiftUI/Modules/UserSessions/UserSessionDetails/UserSessionDetailsViewModel.swift
2022-10-05 11:51:08 +03:00
Aleksandrs Proskurins
a964707630
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
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
Aleksandrs Proskurins
e14f9960ba
Added translation strings, cleanup
2022-10-04 10:07:04 +03:00
Aleksandrs Proskurins
e9c21b5320
Refactored creation of UserSessionListItemViewData, added inactive session icon
2022-10-03 15:47:40 +03:00
Gil Eluard
a0ff481cef
Added support for MSC3881
2022-10-03 13:42:30 +02:00
Aleksandrs Proskurins
97be8fef5a
User other sessions screen template
2022-10-03 11:27:12 +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
Aleksandrs Proskurins
512e2f7933
Renamed userSession and userSessionInfo to session
2022-09-27 13:57:54 +03:00
Stefan Ceriu
1df0be344d
Removed deprecated StateStoreViewModel dispatching and reducing
2022-09-27 12:55: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
6fc2d397d9
Session overview screen
2022-09-26 16:58:02 +03:00
Aleksandrs Proskurins
1d84f992bb
Code review fixes
2022-09-22 11:52:42 +03:00
Aleksandrs Proskurins
066f179b60
User session flow coordinator and details view
2022-09-16 13:50:45 +03:00
Aleksandrs Proskurins
b7d9eb51ec
Code review fixes
2022-09-14 11:28:47 +03:00
SBiOSoftWhare
f674a863a0
UserSessionsOverview: Handle current session section view.
2022-09-08 20:01:02 +02:00
SBiOSoftWhare
eb1c332109
UserSessionsOverviewViewModelResult: Remove useless case.
2022-09-08 18:49:41 +02:00
SBiOSoftWhare
f0b74adc9a
MockAppScreens: Add MockUserSessionsOverviewScreenState.
2022-09-08 17:26:09 +02:00
SBiOSoftWhare
78c66b1dfc
UserSessionListItem: Fix runtime issue.
2022-09-08 08:56:36 +02:00
SBiOSoftWhare
eb64505a0b
UserSessionsOverview: Improve other sessions list layout.
2022-09-08 08:34:21 +02:00
SBiOSoftWhare
f2afcafdeb
UserSessionsOverview: Improve layout.
2022-09-07 15:47:03 +02:00
SBiOSoftWhare
790bc1e084
UserSessionListItem: Improve layout and handle separator.
2022-09-07 15:42:27 +02:00
SBiOSoftWhare
e840c2e8c3
Update MockUserSessionsOverviewService.
2022-09-07 12:23:03 +02:00
SBiOSoftWhare
cf4b3bd3c6
UserSessionListItemViewData: Handles session name and details string building.
2022-09-07 12:22:48 +02:00
SBiOSoftWhare
bc1480f4a5
UserSessionListItem: Improve layout.
2022-09-07 11:21:05 +02:00
SBiOSoftWhare
503669b9f3
Update RiotSwiftUI/Modules/UserSessions/UserSessionsOverview/UserSessionsOverviewViewModel.swift
...
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com >
2022-09-07 10:52:37 +02:00
SBiOSoftWhare
8c63a588e4
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
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
56d9797703
UserSessionsOverview: Fix safe area background color.
2022-09-06 16:44:34 +02:00
SBiOSoftWhare
98c272a86c
UserSessionsOverview: Add text headers to other sessions section.
2022-09-05 12:09:26 +02:00
SBiOSoftWhare
d87fc2dc73
Create UserSessionsOverview screen.
2022-09-05 11:15:37 +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
5f58b8eb23
Create UserSessionListItem view.
2022-09-05 10:44:18 +02:00
SBiOSoftWhare
2660d1a12f
Device manager: Create user sessions overview empty screen.
2022-08-22 17:44:32 +02:00