33 Commits

Author SHA1 Message Date
Mingshen Sun
1b84e28a44 Update gopenpgp to v2.8.1 with passforios patches 2024-12-14 12:19:42 -08: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
0d1f06b16c Fix gomobile path issue 2023-03-16 21:01:44 -07:00
Mingshen Sun
51330c3fe4 Upgrade gopenpgp to v2.6.0 2023-03-16 20:45:44 -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
Mingshen Sun
e6c9440bff swiftlint 0.50.* is required 2023-03-09 11:40:33 -08:00
Danny Mösch
e2ba21587c Update SwiftLint to version 0.49.x (#576) 2022-11-01 11:47:26 -07:00
Danny Mösch
b6be913017 Update SwiftFormat to version 0.50.x (#577) 2022-10-31 20:29:42 -07:00
Mingshen Sun
440b0123f2 Fix building issues with XCode 2022-05-23 10:54:11 -07:00
Mingshen Sun
90f1f54a21 Fix building issue 2022-05-22 21:40:35 -07:00
Danny Moesch
1128292831 Update SwiftLint to version 0.46.x (#541) 2022-01-24 22:52:12 -08:00
Mingshen Sun
955e50c3d3 Initial implementation of using YubiKey for decryption (#533) 2022-01-09 21:38:39 -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
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
cddcb9fcc1 Make Carthage build script work with Xcode 12 and 13 (#510) 2021-09-23 18:24:27 -07:00
Danny Mösch
82eb13f43c Update SwiftLint to version 0.44.0 (#507) 2021-09-15 17:43:14 -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
Danny Moesch
7cbc14978a Use SwiftFormat version 0.48.x 2021-08-15 01:34:43 -07:00
Danny Moesch
93954f3bec Use ProtonMail's GopenPGP library
This allows for a simpler setup and the usage of a recent version of Go. The library provides a build script which creates an XCFramework containing binaries for multiple target architectures. The gnu-dummy.patch is taken from mssun/gopenpgp. The forks are not needed anymore.
2021-06-20 12:30:14 +02:00
Danny Moesch
3f75591484 Use SwiftLint version 0.43.x 2021-03-07 16:42:08 -08:00
Danny Moesch
9487eea192 Invert check for "Release" build
This makes the scripts runnable directly from the terminal where the
'CONFIGURATION' variable is not set to any value.
2020-12-30 10:06:59 -08:00
Danny Moesch
43ae029bfe Use 'exit' to return from a Bash script 2020-12-30 10:06:59 -08:00
Mingshen Sun
52a8c4a401 Move all scripts to the scripts dir 2020-12-29 19:44:00 -08:00
Mingshen Sun
df80d2e431 Start to use GitHub Action (#432) 2020-12-23 20:26:58 -08:00
Danny Moesch
a49f0ee5e0 Use SwiftLint version 0.42.x 2020-12-23 19:59:26 -08:00
Danny Moesch
bf3bb8d168 Use SwiftLint version 0.47.x 2020-11-10 14:03:12 -08:00
Danny Moesch
49c6b25611 Use SwiftFormat version 0.47.x 2020-11-09 10:13:05 -08:00
Danny Moesch
ddabe206ab Use SwiftFormat version 0.46.x 2020-08-28 16:42:30 -07:00
Danny Moesch
9b38cc0437 Skip SwiftLint and SwiftFormat runs on CI build
Unfortunately, there seems to be no simpler way to tell a script in Xcode that it runs on CI.
2020-08-28 16:42:30 -07:00