Aleksandrs Proskurins
98f18dde0e
'View all' button in other sessions list
2022-10-07 09:45:45 +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
Aleksandrs Proskurins
8a6c8b1212
Renamed sortAndConvertDevices method
2022-10-06 13:16:10 +03:00
Aleksandrs Proskurins
d560c8d61f
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
c7232d0bea
Check enabled field in notification settings push toggles
2022-10-06 11:40:12 +02:00
Aleksandrs Proskurins
4fa1398a74
Merge branch 'develop' into aleksandrs/6801_unverified_sessions_screen
2022-10-06 10:49:48 +03:00
Aleksandrs Proskurins
7d9b040eeb
UI tests
2022-10-06 10:23:33 +03: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
a586ed0c33
Renamed sessionsInfo to sessionInfos
2022-10-05 16:59:15 +03:00
Aleksandrs Proskurins
dd8d27bcac
Unverified sessions screen
2022-10-05 16:22:52 +03:00
Aleksandrs Proskurins
87cc0ddc81
Merge fixes
2022-10-05 12:18:23 +03: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
347724f48e
Added tests
2022-10-04 16:58:08 +03:00
Aleksandrs Proskurins
5ec1bb32c3
Formating fixes
2022-10-04 15:44:09 +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
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
Aleksandrs Proskurins
ca3a401b18
Added translation strings, cleanup
2022-10-04 10:07:04 +03:00
Aleksandrs Proskurins
70f6badf08
Cleanup
2022-10-04 09:38:53 +03:00
Gil Eluard
0ecbf82eee
Added support for MSC3881
...
- Update after review
2022-10-03 15:33:35 +02: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
ca0cc12016
Fix member modifier warning
2022-09-28 15:36:11 +03:00
Stefan Ceriu
fd1848195b
Fix tests
2022-09-28 15:36:11 +03:00
Stefan Ceriu
d34b8ec478
Cleaned up session overview services
2022-09-28 15:36:11 +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
622fcf0651
Cleanup
2022-09-27 14:12:40 +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
de54ae3da3
Removed deprecated StateStoreViewModel dispatching and reducing
2022-09-27 12:55:44 +03:00
Stefan Ceriu
ae73800352
Removed unnecessary comments from RiotSwiftUI templates, fixed StateStoreViewModel typealias formatting
2022-09-27 12:55:44 +03:00
Stefan Ceriu
ec0634ffb7
Configured and applied SwiftFormat
2022-09-27 12:55:44 +03:00
Stefan Ceriu
2c9596c912
Cleaned up various things around the UserSessionsOverviewService
2022-09-27 09:27:07 +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 self
s, comments and bad formatting
2022-09-27 09:27:07 +03:00
Aleksandrs Proskurins
492b7410b9
Cleanup
2022-09-26 17:37:22 +03:00
Aleksandrs Proskurins
adda004aba
Moved SeparatorLine
2022-09-26 17:26:47 +03:00
Aleksandrs Proskurins
d1b4b6de48
Unit and ui tests
2022-09-26 16:58:03 +03:00
Aleksandrs Proskurins
ffc4fcf1c7
Preview added
2022-09-26 16:58:03 +03:00
Aleksandrs Proskurins
68b2bda33c
Added translation strings
2022-09-26 16:58:02 +03:00
Aleksandrs Proskurins
412b8b07da
Session overview screen
2022-09-26 16:58:02 +03:00
Aleksandrs Proskurins
4bd3979522
Code review fixes
2022-09-22 11:52:42 +03:00
Aleksandrs Proskurins
cf68ca9aaa
Refactored UserSessionDetailsViewModel
2022-09-20 16:10:57 +03:00
Aleksandrs Proskurins
e9444751d0
Cleanup
2022-09-20 16:00:35 +03:00
Aleksandrs Proskurins
1002c1b1b6
Moved, renamed unit tests
2022-09-20 11:39:53 +03:00
Aleksandrs Proskurins
c0bdd4f1f6
UI tests
2022-09-20 09:43:14 +03:00
Aleksandrs Proskurins
195e862aef
Added unit tests
2022-09-19 16:05:28 +03:00
Aleksandrs Proskurins
d77dd5034e
Added translation strings
2022-09-19 10:26:42 +03:00
Aleksandrs Proskurins
05aaf8da31
Added layout constants
2022-09-16 14:34:00 +03:00
Aleksandrs Proskurins
a06d7d0aaa
User session flow coordinator and details view
2022-09-16 13:50:45 +03:00
Aleksandrs Proskurins
f17f56b5b0
Merge pull request #6696 from vector-im/steve/6694_dm_overview_current_session
...
Device manager: User sessions overview - Current session section (PSG-670)
2022-09-14 13:08:42 +03:00
Aleksandrs Proskurins
b5850c1d5d
Code review fixes
2022-09-14 11:28:47 +03:00
Doug
940fbddf60
Update RiotSwiftUI/Modules/UserSessions/DeviceAvatar/DeviceAvatarView.swift
2022-09-12 11:39:44 +01:00
SBiOSoftWhare
7c3084212b
UserSessionsOverview: Handle current session section view.
2022-09-08 20:01:02 +02:00
SBiOSoftWhare
99b5179a46
Create UserSessionCardView to display session informations.
2022-09-08 20:00:15 +02:00
SBiOSoftWhare
111c829236
UserSessionsOverviewViewModelResult: Remove useless case.
2022-09-08 18:49:41 +02:00
SBiOSoftWhare
30388059ad
MockAppScreens: Add MockUserSessionsOverviewScreenState.
2022-09-08 17:26:09 +02:00
SBiOSoftWhare
ea91f5d710
UserSessionListItem: Fix runtime issue.
2022-09-08 08:56:36 +02:00
SBiOSoftWhare
625b6d0d86
UserSessionsOverview: Improve other sessions list layout.
2022-09-08 08:34:21 +02:00
SBiOSoftWhare
f733171f6b
UserSessionsOverview: Improve layout.
2022-09-07 15:47:03 +02:00
SBiOSoftWhare
0b061dcef3
UserSessionListItem: Improve layout and handle separator.
2022-09-07 15:42:27 +02:00
SBiOSoftWhare
93a4fc8fd6
Update MockUserSessionsOverviewService.
2022-09-07 12:23:03 +02:00
SBiOSoftWhare
1d71de75e2
UserSessionListItemViewData: Handles session name and details string building.
2022-09-07 12:22:48 +02:00
SBiOSoftWhare
03aaae4d75
Create UserSessionLastActivityFormatter to build last activity date string.
2022-09-07 12:20:56 +02:00
SBiOSoftWhare
d6e2ff5d10
Create UserSessionNameFormatter to build user session name.
2022-09-07 12:20:05 +02:00
SBiOSoftWhare
6a9a8bfea8
UserSessionListItem: Improve layout.
2022-09-07 11:21:05 +02:00
SBiOSoftWhare
8144e1fe9b
DeviceAvatarView: SImplify layout.
2022-09-07 11:09:22 +02:00
SBiOSoftWhare
a4d8eb595c
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
702e9b4622
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
af05a62d56
Update RiotSwiftUI/Modules/UserSessions/DeviceAvatar/DeviceAvatarView.swift
...
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2022-09-07 10:51:24 +02:00
SBiOSoftWhare
cfaf554bdc
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
89faeea8a8
UserSessionsOverview: Fix safe area background color.
2022-09-06 16:44:34 +02:00
SBiOSoftWhare
f9bd8c17d4
UserSessionsOverview: Add text headers to other sessions section.
2022-09-05 12:09:26 +02:00
SBiOSoftWhare
3e30a19dcd
Create UserSessionsOverview screen.
2022-09-05 11:15:37 +02:00
SBiOSoftWhare
2f2bc831e0
UserSessionsOverviewService: Fix UserSessionInfo last seen ts building.
2022-09-05 11:14:40 +02:00
SBiOSoftWhare
fe89156e60
Implement UserSessionsOverviewService.
2022-09-05 10:49:37 +02:00
SBiOSoftWhare
3adf2a8b2a
Create UserSessionListItem view.
2022-09-05 10:44:18 +02:00
SBiOSoftWhare
cbce4e560b
Create UserSessionInfo that represents a user session information.
2022-09-05 10:41:35 +02:00
SBiOSoftWhare
89fe99f960
Create DeviceAvatarView.
2022-09-05 10:40:03 +02:00
SBiOSoftWhare
f6d7fb1729
Create DeviceType enum.
2022-09-05 10:37:47 +02:00
SBiOSoftWhare
7320e8cef2
Device manager: Create UserSessionsFlowCoordinator that handles the user sessions screen flow.
2022-08-22 17:45:57 +02:00
SBiOSoftWhare
35d4f8e568
Device manager: Create user sessions overview empty screen.
2022-08-22 17:44:32 +02:00