Commit Graph

915 Commits

Author SHA1 Message Date
Aleksandrs Proskurins 4c9c35bf59 Merge from develop 2022-10-07 14:51:30 +03:00
Johannes Marbach ba7c84f451 Merge branch 'develop' into johannes/session-name-trumps-device-type-name 2022-10-07 13:27:16 +02: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
Aleksandrs Proskurins 4891bf6a44 Merge branch 'develop' into aleksandrs/6817_view_all_button 2022-10-07 11:51:44 +03:00
Mauro Romito 53d5c8ef00 updated the package and added a circle background to the + button 2022-10-07 10:43:45 +02:00
Johannes Marbach 9baa70adaf Fix copyright year 2022-10-07 10:14:41 +02:00
Johannes Marbach bdce8f1c09 Only use device type name as fallback for session display name 2022-10-07 09:48:17 +02:00
Aleksandrs Proskurins dfe5780dc3 'View all' button in other sessions list 2022-10-07 09:45:45 +03:00
Mauro Romito df7a66788d dark mode support almost completed 2022-10-06 18:21:50 +02:00
ismailgulek d5c7e6bd8e Login with QR UI components (#6790)
* Display QR button on login screen if HS supports

* Create start screen

* Add build flag

* Connect start screen to the login

* QR display screen

* Move `LabelledDividerView` into separate file

* Show display QR screen on button tap

* Add swift concurreny to CameraAccessManager

* Introduce `QRLoginServiceProtocol`

* Use new service in screens

* Introduce scan QR code screen

* Remove hardcoded service availability

* Remove unnecessary import

* Add confirmation screen

* Add loading screen

* Fix ZXingObjc targets

* Add failure screen

* Add strings

* Various UI tweaks, navigation according to the service state

* Fix tests

* Add string for invalid QR error

* Add QR login service mode
2022-10-06 18:05:46 +03:00
Mauro Romito 92d1bcba54 textColor fix 2022-10-06 16:42:52 +02: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
Aleksandrs Proskurins f9ce969dbf Renamed sortAndConvertDevices method 2022-10-06 13:16:10 +03:00
Aleksandrs Proskurins c45ee34677 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 4b52380eb9 Check enabled field in notification settings push toggles 2022-10-06 11:40:12 +02:00
Aleksandrs Proskurins 1c11427706 Merge branch 'develop' into aleksandrs/6801_unverified_sessions_screen 2022-10-06 10:49:48 +03:00
Aleksandrs Proskurins bb9c6695ee UI tests 2022-10-06 10:23:33 +03: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
Doug da2b1cad4f Use regular titles for sub-screens of Settings. 2022-10-05 16:43:34 +01:00
Aleksandrs Proskurins 78e55f56ed Renamed sessionsInfo to sessionInfos 2022-10-05 16:59:15 +03:00
Aleksandrs Proskurins 21225b408f Unverified sessions screen 2022-10-05 16:22:52 +03:00
David Langley e9ae04c93a Update sdk, fix composer sizing, margins and re-enabled fullscreen. 2022-10-05 10:21:04 +01:00
Aleksandrs Proskurins 145cce76f2 Merge fixes 2022-10-05 12:18:23 +03: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
Doug 26af0bfed6 Merge branch 'develop' of github.com:vector-im/element-ios into develop 2022-10-04 18:14:07 +01:00
Doug ce3810ecad Fix navigation bars inside of VectorHostingController. 2022-10-04 16:05:09 +01: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
David Langley de1ac682cb add composer actions/modules and ability to send rich messages 2022-10-04 15:01:01 +01:00
Aleksandrs Proskurins a2400ff289 Added tests 2022-10-04 16:58:08 +03:00
Aleksandrs Proskurins dd512cb749 Formating fixes 2022-10-04 15:44:09 +03: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
Aleksandrs Proskurins 2fa3c69bf4 Added translation strings, cleanup 2022-10-04 10:07:04 +03:00
Aleksandrs Proskurins 0cfceb4c5e Cleanup 2022-10-04 09:38:53 +03:00
Gil Eluard d5b8f43f59 Added support for MSC3881
- Update after review
2022-10-03 15:33:35 +02:00
Aleksandrs Proskurins 2a42c8f42a Refactored creation of UserSessionListItemViewData, added inactive session icon 2022-10-03 15:47:40 +03: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
David Langley d8e1dbb865 add simple formatting and maximise support for replacement toolbar 2022-10-02 09:06:06 +01:00
Stefan Ceriu 5396e7351b 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 f8dccee9d6 Extended device info (PSG-772) (#6766) 2022-09-29 15:07:10 +03:00
Stefan Ceriu cb65feaea0 Fix member modifier warning 2022-09-28 15:36:11 +03:00
Stefan Ceriu 5494542314 Fix tests 2022-09-28 15:36:11 +03:00
Stefan Ceriu daa1f5b671 Cleaned up session overview services 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 4e27b5f0d7 Removed conditional view modifier 2022-09-28 14:39:01 +03:00