Commit graph

91 commits

Author SHA1 Message Date
Mingshen Sun
6c790f8e07 Remove table view size attributes in storyboard
Fix missing table section title when using the app in Apple Silicon macOS.
2023-03-12 17:36:19 -07:00
Dominik Johs
f2a0c4ccf1
do not dismiss views when application is resumed (#605)
* do not dismiss views when application is resumed

* prevents the PasswordNavigationViewController and PasswordDetailTableViewController from being dismissed when the app is put to the background and then brought back to the foreground
* Instead, the PasswordEntities are re-fetched from the context by their path to handle the re-creation of the entities during an update process that could have run in the background

* update SwiftLint to version 0.50.*

* update SwiftFormat to 0.51.*

---------

Co-authored-by: Mingshen Sun <bob@mssun.me>
2023-03-09 21:33:19 -08:00
Mike
32fdea0206
fix(extension) fires JS event upon editing input fields (#575) 2022-10-31 22:09:24 -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 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
e1cbcb5d7a
Add notification action to copy OTP or just inform about the copied OTP (#513)
* Add notification action to copy OTP or just inform about the copied OTP

The notification either shows the current OTP which can be copied by a notification action or it shows just a hint to inform about the copied OTP. This depends on the new option "autoCopyOTP".

* Extract method

* Set type and style one-time
2021-10-01 10:32:14 -07:00
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