Commit Graph

36 Commits

Author SHA1 Message Date
Davide De Rosa de2b689436 Drop unused variable 2021-10-17 13:11:20 +02:00
Davide De Rosa 7287fb33c8 Allow Oeck provider without purchase 2021-10-14 19:12:48 +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 83b6adbf86 Fix crash on in-app purchase
Concurrency issue. Purchase is however credited after app relaunch.
2021-07-20 00:27:18 +02:00
Davide De Rosa c1f169b239 Upgrade Xcode project and TunnelKit 2021-06-26 09:55:00 +02:00
Davide De Rosa a41aa6d35e Prevent multi-platform purchase when redundant 2021-02-07 15:28:30 +01:00
Davide De Rosa 96189b410f Review product bullets
- Show features in platform
- Show iOS/macOS in multiplatform

Drop dashes in iOS.
2021-02-07 15:20:37 +01:00
Davide De Rosa c9577eb3fd Add dummy "All providers" purchase 2021-02-07 15:20:18 +01:00
Davide De Rosa 9d0bddfc3c Ack single features on iOS only 2021-02-07 15:20:04 +01:00
Davide De Rosa 5c1dd22b96 Simplify feature eligibility 2021-02-07 15:13:37 +01:00
Davide De Rosa d76a248bd0 Make full version check for old builds nicer 2021-02-05 18:47:32 +01:00
Davide De Rosa 22a80014ba Extend beta conditions
Full version in beta and locked features are not exclusive.

Never consider macOS in beta (may accidentally unlock features).
2021-02-05 17:20:51 +01:00
Davide De Rosa 1180590f40 Fix conditions for trusted networks and feedback
Wrong on macOS.
2021-02-05 16:55:39 +01:00
Davide De Rosa 4ebcfc207b Consider old purchases as full iOS version 2021-02-05 16:54:55 +01:00
Davide De Rosa d613c17ac9 Restrict trusted networks in ConnectionService 2021-02-04 14:09:24 +01:00
Davide De Rosa 3fb1a607cf Extend features retrieval with excluding filter 2021-02-04 14:08:04 +01:00
Davide De Rosa 9566bac598 Fix bad callback thread in restore purchases 2021-02-04 14:04:32 +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 5b4d406ccf Only drop features if refunded
Retain existing providers and trusted networks in beta.
2021-01-29 21:31:27 +01:00
Davide De Rosa 371ec47af2 Update TunnelKit with simpler password reference 2021-01-27 02:17:45 +01:00
Davide De Rosa 7ef789db91 Make "Confirm quit" a preference 2021-01-26 20:42:14 +01:00
Davide De Rosa 7763e368b9 Implement DNS protocol in network settings
Hide HTTPS/TLS before iOS 14 and macOS 11.

Fixes #91
2021-01-22 21:07:00 +01:00
Davide De Rosa 0b0a95d6df Fix missing propagation of serviceDelegate
See 170d089a44
2021-01-11 21:40:02 +01:00
Davide De Rosa 17e3ce9540 Allow full version in beta via scheme
Beta was restricted even in development.
2021-01-10 14:44:26 +01:00
Davide De Rosa 81bc2a7ebd Support OpenVPN 2.5 --data-ciphers
When present, pick cipher among available data ciphers from
configuration, rather than all recognized ciphers.

Reorder available ciphers by decreasing "security".
2021-01-10 10:27:10 +01:00
Davide De Rosa 8313cc9497 Delegate profile updates internally 2021-01-08 18:57:15 +01:00
Davide De Rosa 170d089a44 Add ConnectionProfile.serviceDelegate
Requires explicit CodingKey to skip field serialization.

Waiting for @transient or the like.
2021-01-08 18:57:15 +01:00
Davide De Rosa d1cb70a5d9 Lock features with alert if beta 2021-01-08 15:07:57 +01:00
Davide De Rosa cc8c01a13a Disable providers and features in beta 2021-01-07 23:50:57 +01:00
Davide De Rosa a7fc4dcc39 Drop hosts restriction
Makes "Unlimited hosts" in-app useless.
2021-01-07 23:50:49 +01:00
Davide De Rosa 7b87f4247c Retain legacy MTU across iOS update
Enforce 1200 (formerly 1250). If and only if unset.

Defaulting to standard MTU (1500) without notice, may break
connectivity for some existing users.
2021-01-04 23:40:49 +01:00
Davide De Rosa 6e640bee06 Do not delete "corrupt" profiles
Retain to possibly restore on upgrade.
2021-01-04 08:59:12 +01:00
Davide De Rosa ed8acb619f Discard old migration code 2021-01-03 22:28:11 +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