Commit Graph

46 Commits

Author SHA1 Message Date
Stefan Ceriu 43f6c44c78 Adopt consolidated logging mechanism (#4370)
* Adopted the new MXLog and replaced NSLog throughout the application - vector-im/element-ios/issues/4351
* Replaced NSLog() and print() usages with MXLog.debug()
* Added swiftlint rules for NSLog(), print(), println() and os_log()
* Escape paths used to run script build phases for swiftlint and swiftgen
2021-06-03 11:30:07 +03:00
SBiOSoftWhare 69267b0b8b KeyVerificationService: Remove AuthenticatedSessionViewControllerFactory usage. 2021-02-03 12:14:02 +01:00
SBiOSoftWhare 1703f50a2f KeyVerificationCoordinator: Fix child coordinator removal issue. 2020-09-30 17:50:20 +02:00
manuroe f856b1f317 Merge remote-tracking branch 'origin/complete_security_allow_device_verification_retry' into complete_security_allow_device_verification_retry 2020-09-25 10:14:27 +02:00
manuroe 7f14187b7b Add missing comment 2020-09-25 10:14:14 +02:00
manuroe 47e77b7ff6 Update Riot/Modules/KeyVerification/Common/KeyVerificationCoordinator.swift
Co-authored-by: SBiOSoftWhare <SBiOSoftWhare@users.noreply.github.com>
2020-09-25 10:10:06 +02:00
manuroe 8d0837ee7c Complete Security: Come back to the root screen if device verification is cancelled
So that the user can retry to verify with another device
2020-09-25 08:58:57 +02:00
manuroe efbca319f0 Code Quality: Make sonar happier
by removing some code smells
2020-08-25 18:54:47 +02:00
ismailgulek 19f5d89730 Add presentationController delegate 2020-08-20 16:57:58 +03:00
SBiOSoftWhare ece9e77cd8 Refactor cross signing banner. 2020-06-30 21:46:10 +02:00
SBiOSoftWhare aaca353748 KeyVerificationService: Fix canSetupKeyVerification. 2020-06-30 19:37:13 +02:00
SBiOSoftWhare 044853ad06 KeyVerificationService: Add canSetupKeyVerification method. 2020-06-30 17:33:42 +02:00
SBiOSoftWhare 49211bdce2 Secrets recovery: Update recovery with passphrase and recovery with key screens. 2020-06-11 13:21:47 +02:00
SBiOSoftWhare 07607b8550 KeyVerificationCoordinator: Handle secrets recovery flow from complete security. 2020-06-09 17:37:53 +02:00
SBiOSoftWhare eb4281ab86 Key verification: Update QR code scan screen UI and update title when scanning own sessions. 2020-05-05 15:45:00 +02:00
SBiOSoftWhare 6b1caed468 Remove some optional chaining. 2020-05-05 12:03:51 +02:00
SBiOSoftWhare 73015e832e KeyVerificationDataLoadingViewController: Show navigation bar if needed. 2020-05-05 11:50:59 +02:00
SBiOSoftWhare 2efaed2715 Complete security: Handle incoming SAS transaction. 2020-04-30 19:17:56 +02:00
SBiOSoftWhare c8b508baa5 KeyVerificationCoordinatorBridgePresenter: Add isPresenting property. 2020-04-30 19:11:13 +02:00
SBiOSoftWhare 3827e7d929 Fix commented code. 2020-04-28 20:36:23 +02:00
SBiOSoftWhare cdb820c275 Key verification: Update verified screen UI. 2020-04-28 20:27:48 +02:00
manuroe 39d5a743ac Verification: Do not talk about QR code if only emoji is possible
#3035
2020-04-28 18:16:37 +02:00
SBiOSoftWhare 92c6902fb6 KeyVerificationVerifyBySASViewController: Update wording and UI. 2020-04-28 17:10:26 +02:00
SBiOSoftWhare fadf4eeac5 Integrate RoundedButton where needed. 2020-04-28 16:34:39 +02:00
SBiOSoftWhare de2f6c0df3 KeyVerificationVerifyByScanningCoordinator: Remove a useless delegate method. 2020-04-28 11:16:01 +02:00
SBiOSoftWhare 7070cbfb05 Key verification: Update key verification screens title. Update SAS screen wordings. 2020-04-27 19:54:57 +02:00
SBiOSoftWhare a272338f59 KeyVerificationKind: Add new cases. 2020-04-27 19:46:44 +02:00
SBiOSoftWhare 4c7107efe7 Key verification: Add new state for complete security flow. 2020-04-23 11:55:19 +02:00
manuroe eb8cc5b8b7 Cross-signing: Allow incoming device verification request from other user
#3139
2020-04-23 09:25:46 +02:00
SBiOSoftWhare b5470c3ea6 QR code verification: Remove other scan my code alert. 2020-04-21 18:57:05 +02:00
SBiOSoftWhare 77cddb5f9f KeyVerificationVerifyByScanningViewController: Handle transaction cancel when QR code scanning is on screen. 2020-04-21 17:01:04 +02:00
SBiOSoftWhare 47ffbd0742 KeyVerificationVerifyByScanningViewModel: Unregister transaction change when needed. 2020-04-21 17:00:24 +02:00
ismailgulek f4fd7cf471 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 84f9b47f03 Use KTCenterFlowLayout for collection view layout, fixes #3088
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-17 13:41:48 +03:00
SBiOSoftWhare f70fb8cd88 KeyVerificationCoordinator: Handle QR code confirmation screen. 2020-04-16 18:46:18 +02:00
SBiOSoftWhare b56fe69fae KeyVerification: Update scanning screen to handle new QR code confirmation state. 2020-04-16 18:45:46 +02:00
SBiOSoftWhare 0f333506ad KeyVerification: Add new QR code confirmation screen. 2020-04-16 18:42:14 +02:00
manuroe ddd142c8bd KeyVerificationCoordinatorBridgePresenterDelegate: Add keyVerificationCoordinatorBridgePresenterDelegateDidCancel 2020-04-14 12:50:53 +02:00
SBiOSoftWhare 4d44c96232 KeyVerificationCoordinatorBridgePresenter: Handle complete security screen. 2020-04-03 16:27:10 +02:00
SBiOSoftWhare cc000a699b KeyVerificationCoordinator: Refactor and add a single init with a KeyVerificationFlow enum parameter. 2020-04-03 16:23:32 +02:00
SBiOSoftWhare edd80b0493 Merge branch 'develop' into riot_2918
# Conflicts:
#	Riot/Modules/KeyVerification/Common/Verify/Scanning/KeyVerificationVerifyByScanningViewModel.swift
2020-03-30 09:55:40 +02:00
SBiOSoftWhare 677eed1be8 KeyVerificationCoordinator: Handle new self verification flow. 2020-03-27 15:40:29 +01:00
SBiOSoftWhare 4c313564eb KeyVerificationVerifyByScanningViewModel: Improve cancelation. 2020-03-27 14:30:58 +01:00
SBiOSoftWhare 540e2cc55c KeyVerificationVerifyByScanningViewModel: Support to_device request. 2020-03-26 12:09:17 +01:00
manuroe cd7cf82758 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
SBiOSoftWhare 25e8f7fccf 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