Commit graph

1406 commits

Author SHA1 Message Date
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
Mingshen Sun
08ce198334 Update OneTimePassword dependency 2021-12-27 17:19:48 -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
afe0397dcf
Update ObjectivePGP to version 0.99.0 (#521) 2021-10-21 12:28:16 -07:00
Danny Moesch
03c4fcc7b7 Add new SwiftLint rules 2021-10-07 19:49:19 +02:00
Danny Moesch
b7e08dfb9e Enable SwiftLint rule 'static_operator' and fix all violations 2021-10-07 19:48:57 +02:00
Danny Moesch
831ffe2235 Use Self for internal static access 2021-10-07 19:19:56 +02: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
63e7235978
Update German translation (#515) 2021-09-30 13:24:32 -07:00
Hörmet Yiltiz
e3fbddbe92
Polish instructions (#514)
Signed-off-by: Hörmetjan Yiltiz <hyiltiz@gmail.com>
2021-09-30 10:55:20 -07:00
Danny Mösch
cddcb9fcc1
Make Carthage build script work with Xcode 12 and 13 (#510) 2021-09-23 18:24:27 -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
5057528ad9 CI: Update homebrew and use the latest go version 2021-09-19 16:56:15 -07:00
Mingshen Sun
a133f44564 CI: Fix building issue of the go dependency 2021-09-15 20:26:16 -07:00
Mingshen Sun
acc01577c1 CI: Update go dependency to the latest version 2021-09-15 18:48:29 -07:00
Danny Mösch
82eb13f43c
Update SwiftLint to version 0.44.0 (#507) 2021-09-15 17:43:14 -07:00
Mingshen Sun
f2ab400f4b
Support Steam OTP (#505) 2021-09-06 10:47:04 -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
Mingshen Sun
dab850f311
Check keychain every time to ensure changes propagate to extensions instantly 2021-08-31 20:36:16 -07:00
Mingshen Sun
d28861448e
Fix issue of displying extension 2021-08-31 18:25:40 -07:00
Mingshen Sun
228f06a886
Fix Invalid Bundle issues in Swift Package 2021-08-31 18:21:36 -07:00
Mingshen Sun
a01e6116a2
Fix Invalid Bundle issues in Swift Package 2021-08-31 11:32:31 -07:00
Mingshen Sun
2afd533393 Fix CFBundleIdentifier Collision and Invalid Bundle issues when uploading to App Store Connect 2021-08-31 00:32:17 -07:00
Danny Mösch
77ca3ff383
Remove duplicate bundles from build products (#501)
Due to a bug in Xcode using SPM, dependencies used in internal frameworks are present multiple times in the built product. See for example:

    https://forums.swift.org/t/swift-package-binary-framework-issue/41922/3
    https://stackoverflow.com/questions/40005130/error-itms-90685-cfbundleidentifier-collision-there-is-more-than-one-bundle

This "hack" removes them from the internal framework and only includes all of them in the main application.
2021-08-30 15:00:06 -07:00
Mingshen Sun
a8ff52fd27 Delete the Pod steps in deploying workflow 2021-08-30 09:47:34 -07:00
Danny Mösch
032436fa70
Move to Swift Package Manager disregarding Cocoapods (#496)
* Build as many dependencies as possible with SPM.
* Xcworkspace is no longer needed.
* Collecting coverage information does unfortunately cause linking errors in Base32. So it is disabled for now.
2021-08-30 09:41:29 -07:00
Danny Mösch
c72cd1c653
Use the most recent version of Go in build (#498)
According to 93954f3bec version 1.14 is not specifically required anymore.
2021-08-29 15:52:48 -07:00
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
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 Moesch
4b05d5b2ae Just provide a matching password in 'prepareInterfaceToProvideCredential'
Do not show the password list. This is not the task of this method.
2021-08-27 22:03:00 -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
942f462db8 Move class to own file 2021-08-27 22:03:00 -07:00
Danny Moesch
b3eef51a9d Rename method 2021-08-27 22:03:00 -07:00
Danny Mösch
545186da96
Activate Face ID automatically as soon as the lock view appears in extensions (#492) 2021-08-26 16:10:44 -07:00
Danny Mösch
a83acd096a
Remove availability checks for iOS 11.0 (#486) 2021-08-16 12:59:46 -07:00
Mingshen Sun
7bd860cbe5
Merge pull request #480 from mssun/dependabot/bundler/addressable-2.8.0
Bump addressable from 2.7.0 to 2.8.0
2021-08-15 11:31:17 -07:00
Mingshen Sun
d85edff226 Fix gopenpgp URL 2021-08-15 08:59:35 -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
Mingshen Sun
b75536f89d
Merge pull request #471 from SimplyDanny/update-settings
Update project settings to be compatible with Xcode 12.5
2021-08-15 01:47:32 -07:00
Danny Moesch
47d5a0afcd Install or upgrade tools installed by Homebrew 2021-08-15 01:34:43 -07:00
Danny Moesch
7cbc14978a Use SwiftFormat version 0.48.x 2021-08-15 01:34:43 -07:00
Mingshen Sun
56a5cbe5cb Fix expired test sub key 2021-08-15 00:46:45 -07:00
Mingshen Sun
4d874e5c0d Start testing CI for push 2021-08-14 23:38:31 -07:00
Mingshen Sun
6581f1593b Fix building issue in CI 2021-08-14 23:35:57 -07:00
dependabot[bot]
896f4ab4cf
Bump addressable from 2.7.0 to 2.8.0
Bumps [addressable](https://github.com/sporkmonger/addressable) from 2.7.0 to 2.8.0.
- [Release notes](https://github.com/sporkmonger/addressable/releases)
- [Changelog](https://github.com/sporkmonger/addressable/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sporkmonger/addressable/compare/addressable-2.7.0...addressable-2.8.0)

---
updated-dependencies:
- dependency-name: addressable
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-13 14:20:26 +00:00