Johannes Marbach
a157e4485d
Remove current app name from device type name
2022-10-07 16:02:14 +02:00
Johannes Marbach
4019e2b340
Remove prefix from tests
2022-10-07 15:44:21 +02:00
Johannes Marbach
ac678c24c4
Merge branch 'develop' into johannes/session-name-trumps-device-type-name
2022-10-07 13:27:16 +02: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
Johannes Marbach
4bb65ac805
Fix copyright year
2022-10-07 10:14:41 +02:00
Johannes Marbach
711fc1741a
Only use device type name as fallback for session display name
2022-10-07 09:48:17 +02:00
Gil Eluard
d21f733e53
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
Aleksandrs Proskurins
31a2ad9229
Renamed sortAndConvertDevices method
2022-10-06 13:16:10 +03:00
Aleksandrs Proskurins
a2012061ca
Update RiotSwiftUI/Modules/UserSessions/UserOtherSessions/Test/UI/UserOtherSessionsUITests.swift
...
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com >
2022-10-06 13:11:59 +03:00
Gil Eluard
353cd584dd
Check enabled field in notification settings push toggles
2022-10-06 11:40:12 +02:00
Aleksandrs Proskurins
0ba4e7ed12
Merge branch 'develop' into aleksandrs/6801_unverified_sessions_screen
2022-10-06 10:49:48 +03:00
Aleksandrs Proskurins
586756251e
UI tests
2022-10-06 10:23:33 +03:00
Doug
86671a61cc
Fix review comments
...
Also fix a crash on iPad.
2022-10-05 16:48:51 +01:00
Doug
50d974884b
Session Manager: Single session logout
2022-10-05 16:48:51 +01:00
Aleksandrs Proskurins
430ad84346
Renamed sessionsInfo to sessionInfos
2022-10-05 16:59:15 +03:00
Aleksandrs Proskurins
2d09243139
Unverified sessions screen
2022-10-05 16:22:52 +03:00
Aleksandrs Proskurins
f7d9946dd2
Merge fixes
2022-10-05 12:18:23 +03:00
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
dccdba9ce9
Cleanup for UserSessionOverviewViewModelTestsc, UserOtherSessionsViewModelTests
2022-10-05 09:18:33 +03:00
Gil Eluard
1f4f10816f
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
259ca3c3cb
Added tests
2022-10-04 16:58:08 +03:00
Aleksandrs Proskurins
d050568670
Formating fixes
2022-10-04 15:44:09 +03:00
Aleksandrs Proskurins
1bdd58a7d6
Renamed session to sessionInfo
2022-10-04 15:34:31 +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
Doug
5f57432b29
Fix failure building tests.
2022-10-04 11:16:20 +01: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
8b8f0ca556
Cleanup
2022-10-04 09:38:53 +03:00
Gil Eluard
0e97610b1a
Added support for MSC3881
...
- Update after review
2022-10-03 15:33:35 +02: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
c22e4dfb1b
Fix tests
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
19557a1060
Removed conditional view modifier
2022-09-28 14:39:01 +03:00
Aleksandrs Proskurins
1ca4794914
Link current session to session overview
2022-09-27 17:31:40 +03:00
Aleksandrs Proskurins
ed8d2f1083
Moved isCurrentSession into UserSessionInfo
2022-09-27 15:36:44 +03:00
Aleksandrs Proskurins
2ba14b6d14
Made UserSessionInfo Equatable
2022-09-27 14:51:15 +03:00
Aleksandrs Proskurins
4946bd9bf4
Cleanup
2022-09-27 14:12:40 +03:00
Aleksandrs Proskurins
e3d0c1a002
Removed alignment
2022-09-27 14:06:58 +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
fc2fdc8ae7
Removed unnecessary comments from RiotSwiftUI templates, fixed StateStoreViewModel typealias formatting
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
841289a16c
Move files around, improve structure
2022-09-27 09:27:07 +03:00