Commit Graph

174 Commits

Author SHA1 Message Date
Davide De Rosa 99da23de8e Simulate full version through scheme arguments 2019-11-19 23:38:04 +01:00
Davide De Rosa bacd510345 Create modal presentation theme 2019-11-19 23:20:22 +01:00
Davide De Rosa 39ff0e3093 Drop redundant title themes 2019-11-19 23:17:55 +01:00
Davide De Rosa 1578b82beb Refine in-app related strings
XXX: Google Translate
2019-11-19 23:13:00 +01:00
Davide De Rosa 4ee56d8e7b Clean up IAP receipt loop 2019-11-09 18:29:50 +01:00
Davide De Rosa 2c6033f20a Translate new strings
XXX: Google Translate
2019-11-09 18:17:34 +01:00
Davide De Rosa 6e0ad83520 Replace full version description with bullets 2019-11-09 18:08:38 +01:00
Davide De Rosa 7510839804 Add important clarifications below paid products 2019-11-09 18:08:38 +01:00
Davide De Rosa 63bd33aa4e Iterate feature-based products 2019-11-09 18:08:38 +01:00
Davide De Rosa e704c7fe6c Reinstant hide deleted profile after review
Also, viewWillAppear() is too early. If profile deletion happens
on launch, ServiceVC will not be aware of the change until
viewDidAppear().
2019-11-09 13:21:37 +01:00
Davide De Rosa 495e714737 Revert refunded features on launch 2019-11-09 12:53:36 +01:00
Davide De Rosa 2d0680db54 Handle cancellationDate when parsing features 2019-11-09 12:18:31 +01:00
Davide De Rosa 08ff3d01dc Attach provider info to connectivity issue 2019-11-07 15:14:09 +01:00
Davide De Rosa 05dd40939d Move some flags into app 2019-11-04 10:05:38 +01:00
Davide De Rosa 72d8ffb8f6 Add forgotten "Add domain" string
XXX: Google Translate
2019-11-02 17:48:52 +01:00
Davide De Rosa c8e06faaaa Add in-app translations
XXX: Google Translate before real translators.
2019-11-02 17:48:52 +01:00
Davide De Rosa 3046f0a6a8 Add new translations
XXX: patch late with Google Translate

- de
- fr
- ru
- zh-Hans
2019-11-02 17:48:48 +01:00
Davide De Rosa 0b23f011c4 Add specific flag to assume full version in beta
To skip in-app testing.
2019-11-02 11:46:16 +01:00
Davide De Rosa c938023483 Infer beta build from App Store receipt URL 2019-11-02 11:42:33 +01:00
Davide De Rosa f9093715a8 Reload affected tables on reload receipt 2019-11-02 11:28:35 +01:00
Davide De Rosa ebbcaa674b Restrict "Feedback" sections to beta/paying users
Act as a rudimental spam filter.
2019-11-02 11:21:32 +01:00
Davide De Rosa 14edeab889 Fix license header 2019-11-02 11:19:16 +01:00
Davide De Rosa a9065bf9b7 Move Flags from Core to app 2019-11-02 11:18:43 +01:00
Davide De Rosa 5a7adf0721 Interpret originalAppVersion as build number 2019-11-01 16:17:30 +01:00
Davide De Rosa b77f677671 Present purchase as full screen 2019-11-01 16:17:30 +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 6e46757d99 Verify feature/provider eligibility
Limit hosts to 2.
2019-10-31 09:36:09 +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 f936cffe5e Finish up ProductManager implementation
- Reload receipt on updated transactions (e.g. promo code)
- Implement restore purchases (refresh receipt before restoring)
2019-10-31 09:35:58 +01:00
Davide De Rosa 026a94065c Read features from app store receipt
- Use Kvitto to parse App Store receipt
- Infer feature/provider eligibility from features
- Assume full version in beta
- Read receipt even if no products were purchased
2019-10-31 09:32:25 +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 aea5dc330c Reuse delay() function as global macro 2019-10-28 09:55:18 +01:00
Davide De Rosa 5f3ebfd9fe Drop VersionViewController
Reuse from Convenience.
2019-10-28 09:53:32 +01:00
Davide De Rosa 03649b56f3 Use theme accent for cell checkmarks
Probably a regression after Convenience integration.
2019-10-25 19:31:01 +02:00
Davide De Rosa d9788d93b6 Handle multiple domains in network settings 2019-10-25 19:10:07 +02:00
Davide De Rosa e0a9fadac4 Add server network screen 2019-10-23 11:59:30 +02:00
Davide De Rosa 458041bdc8 Add cells to disclose server settings
TODO: server network.
2019-10-23 11:19:00 +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 edeec13ccb Mention FAQ on external file error message 2019-10-22 14:22:01 +02:00
Davide De Rosa 5ae4abf401 Externalize location alert strings 2019-10-21 00:20:04 +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 95f5ae8733 Comply with iOS 13 Dark Mode
Fixes #93
2019-09-11 09:25:02 +02:00
Davide De Rosa f90a84f1a4 Reuse Issue from Core 2019-09-05 22:50:56 +02:00
Davide De Rosa a8a8cdd027 Update Core 2019-09-05 12:04:29 +02:00
Davide De Rosa 3b9e3879ca Move InAppHelper to Core 2019-08-16 00:24:05 +02:00
OnlyThen cea4aad60f Add Simplified Chinese Translaion 2019-08-10 11:26:47 +08:00
Davide De Rosa d6fc6a2f47 Comment Dark Mode themes out
Dark Mode cannot be enabled until iOS 13 release, because the
App Store rejects binaries built with Beta SDKs.

Uncomment when rebuilding with iOS 13 SDK.

See #93
2019-07-28 17:08:43 +02:00
Davide De Rosa 4c591fc6f4 Adjust theme to future iOS 13 Dark Mode
Update provider logos where adequate:

- NordVPN (use white on dark)
- ProtonVPN (use green)
2019-07-28 17:06:34 +02:00
Davide De Rosa f543b0d753 Do not delete imported host on error
Could be an app bug or something to be implemented in the future.
2019-07-08 08:44:54 +02:00
Davide De Rosa 41ed10e76e Fall back to mailto URL when no email account
Useful with third party mail apps.
2019-07-05 11:11:22 +02:00
Davide De Rosa ac071cf6ec Move "Reconnect" string to Core 2019-07-04 10:50:14 +02:00
Davide De Rosa 50a458f151 Add missing LZO error handling 2019-06-28 10:23:52 +02:00
Davide De Rosa 40a7ac56f7 Move some strings to Core 2019-06-23 10:33:43 +02:00
Davide De Rosa 42e2c83eb5 Move platform-specific extensions around 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 84eb9d09c4 Rename Core targets
Fix import in Core umbrella header.
2019-05-27 00:13:33 +02:00
Davide De Rosa 87527ed290 Upgrade to TunnelKit 2.0
Major reorganization. No changes in logic.

Rename by_* to pod_*.
2019-05-25 18:29:10 +02:00
Davide De Rosa f546ca33ae Update TunnelKit with gateway fixes 2019-05-11 17:43:30 +02:00
Davide De Rosa c6fbdca342 Move network settings to ad-hoc screen
Can now set gateway/DNS/proxy settings explicitly.

- Read from .ovpn (hosts only)
- Pull from server (PUSH_REPLY)
- Set manually
2019-05-01 23:00:28 +02:00
Davide De Rosa ba8afd9ad7 Move changelog/credits to About main screen 2019-04-26 18:23:07 +02:00
Davide De Rosa d9a0ebd923 Upgrade API to v2 (entities) 2019-04-25 21:30:43 +02:00
Davide De Rosa 3b1b34f15c Detect missing VPN routing info 2019-04-19 09:55:26 +02:00
Davide De Rosa 2088795a9c Add NordPVN provider 2019-04-11 19:11:03 +02:00
Davide De Rosa 8203bc99f8 Import downloaded resources into provider cache
Show message in HUD while extracting files
2019-04-11 19:01:59 +02:00
Davide De Rosa 35605ba89f Download resource with progress HUD 2019-04-11 19:01:59 +02:00
Davide De Rosa 4add7a695c Migrate to Swift 5
Last time was probably incomplete.
2019-04-11 16:51:12 +02:00
Davide De Rosa fca1aee73e Use form sheet presentation in more vcs
- Shortcuts
- Mail composers

BEWARE: viewDidAppear is NOT called, move code to dismiss callback.
2019-04-09 11:01:11 +02:00
Davide De Rosa bb299335ad Add activity cell 2019-04-08 22:59:24 +02:00
Davide De Rosa b745e37671 Drop redundant color prefix in Palette fields 2019-04-08 22:45:46 +02:00
Davide De Rosa e68c46d729 Set email subjects statically
App name is constant.
2019-04-07 16:56:38 +02:00
Davide De Rosa 77ce52ac33 Do not localize email templates
Risk is not understanding them!
2019-04-07 16:30:38 +02:00
Davide De Rosa d13f813236 Add email template to offer as translator 2019-04-07 16:20:15 +02:00
Davide De Rosa 70863da4ab Add method to purchase a product 2019-04-07 15:29:10 +02:00
Davide De Rosa 724a4bc10a Request products in separate class 2019-04-07 15:29:10 +02:00
Davide De Rosa 26453f9612 Add donation view controller 2019-04-07 15:29:10 +02:00
Davide De Rosa 895c19328e Add in-app donation identifiers 2019-04-07 15:29:10 +02:00
Davide De Rosa 920c704359 Externalize About storyboard 2019-04-07 08:52:16 +02:00
Davide De Rosa 36ee076c9c Add ProtonVPN provider 2019-04-06 20:25:26 +02:00
Davide De Rosa 6503e3e015 Scroll to selected option 2019-04-06 16:20:01 +02:00
Davide De Rosa 03dd33852b Drop OptionViewControllerDelegate, use blocks 2019-04-06 16:20:01 +02:00
Davide De Rosa 00a4fe9a74 Fix SwiftGen after Countries -> Flags 2019-04-05 16:12:56 +02:00
Davide De Rosa 7d417e14ee Add pool country flags 2019-04-05 11:59:39 +02:00
Davide De Rosa b9de756253 Move provider logos to own assets 2019-04-05 10:17:29 +02:00
Davide De Rosa f97b8447d9 Show provider logos in Organizer and Wizard 2019-04-05 00:52:36 +02:00
Davide De Rosa 97db759242 Drop empty space between Account sections
Reuse code for heightForHeader.
2019-04-04 19:53:41 +02:00
Davide De Rosa ab5517dcba Rename ParsingResult to Result
From ConfigurationParser in TunnelKit.
2019-04-04 19:26:08 +02:00
Davide De Rosa 1904687a22 Upgrade to TunnelKit 1.6.0
- Make cipher/digest/compressionFraming optional
- Move endpointProtocols inside SessionProxy.Configuration
- Rename OptionsError to ConfigurationError
2019-04-04 19:03:53 +02:00
Davide De Rosa ae88fdfad6 Rename shortcut manager vc 2019-03-27 22:09:08 +01:00
Davide De Rosa d5b7a1e576 Show existing Siri shortcuts as first controller 2019-03-27 21:08:51 +01:00
Davide De Rosa baff0435e8 Mask encryption passphrase input 2019-03-26 11:23:49 +01:00
Davide De Rosa f3e6c34bd1 Customize block on passphrase input cancellation
Do not delete .ovpn file when importing from iTunes.
2019-03-25 20:33:17 +01:00
Davide De Rosa 8f0e28e315 Forward input passphrase to parser 2019-03-25 20:33:17 +01:00
Davide De Rosa dc81356b31 Retry import after passphrase input
Isolate .ovpn parsing routines.

- AppDelegate (external URL)
- ImportedHosts

Only delete URL if error is not encryption passphrase.
2019-03-25 20:33:07 +01:00
Davide De Rosa 15602f7dc9 Pick profile/location for connection intent
- Host: ConnectVPN intent
- Provider: requires Pool selection
2019-03-18 22:13:36 +01:00
Davide De Rosa 1c103c639d Add shortcuts view controller stub 2019-03-18 20:54:47 +01:00
Davide De Rosa 5237aa3916 Import Core framework into iOS target 2019-03-18 11:52:19 +01:00
Davide De Rosa cf499739f7 Export SwiftGen strings as public
Required as part of an external framework.
2019-03-18 11:19:24 +01:00
Davide De Rosa 7a21338042 Update copyright 2019-03-09 11:44:44 +01:00
Davide De Rosa f335440800 Shut down if server pushes a compression directive 2019-02-25 23:13:12 +01:00
Davide De Rosa 534f1e2094 Show activity indicator while loading license 2018-12-04 10:34:38 +01:00