Commit graph

65 commits

Author SHA1 Message Date
Alfonso Grillo
501f06279e Add tests 2022-11-16 11:18:03 +01:00
Alfonso Grillo
d5c3bd2e48 Merge branch 'develop' into alfogrillo/learn_more_sheet 2022-11-08 17:04:20 +01:00
Aleksandrs Proskurins
475e887463
Merge pull request #7023 from vector-im/aleksandrs/7022_hide_push
Hide push toggles for http pushers when there is no server support
2022-11-07 15:24:25 +02:00
Alfonso Grillo
455118d22b Merge branch 'develop' into alfogrillo/learn_more_sheet
# Conflicts:
#	RiotSwiftUI/Modules/UserSessions/UserOtherSessions/UserOtherSessionsModels.swift
#	RiotSwiftUI/Modules/UserSessions/UserOtherSessions/UserOtherSessionsViewModel.swift
#	RiotSwiftUI/Modules/UserSessions/UserSessionOverview/UserSessionOverviewModels.swift
#	RiotSwiftUI/Modules/UserSessions/UserSessionOverview/UserSessionOverviewViewModel.swift
#	RiotSwiftUI/Modules/UserSessions/UserSessionOverview/View/UserSessionOverview.swift
2022-11-03 18:25:06 +01:00
Alfonso Grillo
09e9f3e176 Merge branch 'develop' into alfogrillo/learn_more_sheet 2022-11-03 17:29:01 +01:00
Alfonso Grillo
3678a522db Fix failing test 2022-11-03 15:30:13 +01:00
Alfonso Grillo
110dfbc2ba Fix UTs 2022-11-03 14:47:09 +01:00
Alfonso Grillo
5e143ed0ef Inject setting service in UserSessionOverviewViewModel 2022-11-03 14:47:09 +01:00
Alfonso Grillo
1221b0f874 Refine settings logic 2022-11-03 14:47:08 +01:00
Alfonso Grillo
fec6c33bef Cleanup code 2022-11-03 14:47:08 +01:00
Alfonso Grillo
1c5ff99d2c Add “show location“ feature in session overview 2022-11-03 14:46:19 +01:00
paleksandrs
4639782521 Code review fixes 2022-11-03 13:38:23 +02:00
Alfonso Grillo
24ed60c2e8 Merge branch 'develop' into alfogrillo/learn_more_sheet
# Conflicts:
#	RiotSwiftUI/Modules/UserSessions/Coordinator/UserSessionsFlowCoordinator.swift
#	RiotSwiftUI/Modules/UserSessions/UserOtherSessions/Coordinator/UserOtherSessionsCoordinator.swift
#	RiotSwiftUI/Modules/UserSessions/UserOtherSessions/Test/UI/UserOtherSessionsUITests.swift
#	RiotSwiftUI/Modules/UserSessions/UserOtherSessions/UserOtherSessionsModels.swift
#	RiotSwiftUI/Modules/UserSessions/UserOtherSessions/UserOtherSessionsViewModel.swift
#	RiotSwiftUI/Modules/UserSessions/UserOtherSessions/View/UserOtherSessions.swift
#	RiotSwiftUI/Modules/UserSessions/UserSessionOverview/Test/UI/UserSessionOverviewUITests.swift
2022-11-03 09:22:47 +01:00
paleksandrs
484cab4451 Merge branch 'develop' into aleksandrs/6963_multi_session_logout 2022-11-02 14:02:52 +02:00
paleksandrs
0ed9f9b91f Hide push toggles for http pushers when there is no server support 2022-11-02 13:36:58 +02:00
Alfonso Grillo
3b8e8d12a7 Cleanup UI tests 2022-10-28 17:00:30 +02:00
Alfonso Grillo
6cb07dd309 Show bottom sheet in other sessions screen 2022-10-28 15:50:35 +02:00
Alfonso Grillo
93c24dd11d Add MVVM-C for InfoSheet 2022-10-28 15:14:42 +02:00
Alfonso Grillo
a9a7b112d1 Add .viewSessionInfo view action 2022-10-28 12:06:56 +02:00
Alfonso Grillo
e2f4fdeb67 Add UI tests 2022-10-28 11:38:09 +02:00
Alfonso Grillo
f73a187dfb Refine InfoView 2022-10-28 11:38:09 +02:00
Alfonso Grillo
55ab2ab14f Show bottom sheet in user other sessions 2022-10-28 11:38:09 +02:00
Alfonso Grillo
0210dccdc6 Add inactive sessions copy 2022-10-28 11:38:09 +02:00
Alfonso Grillo
a28de2b8b8 Localise content 2022-10-28 11:38:09 +02:00
Alfonso Grillo
6058149d93 Add bottom sheet modifier 2022-10-28 11:38:09 +02:00
Alfonso Grillo
ce61fc127f Add UserSessionOverviewViewBindings 2022-10-28 11:38:09 +02:00
Alfonso Grillo
f2e5506a97 Add empty onLearnMoreAction closure 2022-10-28 11:38:09 +02:00
Alfonso Grillo
99bfa3394f Add UI tests 2022-10-27 17:29:29 +02:00
Alfonso Grillo
bea790a6d3 Improve kebab menu in UserSessionOverview 2022-10-27 17:29:29 +02:00
Aleksandrs Proskurins
ddac7d0151 Sing out filtering 2022-10-27 17:35:39 +03: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
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
Gil Eluard
4eb7a87560
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
c7232d0bea Check enabled field in notification settings push toggles 2022-10-06 11:40:12 +02:00
Doug
cb2207ec14 Fix review comments
Also fix a crash on iPad.
2022-10-05 16:48:51 +01:00
Doug
bb07a11e7e Session Manager: Single session logout 2022-10-05 16:48:51 +01: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
9dad6252e5 Cleanup for UserSessionOverviewViewModelTestsc, UserOtherSessionsViewModelTests 2022-10-05 09:18:33 +03:00
Gil Eluard
c97917b2de 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
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
Doug
55318c9939 Fix failure building tests. 2022-10-04 11:16:20 +01: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
Gil Eluard
0ecbf82eee Added support for MSC3881
- Update after review
2022-10-03 15:33:35 +02: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
ismailgulek
2f689f4557
Extended device info (PSG-772) (#6766) 2022-09-29 15:07:10 +03:00
Stefan Ceriu
fd1848195b Fix tests 2022-09-28 15:36:11 +03:00