Commit graph

72 commits

Author SHA1 Message Date
Stefan Ceriu
55d4b68e96 Don't invoke biometrics setup after chaning the pin if already set up. 2021-09-22 08:44:48 +03:00
Doug
e2a9d3bb24 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
f7a8163947
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
a3fb07184e
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
a3802b8dd2
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
c9848307b9 Added change PIN code feature from the settings 2020-12-16 14:15:41 +01:00
ismailgulek
c646e016d7 Fix layout for small screens 2020-10-02 14:17:52 +03:00
ismailgulek
7fb89c5d9c Add retry case 2020-10-01 17:44:30 +03:00
ismailgulek
b39d8e0c0a Bridge to NSError 2020-09-30 16:19:34 +03:00
ismailgulek
f7f3bd9e0e Make BiometricsAuthenticationPresenter ObjC compatible 2020-09-30 16:02:56 +03:00
ismailgulek
c7dd0d60c1 Rename property 2020-09-30 15:58:37 +03:00
ismailgulek
97675be983 Introduce BiometricsAuthenticationPresenter 2020-09-30 15:17:10 +03:00
ismailgulek
b410a376c5 Fix error conversion 2020-09-30 14:37:36 +03:00
ismailgulek
268a850117
Update Riot/Modules/SetPinCode/PinCodePreferences.swift
Co-authored-by: SBiOSoftWhare <SBiOSoftWhare@users.noreply.github.com>
2020-09-30 14:31:50 +03:00
ismailgulek
309e1f1c26
Merge branch 'develop' into protection_fine_tuning 2020-09-29 18:33:22 +03:00
ismailgulek
d57dba7ca0 Introduce dueToTooManyErrors parameter 2020-09-29 17:46:07 +03:00
ismailgulek
cf0f3ba454 Logout automatically when pin/biometrics provided wrong too many times 2020-09-29 16:57:46 +03:00
ismailgulek
23c9fbf0d5 Add static constants 2020-09-28 18:27:34 +03:00
ismailgulek
5b8acc8d20 Add numberOfBiometricsFailures 2020-09-28 16:44:50 +03:00
ismailgulek
daf6788111 Add numberOfPinFailures 2020-09-28 16:19:51 +03:00
ismailgulek
35a2b38fc1 Add canUseBiometrics parameter 2020-09-25 17:59:29 +03:00
ismailgulek
fba7604e37 Remove redundant string 2020-09-24 12:41:25 +03:00
ismailgulek
58a3906b81 Keep original view mode, fixes 2020-09-17 20:37:52 +03:00
ismailgulek
2299a51ced Add new view states and explanatory label 2020-09-17 20:20:43 +03:00
ismailgulek
d36fca38ae Add setPin view modes after login & registration 2020-09-17 18:34:00 +03:00
ismailgulek
38b75abb35 Change localization key 2020-09-17 16:22:32 +03:00
ismailgulek
7bc88999e6 Change variables' names 2020-09-17 16:01:08 +03:00
ismailgulek
754db0415a Change view state name 2020-09-17 15:58:25 +03:00
ismailgulek
7e085c9e11 Change view mode name 2020-09-17 15:57:06 +03:00
ismailgulek
9cace44927 Change variable name to notAllowedPINs 2020-09-17 15:55:41 +03:00
ismailgulek
aa41d75fd4 Implement logic and UI 2020-09-17 14:07:12 +03:00
ismailgulek
9094ed128b Add blockedPin view mode 2020-09-17 14:06:31 +03:00
ismailgulek
9a6780faad Add blocked pins build setting 2020-09-17 14:01:29 +03:00
ismailgulek
078b37b702 Change asset name 2020-09-08 14:05:28 +03:00
ismailgulek
d147542d24 Avoid tinting of the new icon 2020-09-08 13:57:19 +03:00
ismailgulek
3172d0e5fb Use new icon 2020-09-08 13:56:59 +03:00
ismailgulek
c95c6853f3 Move logic to a separate method 2020-09-08 11:22:53 +03:00
ismailgulek
a4bd3db565 Introduce inactive view mode, and allow update on view mode 2020-09-07 18:10:29 +03:00
ismailgulek
fd85dd9f4b Introduce inactive state 2020-09-07 18:09:47 +03:00
ismailgulek
6506fb9246 Merge branch 'develop' into element_3622 2020-09-07 13:52:15 +03:00
ismailgulek
18f85c312c Close keyboard on pin code screen 2020-09-07 13:51:48 +03:00
ismailgulek
ef1698ec3d Inroduce pinCodeGraceTimeInSeconds 2020-09-07 13:41:52 +03:00
ismailgulek
13b3fdfa04 Decrease pin grace time to zero 2020-09-07 13:08:09 +03:00
ismailgulek
2d9cb795d6 Fix LAContext.biometryType none case 2020-08-19 15:37:05 +03:00
ismailgulek
a39edb81b8
Merge pull request #3515 from vector-im/element_3514
Polish Pin Screen
2020-08-06 18:33:58 +03:00
ismailgulek
2deb970bc8 Force orientation to portrait on phones 2020-08-06 16:54:58 +03:00
ismailgulek
66f4afc552 Hide cancel button if pin forced 2020-08-06 16:35:07 +03:00
ismailgulek
ad0d6b348f Make modal fullscreen 2020-08-06 16:34:21 +03:00
ismailgulek
d7ebbfca90 Fix interface orientation 2020-08-06 10:48:19 +03:00
ismailgulek
8e9806da65 Use new variables 2020-08-05 17:11:46 +03:00