Commit graph

1633 commits

Author SHA1 Message Date
ismailgulek
ba50f47c6b
Remove some commented code
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-26 18:04:18 +03:00
ismailgulek
53bb87dafa
Create notification service extension
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-22 14:27:30 +03:00
ismailgulek
7c3911f06d Replace deprecated MPMoviePlayerController with AVPlayerViewController, fixes #3081
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-22 12:12:56 +03:00
ismailgulek
6ea2ff36f7 Change childViewControllers to viewControllers
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-22 12:12:46 +03:00
ismailgulek
697ac5260a Change overridden methods for status bar style
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-22 12:12:46 +03:00
ismailgulek
e342deb72e Change all navigation controllers to RiotNavigationController's
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-22 12:12:46 +03:00
ismailgulek
95767ba452 Override preferredStatusBarStyle for missing pages and ensure setNeedsStatusBarAppearanceUpdate will be called
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-22 12:10:27 +03:00
ismailgulek
d476e20257 Cleanup code moved from willDisappear to didDisappear, fixes #3065
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-22 12:05:45 +03:00
ismailgulek
a382538de5
Adapt UIWebView changes to AuthenticationViewController, fixes #3057 2020-05-13 15:44:18 +03:00
manuroe
66c952190d AuthenticationVC: Fix crash due to update to WKWebView
The crash was:

```
2020-05-11 17:53:44.125128+0200 Riot[60416:899392] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Configuration cannot be nil'
*** First throw call stack:
(
	0   CoreFoundation                      0x000000010b0e98db __exceptionPreprocess + 331
	1   libobjc.A.dylib                     0x0000000109d3dac5 objc_exception_throw + 48
	2   CoreFoundation                      0x000000010b0e9735 +[NSException raise:format:] + 197
	3   WebKit                              0x00000001080f112e -[WKWebView _initializeWithConfiguration:] + 88
	4   WebKit                              0x00000001080f35ab -[WKWebView initWithCoder:] + 131
2020-05-11 17:55:50 +02:00
manuroe
492839c06a BF: App asks to verify all devices on every startup for no valid reason
#3221

We do not care about local trust. Only cross-sign status counts now
2020-05-08 07:52:33 +02:00
manuroe
5c0f23b6e8
Merge pull request #3211 from vector-im/riot_3182
Self verify my old riots
2020-05-07 16:08:32 +02:00
SBiOSoftWhare
9275d19a03 Session verification: Cancel if device is not found. 2020-05-07 12:21:47 +02:00
SBiOSoftWhare
ba2f6042f3 UserVerificationCoordinator: Integrate manually verify device screen. 2020-05-07 10:54:02 +02:00
SBiOSoftWhare
4da4fca080 Implement manually verify device screen. 2020-05-07 10:52:49 +02:00
manuroe
5f44745355 RoomMemberVC: Make sure we have user keys to display the right trust level 2020-05-06 14:37:37 +02:00
manuroe
64ade7f884 Cross-signing: The "Complete Security" button triggers a verification request to all user devices 2020-05-06 14:35:52 +02:00
manuroe
dcc38bb62c UserVerificationSessionStatusView: Add verifyManually action 2020-05-06 09:45:55 +02:00
manuroe
21e6310fd8 UserVerificationSessionStatusViewController: Add manually verify button 2020-05-05 18:27:36 +02:00
SBiOSoftWhare
0ffa48b004 Key verification: Update QR code scan screen UI and update title when scanning own sessions. 2020-05-05 15:45:00 +02:00
SBiOSoftWhare
7223cefd8f Remove some optional chaining. 2020-05-05 12:03:51 +02:00
SBiOSoftWhare
49a4e1fb6e KeyVerificationSelfVerifyStartViewController: Show navigation bar if needed. 2020-05-05 11:51:22 +02:00
SBiOSoftWhare
d899011360 KeyVerificationDataLoadingViewController: Show navigation bar if needed. 2020-05-05 11:50:59 +02:00
SBiOSoftWhare
333f7a0db4 MasterTatBarVC: Fix navigation stack issue when show security screen. 2020-05-05 09:17:47 +02:00
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
manuroe
c74fa3fd5f Settings/Discovery: Manage unbind 2019-10-02 10:57:36 +02:00
manuroe
6e22c42e7a Settings/Discovery: Use new threePidAddManager.cancel() 2019-10-02 09:54:08 +02:00
manuroe
734551902c Settings/Discovery: Use new threePidAddManager to bind emails and phone numbers to HS account
All the migration logic with temporary flag is now in the SDK
2019-10-02 09:31:09 +02:00
manuroe
e256d36dfb SettingsVC: Use new threePidAddManager to add emails and phone numbers to HS account 2019-09-30 18:13:08 +02:00
manuroe
8bb441f403 ActivityIndicatorPresenter: Fix Giom's review remark 2019-09-27 16:38:52 +02:00
manuroe
cc601bacd6 Privacy: IS Settings: Fix flow after terms has been accepted
##2736
I was using a HS access token for IS...
2019-09-26 17:39:50 +02:00
manuroe
9c65158184 Privacy: IS Settings: Disable correctly Add/Change buttons 2019-09-26 16:26:20 +02:00
manuroe
0a0c448aa2 ActivityIndicatorPresenter: Make it accept double display and double hide 2019-09-26 16:03:12 +02:00
manuroe
04a2b18282 Privacy: IS Settings: Factorise model flows so that the change action use both add and disconnect actions 2019-09-26 16:01:53 +02:00
manuroe
53214189f9 Privacy: IS Settings: Change the IS to another one 2019-09-26 12:17:16 +02:00
manuroe
ea36ee0f10 Privacy: IS Settings: Manage invalid IS 2019-09-26 11:00:28 +02:00
manuroe
7268992399 Privacy: IS Settings: Improve UITextField: placeholder, enter key, email keyboard 2019-09-26 11:00:21 +02:00
manuroe
6c68a4fdc3 Privacy: IS Settings: Fix a swift api 2019-09-26 10:31:27 +02:00
manuroe
ef778839a8 Privacy: IS Settings: Manage invalid IS 2019-09-26 10:31:15 +02:00
manuroe
d632e5a21e Privacy: IS Settings: Do not set the IS if terms are not accepted and show and error 2019-09-25 18:28:20 +02:00
manuroe
76a92f065d Privacy: IS Settings: Present IS terms if needed 2019-09-25 18:04:10 +02:00
manuroe
aff02aba1e Privacy: IS Settings: Disconnect from the IS 2019-09-25 15:51:15 +02:00
manuroe
8feb0dcde5 Privacy: IS Settings: Add an IS 2019-09-25 14:51:26 +02:00
manuroe
46702f11d3 Privacy: IS Settings: Plug the UITextField to the model 2019-09-25 10:14:00 +02:00
manuroe
9faddc70d4 Privacy: IS Settings: Finish theming 2019-09-24 15:34:31 +02:00
manuroe
fc2ee7130d Privacy: Settings: Finish IS setting storyboard 2019-09-24 14:34:09 +02:00
manuroe
9621b2dd30 Merge remote-tracking branch 'origin/privacy' into riot_2604 2019-09-23 16:52:06 +02:00
manuroe
baa61a2cb8 i18n: Prefer "Cancel" rather than "Abort" 2019-09-23 16:49:16 +02:00
manuroe
ccfd5a8b51 Merge tag 'v0.9.5' into develop
Finish voice_over

# Conflicts:
#	CHANGES.rst
#	Riot/SupportingFiles/Info.plist
#	RiotShareExtension/SupportingFiles/Info.plist
#	SiriIntents/Info.plist
2019-09-20 17:28:16 +02:00
manuroe
871b9b1f6f VoiceOver: Make ScrollToBottomButton speakable 2019-09-20 17:21:00 +02:00
manuroe
d79ce22df5 VoiceOver: RoomVC: No VoiceOver on media
#2726
2019-09-20 16:25:15 +02:00
manuroe
e0406d4cec VoiceOver: RoomVC: Do not lose the focus on the timeline when paginating (with 3 fingers)
#2720
2019-09-19 17:21:03 +02:00
manuroe
952bf89068 VoiceOver: RoomVC: Make VoiceOver focus on the contextual menu when selecting an event
#2721
2019-09-18 13:51:45 +02:00
manuroe
1a63ece5ab VoiceOver: RoomVC: Fix some missing accessibility labels for buttons
#2722
2019-09-18 13:08:42 +02:00
manuroe
b6e8fb09bb Privacy: Settings: Plug the new SettingsIdentityServerViewController 2019-09-17 15:20:16 +02:00
manuroe
aa0d37e41e Privacy: Settings: Add "IDENTITY SERVER" section 2019-09-17 14:33:28 +02:00
manuroe
1c1825f856 i18n: improve naming: error_no_identity_server -> error_invite_3pid_with_no_identity_server 2019-09-17 10:56:46 +02:00
manuroe
95175c960a Settings: Fix missing stopActivityIndicator 2019-09-17 10:37:57 +02:00
manuroe
c80e4b6a4d Privacy: If there is no IS, we cannot invite people by email
#2672

Display a message for MXRestClientErrorMissingIdentityServer errors
2019-09-17 10:06:10 +02:00
manuroe
5553bfb826 Privacy: If there is no IS, we cannot list local contacts using matrix
#2672
2019-09-16 18:01:12 +02:00
manuroe
17295a4cb5 Merge tag 'v0.9.4' into develop
Finish hotfix_Riot_2715

# Conflicts:
#	CHANGES.rst
2019-09-16 10:43:30 +02:00
manuroe
6d33a27cb7 Authentication: Improve the webview used for SSO
#2715
2019-09-13 19:13:04 +02:00
SBiOSoftWhare
bc38a31665 Settings identity server: WIP. 2019-09-13 18:16:01 +02:00
manuroe
67252e7756 SettingsVC: Fix crash 2019-09-13 11:27:35 +02:00
SBiOSoftWhare
48e1a381cb Settings discovery: Display human readable phone numbers. 2019-09-12 14:56:54 +02:00
SBiOSoftWhare
e17c3abdad Settings discovery: In three pid details screen, use same UX as email for phone number pending verification. 2019-09-12 12:01:28 +02:00
manuroe
67badf1c14
Merge pull request #2707 from vector-im/riot_2682
Send IS for adding MSISDNs only when required by HS
2019-09-11 16:40:03 +02:00
SBiOSoftWhare
e380108489 Settings discovery: In three pid details screen, display a pending verification alert on email validation. Use a fallback API mechanism in view model for older homeservers that do no support 3pid rebind. 2019-09-11 16:27:32 +02:00
manuroe
82af540d56 Send IS for adding MSISDNs only when required by HS
#2682
2019-09-11 15:00:35 +02:00
SBiOSoftWhare
cb6db06141 Settings discovery: Handle new discovery section. 2019-09-10 20:36:45 +02:00
SBiOSoftWhare
532de2cb93 Settings discovery: Implement settings table view discovery section. 2019-09-10 20:33:27 +02:00
SBiOSoftWhare
78fc3182d8 Settings discovery: Implement three pid details screen. 2019-09-10 20:27:41 +02:00
manuroe
bc9ca5575d Merge tag 'v0.9.3' into develop
Finish riot_2703

# Conflicts:
#	CHANGES.rst
2019-09-10 16:30:45 +02:00
manuroe
76923cae11 Authentication: Create a way to filter and prioritise flows (with handleSupportedFlowsInAuthenticationSession). 2019-09-10 14:33:56 +02:00
manuroe
2e86379b2a Support Riot configuration link to customise HS and IS
#2703
2019-09-10 11:51:49 +02:00
manuroe
b080407533
Merge pull request #2699 from vector-im/riot_2657
Privacy: Allow email registration when no IS
2019-09-09 10:08:28 +02:00
manuroe
c41d1e3b51 Privacy: Allow email registration when no IS: Make is_url optional in the next_link of the validation email
#2657
2019-09-06 10:48:27 +02:00
manuroe
5f773d4299 Privacy: Allow email registration when no IS if the HS supports it
#2657
2019-09-06 10:42:19 +02:00
manuroe
93b8b29d7f Privacy: Allow email registration when no IS but return an error if not supported by the HS.
#2657
2019-09-06 10:30:20 +02:00
manuroe
c44b1e841f Settings: Update the screen if IS is changed from another device
#2665
2019-09-05 12:22:18 +02:00
manuroe
35ec07d477 Do not use anymore MXRestClient.credentials.identityServer 2019-09-05 12:16:31 +02:00
Giom Foret
9a18ced34a fix compilation issue 2019-09-04 17:26:06 +02:00
Giom Foret
30d757aa8c Room members: third-party invites can now be revoked 2019-09-04 17:14:36 +02:00
manuroe
be6dd988bb
Merge branch 'privacy' into riot_2659 2019-09-04 09:40:27 +02:00
manuroe
3d8f9f606c Privacy: Settings: Allow adding 3pids when no IS
#2659

And display an error if an IS is required
2019-09-03 16:35:18 +02:00
manuroe
5faf7eca0d Privacy: Allow password reset when no IS
#2658

Display an error if IS is required but empty
2019-09-03 15:02:02 +02:00
manuroe
1e39cc6dd9 Fix build after small API break 2019-09-02 17:14:22 +02:00
manuroe
571c3af774 Privacy: Remove the ability to set an IS at login/registration
#2661
2019-08-30 16:27:49 +02:00
SBiOSoftWhare
6488dd39cb Merge branch 'privacy' into identity_server_v2
# Conflicts:
#	CHANGES.rst
#	Riot/Modules/Authentication/Views/AuthInputsView.m
2019-08-30 16:11:22 +02:00
SBiOSoftWhare
ace66b7225 AppDelegate: Support identity server v2 API email validation and prompt to accept identity server policies on first use. 2019-08-30 11:15:06 +02:00
manuroe
101509dd63 Privacy: Email help text on registration should be updated without binding
Update them again after review
2019-08-30 10:21:57 +02:00
manuroe
82676bf80c Privacy: Email help text on registration should be updated without binding
#2675

We use new strings ids as the meaning changed.
2019-08-29 17:02:10 +02:00
manuroe
7a6c4a8dc6 Privacy: Remove the bind true flag from 3PID adds in settings
#2650
2019-08-29 11:27:29 +02:00
manuroe
8e5e376e20 Privacy: Remove the bind true flag from 3PID calls on registration
#2648
2019-08-29 11:11:23 +02:00
manuroe
ba446465e5 VoIP: Fallback to matrix.org STUN server with a confirmation dialog
#2646
2019-08-28 18:57:56 +02:00
manuroe
78d7c99f39 Settings: CALLS section: Always display the CallKit option
as we are iOS 10 min now but grey it out when not available (only on China)
2019-08-28 17:01:38 +02:00
manuroe
b2bae552d3 Settings: Device section: Make clear that device names are publicly readable in a kind of a "section header" header
vector-im/riot-ios/issues/2662
2019-08-26 18:37:43 +02:00
manuroe
118ec78f23 Settings: Display device fingerprint with a space every 4 chars like other Riot apps 2019-08-26 18:03:26 +02:00
SBiOSoftWhare
a6cd9e32f1 AuthInputsView: Check identity server presence before email registration. 2019-08-21 16:00:53 +02:00
SBiOSoftWhare
d772f212f3 AuthInputsView: Take into account MXIdentityService identity server URL when MSISDN is validated. 2019-08-21 12:03:52 +02:00
SBiOSoftWhare
6885bb86d0
Merge pull request #2645 from vector-im/riot_2643
Ability to disable all identity server functionality via the config file
2019-08-14 15:10:02 +02:00
SBiOSoftWhare
face1dec11 Use lower case for the term identity server. 2019-08-14 15:08:58 +02:00
SBiOSoftWhare
b8362ed3b5 AuthenticationViewController: Show error alert instead of disabling password reset action when Identity Server is not set. 2019-08-14 14:11:06 +02:00
SBiOSoftWhare
a5cfe79fec ContactDetailsViewController: If no IS is configured show an error when starting a chat with a user having only an email. 2019-08-13 17:11:09 +02:00
SBiOSoftWhare
8b79403a7a StartChatViewController: Prevent inviting contact with email only if no IS configured. 2019-08-13 17:08:42 +02:00
SBiOSoftWhare
fd2827220f SettingsViewController: Disable adding threepids if no IS configured. 2019-08-13 17:05:19 +02:00
SBiOSoftWhare
e9df6c9b28 AuthenticationViewController: When register do not propose to add 3rd party ids if there is no configured Identity Server. 2019-08-13 17:03:05 +02:00
SBiOSoftWhare
799b731642 AuthenticationViewController: Disable password reset action when Identity Server is not set. 2019-08-13 17:01:01 +02:00
manuroe
ffee457477 IM: Terms modal: Check checkboxes of already accepted terms urls 2019-08-13 15:54:21 +02:00
manuroe
0531b69f92 IM: Terms modal: Show the modal on widgets (Sticker Picker, ...) 2019-08-13 14:00:33 +02:00
manuroe
3575258920 IM: Terms modal: Reopen the IM UI once terms are accepted 2019-08-13 13:59:36 +02:00
manuroe
d37017430d IM: Terms modal: Make computation of baseUrl more generic 2019-08-13 11:35:56 +02:00
manuroe
9111bed534 IM: Terms modal: Add service purpose description 2019-08-12 15:00:06 +02:00
manuroe
8d4d2bf998 IM: Terms modal: Display terms page into a webview 2019-08-12 11:14:58 +02:00
manuroe
1461b14217 IM: Tweak terms view UI 2019-08-09 18:43:27 +02:00
manuroe
b80640eb3b IM: Display terms in table view 2019-08-09 17:58:02 +02:00
manuroe
f946e2b6d5 IM: Start flow for terms modal 2019-08-09 15:58:33 +02:00
manuroe
ec768b1202 BF: Fix crash for earch bar customisation in iOS13
#2626
2019-08-07 18:36:58 +02:00
SBiOSoftWhare
20a7b04743
Update Riot/Modules/Room/Views/InputToolbar/RoomInputToolbarView.m
Co-Authored-By: manuroe <manuroe@users.noreply.github.com>
2019-08-02 18:12:41 +02:00
SBiOSoftWhare
d4977deee0 Media picker: Fix theming issue on recent captures. 2019-08-02 18:06:55 +02:00
SBiOSoftWhare
35d3ff1e6a SettingsViewController: Use SingleImagePickerPresenter for profile avatar picture. 2019-08-02 17:27:49 +02:00
SBiOSoftWhare
ccc930ccc7 RoomSettingsViewController: Use SingleImagePickerPresenter for room avatar picture. 2019-08-02 17:26:34 +02:00
SBiOSoftWhare
7c81eb685e Create SingleImagePickerPresenter that enables to present an image picker with single selection. 2019-08-02 17:21:17 +02:00
SBiOSoftWhare
119d7239a8 RoomVC: Handle presentation for new native camera and media library actions. 2019-08-02 17:19:29 +02:00
SBiOSoftWhare
b31087ec12 RoomInputToolbarView: Add separate actions for camera and media library. 2019-08-02 17:16:06 +02:00
SBiOSoftWhare
edc03eeb48 Media picker: Create a coordinator. 2019-08-02 17:09:32 +02:00
SBiOSoftWhare
7602c57213 MediaAlbumContentViewController: Fix some retain cycle issues. 2019-08-02 17:07:36 +02:00
SBiOSoftWhare
c26800937c MediaPickerViewController: Remove camera preview and display only recent captures and media albums. 2019-08-02 17:04:14 +02:00
SBiOSoftWhare
a5ac57ca63 Create CameraPresenter that enables to present native camera. 2019-08-02 16:54:31 +02:00
SBiOSoftWhare
2bdd4d782e RoomDataSource: Do not display reactions when event is redacted. 2019-07-30 18:24:12 +02:00
SBiOSoftWhare
17775afd0e ReactionHistoryViewCell: Update copyright. 2019-07-30 18:06:13 +02:00
SBiOSoftWhare
58f485c56e Edit history: Fix some issues. 2019-07-30 17:24:46 +02:00
SBiOSoftWhare
06feb8e28b Reaction history: Handle presentation from room VC by long press on reactions or from contextual menu. 2019-07-30 17:24:46 +02:00
SBiOSoftWhare
1ad0d6908e Reaction history: Implement coordinator. 2019-07-30 17:24:46 +02:00
SBiOSoftWhare
8c83e1d51d Reaction history: Implement screen. 2019-07-30 17:24:45 +02:00
SBiOSoftWhare
f8cdb2afd6 Reaction history: Implement view model. 2019-07-30 17:24:45 +02:00
SBiOSoftWhare
8b9ca69836 Reactions: Add long press gesture on bubble cell reactions. 2019-07-30 17:24:45 +02:00
manuroe
a5760bc770 BF: Crash when leaving settings due to backup section refresh animation.
The exception was:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid update: invalid number of rows in section 10.  The number of rows contained in an existing section after the update (0) must be equal to the number of rows contained in that section before the update (3), plus or minus the number of rows inserted or deleted from that section (0 inserted, 0 deleted) and plus or minus the number of rows moved into or out of that section (0 moved in, 0 moved out).'

To raise this exception:
- Execute the removed code after a delay (2s)
- Enter and leave the settings page
-> Crash
2019-07-29 17:31:07 +02:00
SBiOSoftWhare
ca7779ae58 Emoji picker: Handle Manu's comments. 2019-07-26 14:06:19 +02:00
SBiOSoftWhare
46434d7596
Update Riot/Modules/Room/RoomViewController.m
Co-Authored-By: manuroe <manuroe@users.noreply.github.com>
2019-07-25 19:16:15 +02:00
SBiOSoftWhare
39629a6638 RoomVC: Handle Emoji picker. 2019-07-25 16:58:14 +02:00
SBiOSoftWhare
7066c58a0b Emoji picker: Implement coordinator bridge presenter. 2019-07-25 16:58:14 +02:00
SBiOSoftWhare
a769f6290e Emoji picker: Implement Emoji picker screen. 2019-07-25 16:58:14 +02:00
SBiOSoftWhare
04d142ab65 Emoji picker: Implement cell and header view. 2019-07-25 16:58:14 +02:00
SBiOSoftWhare
c9d4b4193a Emoji picker: Implement Emoji store, view model and view data. 2019-07-25 16:58:14 +02:00
SBiOSoftWhare
e4df031451 Contextual menu: Fix reactions menu theme update. 2019-07-25 16:58:14 +02:00
SBiOSoftWhare
01b9b483c6 Emoji picker: Handle Emoji parsing with EmojiService. 2019-07-25 16:58:14 +02:00
SBiOSoftWhare
2f9419f0bc Reactions menu: Add more reactions button. 2019-07-25 16:58:14 +02:00
manuroe
9579b59bba Soft logout: SSO support: Make sure the "Sign in with SSO" button does not overlap the explanation of the soft logout 2019-07-24 15:24:37 +02:00
manuroe
d126db5e49 Soft logout: SSO support: Display the clear data section upper 2019-07-24 14:59:40 +02:00
manuroe
3fa4de6722 Soft logout: Retain MXFileStore instance while getting user display name 2019-07-24 12:14:31 +02:00
manuroe
45f864b90c Soft logout: Display the message about keys only if there are keys not yet backed ip 2019-07-23 17:36:10 +02:00
manuroe
3fc4ed9884 Soft logout: Do not show the clear data section on the forgot password flow 2019-07-23 17:17:05 +02:00
manuroe
18d7ca6b62 Soft logout: Do not try to log against matrix.org if the password was wrong 2019-07-23 17:03:24 +02:00
manuroe
f7e2da7b1b Soft logout: Implement the clear data button
#2540
2019-07-23 16:20:07 +02:00
manuroe
f182073551 Soft logout: Implement design for the clear data section
#2540
2019-07-23 14:45:51 +02:00
manuroe
400b9c140e Soft logout: Implement design
This is an adapted version of the zeplin design. It uses the current app login look and feel with the copy of the zeplin design

#2540
2019-07-23 11:51:46 +02:00
manuroe
07505b08dc Soft logout: Support soft logout
#2540
2019-07-19 14:25:45 +02:00
manuroe
9b63577447 BF: Edits history: Original event is missing
#2585

The original event is not an edit event. It must be processed a bit differently
2019-07-17 13:58:09 +02:00
manuroe
8ecf5e73cc Push: Update code to follow API break
#2348
2019-07-16 14:42:25 +02:00
manuroe
5e0b61b034
Update Riot/Modules/Room/DataSources/RoomDataSource.h 2019-07-12 09:51:12 +02:00
SBiOSoftWhare
6d63d704f7 RoomVC: Handle external file upload. 2019-07-11 19:17:55 +02:00
SBiOSoftWhare
20458bca20 MXKRoomDataSource: Handle video thumbnail generation with MXKVideoThumbnailGenerator. 2019-07-11 19:07:45 +02:00
SBiOSoftWhare
928eb0c69e RoomInputToolbarView: Add file upload action. 2019-07-11 19:03:32 +02:00
manuroe
47c05e9ce9
Merge pull request #2570 from vector-im/riot_2559
Edits history: Display original event
2019-07-10 15:58:41 +02:00
manuroe
54af44d2ad Room upgrade: Autojoin the upgraded room when the user taps on the tombstone banner
#2486
2019-07-10 14:58:47 +02:00
manuroe
c09faea091 Edits history: Display original event
#2559
2019-07-10 09:53:29 +02:00
SBiOSoftWhare
cece0404ba
Merge pull request #2567 from vector-im/riot_2553
Reactions: Reinstate the ability to react with non-unicode keys
2019-07-09 14:20:03 +02:00
SBiOSoftWhare
436f501a91 LABS: Remove reaction settings, reactions are enabled by default. 2019-07-09 13:51:14 +02:00
SBiOSoftWhare
012ea5b9c3 Bubble reaction view: Handle emoji label theme color. 2019-07-09 11:23:46 +02:00
SBiOSoftWhare
3b45885143 Reactions: Limit Emoji string length in reaction bubble. 2019-07-09 11:02:52 +02:00
SBiOSoftWhare
81b30b4916
Merge pull request #2564 from vector-im/riot_2538
BF: Quick reactions menu hide time and user display name
2019-07-09 10:37:40 +02:00
SBiOSoftWhare
24f6d03e4c RoomVC: Fix reactions menu timestamp and display name overlap (Fix #2538). 2019-07-08 18:43:55 +02:00
SBiOSoftWhare
593e3b3765 RoomBubbleCellData: Add a method to get first visible component index. 2019-07-08 18:34:08 +02:00
manuroe
3a80274bc4
Merge pull request #2555 from vector-im/riot_2548
BF: Reactions: Unexpected padding after event selection
2019-07-08 16:26:43 +02:00
manuroe
138d03d5b2
Merge pull request #2557 from vector-im/riot_2547
Join Room: Support via parameters to better handle federation
2019-07-08 14:53:02 +02:00
manuroe
0d5eac4cf6 Room upgrade: Use the server_name parameter when joining the new room
#2550
2019-07-08 11:46:10 +02:00
manuroe
87b1e15f36 Join Room: Support via parameters to better handle federation
#2547
2019-07-08 11:15:44 +02:00
SBiOSoftWhare
4f6f5a771f Reactions: Fix unexpected padding after event selection (Fix #2548). 2019-07-05 20:56:37 +02:00
SBiOSoftWhare
12896ffc36 Message editing: Handle encrypted message edits history. 2019-07-05 14:14:46 +02:00
SBiOSoftWhare
3a8122bdb1 Message edits history: Handle message edits history display from RoomViewController. 2019-07-04 19:24:15 +02:00
SBiOSoftWhare
11012933ae Message edits history: Update EditHistoryViewController to use UITableView to display messages and dates. 2019-07-04 19:22:29 +02:00
SBiOSoftWhare
8ae74d507d Message edits history: Update view model to handle message history grouping by day. 2019-07-04 19:18:13 +02:00
SBiOSoftWhare
8fe0213c44 Message edits history: Create edit history section struct. 2019-07-04 19:04:53 +02:00
SBiOSoftWhare
884f47b33e Message edits history: Create header view. 2019-07-04 19:03:39 +02:00
SBiOSoftWhare
a943361051 Message edits history: Create edit message cell. 2019-07-04 19:02:54 +02:00
manuroe
2a22e4c0a9 Reactions: Show at most 8 reactions
#2510
2019-07-04 11:38:48 +02:00
SBiOSoftWhare
78351941e4 Message editing: Handle reply edition. 2019-07-03 11:13:53 +02:00
manuroe
63aca2b130 Edits history: Manage date 2019-07-01 14:39:39 +02:00
manuroe
4c7a652fd9 EventFormatter: add showEditionMention setting 2019-07-01 12:42:42 +02:00
manuroe
26a8a6fd8d Edits history: Use a dedicated event formatter 2019-07-01 12:34:20 +02:00
manuroe
4f6986c0ea Edits history: Improve temporary UX a bit 2019-07-01 10:51:07 +02:00
manuroe
54e3155763 Edits history: Fix missing navigation bar 2019-07-01 10:34:02 +02:00
manuroe
d09ff5961c Edits: Start history 2019-06-28 19:27:46 +02:00
SBiOSoftWhare
2980e0fd99
Merge pull request #2534 from vector-im/context_menu_UX_improvements
Room: Improve context menu UX
2019-06-27 16:36:17 +02:00
SBiOSoftWhare
9a217a1098 RoomVC: Improve RoomContextualMenuPresenter loading speed. 2019-06-27 14:37:17 +02:00
manuroe
3eda67435e BF: Edits: editing an unsent msg gets cancelled if the original msg send completes during the edit
#2495
2019-06-27 12:25:01 +02:00
SBiOSoftWhare
392d2ae972 RoomVC: Reduce animation duration when presenting contextual menu. Make animation quicker for a single tap. 2019-06-27 11:41:25 +02:00
SBiOSoftWhare
32de513df5 RoomViewController: Improve additional event actions menu behavior. Remove more action. 2019-06-27 10:23:20 +02:00
manuroe
f63d2e1398
Merge pull request #2531 from vector-im/riot_2449
Edits: Support edits in e2e rooms
2019-06-26 12:14:25 +02:00
manuroe
3db1cffe28 Edits: Support edits in e2e rooms 2019-06-25 18:32:34 +02:00
SBiOSoftWhare
066927c4d4 Bubble cell reactions: Fix BubbleReactionViewCell clipped at bottom in selected state (Fix #2515). 2019-06-25 16:21:48 +02:00
SBiOSoftWhare
cd57ed1f9b RoomViewController: Handle updated RoomContextualMenuViewController. 2019-06-25 14:00:12 +02:00
SBiOSoftWhare
dab7d224eb RoomContextualMenuPresenter: Handle new reactions menu animations, reduce context menu show/hide animation duration. 2019-06-25 13:56:44 +02:00
SBiOSoftWhare
77d27d5fce RoomContextualMenuViewController: Handle updated ReactionsMenuView and new animations instructions. 2019-06-25 13:48:16 +02:00
SBiOSoftWhare
96c771bbfe Update ReactionsMenuView layout. 2019-06-25 13:40:59 +02:00
SBiOSoftWhare
833ba360ee Update ReactionsMenuViewModel to handle a list of reactions. 2019-06-25 13:23:07 +02:00
SBiOSoftWhare
af92b98065 Update ReactionsMenuButton UI 2019-06-25 12:06:54 +02:00
manuroe
f7554aaa88
Merge pull request #2524 from vector-im/riot_2518
Make sure there are no ugly edge cases running Riot without an integrations manager
2019-06-24 15:01:00 +02:00
manuroe
948105b03d Integrations: Manage the error of no configured integrations server 2019-06-21 12:12:32 +02:00
manuroe
afd37fa9fb Integrations: Make code support use of an integration manager other than modular/scalar.
The default value is still modular/scalar.
2019-06-21 11:26:34 +02:00
SBiOSoftWhare
98361afa6f e2e room message: Fix padlock position on last message with sender name. 2019-06-20 12:07:04 +02:00
SBiOSoftWhare
4e6c1c36af RoomDataSource: Fix bubble cell data additional content height update. 2019-06-19 14:22:38 +02:00
SBiOSoftWhare
2b28f25883 Merge develop into fix_riot_attachmentview_reactions 2019-06-19 11:44:42 +02:00
SBiOSoftWhare
8e50ff08c1 Fix bubble cell height for cells with attachment view and reactions. 2019-06-18 18:36:22 +02:00
SBiOSoftWhare
3295b649c9 RoomBubbleCellData: Add additionalContentHeight property to cache additional views height like reactions view and read receipts container. 2019-06-18 18:30:39 +02:00
SBiOSoftWhare
0809c8af55 RoomBubbleCellData: Fix bubble component position when display last message timestamp. 2019-06-18 17:42:00 +02:00
manuroe
872976f798 Read receipts: Manage live update in the kit too 2019-06-18 14:06:23 +02:00
manuroe
ba6d5939a3 Read receipts: They are now counted at the MatrixKit level 2019-06-18 12:28:59 +02:00
SBiOSoftWhare
8aea88139e
Merge pull request #2471 from vector-im/fix_show_context_menu_interaction_when_animate
RoomVC: Prevent user interaction in timeline while presenting context menu
2019-06-18 11:49:44 +02:00
manuroe
82f52378dd Menu actions: Display the keyboard once the users tap on reply or edit
This also fixes the local echo issues we had when this screen stayed displayed
2019-06-14 16:29:25 +02:00
manuroe
6a3cfc0172 Reactions menu: leave the menu once the user tapped a reaction 2019-06-14 16:15:27 +02:00
manuroe
5836ebb97e
Merge pull request #2490 from vector-im/reaction_echo
Local echo for reactions
2019-06-13 17:50:31 +02:00
SBiOSoftWhare
e610bd96e8 RoomViewController: Add message editing support. 2019-06-13 16:38:20 +02:00
SBiOSoftWhare
3c4961af8f RoomInputToolbarView: Add editing mode. 2019-06-13 16:37:28 +02:00
manuroe
84cd3d5e9d Reactions: Change reaction and unreaction methods signatures 2019-06-12 18:25:47 +02:00
manuroe
531cc4b68f Reactions local echoes: Do not show reactions with 0 count (case of reaction being removed) 2019-06-12 18:03:21 +02:00
SBiOSoftWhare
d751af48ff RoomViewController: Prepare message edited mention tap. 2019-06-12 16:06:27 +02:00
SBiOSoftWhare
3a2162f46c
Merge pull request #2482 from vector-im/ReactionsMenuViewModel_update
ReactionsMenuViewModel: Do not perform directly reaction requests
2019-06-11 17:51:28 +02:00
SBiOSoftWhare
310c5cc581 RoomViewController: Display an error when react or unreact on event fails. 2019-06-11 17:43:32 +02:00
SBiOSoftWhare
daab6950d4 [Reactions] Allow reaction only on room messages (Fix #2476). 2019-06-06 13:50:45 +02:00
SBiOSoftWhare
6f7400840d RoomViewController: Conforms to ReactionsMenuViewModelCoordinatorDelegate. 2019-06-06 11:30:57 +02:00
SBiOSoftWhare
940680ed75 [ReactionsMenuViewModel] Do not perform directly reaction requests and use delegation. 2019-06-06 11:29:28 +02:00
SBiOSoftWhare
6e90168a1c RoomViewController: Use new component frame method calculation. 2019-05-29 12:26:48 +02:00
SBiOSoftWhare
ee15eccb40 RoomDataSource: Fix reactions and read receipts positions. 2019-05-29 12:25:57 +02:00
SBiOSoftWhare
99b746681b RoomBubbleCellData: Fix reactions height calculation. Fix timestamp position. 2019-05-29 12:24:43 +02:00
SBiOSoftWhare
b0fbcde9dd Create RoomBubbleCellLayout class to handle MXKRoomBubbleTableViewCell layout constants. 2019-05-29 12:15:31 +02:00
SBiOSoftWhare
55f3a68afb RoomVC: Prevent user interaction in timeline while presenting context menu. 2019-05-24 11:33:44 +02:00
manuroe
90784d13a0
Merge pull request #2438 from dcordero/verification_id_labels_fix
Verification id labels fix
2019-05-23 17:57:49 +02:00
SBiOSoftWhare
31feca6f17 Room contextual menu: Update button titles color and disabled opacity. 2019-05-23 17:48:52 +02:00
SBiOSoftWhare
f14cbf759e Registration: Fix infinite loop when register with email and validate from mobile. 2019-05-23 16:46:00 +02:00
David Cordero
627291529b Merge branch 'develop' into verification_id_labels_fix 2019-05-22 19:10:35 +02:00
SBiOSoftWhare
366d27ebab Contextual menu: Improve reactions menu position. 2019-05-22 18:48:50 +02:00
SBiOSoftWhare
09991e53c7
Merge pull request #2464 from vector-im/riot_2446
BF: Menu actions: Display message time
2019-05-22 17:41:18 +02:00
SBiOSoftWhare
a62548c545
Update Riot/Modules/Room/CellData/RoomBubbleCellData.h
Co-Authored-By: manuroe <manuroe@users.noreply.github.com>
2019-05-22 17:27:29 +02:00
SBiOSoftWhare
0fb13febee RoomVC: Display message time when contextual menu is shown. 2019-05-22 16:54:51 +02:00
SBiOSoftWhare
6ce4a826be RoomVC: Show contextual menu on single tap. 2019-05-22 16:37:06 +02:00
SBiOSoftWhare
4bde8a435b Room contextual menu: Dismiss when swipe up or down. 2019-05-22 16:35:46 +02:00
SBiOSoftWhare
b234a09bf1 RoomBubbleCellData: Add a property to display the timestamp of the selected component on the left when there is enough space. 2019-05-22 16:17:55 +02:00
manuroe
98c95fb849 Reactions menu: Patch RoomContextualMenuPresenter while we have a retain cycle 2019-05-21 02:12:14 +02:00
SBiOSoftWhare
3117c4322c Theme: Remove non needed reaction colors 2019-05-21 01:09:42 +02:00
SBiOSoftWhare
321811283a BubbleReactionsView: Use a UICollectionViewFlowLayout subclass with left alignement. 2019-05-21 00:43:10 +02:00
SBiOSoftWhare
d2cfe4891a RoomDataSource: Handle reactions display on bubble cell. 2019-05-20 21:59:18 +02:00
SBiOSoftWhare
75d7b26bfc RoomBubbleCellData: Improve reactions view vertical space calculation 2019-05-20 21:57:29 +02:00
SBiOSoftWhare
4ababf957e Create BubbleReactionsView 2019-05-20 21:54:23 +02:00
SBiOSoftWhare
2caf4e326f Create BubbleReactionsViewModel 2019-05-20 21:52:07 +02:00
SBiOSoftWhare
e5d8910a92 Create BubbleReactionViewCell 2019-05-20 21:51:24 +02:00
SBiOSoftWhare
2d118853a7 Create AutosizedCollectionView a convenient UICollectionView that makes dynamic sizing easier when using Auto Layout 2019-05-20 21:49:57 +02:00
manuroe
aadac45de6 Reactions menu: Do not notify delegate if reaction requires an unreaction
Fix Steve's remark
2019-05-20 20:41:05 +02:00
manuroe
86808b16e2 Reactions menu: Do not notify delegate if reaction requires an unreaction
This avoids to call the delegate twice.
Note: In a short future, we will no more have those 3 state buttons
2019-05-20 19:48:29 +02:00
manuroe
d72f2eb762 Reactions: Remove the send reaction hack as it is now done in the SDK 2019-05-20 19:40:52 +02:00
manuroe
f105fadc48
Merge branch 'develop' into aggregations 2019-05-20 17:57:50 +02:00
manuroe
6866fe8e2c Reactions: Add a labs setting
#2441
2019-05-20 17:31:25 +02:00
manuroe
2b7b2c5a6c Reactions: Use the hack like on riot-android and riot-web if the server has not yet the aggregations API
Fix Steve's comment
2019-05-20 17:00:57 +02:00
manuroe
4a7677a667 Reactions: Use the hack like on riot-android and riot-web if the server has not yet the aggregations API 2019-05-20 16:04:54 +02:00
manuroe
0973d3886b Reactions: Reactions menu: highlight reactiosn only our user made 2019-05-20 15:00:47 +02:00
David Cordero
8dfa395647 Remove redundant code 2019-05-19 17:19:23 +02:00
David Cordero
10c1624f7e Fix text color for user display name and device id labels in dark theme 2019-05-19 17:14:41 +02:00
manuroe
80d817c98e Reactions: Reactions menu: plug unreact 2019-05-17 17:39:31 +02:00
manuroe
443b886a34
Merge pull request #2430 from vector-im/reactions_in_context_menu
RoomVC: ContextualMenu: Plug reactions menu
2019-05-17 13:33:57 +02:00
manuroe
b1ebf79e50 RoomVC: ContextualMenu: Plug reactions menu 2019-05-17 12:17:59 +02:00
manuroe
00bebecc29 Reactions: Add placeholder for reactions list under message 2019-05-17 01:28:45 +02:00
manuroe
3249751dc2 RoomBubbleCellData: Do readReceiptVerticalWhitespace thing in one place 2019-05-16 18:27:48 +02:00
manuroe
0ed0d8cef5 Reactions: Follow small SDK change 2019-05-16 17:44:07 +02:00
manuroe
0bc5c28390 Reactions: Fix Steve's comments 2019-05-16 16:07:07 +02:00
manuroe
8d7f535581
Merge branch 'aggregations' into riot_2393 2019-05-16 14:51:14 +02:00
manuroe
ec758a84b7 Reactions: we cannot like & dislike at the same time 2019-05-16 14:45:42 +02:00
manuroe
13beb50abb Reactions: notify coordinator for every reaction request steps
so that it can leave the view when it wants
2019-05-16 08:07:52 +02:00
manuroe
65ec1e9988 Reactions: Plug button actions 2019-05-16 07:47:23 +02:00
manuroe
7cd5e79bc6 Reactions: Customise primary reactions buttons 2019-05-15 23:35:09 +02:00
SBiOSoftWhare
f5887c4774 RoomViewController: Disable reply on single tap selection. 2019-05-15 23:30:33 +02:00
SBiOSoftWhare
c0e313f156 RoomViewController: Show contextual menu toolbar on long press. 2019-05-15 23:24:34 +02:00
SBiOSoftWhare
1f43a8ee5e Create RoomContextualMenuPresenter 2019-05-15 23:10:07 +02:00
SBiOSoftWhare
d682b97441 Create RoomContextualMenuViewController 2019-05-15 23:09:03 +02:00
SBiOSoftWhare
cd238cc2f0 Create RoomContextualMenuToolbarView 2019-05-15 23:07:50 +02:00
SBiOSoftWhare
444a2ee452 Create room contextual menu action enum 2019-05-15 23:02:25 +02:00
SBiOSoftWhare
3be7a5274a RoomDataSource: Add a property to show or hide timestamp when selecting an event. 2019-05-15 21:44:07 +02:00
SBiOSoftWhare
c808ae5057 RoomBubbleCellData: Add a property to show or hide timestamp for selected component. 2019-05-15 21:34:32 +02:00
manuroe
52a480db92 Reactions: Translate primary reactions 2019-05-15 16:38:28 +02:00
manuroe
e419eecfeb Reactions: Add primary reactions as message actions 2019-05-15 16:00:36 +02:00
manuroe
97ffa9bf1e Device Verification: Fix buttons colors in dark theme 2019-05-06 08:21:30 +02:00
manuroe
ef4fed1bb2 RoomVC: When replying, use a "Reply" button instead of "Send" 2019-04-30 17:27:57 +02:00
manuroe
16dc04e18d RoomInputToolbarView: Turn the boolean replyToEnabled into an enum: sendMode
because message editing (#2404) is coming
2019-04-30 17:08:52 +02:00
SBiOSoftWhare
3e430e7b45 Fix room details navigation from rooms list. 2019-04-29 14:24:20 +02:00
manuroe
08d83114fe
Merge pull request #2378 from aaronraimist/homeserver
home server -> homeserver (#2345)
2019-04-26 11:41:47 +02:00
SBiOSoftWhare
3da89a05ce Handle button title for restore action case in SettingsKeyBackupTableViewSection. 2019-04-25 16:10:22 +02:00
SBiOSoftWhare
cdede7fcce Merge develop into prepare_riot_2231 2019-04-25 15:59:32 +02:00
SBiOSoftWhare
24d7c087fb Remove check for +[UIFont systemFontOfSize:weight:] availability. 2019-04-25 12:27:31 +02:00
SBiOSoftWhare
04b5dd0b58 Remove iOS 10 availability condition in MasterTabBarController. 2019-04-25 11:53:38 +02:00
SBiOSoftWhare
42ddca925f Use a weak reference for mediaPicker property in RoomInputToobarView. 2019-04-24 17:56:59 +02:00
SBiOSoftWhare
87a6d13855 [Media Picker] Fix some retain cycles and fix implicit self warnings. 2019-04-24 17:56:03 +02:00
SBiOSoftWhare
84660597fb Merge develop into riot_1483 2019-04-24 16:28:51 +02:00
manuroe
8d68da4da8
Update Riot/Modules/Integrations/Widgets/Jitsi/JitsiViewController.m
Co-Authored-By: SBiOSoftWhare <SBiOSoftWhare@users.noreply.github.com>
2019-04-24 15:55:51 +02:00
manuroe
cab15e7477
Merge pull request #2372 from vector-im/riot_2323
E2E: SAS Verification
2019-04-24 14:51:04 +02:00
manuroe
b4c0a77ca1 Device Verification: Add a view model to DeviceVerificationDataLoadingViewController 2019-04-24 14:42:16 +02:00
manuroe
a1901e6238 Device Verification: Update SDK constant names changes 2019-04-24 10:35:56 +02:00
manuroe
c987e80d54 Clarify key backup details when backup exists but is not trusted in banner too
This follows changes made by https://github.com/vector-im/riot-ios/pull/2375
2019-04-24 10:23:27 +02:00
manuroe
7bc6ba25af Device Verification: Make incoming requests dialogs dequeueing work without a random sleep 2019-04-24 08:55:45 +02:00
manuroe
6eadbbdae0 Device Verification: Remove a TODO 2019-04-24 08:23:44 +02:00
manuroe
3c0237a4bd Device Verification: Fix Steve's PR comments 2019-04-24 08:18:56 +02:00
Aaron Raimist
d710b3788d
home server -> homeserver (#2345)
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2019-04-19 21:27:10 -05:00
SBiOSoftWhare
b4c1cd0376 Update JistiViewController to use new JitsiMeet SDK API 2019-04-19 18:34:44 +02:00
SBiOSoftWhare
b6e847c638 Create JitsiService to abstract and configure Jisti Meet SDK 2019-04-19 18:29:53 +02:00
manuroe
e90fa1c323 Device Verification: Update wording "Verify user" -> "Verify device" 2019-04-19 11:38:48 +02:00
manuroe
bffe14f760 Device Verification: Manage display of SAS decimals 2019-04-19 11:31:19 +02:00
manuroe
b838e1c2d5 Device Verification: Clean dev code 2019-04-19 10:35:02 +02:00
manuroe
1df16d8ac7 Device Verification: Start: Fix missing cancelledByMe state 2019-04-18 23:12:01 +02:00
J. Ryan Stinnett
b5ee4a6aa9 Clarify key backup details when backup exists but is not trusted
This ports the wording changes from Riot Web
https://github.com/matrix-org/matrix-react-sdk/pull/2917.

"Use key backup" as button text feels like it's telling me I haven't set it up
at all. This changes to "Connect this device ..." which seems more reassuring
and applies for both the "add to backup" and "restore from backup" use cases.

This also updates the backup status text for the case where a backup exists, but
it's not being used by the current device so that it's much more clear that you
have a backup at least.
2019-04-18 13:30:32 +01:00
manuroe
771444573d Device Verification: MXUser.displayname and avatar can be nil 2019-04-17 13:54:51 +02:00
manuroe
bcacc78b3c Device Verification: Display a message when the transaction has been automatically cancelled 2019-04-17 13:05:18 +02:00
manuroe
5cad9743fb Device Verification: Removed unused code from templates 2019-04-17 12:52:45 +02:00
manuroe
d49dce7dcb Device Verification: Add DeviceVerificationDataLoading VC, a loading wheel VC 2019-04-17 12:47:42 +02:00
manuroe
ce47ea0277 Device Verification: Hack EncryptionInfoView to display the new device verification flow when the user taps on "Verify" 2019-04-17 09:51:32 +02:00
manuroe
8a50ccb077 SettingsVC: Remove dead code using EncryptionInfoView 2019-04-17 08:57:16 +02:00
manuroe
01e699fdf1 Device Verification: Plug it in the code more 2019-04-17 08:09:43 +02:00
manuroe
dd34bfe716 Device Verification: Plug it in the code 2019-04-16 17:55:40 +02:00
manuroe
e8ed9a19f9 Device Verification: Plug the legacy verification modal 2019-04-16 15:00:57 +02:00
manuroe
4889690698 Device Verification: Do not show back button 2019-04-16 11:36:51 +02:00
manuroe
b12c2af145 Device Verification: Translate emoji 2019-04-16 09:33:25 +02:00
manuroe
aeb0031fda Device Verification: Verified screen 2019-04-15 18:40:04 +02:00
manuroe
1a7d642325 Device Verification: Verified screen 2019-04-15 18:22:24 +02:00
manuroe
e721b6cf60 Device Verification: Incoming screen: UI: Use a rounded MXKImageView 2019-04-15 15:28:59 +02:00
manuroe
a4a2064970 Device Verification: Incoming screen: UI: plug data 2019-04-15 14:18:44 +02:00
manuroe
bdefacff0e Device Verification: Incoming screen: UI design 2019-04-15 11:09:37 +02:00
manuroe
db8b3c5648 Device Verification: Incoming screen: working on UI 2019-04-13 00:19:01 +02:00
manuroe
a9502603d6 Device Verification: Incoming screen: beginning 2019-04-12 23:19:07 +02:00
manuroe
785bc7f176 Device Verification: Display the "The other party cancelled the verification." modal 2019-04-11 19:38:46 +02:00
manuroe
d7d78b063b Device Verification: Verify screen: Try to make emoji names fit in their cell 2019-04-11 18:13:55 +02:00
manuroe
b88d4d4f2d Device Verification: Verify screen: bind transaction.confirmSASMatch() 2019-04-11 18:12:30 +02:00
SBiOSoftWhare
5292d2cbaa Update SettingsKeyBackupTableViewSection to prepare restore button removal when all keys are stored on device. 2019-04-11 10:40:26 +02:00
SBiOSoftWhare
7263b268e1
Merge branch 'develop' into avoid_tableview_crashes_settings 2019-04-10 17:49:37 +02:00
SBiOSoftWhare
a40988fbc7 [SettingsViewController] Avoid some crashes when reload rows animated. 2019-04-10 14:50:47 +02:00
SBiOSoftWhare
bf3750f254 [RoomSettingsViewController] Avoid some crashes when reload sections animated. 2019-04-10 14:50:14 +02:00
SBiOSoftWhare
24e74f3577 Make read receipt label text color use primary text color (Fix #2294). 2019-04-10 12:10:15 +02:00
manuroe
b934b26f25 Device Verification: Verify screen: Theme emojis names 2019-04-08 17:10:40 +02:00
manuroe
3b6e230c86 Device Verification: Verify screen: Make emojis fit on 2 lines on SE 2019-04-08 16:50:55 +02:00
manuroe
aee917a00d Device Verification: Verify screen: We do not need scrolling for that screen 2019-04-08 16:05:28 +02:00
manuroe
b0a8f8167e Device Verification: Start screen: We do not need scrolling for that screen 2019-04-08 15:47:34 +02:00
SBiOSoftWhare
afedb617ec Use one external entry point on AppDelegate to navigate to a room 2019-04-08 13:32:46 +02:00
manuroe
f14b92ba5d Device Verification: Verify screen: display emojis 2019-04-07 00:04:36 +02:00
manuroe
d5102d1611 Device Verification: Start screen: Improve a bit layout (maybe) 2019-04-07 00:00:49 +02:00
manuroe
e32f32668b Device Verification: Verify screen: add wording 2019-04-05 23:52:04 +02:00
manuroe
7269e2fc8b Device Verification: Start verify screen 2019-04-05 19:09:29 +02:00
manuroe
befc960714 Device Verification: Start screen: add transaction cancel 2019-04-05 18:39:57 +02:00
manuroe
b8ee5d7cd6 Device Verification: Start screen: add "Waiting for partner to accept..." 2019-04-05 18:15:05 +02:00
manuroe
0a944c73aa Device Verification: Start start screen UI 2019-04-05 17:43:15 +02:00
manuroe
c684d0bf6d Device Verification: Start start screen business logic 2019-04-05 15:20:20 +02:00
manuroe
3058a92506 Device Verification: boilerplate for the start screen 2019-04-05 09:41:57 +02:00
manuroe
b23d5964e8 Widgets: Attempt to re-register for a scalar token if ours is invalid
#2326

Add sanity check
2019-03-12 18:11:27 +01:00
manuroe
0dbbaf8af0 Widgets: Attempt to re-register for a scalar token if ours is invalid
#2326

Add sanity check
2019-03-12 17:59:16 +01:00
manuroe
79237928ae Widgets: Attempt to re-register for a scalar token if ours is invalid
#2326

As the integration manager page (https://scalar-staging.riot.im/scalar-web) does not return a 403, check scalar token validity before opening it
2019-03-12 17:12:44 +01:00
manuroe
82f6daca44 Widgets: Attempt to re-register for a scalar token if ours is invalid
#2326

When we detect a 403 for a widget.
2019-03-12 16:09:35 +01:00
SBiOSoftWhare
64083f49df Apply new user name color generation on bubble cells where needed 2019-03-07 17:46:45 +01:00
manuroe
58e7cba5f3 RoomVC: Use accent color (green) for the ongoing conference call banner 2019-03-07 10:42:55 +01:00
manuroe
65203d5ea0 Authentication: .well-known support
Fix Steve's remark
2019-03-07 10:08:39 +01:00
manuroe
4b571ac6dd Authentication: .well-known support (#2117). 2019-03-06 18:30:13 +01:00
SBiOSoftWhare
f909043d15 Do not mention key backup on sign out when there is no keys to backup 2019-03-05 15:53:58 +01:00
SBiOSoftWhare
5ff2eb8f8d Do not present key backup banner on HomeVIewController if there are no keys to backup 2019-03-05 15:35:39 +01:00
manuroe
76391fbe4b
Merge pull request #2305 from vector-im/riot_2292
Reskin: HomeVC: Use notices colors for badges background in section headers
2019-03-04 18:18:59 +00:00
manuroe
02ceb87ed0
Merge pull request #2307 from vector-im/light_sso_support
Authentication: support SSO by using the fallback URL
2019-03-04 18:18:41 +00:00
SBiOSoftWhare
396f184bc1 Handle quick tap on link in RoomViewController. Retrieve URL interaction information when user tap a link in a MXKRoomBubbleTableViewCell to indicate the type of interaction expected with the URL. 2019-03-04 18:29:13 +01:00
manuroe
32a2dd9653 AuthVC: Style the authentication fallback webview screen so that its header matches to navigation bar style 2019-03-04 18:20:30 +01:00
manuroe
6015555e30 Authentication: support SSO by using the fallback URL
#2306

Disable register button on SSO
2019-03-04 17:25:21 +01:00
SBiOSoftWhare
ad289a2685 Use MXKMessageTextView in text message bubble cells to allow link detection without text selection 2019-03-04 17:03:04 +01:00
manuroe
6b2377b763 Authentication: support SSO by using the fallback URL
#2306
2019-03-04 16:52:22 +01:00
manuroe
670952c8e9 Reskin: HomeVC: Use notices colors for badges background in section headers
#2292
2019-02-28 22:09:57 +00:00
SBiOSoftWhare
a4e2e6ee6f Fix SwiftLint warnings 2019-02-27 10:07:51 +01:00
manuroe
5517e45f4a Fix crash in Settings in 0.8.1
#2295
2019-02-25 16:00:47 +01:00
manuroe
932fcd888f RoomVC: Remove the beta warning modal when enabling e2e in a room
This is the other part of #2239.
2019-02-21 15:07:50 +01:00
manuroe
95f3c07b54 Reskin: Text in badges should be white in dark theme
#2283
2019-02-21 13:07:37 +01:00
Fridtjof Mund
59f79f4bab
Merge branch 'develop' into deprecations/contacts-api 2019-02-20 18:14:36 +01:00
fridtjof
077c5327a7
fix changes made in 8c4b5d09 2019-02-20 18:12:18 +01:00
manuroe
7a5c0bef99 Maintenance: Update cocopoads and pods. Automatic update to Swift4.2 2019-02-20 16:45:32 +01:00
SBiOSoftWhare
2e87d75dd0
Merge pull request #2278 from vector-im/riot_2276
BF: Reskin: status bar text is no more readable on iPad
2019-02-20 15:08:27 +01:00
manuroe
b9df55535f
Merge pull request #2221 from fridtjof/deprecations/percent_encoding
Take care of percent encoding related deprecations
2019-02-20 15:06:11 +01:00
SBiOSoftWhare
6b6f77c1a5 Fix split view controller status bar style when is not collapsed. Fix #2276. 2019-02-20 14:54:24 +01:00
SBiOSoftWhare
91c95e0cf6 Update jump to last unread banner separator color in RoomViewController 2019-02-19 16:55:58 +01:00
SBiOSoftWhare
25d20b727c Fix expanded header color in RoomViewController 2019-02-19 15:56:17 +01:00
manuroe
e49e576c7a Key backup: Fix crash when switching tabs if there is a banner on the home tab
This is a regression made in #2265 (Key backup: avoid to refresh the home room list on every backup state change).

On other tabs than `self.keyBackupBanner` must be reset to `KeyBackupBannerNone` so that there is no banner section.
2019-02-19 14:51:47 +01:00
SBiOSoftWhare
96c66b9b02 Add style method for UITabBar on Theme protocol. Update themes and make UITabBar non translucent. 2019-02-19 09:39:01 +01:00
manuroe
b253f764a6
Merge branch 'develop' into backup_banner_filter_forceRefresh 2019-02-18 18:48:08 +01:00
manuroe
7ff02a0e5e Key backup: avoid to refresh the home room list on every backup state change
A possible mitigation for #2265
2019-02-18 18:27:21 +01:00
SBiOSoftWhare
a612150df3 Fix header tint color issue in SegmentedViewController. Fix #2260. 2019-02-18 15:31:56 +01:00
fridtjof
e138dd8d2c
use the Matrix SDK's method for percent encoding 2019-02-18 15:31:55 +01:00
SBiOSoftWhare
3d675245db
Merge pull request #2262 from vector-im/reskin_linebreakcolor
Reskin: Apply theme line break color
2019-02-18 13:50:06 +01:00
SBiOSoftWhare
f4aa2e66b4 Apply new lineBreakColor where needed 2019-02-18 12:53:13 +01:00
manuroe
f2424f3f2a Reskin: Fix navigation bar background after accepting an invite 2019-02-18 10:59:57 +01:00
manuroe
992ebcdbff Reskin: Fix text color in room preview 2019-02-18 10:59:36 +01:00
SBiOSoftWhare
e73e050fd0
Merge pull request #2255 from vector-im/export_keys
Key backup: Handle manual key export in key backup setup intro screen
2019-02-15 19:22:38 +01:00
SBiOSoftWhare
28f9025c4c Update KeyBackupSetupCoordinator to handle coming from sign out info 2019-02-15 19:06:08 +01:00
SBiOSoftWhare
b3a523da05 Handle manual export in key backup setup intro screen 2019-02-15 19:04:54 +01:00
SBiOSoftWhare
76cb151be6 Create encryption keys export presenter 2019-02-15 19:04:03 +01:00
manuroe
5044dc6e2e BF: Reskin: Sometimes the roomVC navigation bar is tranparent
#2252
2019-02-15 15:21:33 +01:00
manuroe
8701de43dd Fix: Jump to first unread message doesn't show up
#2218
2019-02-15 13:45:09 +01:00
SBiOSoftWhare
bcbb2f00d6 Fix sign out warning presentation on iPad 2019-02-15 12:42:07 +01:00
manuroe
84ec248a3e
Merge pull request #2246 from vector-im/settings_backup_update_copy
Backup settings: Update wording and rendering to match riot-web
2019-02-14 19:18:56 +01:00
SBiOSoftWhare
2897c03382
Merge pull request #2245 from vector-im/riot_2195
Key backup: logout warning
2019-02-14 18:52:50 +01:00
SBiOSoftWhare
dfa6be548f Update SignOutAlertPresenter to handle backup in progress case 2019-02-14 18:06:37 +01:00
manuroe
d144db8ad7 Backup settings: Update wording and rendering to match riot-web
Verify button has been removed and replaced by "Use key backup", which makes a restore, because we trust on decrypt now.
2019-02-14 17:47:59 +01:00
manuroe
d3423c7b51 Key recovery: Trust on decrypt
Fixed Steve's comments
2019-02-14 17:30:53 +01:00
manuroe
f2ed385630 Key recovery: Trust on decrypt
Fixed Steve's comments
2019-02-14 17:28:29 +01:00
SBiOSoftWhare
1decf99626 Handle sign out alert present present in SettingsViewController 2019-02-14 16:04:08 +01:00
SBiOSoftWhare
e8f58f301d Create a sign out alert presenter 2019-02-14 16:03:07 +01:00
manuroe
07be13e130 Key recovery: Show errors on invalid passphrase or recovery key 2019-02-14 13:14:00 +01:00
manuroe
d48763635e Key recovery: Trust on decrypt
#2223
2019-02-14 12:48:54 +01:00
manuroe
309ee56feb Key recovery: Do not show anymore an error for empty backup 2019-02-14 12:46:53 +01:00
manuroe
b0c0c193d0 Key backup: Update SDK api break 2019-02-14 12:28:56 +01:00
SBiOSoftWhare
e8dc757401 Use new lineBreakColor in KeyBackupSetupSuccessFromRecoveryKeyViewController 2019-02-13 15:26:51 +01:00
SBiOSoftWhare
d668ba28a4 Remove former key backup setup success scene 2019-02-13 15:02:31 +01:00
SBiOSoftWhare
f20a4dd592 Update key backup logo on key backup recover screens 2019-02-13 14:58:17 +01:00
SBiOSoftWhare
66b46d5afe Update KeyBackupSetupCoordinator, handle new success controllers 2019-02-13 14:58:16 +01:00
SBiOSoftWhare
90974c0f8e Update key backup setup passphrase scene 2019-02-13 14:58:16 +01:00
SBiOSoftWhare
d596b7f097 Update KeyBackupSetupIntroViewController 2019-02-13 14:58:16 +01:00
SBiOSoftWhare
d3efbd2633 Create new key backup setup success view controllers 2019-02-13 14:58:16 +01:00
SBiOSoftWhare
ccf075b00d Update KeyBackupBannerCell and handle safe area when compute cell size 2019-02-13 14:58:16 +01:00
manuroe
e37d07c4ce
Merge pull request #2240 from vector-im/riot_2237
Reskin: Update colors
2019-02-13 10:11:33 +01:00
manuroe
d40c446f87 Reskin: Replace separatorColor with lineBreakColor, the color introduced in the new uniformed palette 2019-02-13 09:39:32 +01:00
manuroe
f45303baad RoomVC: Remove the beta warning modal when opening an e2e room
#2239
2019-02-12 19:24:08 +01:00
manuroe
338fa64bd4 Reskin: Use same color names as in https://app.zeplin.io/project/5c122fa790c5b4241ffa6be7/screen/5c619592daff2f1241d82e75 2019-02-12 19:06:22 +01:00
SBiOSoftWhare
3eacd21b2f Handle section header tint color update when theme change in SegmentedViewController 2019-02-08 15:17:58 +01:00
manuroe
848ffe2bf7 Key backup: Check backup update on the homeserver
when opening the home or the settings screen in order to display the right banner and settings.
2019-02-06 17:34:16 +01:00
fridtjof
8c4b5d092b
replace contact availability checks with the iOS 9+ way 2019-02-05 01:36:13 +01:00
fridtjof
d14d472b60
take care of percent encoding related deprecations 2019-02-04 21:22:43 +01:00
SBiOSoftWhare
6a175d4838 Enhance tap on room predecessor cell used to go back to the old version of the room (Fix issue #2179) 2019-02-04 15:49:49 +01:00
SBiOSoftWhare
a83432d98f Fix Manu's comments 2019-02-01 10:15:39 +01:00
SBiOSoftWhare
d8a86c6e2e Handle key backup recover banner display 2019-02-01 09:51:57 +01:00
SBiOSoftWhare
e7e8a57c79 Use one key backup banner for recover and setup cases 2019-02-01 09:51:01 +01:00
SBiOSoftWhare
8cbd453fff Handle key backup recover banner preferences 2019-02-01 09:35:54 +01:00
manuroe
33fd408d22 key backup settings: Fix Steve's comment 2019-01-31 21:22:10 +01:00
manuroe
1ca5ee4356
Merge branch 'develop' into riot_2173 2019-01-31 21:17:47 +01:00
manuroe
c6c8c044ed key backup settings: Fix Steve's comment 2019-01-31 21:15:50 +01:00
manuroe
d0981c3e04 Key backup: Fix some recovery setup bugs 2019-01-31 20:00:38 +01:00
SBiOSoftWhare
873c332b37 Handle key backup setup banner display 2019-01-31 19:52:32 +01:00
SBiOSoftWhare
f593a62455 Create key backup setup banner cell 2019-01-31 19:50:58 +01:00
SBiOSoftWhare
b97097a5e6 Create KeyBackupBannerPreferences to handle key backup banner display preferences 2019-01-31 19:50:22 +01:00
manuroe
19e699a91d key backup settings: Manage checking state 2019-01-31 18:48:35 +01:00
manuroe
fe78e6b479 key backup settings: Manage backup created from the device 2019-01-31 18:41:00 +01:00
manuroe
94bd0bcb75 key backup settings: Make it look like more to https://github.com/vector-im/riot-meta/issues/251#issuecomment-458566684
2/2

Manage not trusted backup
2019-01-31 18:19:20 +01:00
manuroe
61f439eb55 key backup settings: Make it look like more to https://github.com/vector-im/riot-meta/issues/251#issuecomment-458566684
1/2
2019-01-31 16:58:41 +01:00
manuroe
f12fc71b4a key backup settings: Fix cell reuse mechanism 2019-01-31 15:45:43 +01:00
manuroe
0e91edb8e3 key backup settings: Make it display loading wheel and error 2019-01-31 10:19:27 +01:00