Commit graph

35 commits

Author SHA1 Message Date
Aleksandrs Proskurins
dcbf750f78 UI fixes 2022-10-20 15:35:46 +03:00
Aleksandrs Proskurins
fb7a3683fc Identify inactive sessions 2022-10-14 12:16:12 +03:00
Aleksandrs Proskurins
bc26fe7e15 Correct label for other verified session 2022-10-13 10:51:58 +03:00
Aleksandrs Proskurins
9e19986df6 Merge branch 'develop' into aleksandrs/6864_fixes_from_testing
# Conflicts:
#	Riot/Assets/en.lproj/Vector.strings
#	Riot/Generated/Strings.swift
#	RiotSwiftUI/Modules/UserSessions/Common/View/UserSessionCardViewData.swift
2022-10-13 10:42:53 +03:00
Aleksandrs Proskurins
1fb3056bdf Correct verificationStatusAdditionalInfoText for other session 2022-10-13 09:46:11 +03:00
Aleksandrs Proskurins
bb7ac190eb Remove verify session button for other sessions when the current session is unverified 2022-10-12 17:22:10 +03:00
Doug
3d3ccda296 Update strings for unknown sessions. 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
Johannes Marbach
4eb7a36447 Remove current app name from device type name 2022-10-07 16:02:14 +02: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
2554b275c4 Fix copyright year 2022-10-07 10:14:41 +02:00
Johannes Marbach
42f7934f74 Only use device type name as fallback for session display name 2022-10-07 09:48:17 +02:00
Aleksandrs Proskurins
7e09a6ece5 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
34aa035ead Renamed session to sessionInfo 2022-10-04 15:34:31 +03:00
Aleksandrs Proskurins
3deee90005 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
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
Aleksandrs Proskurins
899539fbeb Refactored creation of UserSessionListItemViewData, added inactive session icon 2022-10-03 15:47:40 +03:00
Gil Eluard
f6b2be8dc4 Added support for MSC3881 2022-10-03 13:42:30 +02:00
Aleksandrs Proskurins
0b85beb0f4 User other sessions screen template 2022-10-03 11:27:12 +03: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
Stefan Ceriu
c21f39c961 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
49e707d1a1 Removed conditional view modifier 2022-09-28 14:39:01 +03:00
Aleksandrs Proskurins
da21ec34e9 Link current session to session overview 2022-09-27 17:31:40 +03:00
Aleksandrs Proskurins
6a24cf61a7 Moved isCurrentSession into UserSessionInfo 2022-09-27 15:36:44 +03:00
Aleksandrs Proskurins
fbef4fe0fe Made UserSessionInfo Equatable 2022-09-27 14:51:15 +03:00
Aleksandrs Proskurins
be371b4ab2 Removed alignment 2022-09-27 14:06:58 +03:00
Aleksandrs Proskurins
66d7915350 Renamed userSession and userSessionInfo to session 2022-09-27 13:57:54 +03:00
Stefan Ceriu
ec0634ffb7 Configured and applied SwiftFormat 2022-09-27 12:55:44 +03:00
Stefan Ceriu
cd596c899b Move files around, improve structure 2022-09-27 09:27:07 +03:00
Stefan Ceriu
148bc1624a Cleaned up various things, mostly removed unnecessary selfs, comments and bad formatting 2022-09-27 09:27:07 +03:00
Aleksandrs Proskurins
adda004aba Moved SeparatorLine 2022-09-26 17:26:47 +03:00