Commit graph

487 commits

Author SHA1 Message Date
Danny Moesch
55e2cd7939 Enable SwiftLint rule 'multiline_literal_brackets' and fix all violations 2020-08-28 16:42:30 -07:00
Danny Moesch
c87f4e9792 Enable SwiftLint rule 'multiline_arguments_brackets' and fix all violations 2020-08-28 16:42:30 -07:00
Danny Moesch
fb01d6bdf9 Enable SwiftLint rule 'joined_default_parameter' and fix all violations 2020-08-28 16:42:30 -07:00
Danny Moesch
2dcc72722b Enable SwiftLint rule 'empty_string' and fix all violations 2020-08-28 16:42:30 -07:00
Danny Moesch
7d79314bae Enable SwiftLint rule 'contains_over_first_not_nil' and fix all violations 2020-08-28 16:42:30 -07:00
Danny Moesch
08473f8f05 Enable SwiftLint rule 'conditional_returns_on_newline' and fix all violations 2020-08-28 16:42:30 -07:00
Danny Moesch
fdca54a0ab Enable SwiftLint rule 'closure_parameter_position' and fix all violations 2020-08-28 16:42:30 -07:00
Danny Moesch
5299ca25d7 Enable SwiftLint rule 'class_delegate_protocol' and fix all violations 2020-08-28 16:42:30 -07:00
Danny Moesch
7f9f0e43b2 Format code with SwiftFormat automatically in every build 2020-08-25 15:10:13 -07:00
Danny Moesch
f167ab7549 Remove sync control if there is no repository set
If there is no local repository set we should not provide the possibility to sync it.
2020-07-26 16:35:38 -07:00
Mingshen Sun
fcc8961e46
Fix fail-safe mechanism for other decryption scenarios 2020-04-18 22:42:25 -07:00
Mingshen Sun
3e114daca1
Implement fail-safe mechanism if key id is not found 2020-04-17 23:56:14 -07:00
Mingshen Sun
50dec23b02
Fix PGP key importing issue 2020-04-14 11:55:18 -07:00
Mingshen Sun
c35aedb7ad QR code scanned key is appended to the textview 2020-04-13 21:23:23 -07:00
Mingshen Sun
eb6e854d92 Change logic of passphrass for multikeys 2020-04-13 21:23:23 -07:00
Mingshen Sun
e9c5b63c4b Refactor logic of request PGP key passphrase 2020-04-13 21:23:23 -07:00
Mingshen Sun
84b1c07f64 Update to gopengpg v2.0.0 2020-04-12 20:15:49 -07:00
Danny Moesch
da62c2544b Use correct key source
Without this protocol method, 'isCurrentKeySource' in KeyImporter was always called which is wrong for PGP keys.
2020-03-29 19:25:01 -07:00
Danny Moesch
15221ee348 Update server authentication method in main thread 2020-03-29 19:25:01 -07:00
Danny Moesch
4bed5fcf8b Fix background color during transition
In Dark Mode the transition into a folder and back started and ended with a very noticeable white flicker. Now, the color will be updated before every transition.
2020-03-21 16:02:35 -07:00
Danny Moesch
54e104d2f0 Reload password list when opening the app
Reason is that the state of the repository could have been changed in the background by the Siri shortcut.
2020-03-19 14:46:16 -07:00
Danny Moesch
b3bde9e0e0 Implement Siri shortcut to sync repository per automation task 2020-03-16 10:13:49 -07:00
Danny Moesch
fda8df70dd Remove now unused password flavor action sheet 2020-03-09 09:23:17 -07:00
Danny Moesch
eca4d79178 Implement selection of password generator flavor with segmented control 2020-03-08 10:40:38 -07:00
Danny Moesch
15324af03c Reduce height of password generator settings cells 2020-03-08 10:40:38 -07:00
Yishi Lin
9575bda711 Hide the delete cell while adding an entry 2020-03-05 00:19:34 +08:00
Yishi Lin
17ccf55c48 Keep table view text color consistent 2020-03-05 00:05:07 +08:00
Danny Moesch
b84f2dce13 Update UI to support more customizable password generator 2020-03-03 15:38:51 -08:00
Mingshen Sun
49a371d495
Change UIDocumentPickerViewController in to .open 2020-02-26 21:04:54 -08:00
Yishi Lin
7d71b2f221 Fix the permission denied issue 2020-02-27 01:17:39 +08:00
Danny Moesch
0b6ead484d Put conformances to protocols into extensions 2020-02-23 11:49:42 +01:00
Yishi Lin
494e489b62 Fix the missing number of local commits 2020-02-23 18:11:02 +08:00
Yishi Lin
f5493503f8 Cleanup debugging print 2020-02-23 18:08:00 +08:00
Yishi Lin
6bf4716366 Better search results 2020-02-23 18:06:14 +08:00
Yishi Lin
5e4fbaec8a Remove pwd flavor selector from settings
User's latest selection in the add/edit page will be remembered.
2020-02-23 03:24:58 +08:00
Yishi Lin
fe21f1c8da Generate XKCD style password 2020-02-23 03:06:23 +08:00
Yishi Lin
71c793029a Polish codes related to password generation
1. Polish codes in PasswordGeneratorFlavour
2. Polish related codes in view controllers
2020-02-23 00:39:14 +08:00
Danny Moesch
d33e63cd83 Add ability to import SSH keys from the Files app 2020-02-16 10:17:58 -08:00
Danny Moesch
94a5f8c501 Introduce KeyImporter protocol to reduce code duplications in SSH key importers 2020-02-16 10:17:58 -08:00
Danny Moesch
6aa39db657 Sort open source components alphabetically 2020-02-12 18:20:39 -08:00
Danny Moesch
3cdf77347a Name classes consistently
* Settings are called *SettingsTableViewController
* Key importers are called *ImportTableViewController
* Classes in UserInterface folder are split into Controllers or Views
2020-02-12 18:20:39 -08:00
Danny Moesch
20f18d0c8b Allow HTTP for key import but ask for confirmation if used for the private key 2020-02-12 13:50:39 -08:00
Danny Moesch
30e6c44356 Do not keep the cells selected 2020-02-12 13:28:58 -08:00
Danny Moesch
f31a4df943 Just open the key files to read them instead of importing them into the apps tmp 2020-02-12 13:28:58 -08:00
Danny Moesch
ea27c73b99 Check for readiness before doing any import actions 2020-02-10 22:28:36 -08:00
Danny Moesch
a5570a8409 Remove optional arguments and qualified names 2020-02-10 22:28:36 -08:00
Danny Moesch
43bba1fb50 Set PGP key source once for all key importers 2020-02-10 22:28:36 -08:00
Danny Moesch
e0c9ceb4fd Add ability to import PGP keys from the Files app 2020-02-10 22:28:36 -08:00
Danny Moesch
5f6723246b Some cosmetic changes 2020-02-10 10:32:14 -08:00
Danny Moesch
e447b1d9d3 Introduce PGPKeyImporter protocol to reduce code duplications 2020-02-10 09:59:24 -08:00