Commit graph

945 commits

Author SHA1 Message Date
Lysann Tranvouez
2c8d27df69 fix deleting directory
this used to corrupt the local state (password entities remained in DB
but files/dirs were removed from git and disk)
2026-03-09 15:04:19 +01:00
Lysann Tranvouez
7db85c9939 DO NOT MERGE
local development signing fixes
2026-03-08 21:08:36 +01:00
Mingshen Sun
dd4dd174d4
Update password in the destination controller when save edit (#688) 2025-03-02 11:43:46 -08:00
Allan Feldman
cb8305f014
(Fix) autofill / extensions and restore persistent storage location (#686) 2025-02-26 20:40:07 -08:00
Mingshen Sun
fddd0c2563
Show merge conflict file names in the error message (#681) 2025-02-16 13:01:42 -08:00
Mingshen Sun
b0a971507f
Fix ui minor issue (#676) 2025-02-07 20:09:17 -08:00
Mingshen Sun
a69c4d16b1
Refactor git repository model (#674)
- Create a new model class for operations of Git repository.
- Refactor everything related with git.
- Add unit tests for git functions.
2025-02-02 22:18:16 -08:00
Giuseppe Ranieri
5a1458e196
Fix typo (#673) 2025-01-28 20:17:27 +01:00
Mingshen Sun
d1de81d919
Refactor core data classes (#671) 2025-01-25 15:40:12 -08:00
Mingshen Sun
ebd26ecb12 Version bump to 0.17.0 2024-12-23 18:35:26 -08:00
Mingshen Sun
a410c9480a
Refactor YubiKey decryptor (#663)
- Add YKFSmartCardInterface extension to simplify smart card related calls
- Use async/await to rewrite callback closures
- Update YubiKeyConnection
- Better error handling
2024-12-15 21:08:27 -08:00
Mingshen Sun
c5d9d258d8
Use createPGPMessage instead of CryptoNewPGPMessage to support ASCII-armored password with YubiKey (#658) 2024-11-30 11:29:27 -08:00
Danny Mösch
00b43012d3
Update localization and fix typo (#633) 2024-11-29 00:26:19 +01:00
Danny Mösch
1bdf9d684b Rely on SPM plugins to consume SwiftLint and SwiftFormat
Use their latest releases and fix some violations and issues.

# Conflicts:
#	.github/workflows/linting.yml
#	.github/workflows/testing.yml
2024-11-29 00:18:30 +01:00
Danny Mösch
ba1a81170b
Update SwiftLint to version 0.52.x, fix new violations or disable them (#618) 2023-06-25 10:21:45 -07:00
Danny Mösch
d9bd0f3014
Update SwiftLint and SwiftFormat (#613)
* Update Swift version used by SwiftFormat

* Update SwiftLint version

* Rely on new virtual 'all' rule in SwiftLint

* Enable SwiftLint rule 'direct_return' rule and fix all violations

* Enable SwiftLint rule 'shorthand_optional_binding' rule and fix all violations

* Enable SwiftLint rule 'blanket_disable_command' rule and fix all violations
2023-04-23 13:01:37 -07:00
Mingshen Sun
b420ffb6a5 Fix tabbar transparent issue 2023-03-18 17:29:11 -07:00
Mingshen Sun
bd659c2fc3 Fix covered section header in macOS 2023-03-18 16:40:17 -07:00
Mingshen Sun
da5aa61986 Update tab bar badge value immediately after sync 2023-03-18 15:54:18 -07:00
Mingshen Sun
dc0ac03474 Add disclosure indicator to about repository 2023-03-18 15:52:43 -07:00
Mingshen Sun
bead9eaf21 Fix UI issue 2023-03-18 11:21:55 -07:00
Mingshen Sun
3054e8e6f4 Fix YubiKey feature detection logics 2023-03-17 22:20:50 -07:00
Mingshen Sun
6bc066dc73 Fix the search bar becoming first reponder issue in macOS 2023-03-16 18:47:35 -07:00
Mingshen Sun
4904b81da0 UI improvements 2023-03-13 21:33:54 -07:00
Mingshen Sun
01a29333ae Fix black screen bug at startup 2023-03-13 21:11:21 -07:00
Mingshen Sun
a2d3926b7a Fix no UIScene configuration dictionary warning 2023-03-12 21:44:00 -07:00
Mingshen Sun
788adee1a7 Unify cell style for the password generator 2023-03-12 21:30:31 -07:00
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
Mingshen Sun
3edf8efbc5 Hide yubikey for unsupported devices 2023-03-12 16:10:29 -07:00
Mingshen Sun
9ec7073e84 Recover search status back from the password detail 2023-03-10 22:01:18 -08:00
Mingshen Sun
5a91db4f76 Fix warnings and deprecated APIs 2023-03-10 20:56:56 -08: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
Mingshen Sun
6cf6ef1d45 Remove NDEF-tag from entitlements 2023-03-09 12:15:11 -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
Mingshen Sun
2f7eff431b Remove custom accessory protocol entry com.yubico.ylp of UISupportedExternalAccessoryProtocols in Info.plist 2023-03-03 21:22:31 -08:00
Danny Mösch
97a0c9c894 Update German translation 2023-02-04 09:51:54 -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
Mattia Borda
31c6541f9e
Add Italian translation (#589)
- Translate InfoPlist.strings, Intents.strings, and Localizable.stringsdict
- Translate Main.strings
- Translate Localizable.strings
2022-12-11 22:08:18 -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
Bradley Walters
6f5385fe4a
Force weak linking of CryptoTokenKit (#543)
Apple's CryptoTokenKit is only present in iOS 13.0+ however it exports
symbols with availability annotations going back to iOS 10.0.

In the Pass app we have a deployment target of iOS 12.0. Apple's
automatic weak linking system apparently only looks at the
symbol-level availability annotations so it assumes the symbols
we use will always be present (even though they won't pre-iOS-13).

We can work around this issue by forcing weak linking using the
"Optional" framework setting. (Note that this workaround would not
work if CryptoTokenKit was used from a third-party swift package.)

This is necessary to restore iOS 12 support after #533.

For further history see https://github.com/mssun/passforios/issues/539
2022-05-22 22:35:53 -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