Commit Graph

75 Commits

Author SHA1 Message Date
Stefan Ceriu e97d7475e5 Fixes vector-im/element-ios/issues/5279 - Stop waiting for biometric unlock if disabled system wide 2022-08-26 17:34:52 +03:00
Stefan Ceriu 5118998ab5 Render the PIN entry screen correctly on landscape 2022-08-25 10:14:14 +03:00
Stefan Ceriu 4bf29d8359 Prevent the Pin entry screen from being overlapped by other views 2022-06-08 09:56:29 +03:00
Stefan Ceriu 32120f747a Don't invoke biometrics setup after chaning the pin if already set up. 2021-09-22 08:44:48 +03:00
Doug c411097256 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 b00d07ffca 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 97d56e94e3 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 867994548f 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 20dd233866 Added change PIN code feature from the settings 2020-12-16 14:15:41 +01:00
ismailgulek 123741f890 Fix layout for small screens 2020-10-02 14:17:52 +03:00
ismailgulek e6de1a5d5c Add retry case 2020-10-01 17:44:30 +03:00
ismailgulek 05eeec8e82 Bridge to NSError 2020-09-30 16:19:34 +03:00
ismailgulek 03f7b20848 Make BiometricsAuthenticationPresenter ObjC compatible 2020-09-30 16:02:56 +03:00
ismailgulek c06ae0b214 Rename property 2020-09-30 15:58:37 +03:00
ismailgulek 165b354e77 Introduce BiometricsAuthenticationPresenter 2020-09-30 15:17:10 +03:00
ismailgulek 76a7d32569 Fix error conversion 2020-09-30 14:37:36 +03:00
ismailgulek a6d9b558fd Update Riot/Modules/SetPinCode/PinCodePreferences.swift
Co-authored-by: SBiOSoftWhare <SBiOSoftWhare@users.noreply.github.com>
2020-09-30 14:31:50 +03:00
ismailgulek 5d40ae1f70 Merge branch 'develop' into protection_fine_tuning 2020-09-29 18:33:22 +03:00
ismailgulek e1c2872723 Introduce dueToTooManyErrors parameter 2020-09-29 17:46:07 +03:00
ismailgulek d7081700f4 Logout automatically when pin/biometrics provided wrong too many times 2020-09-29 16:57:46 +03:00
ismailgulek 95b85a36f4 Add static constants 2020-09-28 18:27:34 +03:00
ismailgulek e9003fc4b0 Add numberOfBiometricsFailures 2020-09-28 16:44:50 +03:00
ismailgulek 4f4276f963 Add numberOfPinFailures 2020-09-28 16:19:51 +03:00
ismailgulek 07e61c6e3d Add canUseBiometrics parameter 2020-09-25 17:59:29 +03:00
ismailgulek 330be1a0d5 Remove redundant string 2020-09-24 12:41:25 +03:00
ismailgulek ec47a38ce2 Keep original view mode, fixes 2020-09-17 20:37:52 +03:00
ismailgulek bc16c9c23d Add new view states and explanatory label 2020-09-17 20:20:43 +03:00
ismailgulek db4d559e7f Add setPin view modes after login & registration 2020-09-17 18:34:00 +03:00
ismailgulek 097f168ebb Change localization key 2020-09-17 16:22:32 +03:00
ismailgulek 0bbf71efa7 Change variables' names 2020-09-17 16:01:08 +03:00
ismailgulek 4421eb579e Change view state name 2020-09-17 15:58:25 +03:00
ismailgulek ead4ba4092 Change view mode name 2020-09-17 15:57:06 +03:00
ismailgulek 8936c4e92e Change variable name to notAllowedPINs 2020-09-17 15:55:41 +03:00
ismailgulek 7509d25f77 Implement logic and UI 2020-09-17 14:07:12 +03:00
ismailgulek 428076b7c5 Add blockedPin view mode 2020-09-17 14:06:31 +03:00
ismailgulek 16ccde751d Add blocked pins build setting 2020-09-17 14:01:29 +03:00
ismailgulek 0faf406fcb Change asset name 2020-09-08 14:05:28 +03:00
ismailgulek 0da40b0ae4 Avoid tinting of the new icon 2020-09-08 13:57:19 +03:00
ismailgulek 8f0f6cd18d Use new icon 2020-09-08 13:56:59 +03:00
ismailgulek dbcdab5799 Move logic to a separate method 2020-09-08 11:22:53 +03:00
ismailgulek 8fb11e2f08 Introduce inactive view mode, and allow update on view mode 2020-09-07 18:10:29 +03:00
ismailgulek b2621924fe Introduce inactive state 2020-09-07 18:09:47 +03:00
ismailgulek 84312e11bd Merge branch 'develop' into element_3622 2020-09-07 13:52:15 +03:00
ismailgulek cd5c9d9a0d Close keyboard on pin code screen 2020-09-07 13:51:48 +03:00
ismailgulek c13db018bd Inroduce pinCodeGraceTimeInSeconds 2020-09-07 13:41:52 +03:00
ismailgulek edb35e683c Decrease pin grace time to zero 2020-09-07 13:08:09 +03:00
ismailgulek c4e0c4decb Fix LAContext.biometryType none case 2020-08-19 15:37:05 +03:00
ismailgulek b1f1edc232 Merge pull request #3515 from vector-im/element_3514
Polish Pin Screen
2020-08-06 18:33:58 +03:00
ismailgulek b249b85c2e Force orientation to portrait on phones 2020-08-06 16:54:58 +03:00
ismailgulek bf6aa600eb Hide cancel button if pin forced 2020-08-06 16:35:07 +03:00