Commit Graph

35 Commits

Author SHA1 Message Date
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 7be724fb53 Fix sharing links
- Fix AlternativeTo URL
- Drop ProductHunt
2021-02-04 15:57:14 +01:00
Davide De Rosa d613c17ac9 Restrict trusted networks in ConnectionService 2021-02-04 14:09:24 +01:00
Davide De Rosa d788140e47 Ignore macOS FULL_VERSION argument
Quite a stupid way to let one work around in-app restrictions.
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 e8c91fe00c Adjust provider popups to country groups
- Use "Default" for no-area pools (count > 1)
- Otherwise, omit area selector (count == 1)
2021-01-03 22:28:11 +01:00
Davide De Rosa 038281b19c Take area out of PoolGroup
Retain in Pool only, do not contribute to group keying.
2021-01-03 22:28:11 +01:00
Davide De Rosa 9a360c3acf Merge GitHub URLs 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