Commit graph

84 commits

Author SHA1 Message Date
Danny Mösch
763cddf540
Show notification with OTP after providing password through extension (#509)
* Allow to do something with a password after providing it in the extension
* Make fields non-nil
* Show OTP in notification after providing a password through extension
2021-09-20 00:50:05 -07:00
Mingshen Sun
d28861448e
Fix issue of displying extension 2021-08-31 18:25:40 -07:00
Danny Mösch
3eb131b65d
Fix file headers (#494) 2021-08-27 22:32:31 -07:00
Danny Moesch
bc2d9aa8e8 Present lock view only if needed for an action
* Do not present lock view in 'viewDidLoad' since this might be too early for an extension ("Not running foreground").
* Instead, show it for actions requiring authentication, e.g. showing the password list or providing a password, or only in 'viewDidAppear'.
* Refactor and lazily load other view controllers and data.
* Let credential providing view controllers decide when to hide themselves.
2021-08-27 22:03:00 -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
Danny Moesch
ad4ed9419e Format code with SwiftFormat 2021-01-31 20:16:57 -08:00
Mingshen Sun
8e66b2905b
Version bump to 0.12.0 2021-01-11 12:34:31 -08:00
Mingshen Sun
776884e894
Refactor and merge code of extensions 2021-01-10 13:40:17 -08:00
Mingshen Sun
3ecb35e701
Use PasswordTableViewCell for all password entries 2021-01-05 20:54:51 -08:00
Mingshen Sun
7e034d9c99
UI tweaks for extensions 2020-12-30 23:20:46 -08:00
Mingshen Sun
50738fb740
Add navigation controller to the AutoFilll view 2020-12-30 22:46:17 -08:00
Danny Moesch
e8389eb262 Enable SwiftLint rule 'identifier_name' and handle all violations 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
56b7b24fce Move Crypto functionality back to passKit 2020-09-06 17:59:55 -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
b4551f83fb Enable SwiftLint rule 'redundant_type_annotation' 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
55e2cd7939 Enable SwiftLint rule 'multiline_literal_brackets' 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
2e6cf69b03 Enable SwiftLint rule 'convenience_type' 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
Mingshen Sun
a92940e610
Add beta distrubution channel 2020-07-19 18:25:21 -07:00
Mingshen Sun
fcc8961e46
Fix fail-safe mechanism for other decryption scenarios 2020-04-18 22:42:25 -07:00
Mingshen Sun
e9c5b63c4b Refactor logic of request PGP key passphrase 2020-04-13 21:23:23 -07:00
Yishi Lin
6bf4716366 Better search results 2020-02-23 18:06:14 +08:00
Yishi Lin
0eb4b01fb7 Cleanup useless codes 2020-02-23 14:07:59 +08:00
Danny Moesch
a2edf41d33 Update SwiftyUserDefaults to current version 5.0.0 2020-01-01 19:03:04 -08:00
Mingshen Sun
6485fe2669
Version bump to 0.9.0 2019-11-22 16:06:39 -08:00
Yishi Lin
e332b1f3be Do not forget pgp passphrase on decryption error #296 2019-09-30 02:05:01 +08:00
Danny Moesch
50d1039e1c Adjust extension UI with respect to Dark Mode 2019-09-23 15:39:50 -07:00
Danny Moesch
730542d5bb Separate encryption/decryption logic for different frameworks used 2019-09-15 00:32:18 -07:00
Yishi Lin
58e7e1b4e4 Version bump to 0.8.0 2019-07-28 00:16:27 +08:00
Danny Moesch
ea37b40e2f Mark field 'gpgAgent' as never-nil 2019-07-20 22:59:22 +02:00
Yishi Lin
e967bb1f4c Add PGPAgent tests and minor updated 2019-07-20 00:41:45 +08:00
Yishi Lin
6ae4a02a01 Seperate PGPAgent from PasswordStore and add tests 2019-07-17 02:58:01 +08:00
Mingshen Sun
79d0df2c89
Version bump to 0.7.0 2019-07-13 16:10:36 -07:00
Mingshen Sun
a0d62eb3c8
polish details on UI 2019-06-09 15:25:07 -07:00
Meris Bahtijaragic
c59c72729b Get username from filepath. (#265) 2019-05-17 23:30:41 +08:00
Danny Moesch
4b3e424bb3 Remove superfluous cast 2019-05-03 00:18:14 +02:00
Danny Moesch
f9c19b3ca4 Migrate to Swift 5.0 2019-05-01 18:30:13 +02:00
David Beitey
1dfaf7c1d2 Localise extensions by copying bundle resources
Previously, the Pass extensions (for autofill and for the sharing sheet)
didn't see their strings being localised. This means that in some cases,
English was the only thing shown and in others strings would look like
`#EnterPasscode#` on the passcode lock screen.  This was because their
build phases didn't reference the localised string files in the `Copy
Bundle Resources` phase.

This change ensures these localisation files are copied and thus the
extensions are now localised for both English and German (so far).
2019-03-08 21:00:24 -08:00
Danny Moesch
73a015616a Support German language 2019-02-23 14:22:27 -08:00
Danny Moesch
d698f2e3c3 Use folder references for all groups and sort files/folders 2019-01-21 20:34:18 -08:00
Danny Moesch
9827f3672b Localize strings in UI 2019-01-20 21:04:04 -08:00
Danny Moesch
1b4040135e Localize strings in code 2019-01-20 21:04:04 -08:00
Mingshen Sun
88481ad2b0
Release 0.5.1 and version bump to 0.6.0 2019-01-13 18:48:10 -08:00