Lysann Tranvouez
2c8d27df69
fix deleting directory
...
this used to corrupt the local state (password entities remained in DB
but files/dirs were removed from git and disk)
2026-03-09 15:04:19 +01:00
Lysann Tranvouez
4405b7fe3d
test add, edit, delete
2026-03-09 15:04:19 +01:00
Lysann Tranvouez
d4fa6846b3
more tests: entity fetching + erase
2026-03-09 15:04:19 +01:00
Mingshen Sun
1e79e12593
Cleanup duplicated code ( #678 )
2025-02-08 14:26:45 -08:00
Mingshen Sun
a69c4d16b1
Refactor git repository model ( #674 )
...
- Create a new model class for operations of Git repository.
- Refactor everything related with git.
- Add unit tests for git functions.
2025-02-02 22:18:16 -08:00
Mingshen Sun
d1de81d919
Refactor core data classes ( #671 )
2025-01-25 15:40:12 -08:00
Danny Mösch
d9bd0f3014
Update SwiftLint and SwiftFormat ( #613 )
...
* Update Swift version used by SwiftFormat
* Update SwiftLint version
* Rely on new virtual 'all' rule in SwiftLint
* Enable SwiftLint rule 'direct_return' rule and fix all violations
* Enable SwiftLint rule 'shorthand_optional_binding' rule and fix all violations
* Enable SwiftLint rule 'blanket_disable_command' rule and fix all violations
2023-04-23 13:01:37 -07: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
Danny Mösch
3eb131b65d
Fix file headers ( #494 )
2021-08-27 22:32:31 -07:00
Danny Moesch
1454693308
Remove redundant 'else' blocks
2021-01-31 20:16:57 -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
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
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
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
a2edf41d33
Update SwiftyUserDefaults to current version 5.0.0
2020-01-01 19:03:04 -08:00
Mingshen Sun
cea1332b0d
Fix some UI issues introduced by refactoring
2019-12-01 00:25:24 -08:00
Mingshen Sun
2f3e51947a
Refactor the request credential function
2019-11-30 22:39:21 -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
Yishi Lin
30bb227ae3
Fix #332 : The synced status is now saved in DB
2019-11-19 02:19:57 +08:00
Danny Moesch
4c47729a6e
Fix #326 : Do not assume 'master' as the default checked out branch
2019-11-08 14:30:56 -08:00
Yishi Lin
e0c32003e3
Cleanup and fix the erase logic
...
Explicitly uninit PGP agent during erasing all data.
2019-10-01 00:40:37 +08:00
Yishi Lin
230b421a90
Add the passcode cache back
2019-10-01 00:16:56 +08:00
Danny Moesch
c824bb10e7
Introduce constants for Git password identifiers
2019-09-15 00:32:18 -07:00