Commit Graph

72 Commits

Author SHA1 Message Date
Stefan Ceriu
ccf1ae95a2 Don't invoke biometrics setup after chaning the pin if already set up. 2021-09-22 08:44:48 +03:00
Doug
29d7262e38 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
a8b0e8700e 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
cb62670a60 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
e2c51e6aa1 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
76b4b3a8eb Added change PIN code feature from the settings 2020-12-16 14:15:41 +01:00
ismailgulek
e050f12182 Fix layout for small screens 2020-10-02 14:17:52 +03:00
ismailgulek
9880942516 Add retry case 2020-10-01 17:44:30 +03:00
ismailgulek
ec52510349 Bridge to NSError 2020-09-30 16:19:34 +03:00
ismailgulek
3b42590ceb Make BiometricsAuthenticationPresenter ObjC compatible 2020-09-30 16:02:56 +03:00
ismailgulek
cfb9448090 Rename property 2020-09-30 15:58:37 +03:00
ismailgulek
3423616166 Introduce BiometricsAuthenticationPresenter 2020-09-30 15:17:10 +03:00
ismailgulek
a9be9f8af6 Fix error conversion 2020-09-30 14:37:36 +03:00
ismailgulek
c11e1f88b4 Update Riot/Modules/SetPinCode/PinCodePreferences.swift
Co-authored-by: SBiOSoftWhare <SBiOSoftWhare@users.noreply.github.com>
2020-09-30 14:31:50 +03:00
ismailgulek
c001a6b0cf Merge branch 'develop' into protection_fine_tuning 2020-09-29 18:33:22 +03:00
ismailgulek
b5352ca23b Introduce dueToTooManyErrors parameter 2020-09-29 17:46:07 +03:00
ismailgulek
7dc70b363f Logout automatically when pin/biometrics provided wrong too many times 2020-09-29 16:57:46 +03:00
ismailgulek
ab9cc7655e Add static constants 2020-09-28 18:27:34 +03:00
ismailgulek
7ab71f6113 Add numberOfBiometricsFailures 2020-09-28 16:44:50 +03:00
ismailgulek
45fe3c5417 Add numberOfPinFailures 2020-09-28 16:19:51 +03:00
ismailgulek
f0ac3762e5 Add canUseBiometrics parameter 2020-09-25 17:59:29 +03:00
ismailgulek
f5a8b7209e Remove redundant string 2020-09-24 12:41:25 +03:00
ismailgulek
5056924abf Keep original view mode, fixes 2020-09-17 20:37:52 +03:00
ismailgulek
4aec7ae0bb Add new view states and explanatory label 2020-09-17 20:20:43 +03:00
ismailgulek
ea64da02cc Add setPin view modes after login & registration 2020-09-17 18:34:00 +03:00
ismailgulek
d2edb55d78 Change localization key 2020-09-17 16:22:32 +03:00
ismailgulek
9fcca3c65a Change variables' names 2020-09-17 16:01:08 +03:00
ismailgulek
4325fb8bcf Change view state name 2020-09-17 15:58:25 +03:00
ismailgulek
75c2620695 Change view mode name 2020-09-17 15:57:06 +03:00
ismailgulek
dbea2e56bc Change variable name to notAllowedPINs 2020-09-17 15:55:41 +03:00
ismailgulek
68e4c9cfa6 Implement logic and UI 2020-09-17 14:07:12 +03:00
ismailgulek
8ce36b602c Add blockedPin view mode 2020-09-17 14:06:31 +03:00
ismailgulek
3ffacb1ef0 Add blocked pins build setting 2020-09-17 14:01:29 +03:00
ismailgulek
4480c4e0d8 Change asset name 2020-09-08 14:05:28 +03:00
ismailgulek
5b2262a248 Avoid tinting of the new icon 2020-09-08 13:57:19 +03:00
ismailgulek
3529e5d74f Use new icon 2020-09-08 13:56:59 +03:00
ismailgulek
3b57f7e949 Move logic to a separate method 2020-09-08 11:22:53 +03:00
ismailgulek
091c333bd6 Introduce inactive view mode, and allow update on view mode 2020-09-07 18:10:29 +03:00
ismailgulek
34aaafa5c2 Introduce inactive state 2020-09-07 18:09:47 +03:00
ismailgulek
eb67e91ce5 Merge branch 'develop' into element_3622 2020-09-07 13:52:15 +03:00
ismailgulek
dc83b1d6ee Close keyboard on pin code screen 2020-09-07 13:51:48 +03:00
ismailgulek
7e56aa5c3b Inroduce pinCodeGraceTimeInSeconds 2020-09-07 13:41:52 +03:00
ismailgulek
5e5d1d6a07 Decrease pin grace time to zero 2020-09-07 13:08:09 +03:00
ismailgulek
efb01ea43b Fix LAContext.biometryType none case 2020-08-19 15:37:05 +03:00
ismailgulek
85b971b14a Merge pull request #3515 from vector-im/element_3514
Polish Pin Screen
2020-08-06 18:33:58 +03:00
ismailgulek
7fc85df56b Force orientation to portrait on phones 2020-08-06 16:54:58 +03:00
ismailgulek
8deaba292d Hide cancel button if pin forced 2020-08-06 16:35:07 +03:00
ismailgulek
884a79eae4 Make modal fullscreen 2020-08-06 16:34:21 +03:00
ismailgulek
a5ddfd1195 Fix interface orientation 2020-08-06 10:48:19 +03:00
ismailgulek
1f2c5d37ca Use new variables 2020-08-05 17:11:46 +03:00