Commit graph

550 commits

Author SHA1 Message Date
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
Mingshen Sun
b09bc7444f Remove branches for iOS 12 compatibility 2023-03-09 11:40:33 -08:00
Anton Krasovsky
f6b2316324 Add support for Yubikey command chaining 2023-03-09 11:40:33 -08:00
Tony Wang
f6f862a6b0 refs #584, add operation to clear QuickType suggestion in settings 2023-02-02 21:49:50 -08:00
Martin Nowak
3ab334dd00 fix #488 - support user field for completion
- a few other backends use `user` instead of `username` or `login`
  (e.g. gopass-jsonapi, keepass2csv importer, fpm2 importer)
- shorter to type when extracting field separately (e.g. CLI/clipboard) tools
2023-01-22 09:44:41 -08:00
Tony Wang
51ad0c2920
fix #540, duplicate entries in auto fill extension (#593)
* fix #540, duplicate entries in auto fill extension

`prepareCredentialList` is called twice, once before unlock and once
after. If the lists are already prepared, i.e. not empty, skip this
step.

* fix format and lint
2023-01-19 11:39:05 -08:00
Danny Mösch
a6b05d20e0
Store password repository details only if we are sure to clone/overwrite it (#571) 2022-07-30 11:20:08 -07:00
Danny Mösch
ad105b3df1
Enable some more SwitfLint rules (#565) 2022-06-15 19:55:02 -07:00
Mingshen Sun
440b0123f2 Fix building issues with XCode 2022-05-23 10:54:11 -07:00
Tony Wang
e5d3b06896
fix error when importing key using http (#556)
http url was not saved so it always failed
2022-05-22 22:23:25 -07:00
Mingshen Sun
6d1b271af6 Fix building issue in CI 2022-01-09 22:31:46 -08:00
Mingshen Sun
955e50c3d3
Initial implementation of using YubiKey for decryption (#533) 2022-01-09 21:38:39 -08:00
Mingshen Sun
7a144c77da Fix navigation bar tap gesture issue 2022-01-05 22:20:23 -08:00
Danny Moesch
819371f55e
Remove unused elements (#530) 2021-12-30 22:35:17 -08:00
Mingshen Sun
ff6a1edf62 Add confirmation prompt for removing keys (fix #491) 2021-12-29 16:19:12 -08:00
Mingshen Sun
79d3bda696 Add unwind segue handling functions to fix unwinding issues 2021-12-29 14:18:40 -08:00
Mingshen Sun
b0a97d182c Fix crashes of importing ssh key 2021-12-29 13:13:55 -08:00
Danny Moesch
e5bd678aaa
Consume ObjectiveGit through a binary Swift package (#528) 2021-12-28 15:17:11 -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 Moesch
aad23582f9
Update SwiftLint to version 0.45.x (#522)
* Use SwiftLint version 0.45.x
* Enable SwiftLint rule 'self_in_property_initialization' and handle all violations
2021-12-27 14:58:02 -08:00
Danny Mösch
3eea063d61
Fix issues with OTP notification (#517)
* Use "Beta" since this is what Apple uses too
* Actually copy the OTP if the option is set
* Shorten notification text to make it fit to smaller screens
* Set notification center delegate before app launches
* Fix SwiftFormat issue fixed with version 0.48.12
2021-10-03 17:20:22 -07: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
Danny Mösch
06d2ef1d09
Hide keyboard in search when pressing 'done' (#504) 2021-09-02 20:31:19 -07:00
Danny Mösch
91229b3bbd
Add missing file headers (#503) 2021-09-02 17:50:40 -07:00
Danny Mösch
64117d91cc
Disable long-press action on directory (#502) 2021-09-02 16:02:19 -07:00
Danny Mösch
67cca0f31d
Re-add ObjectivePGP to list of open source components (#495) 2021-08-27 22:46:13 -07:00
Danny Mösch
3eb131b65d
Fix file headers (#494) 2021-08-27 22:32:31 -07:00
Danny Mösch
a83acd096a
Remove availability checks for iOS 11.0 (#486) 2021-08-16 12:59:46 -07:00
Danny Moesch
7cbc14978a Use SwiftFormat version 0.48.x 2021-08-15 01:34:43 -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
Danny Moesch
4d6c77371d Fix warning by removing the argument 'entersReaderIfAvailable' 2021-01-31 20:01:40 -08:00
Mingshen Sun
7ede6d11e3
Fix search issue when changing searching scope 2021-01-17 23:28:29 -08:00
Mingshen Sun
9b2a047d38
Double tap tab bar to scroll to top 2021-01-17 22:27:50 -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
288024ccc2
Fix missnig detail text label in password table cell 2021-01-15 22:43:03 -08:00
Mingshen Sun
b49593e87f
Rename ignore .gpg-id switch to enalbe .gpg-id 2021-01-10 20:28:20 -08:00
Mingshen Sun
a62792bd11
Add ignore .gpg-id switch default ON 2021-01-07 21:58:38 -08:00
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
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