Commit Graph

35 Commits

Author SHA1 Message Date
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
ismailgulek f6a0208bd5 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
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
Gil Eluard 7ee204287b Merge pull request #6815 from vector-im/gil/6814-Check_enabled_field_in_notification_settings_push_toggles
Check enabled field in notification settings push toggles
2022-10-06 14:34:57 +02:00
Gil Eluard 4b52380eb9 Check enabled field in notification settings push toggles 2022-10-06 11:40:12 +02:00
Doug 3d2eb4ebdf Fix review comments
Also fix a crash on iPad.
2022-10-05 16:48:51 +01:00
Doug 3c34092a6a Session Manager: Single session logout 2022-10-05 16:48:51 +01:00
Aleksandrs Proskurins b8e76108f0 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 30237324d9 Cleanup for UserSessionOverviewViewModelTestsc, UserOtherSessionsViewModelTests 2022-10-05 09:18:33 +03:00
Gil Eluard 7f4efd61b4 Display push toggle for sessions with m.local_notification_settings.<device-id> events in account_data 2022-10-04 16:07:43 +02:00
Aleksandrs Proskurins bba0246c3a Renamed session to sessionInfo 2022-10-04 15:34:31 +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
Doug 5cb7a1ea20 Fix failure building tests. 2022-10-04 11:16:20 +01:00
ismailgulek 8903fde833 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 d5b8f43f59 Added support for MSC3881
- Update after review
2022-10-03 15:33:35 +02:00
Gil Eluard a01c0f77ea Added support for MSC3881 2022-10-03 13:42:30 +02:00
Aleksandrs Proskurins 20200fd22a User other sessions screen template 2022-10-03 11:27:12 +03:00
ismailgulek f8dccee9d6 Extended device info (PSG-772) (#6766) 2022-09-29 15:07:10 +03:00
Stefan Ceriu 5494542314 Fix tests 2022-09-28 15:36:11 +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 1a27a94da8 Moved isCurrentSession into UserSessionInfo 2022-09-27 15:36:44 +03:00
Aleksandrs Proskurins d714b95633 Made UserSessionInfo Equatable 2022-09-27 14:51:15 +03:00
Aleksandrs Proskurins f6e057eeed Cleanup 2022-09-27 14:12:40 +03:00
Aleksandrs Proskurins e0caf5980e Renamed userSession and userSessionInfo to session 2022-09-27 13:57:54 +03:00
Stefan Ceriu adf0aaf9b5 Removed deprecated StateStoreViewModel dispatching and reducing 2022-09-27 12:55:44 +03:00
Stefan Ceriu 732dc3cba9 Removed unnecessary comments from RiotSwiftUI templates, fixed StateStoreViewModel typealias formatting 2022-09-27 12:55:44 +03:00
Stefan Ceriu 89bcd92cca Configured and applied SwiftFormat 2022-09-27 12:55:44 +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 7bd388887b Cleanup 2022-09-26 17:37:22 +03:00
Aleksandrs Proskurins bbe15aa557 Moved SeparatorLine 2022-09-26 17:26:47 +03:00
Aleksandrs Proskurins c906e255f3 Unit and ui tests 2022-09-26 16:58:03 +03:00
Aleksandrs Proskurins e2e563e44d Preview added 2022-09-26 16:58:03 +03:00
Aleksandrs Proskurins b04a4e71b4 Added translation strings 2022-09-26 16:58:02 +03:00
Aleksandrs Proskurins b86c2ca150 Session overview screen 2022-09-26 16:58:02 +03:00