Commit Graph

9404 Commits

Author SHA1 Message Date
Aleksandrs Proskurins e80c8f35fd Verified sessions 2022-10-11 09:42:07 +03:00
Aleksandrs Proskurins 120367e2bd Filter button 2022-10-11 08:42:28 +03:00
Stefan Ceriu f28a8f7537 Expose AuthenticationRestClient async login token generation method (MSC3882) 2022-10-10 09:44:22 +03:00
Johannes Marbach da3aecb0a8 Merge pull request #6828 from vector-im/johannes/default-session-name
Include app name in default session display name
2022-10-07 20:40:01 +02:00
Johannes Marbach 568610b3ea Include app name in default session display name 2022-10-07 16:54:08 +02:00
Johannes Marbach a157e4485d Remove current app name from device type name 2022-10-07 16:02:14 +02:00
Johannes Marbach 3aa6ac93ce Add back generated user session name string 2022-10-07 15:57:55 +02:00
Johannes Marbach ac678c24c4 Merge branch 'develop' into johannes/session-name-trumps-device-type-name 2022-10-07 13:27:16 +02:00
Johannes Marbach 4b2d543153 Bring back English string for now to unbreak the build 2022-10-07 12:05:22 +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 25549fb91b Revert translation changes 2022-10-07 10:12:09 +02:00
Johannes Marbach 711fc1741a Only use device type name as fallback for session display name 2022-10-07 09:48:17 +02:00
Anderas f15e9928b8 Merge pull request #6808 from vector-im/andy/verification_refactors
Refactor verification manager, request, transactions
2022-10-06 16:22:41 +01:00
ismailgulek 27857f98db 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
Stefan Ceriu b42e41957e Implement cross platform AES encryption support; add documentation 2022-10-06 17:33:18 +03:00
Stefan Ceriu 414c6dc34f Add rendezvous service (MSC3886) and ECDH X25519 AES 256 based secure channel creation establishing implementation and simple tests. 2022-10-06 17:33:18 +03: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
Gil Eluard 8b30542ebe Check enabled field in notification settings push toggles
- Update after review
2022-10-06 12:46:03 +02:00
Andy Uhnak 59dba6c870 Incoming verification requests with Crypto V2 2022-10-06 11:16:22 +01:00
Andy Uhnak 66f83eae64 Refactor verification manager, request, transactions 2022-10-06 11:00:09 +01: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
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
Doug 2ef07ac75b Use regular titles for sub-screens of Settings. 2022-10-05 16:43:34 +01:00
Aleksandrs Proskurins 2d09243139 Unverified sessions screen 2022-10-05 16:22:52 +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
Doug e507fa1bd7 Merge pull request #6799 from vector-im/doug/fix-swiftui-navigation-bars
Fix navigation bars inside of VectorHostingController.
2022-10-04 17:15:42 +01:00
Doug a832bac643 Fix navigation bars inside of VectorHostingController. 2022-10-04 16:05:09 +01:00
Doug 2f4de52fb0 Fix missing toolbar in AllChatsViewController.
The empty artwork view was obscuring it.
2022-10-04 14:59:27 +01: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 eb2bcb7298 Remove duplicate strings. 2022-10-04 12:22:49 +01:00
Doug 9e3d3aabba Fix incorrect placeholder type. 2022-10-04 12:20:11 +01:00
Weblate 2c51cf0fe9 Merge branch 'origin/develop' into Weblate. 2022-10-04 08:17:16 +00:00
lvre 8cbcee67e4 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2198 of 2198 strings)

Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/pt_BR/
2022-10-04 08:17:10 +00:00
Sveinn í Felli 074862b278 Translated using Weblate (Icelandic)
Currently translated at 80.1% (1761 of 2198 strings)

Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/is/
2022-10-04 08:17:09 +00: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 966278994e Merge branch 'develop' into gil/6787-Add_support_for_MSC3881 2022-10-03 14:09:17 +02:00
Doug d87641bdd1 Add missing accessibility labels on All Chats buttons. 2022-10-03 12:48:46 +01: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
Priit Jõerüüt 0393f31309 Translated using Weblate (Estonian)
Currently translated at 100.0% (2198 of 2198 strings)

Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/et/
2022-10-01 07:32:54 +00:00
ismailgulek 0f9bd7e6a4 New session manager labs flag (PSG-792) (#6780)
* Add new session manager labs flag

* Add labs flag for client information feature

* Add changelog
2022-09-30 15:45:20 +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
Gil Eluard fa7c7a49d6 Merge pull request #6784 from vector-im/gil/6755-Unable_to_send_message_after_filtering_for_room
Unable to send message after filtering for room
2022-09-30 10:35:01 +02:00
Anderas 52eb250a03 Merge pull request #6782 from vector-im/andy/6791_manual_verification
Manual device verification with Crypto V2
2022-09-29 16:00:44 +01:00