Commit graph

860 commits

Author SHA1 Message Date
Mingshen Sun
05a3fa8d9f
Fix UI issues under large text mode 2021-01-05 23:27:35 -08:00
Mingshen Sun
3ecb35e701
Use PasswordTableViewCell for all password entries 2021-01-05 20:54:51 -08:00
Mingshen Sun
ac36985f57
Fix crash issue when in password detail and update setting 2020-12-30 16:26:13 -08:00
Danny Moesch
1a8692bde3 Run updated SwiftFormat 2020-12-23 19:59:26 -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
4ffbafc47e Fix file header format 2020-09-20 17:25:50 -07:00
Danny Moesch
2cdd0e2521 Enable SwiftLint rule 'cyclomatic_complexity' and fix violation which is reasonable 2020-09-20 17:25:50 -07:00
Danny Moesch
f9d5d794f0 Fix new warning caused by Swift 5.3 and bring SwiftLint rule in sync with it 2020-09-19 18:52:27 -07:00
Danny Moesch
6044098278 Refactor GitCredential to simplify it and to add tests 2020-09-06 20:12:36 -07:00
Danny Moesch
6ae506d7e6 Fix #407: Search all scanned segments for the key block footer 2020-08-31 14:05:19 -07:00
Danny Moesch
078503f249 Combine key scanning logic in one class 2020-08-31 14:05:19 -07:00
Danny Moesch
edd7398cd4 Use guard statements to reduce nesting 2020-08-31 14:05:19 -07:00
Danny Moesch
5270c92b76 Enable SwiftLint rule 'overridden_super_call' and fix all violations 2020-08-28 16:42:30 -07:00
Danny Moesch
e1cb280d4a Enable SwiftLint rule 'weak_delegate' and fix all violations 2020-08-28 16:42:30 -07:00
Danny Moesch
c5e88d82c9 Enable SwiftLint rule 'vertical_whitespace_closing_braces' and fix all violations 2020-08-28 16:42:30 -07:00
Danny Moesch
f70114e8d7 Enable SwiftLint rule 'unused_optional_binding' 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
937019d6e8 Enable SwiftLint rule 'toggle_bool' and fix all violations 2020-08-28 16:42:30 -07:00
Danny Moesch
1b1bd46235 Enable SwiftLint rule 'switch_case_on_newline' and fix all violations 2020-08-28 16:42:30 -07:00
Danny Moesch
fe380d4d65 Enable SwiftLint rule 'private_action' and fix all violations 2020-08-28 16:42:30 -07:00
Danny Moesch
70d605e412 Keep SwiftLint rule 'prefixed_toplevel_constant' disabled 2020-08-28 16:42:30 -07:00
Danny Moesch
77216abe14 Enable SwiftLint rule 'nesting' 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
55e2cd7939 Enable SwiftLint rule 'multiline_literal_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
b4c25726a5 Enable SwiftLint rule 'lower_acl_than_parent' and fix all violations 2020-08-28 16:42:30 -07:00
Danny Moesch
1b3a8ff0d8 Enable SwiftLint rule 'let_var_whitespace' 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
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