Commit graph

876 commits

Author SHA1 Message Date
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
Danny Moesch
b503e5f613 Inform the user about a failed push
In case there are uncommitted changes in the remote repository the push ran through successfully but there were still unpushed changes in the app. This change notfies the user about this situation. Strangely, the push method from Objective-Git does not inform about this, although the command line Git does. Thus, the check for the number of local changes is used after the push operation, which can actually have several reasons. Important is that there is at least some hint, though.
2020-07-26 16:16:57 -07:00
Mingshen Sun
a92940e610
Add beta distrubution channel 2020-07-19 18:25:21 -07:00
Danny Moesch
0bbda5a4b0 Fix #394: Remove explicit "encrypted" modifier
Public keys are not encrypted. The modifier was wrong anyway. Private keys are not necessarily encrypted.
2020-07-16 15:26:04 -07:00
Danny Moesch
3ec105b148 Fix #397: Increase cell height
Use the same height used for other comparable cells in other views.
2020-07-16 12:03:43 -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
0cae6af60d
Check existence of PGP keys before encrypt/decrypt 2020-04-14 20:20:16 -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
21b5774cc5 Use shorter name "Style" for "Password Generator Flavor" 2020-03-09 09:23:17 -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
Danny Moesch
cecf38b5b3 Use "systemBlue" for UISwitches 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
Danny Moesch
3465ce9e38 Update German translation 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