Commit graph

111 commits

Author SHA1 Message Date
Doug
a7395dbf25 Address Steve's comments. 2021-10-20 19:29:23 +01:00
Doug
614cb4d373 Add SectionFooterView.xib to fix fonts on iOS 12-14.
Update SecurityViewController too.
2021-10-20 17:40:39 +01:00
Doug
4b5630a83f Update fonts, add attributed strings and add tap gestures back.
Footers use subheadline. Headers use footnote.
2021-10-20 17:40:39 +01:00
Doug
685d8f2a54 Use actual footer titles rather than cells that mimic them. 2021-10-20 17:40:39 +01:00
Doug
80e6e4af43 Use footnote text style for description cells to match UITableView's footer style. Match the footer colour to the header colour. Add -[SettingsViewController descriptionCellForTableView:] and use for appropriate cells. 2021-10-20 17:40:39 +01:00
Doug
8e8efd4808 Use headerTextPrimaryColor in headers and don't override system font size. 2021-10-20 17:40:39 +01:00
Stefan Ceriu
862464108b vector-im/element-ios/issues/4899 - Replaced (*almost*) all NSLocalizedString calls with newly generated ObjC methods. 2021-09-30 09:40:12 +03:00
Stefan Ceriu
388d828c2b Fixes #4881 - Replaced InfoPlist.cfBundleDisplayName with AppInfo.current.displayName and removed the now unused InfoPlist generated class. 2021-09-22 16:59:47 +03:00
Stefan Ceriu
0848f66cdb Fixes #4881 - Using the bundle display name as the app name in localizable .strings files. Exposing generated .strings and info.plist members to Objective-C. 2021-09-22 14:10:16 +03:00
Stefan Ceriu
6abdcb9e93 Fix #4415 - Added back section header when only PIN available. 2021-09-22 08:44:48 +03:00
Stefan Ceriu
1f87204123 Fix #4415 - Cannot disable Face ID after disabling pin. Fixed security vc cell tags comparisons. 2021-09-22 08:44:48 +03:00
Stefan Ceriu
9f486fa1fb Fix #4461 - "PIN & (NULL)" when device biometrics not available (or not enrolled). 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
manuroe
3b180fc471 More cleaning 2021-06-16 18:03:46 +02:00
manuroe
eb06b6fa2f Cleaning 2021-06-16 16:11:32 +02:00
manuroe
838558afb3 Valide the 4S private key before using it 2021-06-16 15:31:39 +02:00
manuroe
71ea0f82a9 Fix build without compilation flag 2021-06-16 15:05:30 +02:00
manuroe
83f6a01156 Forgot to push this change. Thanks CI. 2021-06-16 14:40:29 +02:00
manuroe
a27dc11f5c Security settings: Reduce the number of secure backup section states 2021-06-16 13:52:27 +02:00
manuroe
e68c4653a3 Security settings: Improve the state of the secure backup section to be exhaustive 2021-06-16 13:38:23 +02:00
manuroe
115c65cae1 Security settings: Manage the case where the is a key backup but no secure backup 2021-06-16 12:25:01 +02:00
manuroe
ed7eb4edc6 Security settings: Manage the case when there is no secure backup 2021-06-16 11:50:50 +02:00
manuroe
5d526fdb82 Security settings: Display section description at the bottom
as before
2021-06-16 11:27:07 +02:00
manuroe
82639fcca0 Security settings: Offer to reset the secure backup when there is no key backup 2021-06-16 10:55:59 +02:00
manuroe
b84ea2bc92 Security settings: Add an option to reset the secure backup
It will overwrite the existing one if any
2021-06-16 09:53:31 +02:00
manuroe
ccf57359b3 Key Backup setup: Create the key backup using 4S if it exists 2021-06-16 08:18:23 +02:00
manuroe
110879b4e2 Secure backup: Allow to execute a random closure the secure backup is unlocked
Only from swift.
We should change the name "SecretsRecovery" classes
2021-06-16 07:50:18 +02:00
manuroe
8b94550c25 Security settings: Introduce a dynamic section for SECURE BACKUP
This is a copy from SettingsKeyBackupTableViewSection.
We need to get the current status of the key backup to be able to display right actions.
2021-06-15 19:22:54 +02:00
manuroe
7cc653a7c7 Security settings: Display the cross-signing section
like element-web.
2021-06-15 16:09:56 +02:00
manuroe
c970c07380 SecurityViewController: Fix crash
but this code is not used in production
2021-06-15 16:07:30 +02: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
9a5c66190c Make the application settings more configurable
- Update after review
2021-04-01 14:16:06 +02:00
Gil Eluard
140c834d1c Make the application settings more configurable 2021-03-31 19:04:00 +02:00
SBiOSoftWhare
763749f2ba ManageSessionVC: Handle user interactive authentication for delete device. 2021-02-11 15:06:29 +01:00
SBiOSoftWhare
2db49177ae Remove unused properties. 2021-02-11 15:06:29 +01:00
SBiOSoftWhare
57c3c0f44e SecurityVC: Use CrossSigningSetupCoordinatorBridgePresenter to setup cross signing. 2021-02-03 12:08:48 +01:00
Gil Eluard
c9848307b9 Added change PIN code feature from the settings 2020-12-16 14:15:41 +01:00
manuroe
834cc7f41d Security screens: Update automatically shields when the trust changes. 2020-10-08 17:34:42 +02:00
manuroe
34dbd7ea71 SecutirySettingsVC: Fix commented code that did not build 2020-09-29 17:08:06 +02:00
SBiOSoftWhare
d489cb17d7 SecurityViewController: Reload sections on settingsKeyBackupTableViewSectionDidUpdate call. 2020-09-28 17:22:43 +02:00
SBiOSoftWhare
755c0bb9b7 ManageSessionViewController: Update getLabelAndSwitchCell method. 2020-09-28 17:05:58 +02:00
SBiOSoftWhare
cc6a3a4679 SecurityViewController: Fix switch button touch event reuse issue. 2020-09-28 17:05:11 +02:00
SBiOSoftWhare
6dce9a3340 SecurityViewController: Improve null safety check for keybackup section cells. 2020-09-28 16:21:41 +02:00
SBiOSoftWhare
27f5938d5c
Update Riot/Modules/Settings/Security/SecurityViewController.m
Co-authored-by: ismailgulek <ismailgulek@users.noreply.github.com>
2020-09-28 15:44:07 +02:00
SBiOSoftWhare
3e0242e117 SecurityViewController: Makes table content easier to customize. 2020-09-28 14:25:21 +02:00
SBiOSoftWhare
be0ceb1759 Remove old AppDelegate imports. 2020-08-31 19:38:06 +02:00
manuroe
a151bf4a91 Code Quality: Make sonar happier
by removing some code smells
2020-08-25 18:54:47 +02:00
ismailgulek
7b6c8f0d63 Fix pin code cell selection 2020-08-12 13:17:59 +03:00
ismailgulek
8844931293
Add biometrics setup to security page 2020-07-24 17:54:44 +03:00
ismailgulek
a0ee83adae
Implement in settings 2020-07-21 16:17:13 +03:00