Commit graph

171 commits

Author SHA1 Message Date
Mingshen Sun
955e50c3d3
Initial implementation of using YubiKey for decryption (#533) 2022-01-09 21:38:39 -08:00
Danny Moesch
819371f55e
Remove unused elements (#530) 2021-12-30 22:35:17 -08:00
Danny Moesch
cdedff0d4d
Use SwiftFormat version 0.49.x and enable some new rules (#527) 2021-12-27 17:57:11 -08:00
Danny Moesch
b62c5fa2e5
Check cloned repository for .gpg-id file (#523)
* Extract method
* Separate deletion of store data from general data erasure
* Check cloned repository for .gpg-id file
2021-12-27 17:38:33 -08:00
Danny Mösch
32b7c9b635
Some cleanup especially regarding method references (#516)
* Remove superfluous method arguments in method references

* Use 'Self' for internal static access

* Convert static to instance field in singleton class

* Remove class name prefix in references to local methods

* Remove nested frameworks in all extensions and frameworks
2021-10-02 20:46:07 -07:00
Mingshen Sun
f2ab400f4b
Support Steam OTP (#505) 2021-09-06 10:47:04 -07:00
Mingshen Sun
dab850f311
Check keychain every time to ensure changes propagate to extensions instantly 2021-08-31 20:36:16 -07:00
Danny Mösch
3eb131b65d
Fix file headers (#494) 2021-08-27 22:32:31 -07:00
Danny Moesch
b3eef51a9d Rename method 2021-08-27 22:03:00 -07:00
Danny Moesch
1454693308 Remove redundant 'else' blocks 2021-01-31 20:16:57 -08:00
Mingshen Sun
8afc40a5a1
Fix search issues 2021-01-17 20:47:52 -08:00
Mingshen Sun
68077bf04c
Rewrite PasswordViewController 2021-01-17 19:49:05 -08:00
Mingshen Sun
b49593e87f
Rename ignore .gpg-id switch to enalbe .gpg-id 2021-01-10 20:28:20 -08:00
Mingshen Sun
f539d2ccfc
Ignore .gpg-id for encryption 2021-01-10 15:27:50 -08:00
Mingshen Sun
a62792bd11
Add ignore .gpg-id switch default ON 2021-01-07 21:58:38 -08:00
Mingshen Sun
29d74c48e5
Support selects a credential identity from the QuickType bar 2021-01-03 15:08:15 -08:00
Danny Moesch
49c6b25611 Use SwiftFormat version 0.47.x 2020-11-09 10:13:05 -08:00
Danny Moesch
e8389eb262 Enable SwiftLint rule 'identifier_name' and handle all violations 2020-09-20 17:25:50 -07:00
Danny Moesch
6044098278 Refactor GitCredential to simplify it and to add tests 2020-09-06 20:12:36 -07:00
Danny Moesch
8a4136b7ce Enable SwiftLint rule 'computed_accessors_order' and fix all violations 2020-08-28 16:42:30 -07:00
Danny Moesch
d3a11c9d29 Enable SwiftLint rule 'function_default_parameter_at_end' and fix all violations 2020-08-28 16:42:30 -07:00
Danny Moesch
ab80e5297e Enable SwiftLint rule 'unneeded_parentheses_in_closure_argument' and fix all violations 2020-08-28 16:42:30 -07:00
Danny Moesch
0317f5a83b Enable SwiftLint rule 'trailing_closure' and fix all violations 2020-08-28 16:42:30 -07:00
Danny Moesch
8828298afb Enable SwiftLint rule 'multiline_parameters_brackets' and fix all violations 2020-08-28 16:42:30 -07:00
Danny Moesch
776c813f94 Enable SwiftLint rule 'multiline_function_chains' 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
37bcbdeef2 Keep SwiftLint rule 'discouraged_optional_collection' disabled 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
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
Danny Moesch
4c2693e2c7 Name classes/structs consistently 2020-04-19 13:42:41 -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
e9c5b63c4b Refactor logic of request PGP key passphrase 2020-04-13 21:23:23 -07:00
Mingshen Sun
e62f4714e8 Encryption support for multi keys 2020-04-13 21:23:23 -07:00
Mingshen Sun
b7ee00815c Partially implement multikeys support (decryption) 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
b3bde9e0e0 Implement Siri shortcut to sync repository per automation task 2020-03-16 10:13:49 -07:00
Yishi Lin
6bf4716366 Better search results 2020-02-23 18:06:14 +08:00
Mingshen Sun
2dc8182fe8
Update core data in main thread 2020-02-18 11:04:08 -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
5f6723246b Some cosmetic changes 2020-02-10 10:32:14 -08:00
Danny Moesch
a5bc60bf58 Do not assume lowercased OTP keywords 2020-01-18 15:01:05 -08:00
Danny Moesch
a2edf41d33 Update SwiftyUserDefaults to current version 5.0.0 2020-01-01 19:03:04 -08:00
Danny Moesch
b60ce3b003 Fix #340: Always end password entries with a newline 2019-12-10 22:03:49 -08:00
Mingshen Sun
cea1332b0d
Fix some UI issues introduced by refactoring 2019-12-01 00:25:24 -08:00
Mingshen Sun
efdc45ea89
Move the request credential function into one file 2019-11-30 23:05:30 -08:00
Mingshen Sun
2f3e51947a
Refactor the request credential function 2019-11-30 22:39:21 -08:00
Mingshen Sun
902930ddfc
Cleanup GitServerSettingTableViewController 2019-11-30 17:37:09 -08:00
Mingshen Sun
258906fdbb
Refactor Git URL related code, fix #336 2019-11-30 15:11:28 -08:00
Mingshen Sun
a07f3af4e2
Forgot to saveUpdateContext() in edit 2019-11-18 18:08:31 -08:00