Commit Graph

96 Commits

Author SHA1 Message Date
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