Commit graph

254 commits

Author SHA1 Message Date
Danny Mösch
ab8eaaf97c
Already show password list in background before dismissing lock view (#497)
Currently it's like:

  1) Lock view is presented
  2) Authenticate
  3) Lock view disappears
  4) Browser is shown briefly
  5) Extension shows password list

This change skips step 4.
2021-08-29 14:54:56 -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 Mösch
a83acd096a
Remove availability checks for iOS 11.0 (#486) 2021-08-16 12:59:46 -07:00
Mingshen Sun
75332270d6
Merge pull request #477 from SimplyDanny/use-protonmail-gopenpgp
Use ProtonMail's GopenPGP library
2021-08-15 01:49:16 -07:00
Danny Moesch
7cbc14978a Use SwiftFormat version 0.48.x 2021-08-15 01:34:43 -07:00
Danny Moesch
93954f3bec Use ProtonMail's GopenPGP library
This allows for a simpler setup and the usage of a recent version of Go. The library provides a build script which creates an XCFramework containing binaries for multiple target architectures. The gnu-dummy.patch is taken from mssun/gopenpgp. The forks are not needed anymore.
2021-06-20 12:30:14 +02:00
Danny Moesch
3f75591484 Use SwiftLint version 0.43.x 2021-03-07 16:42:08 -08:00
Danny Moesch
1454693308 Remove redundant 'else' blocks 2021-01-31 20:16:57 -08:00
Danny Moesch
ad4ed9419e Format code with SwiftFormat 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
011762c4bd
Fix decryption issue when key without passphrase set 2021-01-10 15:01:21 -08:00
Mingshen Sun
1e1d6f0f44
Fix passphrase issue 2021-01-07 22:35:45 -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
1a8692bde3 Run updated SwiftFormat 2020-12-23 19:59:26 -08:00
Danny Moesch
eba4df2f51 Fix #424: Escape question mark '?'
It would otherwise be interpreted as the beginning of the query part in an URL.
2020-11-10 12:12:07 -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
7ada4dd96d Remove superfluous code 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
50b2e0f088 Enable SwiftLint rule 'implicit_return' and fix violation 2020-09-20 17:25:50 -07:00
Danny Moesch
8459af4196 Use correct bundle ID for extensions in beta app 2020-09-06 20:44:46 -07:00
Danny Moesch
6044098278 Refactor GitCredential to simplify it and to add tests 2020-09-06 20:12:36 -07:00
Danny Moesch
56b7b24fce Move Crypto functionality back to passKit 2020-09-06 17:59:55 -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
b032ed2df3 Enable SwiftLint rule 'nslocalizedstring_require_bundle' and fix all violations 2020-08-28 16:42:30 -07:00
Danny Moesch
92123448a4 Enable SwiftLint rule 'nslocalizedstring_key' 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
c290ebe427 Enable SwiftLint rule 'legacy_multiple' 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
2e6cf69b03 Enable SwiftLint rule 'convenience_type' 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
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
a92940e610
Add beta distrubution channel 2020-07-19 18:25:21 -07:00
Danny Moesch
4c2693e2c7 Name classes/structs consistently 2020-04-19 13:42:41 -07:00
Mingshen Sun
072f824158
No need to select key for encryption if there only one imported key 2020-04-18 23:21:50 -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
eb6e854d92 Change logic of passphrass for multikeys 2020-04-13 21:23:23 -07:00