Commit Graph

73 Commits

Author SHA1 Message Date
Stefan Ceriu 0f3cb56725 Prevent the Pin entry screen from being overlapped by other views 2022-06-08 09:56:29 +03:00
Stefan Ceriu b4d51ab4ba Don't invoke biometrics setup after chaning the pin if already set up. 2021-09-22 08:44:48 +03:00
Doug a4075c89cb Fix class keyword deprecation warnings everywhere!
Using 'class' keyword for protocol inheritance is deprecated; use 'AnyObject' instead
2021-07-09 17:05:43 +01:00
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
Gil Eluard d28192954d Update Riot/Modules/SetPinCode/EnterPinCode/EnterPinCodeViewModel.swift
Co-authored-by: SBiOSoftWhare <SBiOSoftWhare@users.noreply.github.com>
2021-01-08 14:46:43 +01:00
Gil Eluard d56fabad58 Update Riot/Modules/SetPinCode/EnterPinCode/EnterPinCodeViewModel.swift
Co-authored-by: SBiOSoftWhare <SBiOSoftWhare@users.noreply.github.com>
2021-01-08 14:46:30 +01:00
Gil Eluard 82fd55152e Added change PIN code feature from the settings 2020-12-16 14:15:41 +01:00
ismailgulek 71093f7e3c Fix layout for small screens 2020-10-02 14:17:52 +03:00
ismailgulek 49a89067e8 Add retry case 2020-10-01 17:44:30 +03:00
ismailgulek 4f8ff9806d Bridge to NSError 2020-09-30 16:19:34 +03:00
ismailgulek 2f8c1ca5c0 Make BiometricsAuthenticationPresenter ObjC compatible 2020-09-30 16:02:56 +03:00
ismailgulek ab2f8ef59c Rename property 2020-09-30 15:58:37 +03:00
ismailgulek 49bd6bf63b Introduce BiometricsAuthenticationPresenter 2020-09-30 15:17:10 +03:00
ismailgulek abac81fa87 Fix error conversion 2020-09-30 14:37:36 +03:00
ismailgulek 8ba0211253 Update Riot/Modules/SetPinCode/PinCodePreferences.swift
Co-authored-by: SBiOSoftWhare <SBiOSoftWhare@users.noreply.github.com>
2020-09-30 14:31:50 +03:00
ismailgulek 021352317d Merge branch 'develop' into protection_fine_tuning 2020-09-29 18:33:22 +03:00
ismailgulek ef9b200939 Introduce dueToTooManyErrors parameter 2020-09-29 17:46:07 +03:00
ismailgulek 10664938c8 Logout automatically when pin/biometrics provided wrong too many times 2020-09-29 16:57:46 +03:00
ismailgulek 3750afcab7 Add static constants 2020-09-28 18:27:34 +03:00
ismailgulek 3eb67058fa Add numberOfBiometricsFailures 2020-09-28 16:44:50 +03:00
ismailgulek 866d4e29b3 Add numberOfPinFailures 2020-09-28 16:19:51 +03:00
ismailgulek d6c3b6f95d Add canUseBiometrics parameter 2020-09-25 17:59:29 +03:00
ismailgulek 2feba65be4 Remove redundant string 2020-09-24 12:41:25 +03:00
ismailgulek 02c14f8efe Keep original view mode, fixes 2020-09-17 20:37:52 +03:00
ismailgulek f6735887de Add new view states and explanatory label 2020-09-17 20:20:43 +03:00
ismailgulek 761761133f Add setPin view modes after login & registration 2020-09-17 18:34:00 +03:00
ismailgulek c797b9905f Change localization key 2020-09-17 16:22:32 +03:00
ismailgulek b3ce9cdace Change variables' names 2020-09-17 16:01:08 +03:00
ismailgulek 49ded6f0fc Change view state name 2020-09-17 15:58:25 +03:00
ismailgulek 413c74b679 Change view mode name 2020-09-17 15:57:06 +03:00
ismailgulek d87cbe8849 Change variable name to notAllowedPINs 2020-09-17 15:55:41 +03:00
ismailgulek 8d9c694672 Implement logic and UI 2020-09-17 14:07:12 +03:00
ismailgulek 013a9cc0e4 Add blockedPin view mode 2020-09-17 14:06:31 +03:00
ismailgulek fc6e96b68a Add blocked pins build setting 2020-09-17 14:01:29 +03:00
ismailgulek 8fd8cf1f00 Change asset name 2020-09-08 14:05:28 +03:00
ismailgulek 6e0198a0c1 Avoid tinting of the new icon 2020-09-08 13:57:19 +03:00
ismailgulek 8efba5cca2 Use new icon 2020-09-08 13:56:59 +03:00
ismailgulek 86c0ec54ba Move logic to a separate method 2020-09-08 11:22:53 +03:00
ismailgulek d172441930 Introduce inactive view mode, and allow update on view mode 2020-09-07 18:10:29 +03:00
ismailgulek 87c6b50f49 Introduce inactive state 2020-09-07 18:09:47 +03:00
ismailgulek cddcc5c0ae Merge branch 'develop' into element_3622 2020-09-07 13:52:15 +03:00
ismailgulek 254093eb7f Close keyboard on pin code screen 2020-09-07 13:51:48 +03:00
ismailgulek a1c3aa04bf Inroduce pinCodeGraceTimeInSeconds 2020-09-07 13:41:52 +03:00
ismailgulek e7a13d0872 Decrease pin grace time to zero 2020-09-07 13:08:09 +03:00
ismailgulek 8f4d60af5b Fix LAContext.biometryType none case 2020-08-19 15:37:05 +03:00
ismailgulek 8812dc0905 Merge pull request #3515 from vector-im/element_3514
Polish Pin Screen
2020-08-06 18:33:58 +03:00
ismailgulek f6acdcf507 Force orientation to portrait on phones 2020-08-06 16:54:58 +03:00
ismailgulek 2116c81a81 Hide cancel button if pin forced 2020-08-06 16:35:07 +03:00
ismailgulek 685cdcc2f9 Make modal fullscreen 2020-08-06 16:34:21 +03:00
ismailgulek 3468a53848 Fix interface orientation 2020-08-06 10:48:19 +03:00