Commit graph

1633 commits

Author SHA1 Message Date
SBiOSoftWhare
92cc7bdc2f LaunchLoading: Fix animation theming and repeat count. 2020-07-10 22:27:22 +02:00
Steve Barré
fd632f0e78 Merge branch 'add_major_update_modal' into 'rebranding'
Add major update modal

See merge request new-vector/element/element-ios!29
2020-07-10 19:35:18 +00:00
SBiOSoftWhare
a68a151686 AppDelegate: Handle major update display. 2020-07-10 21:28:57 +02:00
SBiOSoftWhare
77b086350e Create MajorUpdateViewController to display major updates informations. 2020-07-10 21:27:47 +02:00
Neil Alexander
5d46b46339
Load animation, colour corrections, fixed launch screen
Squashed commit of the following:

commit e11d0e5894
Author: Neil Alexander <neilalexander@users.noreply.github.com>
Date:   Fri Jul 10 17:59:30 2020 +0100

    Fix colour in launch screen

commit aa59e85d30
Author: Neil Alexander <neilalexander@users.noreply.github.com>
Date:   Fri Jul 10 17:57:01 2020 +0100

    Display -> display

commit 6da06421be
Author: Neil Alexander <neilalexander@users.noreply.github.com>
Date:   Fri Jul 10 17:55:20 2020 +0100

    P3 colours

commit b1fc009ab9
Author: Neil Alexander <neilalexander@users.noreply.github.com>
Date:   Fri Jul 10 17:52:22 2020 +0100

    Update Riot.xcodeproj

commit ac1d994c6e
Author: Neil Alexander <neilalexander@users.noreply.github.com>
Date:   Fri Jul 10 17:44:41 2020 +0100

    Revert changes to Images.swift and Storyboards.swift

commit 27c88f9b3b
Author: Neil Alexander <neilalexander@users.noreply.github.com>
Date:   Fri Jul 10 17:25:08 2020 +0100

    Add animation source files

commit d19ccd5000
Merge: 8e5ac3f6 2ed92204
Author: Neil Alexander <neilalexander@users.noreply.github.com>
Date:   Fri Jul 10 17:18:04 2020 +0100

    Fix launch screen and update loading screen

    Merge commit '2ed92204' into rebranding

commit 2ed922045c
Author: Neil Alexander <neilalexander@users.noreply.github.com>
Date:   Fri Jul 10 17:13:56 2020 +0100

    Fix launch screen, smooth transition to loading animation
2020-07-10 17:59:57 +01:00
SBiOSoftWhare
1b30740dda CallVC: Update toolbar icons colors. 2020-07-10 16:59:19 +02:00
SBiOSoftWhare
178375a091 CallVC: Fix icons confusion. 2020-07-10 16:44:29 +02:00
SBiOSoftWhare
61d5fbf967 Room input toolbars: Revert separators. 2020-07-10 16:43:20 +02:00
SBiOSoftWhare
f06f17ad50 Update tint color for favourites and people tabs. 2020-07-10 15:37:19 +02:00
SBiOSoftWhare
3b2734cec0 Communities tab: Update tint color to accent color. 2020-07-10 15:36:42 +02:00
SBiOSoftWhare
bc6192ff40 Tab bar root view controllers now use the same floating button. 2020-07-10 15:23:50 +02:00
SBiOSoftWhare
4ce936c32c Search fields: Remove underline placeholders. 2020-07-10 15:16:37 +02:00
SBiOSoftWhare
371885abbf RoomParticipantsViewController: Remove underline placeholder in search bar. 2020-07-10 15:09:00 +02:00
SBiOSoftWhare
980afbc4a0 RoomVC: Use accent color for "more emoji" action in context menu. 2020-07-10 14:54:51 +02:00
SBiOSoftWhare
b7f88be4c9 RoomVC: Update jump to last unread banner UI. 2020-07-10 14:47:37 +02:00
SBiOSoftWhare
3f407215be RoomTitleView: Update details icon color. 2020-07-10 14:35:16 +02:00
SBiOSoftWhare
84a7a49c26 Update integrations icon. 2020-07-10 14:20:16 +02:00
SBiOSoftWhare
3746d45885 CallVC: Update icons handle theme colors. 2020-07-09 21:27:54 +02:00
SBiOSoftWhare
912e7d4c28 ExpandedRoomTitleView: Update members list icon. 2020-07-09 20:06:35 +02:00
SBiOSoftWhare
06dfab67bc IncomingCallView: Update call icons. 2020-07-09 19:29:14 +02:00
SBiOSoftWhare
15bedd3479 RoomVC: Update input tool bar icons. 2020-07-09 19:28:51 +02:00
SBiOSoftWhare
08045b6afd Checkboxes: Use theme tint color. 2020-07-09 18:58:44 +02:00
SBiOSoftWhare
9bca7796fa RoomInputToolBar: Fix hardcoded colors. 2020-07-09 18:08:11 +02:00
SBiOSoftWhare
4ddc47870a CallVC: Fix hardcoded colors. 2020-07-09 18:07:18 +02:00
SBiOSoftWhare
baa9dc8687 HomeVC: Update room actions colors. 2020-07-09 00:00:02 +02:00
SBiOSoftWhare
bf99f6f5cc RoomsViewController: Update room actions colors. 2020-07-08 23:59:29 +02:00
SBiOSoftWhare
c0b4d8de75 Create LaunchLoadingView. 2020-07-08 23:27:17 +02:00
SBiOSoftWhare
21a9b9fdf1 AuthenticationVC: Update logo. 2020-07-08 19:08:27 +02:00
SBiOSoftWhare
84ec63d897 Merge branch 'rebranding' into 15-code-refactoring-constants
# Conflicts:
#	Riot/Assets/Riot-Defaults.plist
2020-07-08 17:45:27 +02:00
SBiOSoftWhare
364efcabb1 Bot: Disable bot creation for the moment. 2020-07-08 17:34:50 +02:00
SBiOSoftWhare
26823284da RoomsVC: Update swipe actions for iOS 11+ and use new icons. 2020-07-07 02:30:51 +02:00
SBiOSoftWhare
8ccd4952fa HomeVC: Room actions, update icons and add background corner radius. 2020-07-07 02:29:41 +02:00
SBiOSoftWhare
28de91089a RoomActivitiesView: Remove separator and change default background color. 2020-07-06 20:54:02 +02:00
SBiOSoftWhare
46a691d618 Room input toolbars: Hide separator. 2020-07-06 20:51:04 +02:00
SBiOSoftWhare
73a360c304 RoomContextualMenuToolbarView: Hide separator. 2020-07-06 20:49:38 +02:00
Steve Barré
1a1c223540 Merge branch 'update_colors' into 'rebranding'
Update colors

See merge request new-vector/element/element-ios!8
2020-07-06 18:36:07 +00:00
Ismail Gulek
34cc43edbb Read urls from defaults 2020-07-03 16:38:14 +03:00
ismailgulek
e358ee3fa0
Show confirmation alert if given and visible urls different, when tapped a link in a message cell, fixes #3137 2020-07-03 14:23:44 +03:00
SBiOSoftWhare
6c3be2f5a2 RoomTitleView: Update theme colors. 2020-07-02 19:06:14 +02:00
SBiOSoftWhare
fb11aa4301 RoomMemberDetailsViewController: Update theme colors. 2020-07-02 19:04:06 +02:00
ismailgulek
b2dd2bf8cb
Fix leading constraint, fixes #3226 2020-07-02 16:12:44 +03:00
Ismail Gulek
186dbaea5c Update placeholders in KeyVerificationManuallyVerifyViewController 2020-07-01 16:20:32 +03:00
ismailgulek
387cfb7787
Merge branch 'develop' into xcode11
# Conflicts:
#	CHANGES.rst
#	Gemfile.lock
#	Riot.xcodeproj/project.pbxproj
#	Riot/SupportingFiles/Info.plist
#	RiotShareExtension/SupportingFiles/Info.plist
#	SiriIntents/Info.plist
2020-07-01 09:59:29 +03:00
SBiOSoftWhare
9692354fdb
Merge pull request #3375 from vector-im/copy_update
SecurityVC: Update MY SESSIONS copy
2020-06-30 21:50:52 +02:00
SBiOSoftWhare
e5a36a76a3
Merge pull request #3377 from vector-im/riot_3299
Setup cross-signing for existing users
2020-06-30 21:47:36 +02:00
SBiOSoftWhare
4bac9f1e9c Refactor cross signing banner. 2020-06-30 21:46:10 +02:00
SBiOSoftWhare
90e78e262b KeyVerificationService: Fix canSetupKeyVerification. 2020-06-30 19:37:13 +02:00
SBiOSoftWhare
d27f4a6df5 AuthenticatedSessionViewControllerFactory: Add a discardableResult on viewController(forPath method. 2020-06-30 18:44:55 +02:00
SBiOSoftWhare
7f5a229b9d HomeVC: Handle key verification setup banner. 2020-06-30 18:44:14 +02:00
manuroe
a9e677e538 SecurityVC: Update MY SESSIONS copy 2020-06-30 18:12:50 +02:00
manuroe
19db088bc2 Sign out: Make sure there is a secure backup 2020-06-30 18:00:56 +02:00
SBiOSoftWhare
85fbeffb1f KeyVerificationService: Add canSetupKeyVerification method. 2020-06-30 17:33:42 +02:00
SBiOSoftWhare
8d5e809633 RecentsDataSource: Handle key verification setup banner. 2020-06-30 17:33:42 +02:00
SBiOSoftWhare
0f04837ce4 Cross-signing: Create key verification setup banner. 2020-06-30 17:33:42 +02:00
manuroe
16a292fd6e SecurityVC: Setup cross-signing on secure backup setup 2020-06-30 17:03:33 +02:00
manuroe
ec82325360 SecurityVC: 3 actions for secure backup: setup, synchronise, delete 2020-06-30 16:23:29 +02:00
manuroe
8f60ddc952 SecurityVC: Hide the cross-signing section 2020-06-30 15:56:05 +02:00
manuroe
72d3d944e5 SecurityVC: Secure backup replaces messages backup 2020-06-30 15:54:58 +02:00
manuroe
712cd6a385 Merge remote-tracking branch 'origin/riot_3361' into riot_3361 2020-06-30 14:32:16 +02:00
manuroe
400420d328 Secure backup: Fixed Stève's remarks 2020-06-30 14:32:12 +02:00
manuroe
2065b56e7a
Update Riot/Modules/SecureBackup/Setup/Intro/SecureBackupSetupIntroViewController.swift
Co-authored-by: SBiOSoftWhare <SBiOSoftWhare@users.noreply.github.com>
2020-06-30 14:31:22 +02:00
manuroe
1dde6cc383 Secure backup setup: Manage the case when the user has already a key backup
but we do not have the private key
2020-06-30 14:15:18 +02:00
manuroe
9e295ae6e6 Secure backup: Create and delete key backup with 4S 2020-06-30 14:02:47 +02:00
manuroe
7e91ecf6b3 AuthVC: Remove NEW_CROSS_SIGNING_FLOW
because we consider riot-web ready
2020-06-26 18:37:15 +02:00
ismailgulek
ed9750e53f
Merge branch 'develop' into xcode11
# Conflicts:
#	CHANGES.rst
#	Riot.xcodeproj/project.pbxproj
2020-06-26 17:33:09 +03:00
SBiOSoftWhare
48d2cae892 Fix merge issue with secure backup refactoring. 2020-06-26 14:36:27 +02:00
SBiOSoftWhare
6858bd85a5 Merge branch 'develop' into riot_3293
# Conflicts:
#	CHANGES.rst
#	Riot/Generated/Strings.swift
2020-06-26 14:30:21 +02:00
SBiOSoftWhare
77b726189b Refactoring secure backup references. 2020-06-26 14:13:37 +02:00
SBiOSoftWhare
e5bdd8cdef Refactoring secure backup references. 2020-06-26 14:01:33 +02:00
SBiOSoftWhare
123faa56ac Refactoring secure backup references. 2020-06-26 13:07:53 +02:00
manuroe
b17add8130
Update Riot/Modules/AuthenticatedSession/AuthenticatedSessionViewControllerFactory.swift
Co-authored-by: SBiOSoftWhare <SBiOSoftWhare@users.noreply.github.com>
2020-06-26 12:43:26 +02:00
manuroe
b5a0b7cca3
Update Riot/Modules/AuthenticatedSession/AuthenticatedSessionViewControllerFactory.swift
Co-authored-by: SBiOSoftWhare <SBiOSoftWhare@users.noreply.github.com>
2020-06-26 12:38:58 +02:00
manuroe
e64cd272d8
Update Riot/Modules/AuthenticatedSession/AuthenticatedSessionViewControllerFactory.swift
Co-authored-by: SBiOSoftWhare <SBiOSoftWhare@users.noreply.github.com>
2020-06-26 12:36:57 +02:00
manuroe
2b7e71fda8 AuthenticatedSessionViewControllerFactory: Update with Steve's remarks 2020-06-26 12:29:30 +02:00
manuroe
7de6dcf2fd
Update Riot/Modules/AuthenticatedSession/AuthenticatedSessionViewControllerFactory.swift
Co-authored-by: SBiOSoftWhare <SBiOSoftWhare@users.noreply.github.com>
2020-06-26 12:22:43 +02:00
manuroe
b35c372339
Update Riot/Modules/AuthenticatedSession/AuthenticatedSessionViewControllerFactory.swift
Co-authored-by: SBiOSoftWhare <SBiOSoftWhare@users.noreply.github.com>
2020-06-26 12:21:41 +02:00
manuroe
e979a9c003
Update Riot/Modules/AuthenticatedSession/AuthenticatedSessionViewControllerFactory.swift
Co-authored-by: SBiOSoftWhare <SBiOSoftWhare@users.noreply.github.com>
2020-06-26 12:21:34 +02:00
manuroe
f0d91282d5
Update Riot/Modules/AuthenticatedSession/AuthenticatedSessionViewControllerFactory.swift
Co-authored-by: SBiOSoftWhare <SBiOSoftWhare@users.noreply.github.com>
2020-06-26 12:21:24 +02:00
manuroe
c3818a0997
Update Riot/Modules/AuthenticatedSession/AuthenticatedSessionViewControllerFactory.swift
Co-authored-by: SBiOSoftWhare <SBiOSoftWhare@users.noreply.github.com>
2020-06-26 12:21:16 +02:00
manuroe
bfdd061d67 SecurityVC: Start cleaning 2020-06-26 07:56:56 +02:00
manuroe
d0de69976e AuthenticatedSessionViewControllerFactory: Add hasSupport 2020-06-26 07:56:10 +02:00
manuroe
d8b09a8e42 Security: Plug UX for cross-signing setup
part of #3299
2020-06-26 07:42:37 +02:00
manuroe
c162cb6a78 Add AuthenticatedSessionViewControllerFactory to set up a authenticated flow for a given CS API request 2020-06-26 07:38:38 +02:00
manuroe
26995effcb SecurityVC: Plug Secure Backup setup flow 2020-06-25 20:23:40 +02:00
SBiOSoftWhare
c625ea42af Fix refactoring. 2020-06-25 17:52:36 +02:00
SBiOSoftWhare
d7dbd13cf8 Fix Manu's remarks. 2020-06-25 17:31:46 +02:00
manuroe
4207ec4be2 Merge branch 'develop' into riot_3296 2020-06-25 17:20:47 +02:00
manuroe
7f024a6236
Update Riot/Modules/Settings/Security/SecurityViewController.m
Co-authored-by: SBiOSoftWhare <SBiOSoftWhare@users.noreply.github.com>
2020-06-25 17:17:04 +02:00
manuroe
37f69da7ec
Update Riot/Modules/Settings/Security/SecurityViewController.m
Co-authored-by: SBiOSoftWhare <SBiOSoftWhare@users.noreply.github.com>
2020-06-25 17:16:51 +02:00
manuroe
1e564672c1
Update Riot/Modules/Settings/Security/SecurityViewController.m
Co-authored-by: SBiOSoftWhare <SBiOSoftWhare@users.noreply.github.com>
2020-06-25 17:16:44 +02:00
manuroe
af3ca7c92b
Update Riot/Modules/Settings/Security/SecurityViewController.m
Co-authored-by: SBiOSoftWhare <SBiOSoftWhare@users.noreply.github.com>
2020-06-25 17:16:32 +02:00
manuroe
f62e08778d
Update Riot/Modules/Settings/Security/SecurityViewController.m
Co-authored-by: SBiOSoftWhare <SBiOSoftWhare@users.noreply.github.com>
2020-06-25 17:16:25 +02:00
manuroe
7b72eb59ba
Update Riot/Modules/Settings/Security/SecurityViewController.m
Co-authored-by: SBiOSoftWhare <SBiOSoftWhare@users.noreply.github.com>
2020-06-25 17:16:03 +02:00
SBiOSoftWhare
9c060902c9 AuthenticationViewController: Fix refact. 2020-06-25 16:30:47 +02:00
SBiOSoftWhare
de1efde09e RecentsDataSource: Handle secure key backup banner display logic. 2020-06-25 16:01:32 +02:00
SBiOSoftWhare
8e1259ffa3 HomeVC: Handle secure setup key backup flow presentation. 2020-06-25 11:47:52 +02:00
SBiOSoftWhare
994d64ca20 MXSession+Riot: Use vc prefix as other extensions. 2020-06-25 10:23:24 +02:00
SBiOSoftWhare
f180ef30f1 Key backup banner: Update UI and strings. 2020-06-25 09:50:44 +02:00
SBiOSoftWhare
d4f1aef1fc
Merge branch 'develop' into riot_3344 2020-06-24 21:57:37 +02:00
SBiOSoftWhare
cd8c353972 Fix Nad's remarks. 2020-06-24 18:29:52 +02:00
manuroe
612fd7268d E2E by default: Do not bootstrap cross-signing automatically
if hs setting is disabled
2020-06-24 17:09:23 +02:00
manuroe
3159131651 E2E by default: Disable it if the HS admin disabled it
#3305
2020-06-24 17:08:14 +02:00
manuroe
1aa1de5d1c SecurityVC: Use NEW_CROSS_SIGNING_FLOW to not break things 2020-06-24 11:43:50 +02:00
manuroe
82acfd106c SecurityVC: Add warning if we do not have the MSK 2020-06-24 11:43:50 +02:00
manuroe
3266076065 SecurityVC: Add Secure backup status 2020-06-24 11:43:41 +02:00
SBiOSoftWhare
e54d8b10de Fix rebase. 2020-06-23 18:40:30 +02:00
SBiOSoftWhare
af43b42d34 Secure key backup: Handle secure key backup flow. 2020-06-23 18:31:52 +02:00
SBiOSoftWhare
43598c9593 Secrets setup: Handle set up recovery passphrase screen. 2020-06-23 18:31:52 +02:00
SBiOSoftWhare
95f628f1c0 Secrets setup: Handle set up recovery key screen. 2020-06-23 18:31:52 +02:00
SBiOSoftWhare
0f251aee4b Secure key backup: Handle setup introduction screen. 2020-06-23 18:31:52 +02:00
SBiOSoftWhare
ffdf54754f Secrets recover: Move files. 2020-06-23 18:31:52 +02:00
manuroe
21c2cdf430 SecurityVC: Add cross-signing reset. Stub things using test passwords 2020-06-19 09:32:27 +02:00
manuroe
294618935c SecurityVC: Delete a secure backup 2020-06-19 08:00:22 +02:00
manuroe
cfd7d27cb4 SecurityVC: PoC for secure backup settings 2020-06-18 15:51:06 +02:00
manuroe
f09a3f8069 SecurityVC: Factorise cell buttons 2020-06-18 11:47:53 +02:00
SBiOSoftWhare
17640b6f27
Merge pull request #3342 from vector-im/riot_3124
Connect/restore backup created with SSSS
2020-06-17 17:13:59 +02:00
SBiOSoftWhare
81d533c434 SecurityVC: Connect/restore key backup created with SSSS. 2020-06-15 16:30:58 +02:00
SBiOSoftWhare
55b0d14e14 Create SecretsRecoveryCoordinatorBridgePresenter. 2020-06-15 16:20:36 +02:00
SBiOSoftWhare
aff62c14fe Secrets recovery: Restore only key backup on SecretsRecoveryGoal.keyBackup. 2020-06-15 16:19:44 +02:00
SBiOSoftWhare
5c42f6027a KeyBackupRecoverCoordinatorBridgePresenter: Add possibility to push key backup recover flow from a UINavigationController. 2020-06-15 16:18:05 +02:00
SBiOSoftWhare
0c7c3cf57a KeyBackupRecoverCoordinator: Handle existing navigationRouter if needed. 2020-06-15 16:14:31 +02:00
SBiOSoftWhare
cdb6369231 MXRecoveryService: Add convenient var to return SecretsRecoveryAvailability. 2020-06-15 16:12:58 +02:00
ismailgulek
a0bd6db5e8
Check user in session before using userId 2020-06-12 15:07:26 +03:00
ismailgulek
f815db4246
Get inviter from invite event instead of looping members 2020-06-12 14:36:58 +03:00
SBiOSoftWhare
d4e39cb01e Secrets recovery: Handle MXRecoveryService errors in recovery view models. 2020-06-11 16:55:44 +02:00
SBiOSoftWhare
6c98628074 Secrets recovery: Update recovery with passphrase and recovery with key screens. 2020-06-11 13:21:47 +02:00
SBiOSoftWhare
1e90b8d154 Fix Manu's remarks 2020-06-10 17:06:47 +02:00
SBiOSoftWhare
477d8ddea5
Update Riot/Modules/SecretsRecovery/RecoverWithKey/SecretsRecoveryWithKeyViewController.swift
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
2020-06-10 13:56:51 +02:00
SBiOSoftWhare
48f6e03c36 KeyVerificationCoordinator: Handle secrets recovery flow from complete security. 2020-06-09 17:37:53 +02:00
SBiOSoftWhare
95456f1193 Complete security: Add recover secrets action. 2020-06-09 17:36:55 +02:00
SBiOSoftWhare
a22169598d Secrets recovery: Add SecretRecoveryCoordinator. 2020-06-09 17:15:37 +02:00
SBiOSoftWhare
a2f209c32e Secrets recovery: Implement secrets recovery with passphrase screen. 2020-06-09 17:11:53 +02:00
SBiOSoftWhare
b3048ea8c8 Secrets recovery: Implement secrets recovery with recovery key screen. 2020-06-09 17:02:17 +02:00
ismailgulek
7a94692002
Change issue link to Github 2020-06-05 18:16:29 +03:00
ismailgulek
f21a24867a
Do a temporary workaround for navigation bar background, fixes #3271 2020-06-05 17:49:13 +03:00
ismailgulek
879461d4f0
Merge branch 'develop' into xcode11
# Conflicts:
#	CHANGES.rst
2020-06-05 16:00:24 +03:00
SBiOSoftWhare
22cd459a94 SecurityVC: Remove MXCrossSigningStateCanCrossSignAsynchronously references. 2020-06-04 17:27:54 +02:00
manuroe
bf6c30cd00 Authentication: Redirect webview (SSO) javascript logs to native logs 2020-06-03 14:01:39 +02:00
manuroe
46516107cb Cross-signing: Remove the bootstrap when using SSO
It needs to done differently
2020-06-03 12:23:46 +02:00
manuroe
b9e58025f9 Remove useless dispatch_async 2020-06-03 11:24:40 +02:00
manuroe
446244c726 Cross-signing: Use a compilation flag while riot-web is not ready 2020-06-03 09:26:13 +02:00
manuroe
b69e1885a2 Cross-Signing: Bootstrap when using SSO for registration
I have not tested it
2020-06-03 09:23:27 +02:00
manuroe
98f95e8a4e Cross-signing: Bootstrap cross-sign on registration (and login if applicable)
#3292

This action is now invisible to the user.
2020-06-02 14:19:37 +02:00
ismailgulek
cace654310
Fix PushKit references with their APNS correspondents 2020-06-01 16:30:57 +03:00
ismailgulek
85a119678c
Use APNS instead of PushKit, fixes #3291 2020-06-01 11:12:57 +03:00
ismailgulek
0d73c8dccf
Merge pull request #3268 from vector-im/remove_pushkit
Remove PushKit
2020-05-29 12:34:20 +03:00
SBiOSoftWhare
73ab5fe685 Merge branch 'develop' into xcode11 2020-05-29 09:51:51 +02:00
SBiOSoftWhare
1607a6f32b CountryPickerViewController: Handle UISearchController search bar theme. 2020-05-29 09:36:34 +02:00
SBiOSoftWhare
b713293347 Fix some SwiftLint warnings. 2020-05-29 09:35:46 +02:00
SBiOSoftWhare
f1aae877bf SettingsVC: New phone number is invisible in dark theme (Fix #3218). 2020-05-28 18:49:48 +02:00
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