Commit graph

1159 commits

Author SHA1 Message Date
SBiOSoftWhare
dae859af47 Key verification: Display "Verify your other sessions" modal at every startup if needed. 2020-05-04 19:59:11 +02:00
SBiOSoftWhare
c782826fce Make SettingsViewController directly instantiable. 2020-05-04 19:58:06 +02:00
SBiOSoftWhare
463bc2fdca
Merge branch 'develop' into riot_3183 2020-04-30 19:24:45 +02:00
SBiOSoftWhare
80948bc52d Complete security: Handle incoming SAS transaction. 2020-04-30 19:17:56 +02:00
SBiOSoftWhare
dec737c340 KeyVerificationCoordinatorBridgePresenter: Add isPresenting property. 2020-04-30 19:11:13 +02:00
SBiOSoftWhare
4758c676b3 Key verification: Display "Verify this session" modal at every startup if needed. 2020-04-30 15:28:43 +02:00
SBiOSoftWhare
7dfb43ce05 Fix commented code. 2020-04-28 20:36:23 +02:00
SBiOSoftWhare
3ce542cd80 Key verification: Update verified screen UI. 2020-04-28 20:27:48 +02:00
ismailgulek
f47e929ea7
Prefill email field on registrations
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-28 19:55:02 +03:00
manuroe
00f5cf11ad
Merge branch 'develop' into polish_not_verified 2020-04-28 18:39:20 +02:00
manuroe
ab1454fe78 Verification: Do not talk about QR code if only emoji is possible
#3035
2020-04-28 18:16:37 +02:00
manuroe
7d8ccf9dfe Self-verification: Do not display incoming self verification requests at the top of the Complete Security screen. 2020-04-28 17:33:14 +02:00
SBiOSoftWhare
c1d97f5a1f KeyVerificationVerifyBySASViewController: Update wording and UI. 2020-04-28 17:10:26 +02:00
SBiOSoftWhare
4b70a9c5ef Integrate RoundedButton where needed. 2020-04-28 16:34:39 +02:00
SBiOSoftWhare
ea46771fc1 Create custom RoundedButton. 2020-04-28 16:33:46 +02:00
manuroe
50ade944fc Security > Sessions: Display my unverified device with a red shield 2020-04-28 16:15:31 +02:00
SBiOSoftWhare
acf53b0e9c
Merge pull request #3164 from vector-im/riot_3162
Key verification: Update key verification screens title. Update SAS screen wordings.
2020-04-28 12:11:44 +02:00
SBiOSoftWhare
ec9adb4030 KeyVerificationVerifyByScanningCoordinator: Remove a useless delegate method. 2020-04-28 11:16:01 +02:00
ismailgulek
699f7a924e
Remove login fallback to m.org when authentication failed
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-28 11:21:53 +03:00
SBiOSoftWhare
7ce9bbfcb0 Key verification: Update key verification screens title. Update SAS screen wordings. 2020-04-27 19:54:57 +02:00
SBiOSoftWhare
16772c8eec KeyVerificationKind: Add new cases. 2020-04-27 19:46:44 +02:00
manuroe
a7b61baab0 Security settings: Do not ask to complete security if there is no cross-signing
Fix #3147
2020-04-24 18:49:00 +02:00
SBiOSoftWhare
fa2c46b500 Complete security: Update UI. 2020-04-24 16:24:21 +02:00
manuroe
735f51d4ba Jitsi: Support v2 widget data. Open a conference on the provided domain 2020-04-24 11:09:01 +02:00
manuroe
71b3e167ef Jitsi: Support v1 and v2 widget types 2020-04-24 09:04:49 +02:00
ismailgulek
911eb38026
Merge pull request #3084 from vector-im/riot_3067
Consider Safe Area Insets for Some Screens
2020-04-23 20:56:58 +03:00
manuroe
203c4b4206 Security - CROSS-SIGNING: Use "Complete security" to fix cross-signing
Fix #3049
2020-04-23 17:31:49 +02:00
manuroe
bb92d57725 Settings - Security: Fix missing i18n 2020-04-23 17:29:58 +02:00
manuroe
eb0bea54c2 Settings - Security: Move down the key backup section
With cross-signing and SSSS, this section is less important.
2020-04-23 16:46:44 +02:00
SBiOSoftWhare
3a07010593
Merge pull request #3145 from vector-im/riot_3127
BF: Settings - Security: My device is not trusted
2020-04-23 16:08:31 +02:00
manuroe
26de5a9e65
Merge branch 'develop' into riot_3138 2020-04-23 15:53:15 +02:00
SBiOSoftWhare
28ad87c3c3 SecurityViewController: Show current device cannot cross sign show all devices with black shield and present complete security on tap. 2020-04-23 15:50:01 +02:00
manuroe
020fbc4ed6 Rename UserEncryptionTrustLevelNormal to UserEncryptionTrustLevelNotVerified 2020-04-23 15:25:43 +02:00
manuroe
38fd4fd831 Cross-signing: Allow to verify each device of users with no cross-signing
Fix #3138
This is implemented by adding a new `UserEncryptionTrustLevel` value: `UserEncryptionTrustLevelNoCrossSigning`
2020-04-23 15:10:41 +02:00
SBiOSoftWhare
ed99f45fa2 RoomMemberDetailsViewController: For current user present complete security when device is not trusted. 2020-04-23 11:58:19 +02:00
SBiOSoftWhare
4cd8c4f3fe Key verification: Add new state for complete security flow. 2020-04-23 11:55:19 +02:00
manuroe
1a746a357b Cross-signing: Allow incoming device verification request from other user
#3139
2020-04-23 09:25:46 +02:00
ismailgulek
9e01e22ad5
AuthenticationViewController scroll view respect to safe area
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-22 19:26:49 +03:00
ismailgulek
c642c41d09
Encryption info cell background color to safe area
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-22 17:02:29 +03:00
ismailgulek
58de3a7898
Some custom constraints on table view cells fixed for safe area
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-22 16:15:30 +03:00
ismailgulek
7dda136df7
SegmentedViewController table insets fix again
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-22 16:06:37 +03:00
ismailgulek
c5d8034518
Fix RecentsViewController after rebase again
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-22 14:51:00 +03:00
ismailgulek
1cb9829dcf
RoomParticipantsViewController extend table row under home indicator
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-22 14:00:32 +03:00
ismailgulek
8c6a179d11
ContactsTableViewController allow table row content be visible under home indicator
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-22 14:00:31 +03:00
ismailgulek
75eb8b05f8
RoomViewController set insets for jump button
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-22 14:00:31 +03:00
ismailgulek
2259f02e9b
RoomFilesViewController table view bottom inset reset bug fix
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-22 14:00:31 +03:00
ismailgulek
d632ee8499
RoomViewController navigation bar remaining translucent on some cases bug fix
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-22 14:00:31 +03:00
ismailgulek
a50358f9bb
Section header views adaptation to safe area insets
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-22 14:00:31 +03:00
ismailgulek
90ebc08e74
RoomViewController fix redundant space on table bottom
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-22 13:58:35 +03:00
ismailgulek
42590b3ba8
RecentsViewController plus button respect to safe area
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-22 13:58:35 +03:00
ismailgulek
e39e22b91e
StartChatViewController allow tableview content visible under home indicator
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-22 13:53:14 +03:00
ismailgulek
3f6dd1a2da
SegmentedViewController allow scrollview content to be visible under home indicator
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-22 13:53:13 +03:00
ismailgulek
cf29ff4349
RoomMemberDetailsViewController bug fix: navigationBar was remaining translucent
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-22 13:53:13 +03:00
ismailgulek
7d5b7f15a7
Bug fix: When navigating back from a child page using edgeScreenPanRecognizer, do not destroy child pages until navigation completed
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-22 13:53:13 +03:00
ismailgulek
ec9148fc18
SegmentedViewController bug fix: segments disappear when coming from a view with translucent bar
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-22 13:53:13 +03:00
ismailgulek
383438174f
RoomViewController bubblesTableView bottom constraint fix
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-22 13:53:13 +03:00
ismailgulek
4b409e236a
StartChatViewController safe area insets
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-22 13:53:12 +03:00
ismailgulek
c7fe30d194
RecentsViewController safe area insets
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-22 13:53:12 +03:00
ismailgulek
927081312c
Layout problem on back from UnifiedSearchViewController, enhancement for #3084
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-22 13:53:12 +03:00
ismailgulek
475deda512
Layout problem on back from RoomSearchViewController, fixes #3073
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-22 13:53:12 +03:00
ismailgulek
a2e35356e1
ContactsTableViewController safe area insets, fixes #3072
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-22 13:53:12 +03:00
ismailgulek
9a2bdef0f2
RecentsViewController searchBar safe area insets, fixes #3070
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-22 13:53:12 +03:00
ismailgulek
1376c6b27b
RoomParticipantsViewController safe area insets
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-22 13:53:12 +03:00
ismailgulek
0e2648ace3
ContactsTableViewController safe area insets
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-22 13:53:11 +03:00
ismailgulek
ac3f3b2aa4
RecentsViewController safe area insets 2020-04-22 13:53:11 +03:00
ismailgulek
3ea5a00bb5
SegmentedViewController safe area insets 2020-04-22 13:53:11 +03:00
ismailgulek
f753d97ba1
RoomViewController safe area insets 2020-04-22 13:53:11 +03:00
ismailgulek
8f7b7fe232
AuthenticationViewController safe area insets
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-22 13:53:10 +03:00
ismailgulek
f3c4df833b
JitsiViewController safe area insets
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-22 13:53:10 +03:00
ismailgulek
113a56825f
Call screen safe area insets
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-22 13:53:09 +03:00
SBiOSoftWhare
4268246921 QR code verification: Remove other scan my code alert. 2020-04-21 18:57:05 +02:00
SBiOSoftWhare
881d81705b KeyVerificationVerifyByScanningViewController: Handle transaction cancel when QR code scanning is on screen. 2020-04-21 17:01:04 +02:00
SBiOSoftWhare
3e44c84057 KeyVerificationVerifyByScanningViewModel: Unregister transaction change when needed. 2020-04-21 17:00:24 +02:00
SBiOSoftWhare
8dc054781c QRCodeReaderViewController: Fix a crash after deinit (Fix #3125). 2020-04-21 16:58:24 +02:00
manuroe
f337e84888 Badges: Make Riot build again 2020-04-21 14:26:20 +02:00
ismailgulek
dfa74d4d5e
Set collectionView width to constant, to show only 4 items in a row
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-17 14:39:52 +03:00
ismailgulek
a94af7cb93
Use KTCenterFlowLayout for collection view layout, fixes #3088
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-17 13:41:48 +03:00
SBiOSoftWhare
8948638c26
Merge pull request #3116 from vector-im/riot_3047
QR code: Display scan confirmation screen
2020-04-17 11:48:47 +02:00
SBiOSoftWhare
9709c67886 KeyVerificationCoordinator: Handle QR code confirmation screen. 2020-04-16 18:46:18 +02:00
SBiOSoftWhare
957fe93bd8 KeyVerification: Update scanning screen to handle new QR code confirmation state. 2020-04-16 18:45:46 +02:00
SBiOSoftWhare
ed42d8a3b8 KeyVerification: Add new QR code confirmation screen. 2020-04-16 18:42:14 +02:00
ismailgulek
7852e5b34d
Merge pull request #3107 from vector-im/riot_2993
DeactivateAccountViewController theme, fixes #2993
2020-04-16 11:23:43 +03:00
manuroe
40caeb54ee
Merge pull request #3109 from vector-im/riot_3103
Remove LABS > Enable Cross-signing
2020-04-16 09:32:58 +02:00
manuroe
35bc453ef0 Remove LABS > Enable Cross-signing 2020-04-15 23:17:10 +02:00
ismailgulek
41625e2d0d
Update methods
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-15 20:02:13 +03:00
ismailgulek
737c5cff63
DeactivateAccountViewController theme, fixes #2993
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-15 18:45:46 +03:00
giomfo
263f3dbc93
Merge pull request #2900 from vector-im/giomfo/bugfix2899
Bug Fix Key backup banner is not hidden correctly
2020-04-15 10:41:48 +02:00
manuroe
de13946fcd New Sign-in: Do not send key requests before completing the "security" 2020-04-14 12:55:25 +02:00
manuroe
ee62f3b6f2 KeyVerificationCoordinatorBridgePresenterDelegate: Add keyVerificationCoordinatorBridgePresenterDelegateDidCancel 2020-04-14 12:50:53 +02:00
giomfo
5cd59cb430
Merge branch 'develop' into giomfo/bugfix2899 2020-04-13 14:53:31 +02:00
manuroe
f30fed6a15
Merge pull request #3079 from vector-im/rior_3053
Key Backup: Use private key if we have it
2020-04-08 18:37:37 +02:00
manuroe
373dc0191e Merge remote-tracking branch 'origin/rior_3053' into rior_3053 2020-04-08 18:29:56 +02:00
manuroe
021a154c3b Fix Steve's comment 2020-04-08 18:29:37 +02:00
manuroe
40b69f2d3a
Update Riot/Modules/KeyBackup/Recover/PrivateKey/KeyBackupRecoverFromPrivateKeyViewState.swift
Co-Authored-By: SBiOSoftWhare <SBiOSoftWhare@users.noreply.github.com>
2020-04-08 18:25:42 +02:00
manuroe
d0f90558b2 Key Backup: Use legacy screens if the private key does not work 2020-04-08 16:48:12 +02:00
manuroe
5da191c4e7 Key Backup: Add a screen for recovering with the local private key 2020-04-08 15:52:04 +02:00
SBiOSoftWhare
ba7ad7b9c7 RoomVC: Handle title view encryption trust level badge image 2020-04-08 15:07:24 +02:00
SBiOSoftWhare
ffa560dc81 RoomTitleView: Add badge image view. 2020-04-08 15:06:59 +02:00
SBiOSoftWhare
26ac56d908 Use EncryptionTrustLevelBadgeImageHelper where needed. 2020-04-08 15:06:27 +02:00
SBiOSoftWhare
b81d2b31ae RoomCollectionViewCell: Reduce trust level badge size. 2020-04-08 12:51:40 +02:00
SBiOSoftWhare
b8f82a6bef ExpandedRoomTitleView: Reduce trust level badge size. 2020-04-08 12:42:12 +02:00
SBiOSoftWhare
06b0f8db9e RoomMemberTitleView: Remove power level badge. 2020-04-08 12:38:55 +02:00
SBiOSoftWhare
0afdd7af5f RoomMemberDetailsViewController: Add power level label instead of badge. 2020-04-08 12:37:52 +02:00
SBiOSoftWhare
e54c9d1103 GroupParticipantsViewController: Handle power level label instead of badge. 2020-04-08 12:36:48 +02:00
SBiOSoftWhare
7e0331a9cb RoomParticipantsViewController: Handle power level label instead of badge. 2020-04-08 12:36:34 +02:00
SBiOSoftWhare
40b48a78ac ContactTableViewCell: Display power label instead of badge. 2020-04-08 12:35:18 +02:00
SBiOSoftWhare
71e9188b60 AuthenticationViewController: Handle complete security screen presentation. 2020-04-03 16:30:06 +02:00
SBiOSoftWhare
0db745e29d UserVerificationCoordinator: Update with new KeyVerificationCoordinator init. 2020-04-03 16:28:35 +02:00
SBiOSoftWhare
0af87f7f1b KeyVerificationCoordinatorBridgePresenter: Handle complete security screen. 2020-04-03 16:27:10 +02:00
SBiOSoftWhare
80603cc752 KeyVerificationCoordinator: Refactor and add a single init with a KeyVerificationFlow enum parameter. 2020-04-03 16:23:32 +02:00
SBiOSoftWhare
1e14a06466 Implement complete security screen. 2020-04-03 15:55:53 +02:00
manuroe
bbecff21b9
Merge pull request #3039 from schultetwin/dont_exit_app_for_sso
AuthFallback: Stay in Riot App
2020-04-01 15:57:31 +02:00
SBiOSoftWhare
95e617a99c Merge branch 'develop' into riot_2918
# Conflicts:
#	Riot/Modules/KeyVerification/Common/Verify/Scanning/KeyVerificationVerifyByScanningViewModel.swift
2020-03-30 09:55:40 +02:00
manuroe
263b5183ac
Merge pull request #3048 from vector-im/riot_3046
RoomMember scree: Display the verify button even in non e2e rooms
2020-03-30 08:58:50 +02:00
manuroe
f947138148 Fix unexpected cast 2020-03-27 17:39:11 +01:00
SBiOSoftWhare
88d11dbe22 KeyVerificationCoordinator: Handle new self verification flow. 2020-03-27 15:40:29 +01:00
SBiOSoftWhare
cdd48d8cff Create self verification start screen. 2020-03-27 15:39:23 +01:00
SBiOSoftWhare
d7a7e37805 KeyVerificationVerifyByScanningViewModel: Improve cancelation. 2020-03-27 14:30:58 +01:00
manuroe
801da3d129 RoomMember scree: Display the verify button even in non e2e rooms
#3046
Display also the shield on the user to have the same screen for e2e and non e2e rooms
2020-03-27 09:12:49 +01:00
SBiOSoftWhare
4d9a2d4e62 KeyVerificationVerifyByScanningViewModel: Support to_device request. 2020-03-26 12:09:17 +01:00
SBiOSoftWhare
a532553d59 UserVerificationStartCoordinator: Remove useless delegate methods. 2020-03-26 11:57:29 +01:00
manuroe
02db9e92d1 Security settings: Implement "Request (cross-signing private) keys" 2020-03-25 10:15:34 +01:00
manuroe
6a46a087e3 Security settings: Refresh cross-signing state on opening 2020-03-25 10:14:25 +01:00
manuroe
3a75ca5649 BF: Self verification is broken
#3040
The screen was stuck on the request step in case of self verification (to_device events)
2020-03-24 09:14:01 +01:00
Mark Schulte
1c0175c211 AuthFallback: Stay in Riot App
When doing a SAML based SSO via Gsuite, I must click a link
specifying that I trust this app. That link will break me
out of the SSO sign-in process, and open up safari.

To fix address this, I've removed the feature that opens links in
safari.

Signed-off-by: Mark Schulte <schultetwin@gmail.com>
2020-03-19 08:15:04 -07:00
SBiOSoftWhare
524430d4b6 Merge branch 'develop' into key_verification_refact 2020-03-19 08:43:55 +01:00
SBiOSoftWhare
90208e3b0f Refactor DeviceVerification prefix classes to KeyVerification where needed. And move key verification related classes into the same module KeyVerification. 2020-03-18 17:39:26 +01:00
manuroe
fa62a014d1 Fix build issue 2020-03-18 16:36:12 +01:00
manuroe
9add479f06
Merge pull request #3037 from vector-im/security_screen_rework
Security screen: Add a dedicated cross-signing section
2020-03-18 15:00:12 +01:00
manuroe
597763efe9 Security Screen: Update actions for cross-signing 2020-03-18 13:34:52 +01:00
manuroe
c23b48338d Security Screen: Use MXCrossSigning.state 2020-03-18 10:01:23 +01:00
SBiOSoftWhare
44023311fc KeyVerificationVerifyByScanningViewModel: Remove pending QR code transaction when not used. 2020-03-17 14:06:56 +01:00
SBiOSoftWhare
209602ff2a Move QR code reader and generator classes in their own module. 2020-03-17 12:24:09 +01:00
SBiOSoftWhare
3292ed127c KeyVerificationVerifyByScanningViewModel: Remove useless commented code. 2020-03-17 09:58:32 +01:00
SBiOSoftWhare
3ffffbb0f4 Key verification: Move SAS verification flow files. 2020-03-13 19:25:22 +01:00
SBiOSoftWhare
a46ff04194 Device verification: Handle QR code verification. 2020-03-13 19:02:34 +01:00
SBiOSoftWhare
b502b600dd User verification: Check cross-signing bootstrap before start. 2020-03-13 19:01:04 +01:00
SBiOSoftWhare
e70e2f92b7 QR code verification: Update scanning verification screen. 2020-03-13 19:00:28 +01:00
SBiOSoftWhare
da19aff034 User verification: Update start verification flow. 2020-03-13 19:00:14 +01:00
SBiOSoftWhare
e8fed6aa08 Key verification: Update data loading flow for new QR code screen. 2020-03-13 18:52:02 +01:00
SBiOSoftWhare
409c0783dc QR code verification: Add KeyVerificationService specific to Riot. 2020-03-13 18:50:08 +01:00
SBiOSoftWhare
45a0f0819d QR code verification: Implement scanning verification view model and coordinator. 2020-03-13 18:49:00 +01:00
SBiOSoftWhare
cb2c7e8655 QR code verification: Add scanning verification screen. 2020-03-13 18:46:45 +01:00
SBiOSoftWhare
40e393a11e Create QRCodeReaderViewController used to scan a QR code. 2020-03-13 00:16:49 +01:00
SBiOSoftWhare
5a740dbac9 Create QRCodeGenerator to generate QR image from data. 2020-03-13 00:14:24 +01:00
SBiOSoftWhare
1def653460 Create a common close button. 2020-03-13 00:11:00 +01:00
SBiOSoftWhare
4ab25dbe75 CameraPresenter: Use CameraAccessManager and CameraAccessAlertPresenter. 2020-03-13 00:08:45 +01:00
SBiOSoftWhare
dce1c78f2c Create CameraAccessAlertPresenter to present common alerts related to camera access. 2020-03-13 00:07:21 +01:00
SBiOSoftWhare
9f88c2d9a6 Create CameraAccessManager to handle camera availability and authorization. 2020-03-13 00:05:33 +01:00
manuroe
c50215dcd1 Security screen: Create a dedicated section for cross-signing
for future debug.
Reorder the screen a bit.
2020-03-12 11:21:47 +01:00
manuroe
dea39bb57a Key Verification: Follow API change 2020-02-20 17:54:32 +01:00
manuroe
07d417bcd7 Key Verification: Support m.key.verification.ready event with new SDK API 2020-02-14 09:27:56 +01:00
manuroe
3195283768 MXCrypto: Rename MXDeviceVerificationManager to MXKeyVerificationManager
Because it makes more sense now
2020-02-11 13:56:36 +01:00
SBiOSoftWhare
a46e8e025b RoomVC: For a room preview use room canonical alias if present when joining a room. 2020-02-10 17:54:52 +01:00
SBiOSoftWhare
e09e2c9bc7
Merge pull request #2889 from chrismoos/fix_join_room_no_guest_access
Fix issue with joining public rooms with no guest access.
2020-02-10 17:41:28 +01:00
SBiOSoftWhare
43b4ab2800 Settings: Show information while loading devices list. 2020-02-10 10:51:30 +01:00
Chris Moos
a4a810e393
Merge branch 'develop' into fix_join_room_no_guest_access 2020-02-06 11:34:10 -07:00
SBiOSoftWhare
97dc906553 RoomVC: Use cells with encryption badge only if needed in order to recover horizontal white space. 2020-02-06 18:46:32 +01:00
SBiOSoftWhare
17d443de42 Message decoration: Fix shield appearance behavior. 2020-02-06 11:14:13 +01:00
SBiOSoftWhare
e956d801a8 Room participants: Fix user trust level shields always black. 2020-02-04 17:04:54 +01:00
SBiOSoftWhare
260d05ab81
Merge pull request #2967 from vector-im/riot_2960_2
User verification: Use localization strings
2020-02-04 10:27:37 +01:00
SBiOSoftWhare
48125b6147 RoomMemberDetailsViewController: Use NSArray instead of NSMutableArray for security section. 2020-02-04 10:23:19 +01:00
SBiOSoftWhare
ebf089115f ContactTableViewCell: Handle trust level shields decoration. 2020-02-03 19:01:47 +01:00
SBiOSoftWhare
e05f3ae6af RoomMemberDetailsViewController: Get user encryption trust level with MXRoom. 2020-02-03 19:00:33 +01:00
SBiOSoftWhare
bd131f12a9 UserVerificationSessionStatusViewController: Fix wording issue. 2020-02-03 18:07:53 +01:00
SBiOSoftWhare
ddfe4554f9 User verification: Use localization strings. 2020-02-03 17:52:39 +01:00
SBiOSoftWhare
72da7b1f2e RoomMemberDetailsViewController: Update security section and use localization strings. 2020-02-03 17:50:52 +01:00
manuroe
02cd98d3fc
Merge pull request #2961 from vector-im/riot_2959
E2E: Do not warn anymore for unknown devices
2020-01-31 18:01:02 +01:00
SBiOSoftWhare
3ff40c59a2 Settings: Add session verification screens. 2020-01-31 17:46:16 +01:00
SBiOSoftWhare
beb185dc02 User verification: Add possibility to present on session detail from UserVerificationCoordinator. 2020-01-31 17:46:03 +01:00
SBiOSoftWhare
17fb117329 Merge branch 'develop' into riot_2924
# Conflicts:
#	Riot/Modules/Room/DataSources/RoomDataSource.m
2020-01-31 16:45:35 +01:00
manuroe
fb97b498c6 Room decoration: Make shields bigger 2020-01-31 16:20:28 +01:00
SBiOSoftWhare
0695ed215b User verification: User device verification flow when verify a session. 2020-01-31 15:09:19 +01:00
SBiOSoftWhare
f008ae40f1 User verification: Update device verification flow to support device or user verification. 2020-01-31 15:07:30 +01:00
SBiOSoftWhare
5ad1596b8f User verification: Add table view title for session list screen. 2020-01-31 15:03:44 +01:00
manuroe
c70452661a Room decoration: Use shields instead of padlocks
#2906
2020-01-31 14:59:54 +01:00
SBiOSoftWhare
93c7f8e155 Merge branch 'riot_2924' of github.com:vector-im/riot-ios into riot_2924 2020-01-30 21:37:39 +01:00
SBiOSoftWhare
81466c5417 Update MXUsersTrustLevelSummary fetch. 2020-01-30 21:37:25 +01:00
SBiOSoftWhare
d37e23edfc
Update Riot/Modules/UserVerification/Start/UserVerificationStartViewModelType.swift
Co-Authored-By: manuroe <manuroe@users.noreply.github.com>
2020-01-30 20:58:12 +01:00
manuroe
178d6e5b97 E2E: Do not warn anymore for unknown devices
# 2959
2020-01-30 18:13:49 +01:00
SBiOSoftWhare
0d23b2d461 User verification: Update room member details screen with security section and shields. 2020-01-30 18:05:41 +01:00
SBiOSoftWhare
6e25793c0a User verification: Add start user verification flow to DeviceVerificationCoordinator. 2020-01-30 17:57:09 +01:00
SBiOSoftWhare
4e6f5a0800 User verification: Implement user session status flow coordinator. 2020-01-30 17:55:36 +01:00
SBiOSoftWhare
ad5889bf2f User verification: Implement session list status screen. 2020-01-30 17:54:03 +01:00
manuroe
23a23445fa Shields: Shields in one self room should be green if I have no other device 2020-01-30 17:48:22 +01:00
SBiOSoftWhare
3b005d282d User verification: Create UserEncryptionTrustLevel enum. 2020-01-30 17:42:54 +01:00
SBiOSoftWhare
46efdd164a User verification: Implement single session status screen. 2020-01-30 17:41:51 +01:00
SBiOSoftWhare
6819d3d005 User verification: Implement start user verification screen. 2020-01-30 17:38:33 +01:00
manuroe
82c1578aaa Room Shield: Use sync version of [MXRoom membersTrustLevelSummary:]
https://github.com/vector-im/riot-ios/issues/2956
to break keys downloads in loop
2020-01-30 17:16:53 +01:00
manuroe
3219416f33 Settings > Security: Fix file name 2020-01-30 13:24:13 +01:00
manuroe
7daa6c917a Settings > Security: Fix Giom's remarks 2020-01-30 13:19:09 +01:00
manuroe
30359d42e0 Settings: More cleaning 2020-01-30 07:14:35 +01:00
manuroe
76541580a0 Settings: Remove code for things that have their own screen now 2020-01-30 07:12:05 +01:00
manuroe
af0a45ef54 Settings: Remove code for things that have their own screen now 2020-01-30 07:01:10 +01:00
manuroe
27149e06ef Settings > Security > Manage Session: Import delete device code block from the kit 2020-01-29 23:17:57 +01:00
manuroe
0267098ede Settings > Security > Manage Session: Import rename code block from the kit 2020-01-29 22:00:05 +01:00
manuroe
f136c714c6 Settings > Security: Add Manage Session screen 2020-01-29 21:09:15 +01:00
manuroe
d41fca982d Settings > Security: Debug: Add cross-signing information 2020-01-29 15:56:06 +01:00
manuroe
89a975481f Settings > Security: Display shields for devices 2020-01-29 10:58:37 +01:00
manuroe
6f3ae21797 Settings > Security: Sort out things to match the design 2020-01-29 09:10:22 +01:00
manuroe
7a2d3b4e07 Settings > Security: More cleaning 2020-01-28 23:27:45 +01:00
manuroe
9f9f74ec24 Settings > Security: More cleaning 2020-01-28 23:15:23 +01:00
manuroe
133e26af36 Settings > Security: Remove useless imported code 2020-01-28 22:05:11 +01:00
manuroe
ae3674b8ed Settings: Add a dedicated screen for Security 2020-01-28 21:09:51 +01:00
manuroe
a669f35fc6 Settings: LABS: Keep only one flag for cross-signing 2020-01-28 16:51:03 +01:00
manuroe
589c1ca3b6 Message decoration: Do not decorate state events
#2947
2020-01-28 15:53:09 +01:00
manuroe
12ec147b62 Negotiate E2E by default for DMs
#2943
2020-01-28 15:16:53 +01:00
manuroe
7b24865be4
Room creation: Follow SDK changes (#2945)
Room creation: Follow SDK changes
2020-01-28 14:33:56 +01:00
manuroe
54a9ab88b8 Settings: Remove "End-to-End Encryption" from the LABS section
#2941
2020-01-27 17:30:09 +01:00
SBiOSoftWhare
5480e913ad RoomVC: Use encryption normal shield when retrieving room encryption trust level. 2020-01-24 17:13:08 +01:00
SBiOSoftWhare
a7df696f5b RoomDataSource: Fix refactoring. 2020-01-23 16:39:33 +01:00
SBiOSoftWhare
d2e93bb9aa RoomDataSource: Now compute encryption trust level from trusted devices percentage in room. 2020-01-23 16:37:23 +01:00
SBiOSoftWhare
2ab9a4ae83 RoomVC: Handle encryption shields decoration for composer and expanded header. 2020-01-22 16:27:04 +01:00
SBiOSoftWhare
69a04c1af8 Room messages: Handle encryption shields decoration. 2020-01-22 16:25:39 +01:00
SBiOSoftWhare
39e841963e ExpandedRoomTitleView: Add badge image view on room avatar. 2020-01-22 16:23:39 +01:00
SBiOSoftWhare
927a909f21 RoomDataSource: Handle room members trust level for an encrypted room. 2020-01-22 16:21:47 +01:00
manuroe
1d57c82f2f Fix build 2020-01-16 12:58:14 +01:00
manuroe
c8a1d8fdef Cross-signing: Fix a missed API break 2020-01-16 11:03:02 +01:00
manuroe
75b740efe2
Merge branch 'develop' into riot_2890 2020-01-16 09:33:57 +01:00
manuroe
3d7c468936 Cross-signing: Follow API change on MXDeviceInfo.trustLevel 2020-01-16 09:24:40 +01:00
SBiOSoftWhare
3718d0fbdb
Merge pull request #2902 from vector-im/riot_2851
Notification in DMs / new Notification type
2020-01-15 18:21:05 +01:00
SBiOSoftWhare
b41343f3f6 KeyVerificationConclusionBubbleCell: Update warning title and badge image. 2020-01-15 10:50:36 +01:00
manuroe
c659e87a32 Cross-signing: Follow API change on [MXCrypto downloadKeys:] 2020-01-15 08:38:35 +01:00
SBiOSoftWhare
972a1174c8 DeviceVerificationCoordinator: Handle incoming key verification to accept. 2020-01-14 21:51:05 +01:00
SBiOSoftWhare
0ad759c18e RoomDataSource: Handle RoomBubbleCellData key verification update. Handle incoming key verification approval. 2020-01-14 21:47:16 +01:00
SBiOSoftWhare
3ea3f1f847 RoomViewController: Handle key verification cells with pagination title. Handle key verification incoming request approval actions. Remove copy action in context menu for key verification cells. 2020-01-14 20:23:36 +01:00
SBiOSoftWhare
d290938fb1 Add key verification cells with pagination title. 2020-01-14 20:15:28 +01:00
SBiOSoftWhare
148c0686fa Handle key verification cells data filling. 2020-01-14 20:14:17 +01:00
SBiOSoftWhare
28bd41f197 KeyVerificationBaseBubbleCell: Use BubbleCellContentView. Improve cell height caching. 2020-01-14 20:10:13 +01:00
SBiOSoftWhare
6fe6067529 Refactor BubbleCellWithoutSenderInfoContentView to BubbleCellContentView and handle pagination title. 2020-01-14 20:02:34 +01:00
SBiOSoftWhare
d9408dda33 RoomBubbleCellData: Handle key verification cells. Add key verification property and add key verification cell data tags. 2020-01-14 19:46:02 +01:00
Giom Foret
e6c1f9a949 Bug Fix Key backup banner is not hidden correctly
#2899
2020-01-09 19:17:54 +01:00
Giom Foret
1d52a55d8a Code cleaning 2019-12-26 23:24:09 +01:00
Chris Moos
c93d7996f6 Fix issue with joining public rooms with no guest access.
This fixes #2888.

Signed-off-by: Chris Moos <chris@chrismoos.com>
2019-12-22 14:37:39 -07:00
SBiOSoftWhare
5cfe5833ce RoomDataSource: Handle read receipts display for cells conforming to BubbleCellReadReceiptsDisplayable. 2019-12-20 10:44:01 +01:00
SBiOSoftWhare
2fba33e598 RoomVC: Handle DM key verification cells. 2019-12-20 10:43:07 +01:00
SBiOSoftWhare
48db9c37a4 Create DM key verification cells. 2019-12-20 10:42:28 +01:00
SBiOSoftWhare
d4fd68e405 Create BubbleCellWithoutSenderInfoContentView a base room bubble cell content view. 2019-12-20 10:39:22 +01:00
SBiOSoftWhare
fc77865f84 Add BubbleCellReadReceiptsDisplayable protocol describing a cell able to manage read receipts display. 2019-12-20 10:37:53 +01:00
SBiOSoftWhare
4dcc6fb861 RoomBubbleCellData: Add new tags in RoomBubbleCellDataTag for key verification cells. 2019-12-20 10:35:04 +01:00
SBiOSoftWhare
643418142a UIStackView: Refactor extension method vc_removeAllSubviews to vc_removeAllArrangedSubviews. 2019-12-20 10:32:09 +01:00
manuroe
9892dfc9bc Settings: Hide cross-signing things from LABS for now 2019-12-11 09:03:36 +01:00
SBiOSoftWhare
8aac59f56a DeviceVerificationIncomingViewController: Wait view loading before observing device transaction change and unregister after matching an expected case. 2019-12-10 15:51:09 +01:00
SBiOSoftWhare
212568b570 DeviceVerificationVerifyViewController: Wait view loading before observing device transaction change and unregister after matching an expected case. 2019-12-10 15:45:36 +01:00
SBiOSoftWhare
7824121385 DeviceVerificationCoordinatorBridgePresenter: Add navigation logs. 2019-12-10 11:51:51 +01:00
manuroe
0adf6067ac Device Verification: Stay in infinite waiting
#2878

Don't stop listening to transaction updates if we receive unexpected events else you block the state machine.
2019-12-09 18:31:25 +01:00
SBiOSoftWhare
abdee96de8 Settings: Add cross-signing and key verification by direct message switches in labs section. 2019-12-06 12:14:13 +01:00
SBiOSoftWhare
5a593a95d3 RoomVC: Handle tap and long tap on UITextView detected data other than links (Fix #2803). 2019-12-03 19:58:51 +01:00
SBiOSoftWhare
3656028e91 Accessibility: Make checkboxes accessible in terms of service screen. 2019-12-02 17:46:01 +01:00
SBiOSoftWhare
03b8e2bf2d Widgets: Update WidgetViewController to make it conform to all ServiceTermsModalCoordinatorBridgePresenterDelegate methods. 2019-11-29 16:21:46 +01:00
SBiOSoftWhare
923db0c465 Fix terms appearing twice on cancel in IntegrationManagerViewController. 2019-11-29 16:21:03 +01:00
SBiOSoftWhare
46287271b0 Widgets: Handle terms display when selecting a widget in widget picker. 2019-11-29 16:20:01 +01:00
SBiOSoftWhare
855629ab67 WidgetPermissionViewController use a clear background for avatar image view. 2019-11-29 10:13:01 +01:00
SBiOSoftWhare
d3bdfa1494 Room widget permission: Disable justified text for permission informations in WidgetPermissionViewController. 2019-11-28 18:16:53 +01:00
SBiOSoftWhare
0061180bc6 Room widget permission: Update WidgetViewController. 2019-11-28 17:37:18 +01:00
SBiOSoftWhare
6b4f04f815 Room widget permission: Update WidgetPermissionViewController with closures instead of delegate handle updated view model. 2019-11-28 17:36:47 +01:00
SBiOSoftWhare
9c7585a2a5 Room widget permission: Update WidgetPermissionViewModel with permission string list and widget origin. 2019-11-28 17:35:54 +01:00
SBiOSoftWhare
c65eb82283 Move sliding modal classes. 2019-11-28 17:30:01 +01:00
SBiOSoftWhare
d499159c1d
Update Riot/Modules/Modal/SlidingModalPresentationAnimator.swift
Co-Authored-By: manuroe <manuroe@users.noreply.github.com>
2019-11-28 14:44:16 +01:00
SBiOSoftWhare
79abd8da21
Update Riot/Modules/Modal/SlidingModalPresentationAnimator.swift
Co-Authored-By: manuroe <manuroe@users.noreply.github.com>
2019-11-28 14:44:08 +01:00
SBiOSoftWhare
d444f0c850 Room Widget Permission: Handle new room widget permission UX in WidgetViewController. 2019-11-28 12:51:30 +01:00
SBiOSoftWhare
bb0d373dfa Room Widget Permission: Create room widget permission screen. 2019-11-28 12:49:53 +01:00
SBiOSoftWhare
9248eec44f Create a SlidingModalPresenter that allows to present custom modal view controller or view in a card with a sliding transition. 2019-11-28 12:47:46 +01:00
manuroe
a5bfec5389 Widgets: Fix bad i18n key 2019-11-22 14:49:35 +01:00
manuroe
df7a692db5 Swift: NSURL -> URL 2019-11-22 12:20:57 +01:00
manuroe
304c224c07 Jitsi: Display room name, user name and user avatar in the conference screen 2019-11-22 12:04:28 +01:00
manuroe
10d5cd81d6 Widgets: Check user permission before opening a widget (data part)
#2833
2019-11-22 11:18:08 +01:00
manuroe
3296a7561f Widgets: Display an error if the IM is disabled
#2843
2019-11-21 16:36:08 +01:00
manuroe
98354f24aa Settings: Have a toggle for using an integration manager
#2843
2019-11-21 15:43:04 +01:00
manuroe
e5754a2b4d Widgets permission: Fix Steve's remarks 2019-11-20 18:41:18 +01:00
manuroe
50896e6d96 Widgets: Add "Remove for everyone" to the contextual menu 2019-11-20 17:38:12 +01:00
manuroe
5de5b3dec6 Widgets: Add a contextual menu to refresh, open outside and revoke the permission
#2834
2019-11-20 14:23:01 +01:00
manuroe
eca3ad7278 Widgets permission: Some cleaning 2019-11-20 11:13:47 +01:00
manuroe
d01ecca63c Widgets permission: No check required for the integration manager widget 2019-11-20 10:56:14 +01:00
manuroe
5ab4aa63b3 Widgets permission: No check required when the user is the creator 2019-11-20 10:55:06 +01:00
manuroe
1eece82936 Widgets: Check user permission before opening a widget (Data side)
#2832
2019-11-20 10:25:56 +01:00
SBiOSoftWhare
1d212e57d6 Fix tab bar icons misalignment on iOS 13 (Fix #2802). 2019-11-06 15:32:42 +01:00
SBiOSoftWhare
b50f8979f0 RoomVC: Prevent tableView scroll when displaying contextual menu. 2019-10-29 09:19:37 +01:00
SBiOSoftWhare
ea031cd033 RoomVC: Prevent tableView scroll when displaying contextual menu (Fix #2687). 2019-10-28 18:55:55 +01:00
manuroe
b76f18b16a
Merge pull request #2801 from vector-im/riot_2744
Settings: Add User-Interactive Auth for adding email and msidsn to user's account
2019-10-24 17:24:15 +02:00
manuroe
aac9ac03d7 Settings: Use a generic wording when authentication flow is not supported 2019-10-24 15:40:07 +02:00
manuroe
26cc34a62e Settings: Add User-Interactive Auth for adding email and msidsn to user's account
vector-im/riot-ios#2744
2019-10-24 11:17:59 +02:00
SBiOSoftWhare
413b9563c0 Device verification: Improve navigation flow and view states handling. 2019-10-23 17:27:43 +02:00
SBiOSoftWhare
82527c2a3f Emoji picker: Fix reverse header and background colors (Fix #2630). 2019-10-22 18:54:59 +02:00
SBiOSoftWhare
57f2278d45 RoomViewController: Fix crash occurring when tap on an unsent media with retrieved event equal to nil. 2019-10-22 11:50:25 +02:00
SBiOSoftWhare
733298ede8 RoomViewController: Add logs when copy text failed. 2019-10-22 10:55:28 +02:00
SBiOSoftWhare
588168b342 RoomSettingsViewController: Fix a crash when setting a nil string on UIPasteboard. 2019-10-21 17:37:36 +02:00
SBiOSoftWhare
a5671878bb RoomViewController: Fix a crash when setting a nil string on UIPasteboard. 2019-10-21 17:36:58 +02:00
SBiOSoftWhare
a1c5d219bc Fix code formatting in RecentsViewController. 2019-10-18 15:38:01 +02:00
SBiOSoftWhare
4b4f590323 Room cell: Fix states of direct chat and favorite buttons in the menu (Fix #2788). 2019-10-18 15:12:13 +02:00
manuroe
f3e8cc4de7 ContactsDataSource: Do not use [MXKContactManager updateMatrixIDsForAllLocalContacts]
MXKContactManager does it already when a new session is added
2019-10-11 09:57:14 +02:00
manuroe
3f89fbdc14
Merge pull request #2763 from vector-im/riot_2758
Privacy: Do not try to scan local contacts in background when the use…
2019-10-10 16:29:16 +02:00
manuroe
b1df00fd3e Privacy: Do not try to scan local contacts in background when the user has not decided yet to use or not an identity server.
But try to scan when the user opens a screen with a list of contacts
2019-10-10 15:18:58 +02:00
manuroe
741f75347d ServiceTermsModal: Setup all the plumbery for the "Decline" button 2019-10-10 14:44:58 +02:00
manuroe
b7aaa17525 Privacy: Make IS terms wording clearer when we fallback to vector.im
#2760

Add a outOfContext flag to ServiceTermsModal and adapt the display to it
2019-10-10 11:05:10 +02:00
manuroe
ed40c993e8 Terms: Display the URL of the service 2019-10-04 16:16:56 +02:00
manuroe
04ee482a0e Settings/Bind: Ask the user to validate the email again if they have not validated it yet
instead of displaying an error dialog.
This bug happened only with the new HS add and bind APIs (MSC2290) flow because new IS API returns only `M_UNKNOWN`.
2019-10-04 14:11:24 +02:00
manuroe
ead5e435b3
Merge branch 'develop' into privacy 2019-10-04 11:56:55 +02:00
manuroe
ce4c567d7f Settings/Discovery: Do not validate 3pid for unbind with MSC2290 2019-10-02 17:04:49 +02:00
manuroe
c118181f77 Settings/Discovery: Fix stale state after getting an error 2019-10-02 14:56:48 +02:00