Commit Graph

219 Commits

Author SHA1 Message Date
Davide De Rosa 08008dda23 Try lower macOS target to 10.14
Requires TunnelKit update.
2022-02-02 19:36:23 +01:00
Davide De Rosa 72044a5e41 Fix globbing in "Run Script" phases
See 549cd17dbd
2022-01-07 21:55:56 +01:00
Davide De Rosa 4c673338b7 Attempt beta release 2022-01-07 19:00:33 +01:00
Davide De Rosa d55fb5dc0f Attempt beta release 2022-01-04 09:26:55 +01:00
Davide De Rosa 9ecb90b8f9 Handle --keepalive option 2022-01-04 09:25:13 +01:00
Davide De Rosa 549cd17dbd Delete frameworks from all .appex 2021-12-17 14:47:45 +01:00
Davide De Rosa 05a460d55f Attempt beta release 2021-12-08 16:11:38 +01:00
Davide De Rosa 4f9bbac178 Attempt beta release 2021-12-04 11:53:51 +01:00
Davide De Rosa 97c6a6f356 Attempt beta release 2021-12-03 15:35:44 +01:00
Davide De Rosa 2a5c231d3d
Polish release workflow (#207)
* Do run tests in beta

- Test and build app in same lane
- Run tests with swift directly
- Set timeout on build only
- Set GYM_OUTPUT_DIRECTORY inline
- Fix bad build number, broken in db075eb
- Ignore updates to CHANGELOG for testing
- Drop unnecessary exports
- Drop unnecessary test env
- Drop unused PLATFORM .env.* variable

* Work around gym issues in CI

- Set custom build paths for proper clean-up
- Disable xcpretty (seems to hang job)

* Add descriptive names to workflow

- Rename beta to release
- Add job names

* Optimize release workflow

- Use a matrix for multiplatform build
- Only preinstall platform-specific certificates
- Output app version/build early for job reuse
- Do not depend app review on public beta release
- Pull latest commits before pushing/tagging

In release, ci/* scripts require Ruby. Make version an argument
of the commit-release.sh script to fix dependency.

* Import secret to notify external testers or not

* [ci skip] Add CHANGELOG preface in local scripts

* [ci skip] Update links to release via CI
2021-12-03 15:31:19 +01:00
Davide De Rosa 82aaa0b386 Attempt beta release 2021-11-30 16:40:28 +01:00
Davide De Rosa 6d541284a5 Attempt beta release 2021-11-30 12:49:46 +01:00
Davide De Rosa 51821660d2 Commit build number with beta
Pick base build number from env, not project. Can now drop
fetch-depth 0 from workflow, no needs for commits count.
2021-11-29 19:06:59 +01:00
Davide De Rosa 6a9b8745ba Update TunnelKit 2021-11-27 12:39:35 +01:00
Davide De Rosa 549fe3d95e Commit resolved SwiftPM packages 2021-11-26 09:07:57 +01:00
Davide De Rosa 104c856e45 Fix PEM caching PR in TunnelKit 2021-11-25 12:23:28 +01:00
Davide De Rosa 46fef91f5c Revert to TunnelKit with OpenSSL
- Remove extra "Frameworks" in .appex
- Restore TLS security level 0
- Disable Bitcode for OpenSSL to link properly
2021-11-24 17:03:41 +01:00
Davide De Rosa fd529752ee Revert iOS target to 12
TunnelKit only requires 12.
2021-11-18 13:10:44 +01:00
Davide De Rosa b3de7f3a73 Bump build 2021-11-14 19:41:07 +01:00
Davide De Rosa 3ccdfc7626 Bump build 2021-11-12 10:30:25 +01:00
Davide De Rosa 8833c4dbab Update TunnelKit with BoringSSL
- Optimize package granularity and imports
- Adjust targets to smaller TunnelKit components
- Raise iOS target to 13
- Drop support for TLS security level
2021-11-11 15:45:09 +01:00
Davide De Rosa 7ecbd48e18 Do some project cleanup
- Update bundle
- Merge old CFG_* variables
- Drop useless Metal build settings
- Fix package warning about case
2021-11-11 15:06:43 +01:00
Davide De Rosa ae1aa1a268 Reorganize project with SwiftPM
- Drop CocoaPods completely
- Make PassepartoutCore a Swift package
- Enable Bitcode to fix OpenSSL linkage (iOS)
- Update CI scripts without CocoaPods
2021-11-06 11:18:55 +01:00
Davide De Rosa 28d7517497 Fix building for test targets 2021-10-10 18:34:21 +02:00
Davide De Rosa f6af9a3fb8 Bump build number 2021-10-05 20:48:26 +02:00
Davide De Rosa 40ab30365a Bump build 2021-10-05 08:01:13 +02:00
Davide De Rosa ca1adb424a Bump base build number 2021-10-01 19:42:45 +02:00
Davide De Rosa 6dc748ab87 Bump base build number 2021-10-01 10:48:56 +02:00
Davide De Rosa b0fff93c89 Update bundle/pods 2021-09-27 18:11:58 +02:00
Davide De Rosa d1a1b555f8 Rename to LocalProduct to avoid StoreKit clash
Started happening with Xcode 13.
2021-09-27 18:01:42 +02:00
Davide De Rosa dd7f144bb3 Move VPN.shared from TunnelKit to Core
Start moving legacy out of inner library.
2021-09-20 20:07:30 +02:00
Davide De Rosa 5cf593ed2b Move strings generation to Core
Also fix missing account guidance on iOS.
2021-08-09 10:06:09 +02:00
Davide De Rosa 0ebddc6a68 Drop unused app strings and redo SwiftGen
Prefix is now just L10n without strings filename.
2021-08-07 14:00:35 +02:00
Davide De Rosa 31cd5be376 Reuse generic guidance strings
Tell by credentials purpose (web or specific).
2021-07-30 17:58:27 +02:00
Davide De Rosa 6487d10cb9 Add missing translations 2021-04-16 16:29:20 +02:00
Davide De Rosa 394762f5d6 Restrict features with purchase screen
- Providers
- Trusted networks
2021-02-04 14:09:24 +01:00
Davide De Rosa e59b6c8723 Upgrade Xcode project 2021-02-04 14:09:09 +01:00
Davide De Rosa 7d2ece0256 Share ProductManager in Core with conditionals
In order to share purchase review logic.

Refactor verification of product eligibility
2021-02-04 14:03:47 +01:00
Davide De Rosa 21e9f5c8cc Integrate new in-app purchases
- Share iOS bundle identifier with macOS
- Remove unused macOS donations (reuse iOS if needed)
- Add platform-specific "Full version"
- Skip fetching of legacy providers IAP
2021-02-04 14:03:47 +01:00
Davide De Rosa dd3cac40c6 Bundle macOS app with iOS 2021-02-02 21:25:59 +01:00
Davide De Rosa 5978705aa9 Enable testing on app targets 2021-01-28 19:39:32 +01:00
Davide De Rosa 8e1c2aea32 Add it macOS translation 2021-01-26 18:05:56 +01:00
Davide De Rosa 9fa40f6ec6 Share configuration l10n in Descriptible 2021-01-13 08:20:10 +01:00
Davide De Rosa 5f83313b79 Bump base build number 2021-01-06 18:01:28 +01:00
Davide De Rosa 8d31bdc22f Fix Xcode version in CI
Xcode was 12 instead of 12.2 and therefore OpenSSL was failing on
Apple Silicon arch (MacOSX arm64).
2021-01-06 17:36:00 +01:00
Davide De Rosa 4c1fe20160 Upgrade Xcode project 2021-01-03 22:28:08 +01:00
Davide De Rosa d4b7d47498 Merge macOS app and Core into repository
Temporarily drop env and fastlane.
2021-01-03 22:28:07 +01:00
Davide De Rosa ed0b12cd24 Use environment for testing full version 2020-12-27 16:56:59 +01:00
Davide De Rosa 1213212332 Move ProductManager to Core 2020-12-27 16:56:25 +01:00
Davide De Rosa 6b2b3fc59f Drop stale schemes 2020-11-23 18:15:09 +01:00
Davide De Rosa 6b07e7eb9e Fix wrong deployment target (14.2 -> 12.0) 2020-11-21 19:05:29 +01:00
Davide De Rosa 2f42099bd0 Update project and deprecated APIs 2020-11-15 22:21:31 +01:00
Davide De Rosa 267119b0fd Fix overridden deployment targets 2020-11-15 17:42:21 +01:00
Davide De Rosa 4887c27816 Update TunnelKit with VPN manager 2020-06-23 09:54:39 +02:00
Davide De Rosa c033c208bd Upgrade project 2020-05-23 17:59:53 +02:00
Davide De Rosa c51e578e53 Upgrade Xcode project 2020-02-28 17:28:18 +01:00
Davide De Rosa 6159221d0b Add/update translations
Legitimate:

- es
- fr
- it
- pl
- ru
- zh-Hans
2019-12-11 12:28:03 +01:00
Davide De Rosa 28a7dcdcf7 Update providers via web service
Reload products after update. Always re-list products!

Had to fix web services in Convenience, completion handler not
invoked from main queue.
2019-11-28 11:34:01 +01:00
Davide De Rosa 97f458385c Update to API v3
- Dynamic providers
- Add index.json to API
2019-11-28 09:57:34 +01:00
Davide De Rosa 1fd2d18653 Refactor trusted networks code 2019-11-21 09:15:24 +01:00
Davide De Rosa 70783f9dda Reuse Credits from Convenience 2019-11-20 23:14:19 +01:00
Davide De Rosa 99da23de8e Simulate full version through scheme arguments 2019-11-19 23:38:04 +01:00
Davide De Rosa 41030d2d17 Prepare Info.plist for localization 2019-11-02 12:18:44 +01:00
Davide De Rosa a9065bf9b7 Move Flags from Core to app 2019-11-02 11:18:43 +01:00
Davide De Rosa 1e6c5ba91b Design purchase screen
- Required product
- Full version
- Restore purchases
2019-11-01 16:17:30 +01:00
Davide De Rosa e99cc3669d Add stubs for purchase screen
With macro for presenting it everywhere.
2019-10-31 09:36:08 +01:00
Davide De Rosa e62aae16fc Add new in-app purchases
- Rename Donation to Product accordingly
- Infer product from provider name
2019-10-30 15:21:37 +01:00
Davide De Rosa 5f3ebfd9fe Drop VersionViewController
Reuse from Convenience.
2019-10-28 09:53:32 +01:00
Davide De Rosa e0a9fadac4 Add server network screen 2019-10-23 11:59:30 +02:00
Davide De Rosa 68da29474b Refactor import logic into HostImporter
Cover the parsing steps + passphrase. Leave name and credentials
as is.
2019-10-22 23:03:46 +02:00
Davide De Rosa 1c537727cb Enforce 64-bit archs
Work around "Too many symbol files" warning.
2019-10-11 14:37:27 +02:00
Davide De Rosa aef0201b00 Revert strip symbols (who touched it?)
Raises "Too many symbols" issue when uploading to App Store Connect.
2019-10-11 13:38:12 +02:00
Davide De Rosa 2cd6677e16 Replace with Convenience entities
- About
- Alerts
- Dialogs
- InApp
- Reviewer
- SingleOptionViewController
- StrongTableModel
2019-10-11 12:43:05 +02:00
Davide De Rosa 4e6b9b358b Revert "Temporarily use automatic signing"
This reverts commit f3a8e4ae25.
2019-09-22 20:58:23 +02:00
Davide De Rosa f3a8e4ae25 Temporarily use automatic signing 2019-09-11 10:03:48 +02:00
Davide De Rosa c9f807babd Upgrade project to Xcode 11
Disable code signing for frameworks.
2019-09-11 10:03:48 +02:00
Davide De Rosa 3c62a967c9 Use TunnelKit 2.0.3
Had to update CocoaPods 1.6.0 to 1.7.5
2019-09-07 00:14:01 +02:00
Davide De Rosa f90a84f1a4 Reuse Issue from Core 2019-09-05 22:50:56 +02:00
Davide De Rosa 3b9e3879ca Move InAppHelper to Core 2019-08-16 00:24:05 +02:00
Davide De Rosa 2c3e19eec1 Add zh-Hans to project localizations
Forgotten as usual!
2019-08-11 16:01:10 +02:00
Davide De Rosa 57c23085fb Add Settings bundle to leverage language selector
New in iOS 13.

Fixes #90
2019-07-27 10:01:59 +02:00
Davide De Rosa 2e362bf553 Reuse Core extensions
- NetworkChoice.choices()
- OpenVPN.* available options
- ConnectionProfile.clientNetworkSettings
2019-06-23 00:17:37 +02:00
Davide De Rosa 282728ae1e Move app-related strings in
Move Core strings to app target.

SwiftGen uses same bundle by default. No problem because Core
does not (and should not) any string internally.
2019-06-23 00:11:56 +02:00
Davide De Rosa 0bb5f1d9c0 Remove again spurious pt-br 2019-06-19 15:12:42 +02:00
Davide De Rosa c6e54de869 Fix strict pt localization 2019-06-13 10:19:07 +02:00
Davide De Rosa 08b3230b2c Work around Xcode breaking l10n
Localized intents are imported incorrectly, with .strings
files separate from the .intentdefinition. HARD TO BELIEVE (not
so much with such a broken IDE), when this happens, everything
breaks, including Localizable.strings. For some obscure reason,
the English strings are still reachable.

Workaround:

- Import Intents.intentdefinition
- Remove Intents.strings from project (reference only)
- Re-enable each localization for Intents.intentdefinition
- When asked, select "Use file"

See dc2de46327
2019-05-28 08:41:24 +02:00
Davide De Rosa ff57e4fd2c Remove Core test target 2019-05-28 08:41:24 +02:00
Davide De Rosa 04a00fdb98 Remove spurious macOS framework 2019-05-28 08:41:24 +02:00
Davide De Rosa ef300e07d2 Fix Swift version globally 2019-05-28 07:01:49 +02:00
Davide De Rosa 0a21237a47 Fix missing es localization
Delete stale directory.
2019-05-28 06:54:04 +02:00
Davide De Rosa 0bdfc2313b Update pods 2019-05-27 00:15:51 +02:00
Davide De Rosa 6ef7a97098 Symlink to submodules
Easier to switch to other directories.
2019-05-27 00:14:14 +02:00
Davide De Rosa 6ec7785d31 Isolate future submodules
- API
- Core

Prepend API version prefix to bundle path.
2019-05-27 00:14:14 +02:00
Davide De Rosa dc2de46327 Reimport Passepartout Resources
Normalize localized intents.
2019-05-27 00:14:13 +02:00
Davide De Rosa 84eb9d09c4 Rename Core targets
Fix import in Core umbrella header.
2019-05-27 00:13:33 +02:00
Davide De Rosa e50ed97b3f Translate es application 2019-05-27 00:06:49 +02:00
Davide De Rosa 190eab152c Translate es intents 2019-05-26 21:52:05 +02:00
Davide De Rosa 641890f4ab Integrate fr localization 2019-05-26 08:35:43 +02:00
Davide De Rosa 60b967ee3a Make provisioning ids dynamic via .xcconfig 2019-05-25 18:29:10 +02:00
Davide De Rosa 4197a33ec8 Integrate sv localization 2019-05-25 10:02:09 +02:00