Commit Graph

505 Commits

Author SHA1 Message Date
Davide De Rosa 06d21067af Move full version first 2019-11-09 18:08:38 +01:00
Davide De Rosa 6e0ad83520 Replace full version description with bullets 2019-11-09 18:08:38 +01:00
Davide De Rosa ebb486b6de Move price out of product title 2019-11-09 18:08:38 +01:00
Davide De Rosa 21c9e160cb Reduce font in purchase screen 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 441b1059cf Ignore interaction if not eligible for shortcuts 2019-11-09 12:32:58 +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 7b8a40cddc Debug current interfaces in beta 2019-11-05 22:13:31 +01:00
Davide De Rosa c0e5db1ff0 Bump version 2019-11-05 22:07:38 +01:00
Davide De Rosa 7251761942 Delay HUD in purchase until appearance
Fixes vertical centering.
2019-11-04 19:43:04 +01:00
Davide De Rosa 46d4b147c8 Fix offset of proxy bypass domains 2019-11-04 12:07:22 +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 41030d2d17 Prepare Info.plist for localization 2019-11-02 12:18:44 +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 02d9d860b3 Use modern notification structure 2019-11-02 11:34:26 +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 1d7cdc7f19 Move trust actions to separate functions 2019-10-28 10:44:51 +01:00
Davide De Rosa 302e281399 Rename dismiss() to close() for consistency 2019-10-28 10:44:51 +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 b5710cd84b Use .current instead of Theme.current
Class name is redundant for static members.
2019-10-25 19:31:02 +02: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 b5b8ad7077 Hide DNS servers/domains if empty 2019-10-25 19:10:07 +02:00
Davide De Rosa d9788d93b6 Handle multiple domains in network settings 2019-10-25 19:10:07 +02:00
Davide De Rosa defda27835 Show multiple search domains in server network 2019-10-25 19:10:07 +02:00
Davide De Rosa 6ad44216fc Refactor single search domain to TunnelKit update 2019-10-25 19:10:06 +02:00
Davide De Rosa 5387f7c597 Use consistent case in pool subtitle 2019-10-23 18:53:27 +02:00
Davide De Rosa dfa711b335 Customize PAC in network settings 2019-10-23 13:08:04 +02:00
Davide De Rosa 18ff4b69a5 Revert Organizer on launch
Status in Organizer is wrong on first launch.
2019-10-23 12:03:41 +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 70a7bd02d7 Parse and import configuration URL from picker 2019-10-22 23:58:31 +02:00
Davide De Rosa 9bff8629b3 Present picker for .ovpn files
Do not auto-dismiss anymore if no imported files available.

XXX: use generic file types due to idiotic iOS 13 bug still unfixed.
2019-10-22 23:58:31 +02:00
Davide De Rosa a8f37cfd82 Add item to open configuration file 2019-10-22 23:58:31 +02:00
Davide De Rosa c034a6457c Show Organizer on launch (do not collapse)
Makes sure that service.delegate is always set to Organizer on
launch.
2019-10-22 23:47:19 +02:00
Davide De Rosa d550461c60 Deselect imported host row regardless 2019-10-22 23:04:39 +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 0c8ccd8cc3 Add FAQ link in Organizer (home) 2019-10-22 14:25:29 +02:00
Davide De Rosa edeec13ccb Mention FAQ on external file error message 2019-10-22 14:22:01 +02:00
Davide De Rosa 2ef67e73c3 Reword location access motivation 2019-10-22 09:35:06 +02:00
Davide De Rosa fdba9f3815 Auto-trust Wi-Fi only when requesting access
Delegate may invoked in other scenarios. Do nothing in that case.
2019-10-21 00:31:31 +02:00
Davide De Rosa 0893a686da Always deselect after add current Wi-Fi 2019-10-21 00:26:52 +02:00
Davide De Rosa 5ae4abf401 Externalize location alert strings 2019-10-21 00:20:04 +02:00
Davide De Rosa 9b96707d5b Improve interaction after changing location auth
- Auto-add Wi-Fi after granting location access
- Show alert when location access is denied

TODO: localize.
2019-10-21 00:18:16 +02:00
Davide De Rosa fbe7d776e7 Request location access for trusted networks
Policy changed in iOS 13.
2019-10-21 00:05:25 +02:00
Davide De Rosa 802a4a4586 Move trust current Wi-Fi to function 2019-10-20 23:55:37 +02:00
Davide De Rosa 11efab195a Fix NordVPN dark logo again
See c37bbf80f1
2019-10-17 19:30:49 +02:00
Davide De Rosa 1916b88243 Update Convenience for review URL 2019-10-11 18:10:23 +02:00
Davide De Rosa fc0d21a2ed Relax IP address keyboard
Sub-optimal due to illegal characters. Improve later.

Fixes #103
2019-10-11 13:48:41 +02:00
Davide De Rosa c37bbf80f1 Add NordVPN 3x logo for dark appearance 2019-10-11 13:01:17 +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 6118557bca Bump minor version 2019-09-24 17:18:48 +02:00
Davide De Rosa 7c532e94af Suppress warning on unused if let 2019-09-17 17:22:26 +02:00
Davide De Rosa 4bc35efcca Bump version 2019-09-17 17:18:37 +02:00
Davide De Rosa b2f8cc1513 Omit provider registration links 2019-09-13 22:17:43 +02:00
Davide De Rosa 47789132d9 Drop Patreon link 2019-09-11 09:26:30 +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 f0188a0a5c Pick rating event count back from Core 2019-09-05 17:56:56 +02:00
Davide De Rosa a8a8cdd027 Update Core 2019-09-05 12:04:29 +02:00
Davide De Rosa f59a0a34c7 Add rank and role to suppress upload warnings 2019-09-02 23:54:44 +02:00
Davide De Rosa 1838b0635f Broaden "Document Types" to handle all files
Mitigates iOS 13 "Imported UTIs" regression.
2019-09-02 23:37:43 +02:00
Davide De Rosa 54772a950e Drop .prefersLargeTitles. in split navigation bars
Caused a transparent navigation bar in iPadOS 13 regardless of
navigationItem.largeTitleDisplayMode in top view controllers.

This only happened when building against Xcode 11. Apps built with
10.x worked fine even on iOS 13.
2019-08-29 22:02:22 +02:00
Davide De Rosa 9ed83e3d2a Move rating count to app 2019-08-16 18:49:51 +02:00
Davide De Rosa 3b9e3879ca Move InAppHelper to Core 2019-08-16 00:24:05 +02:00
Davide De Rosa 8c676bd127 Bump version 2019-08-10 10:08:32 +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 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 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 1bead621fc Simplify commit of network settings 2019-07-03 18:16:18 +02:00
Davide De Rosa 60b60646d4 Move available providers to Core 2019-06-28 19:10:42 +02:00
Davide De Rosa b45479a733 Commit network settings in separate method 2019-06-28 12:01:00 +02:00
Davide De Rosa ab189025b9 Move ProfileNetworkChoices to Core 2019-06-28 10:53:24 +02:00
Davide De Rosa 50a458f151 Add missing LZO error handling 2019-06-28 10:23:52 +02:00
Davide De Rosa 3e1dc43684 Bump version 2019-06-23 23:49:18 +02:00
Davide De Rosa 40a7ac56f7 Move some strings to Core 2019-06-23 10:33:43 +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 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 4d81661cce Reuse V shortcut for cell strings 2019-06-20 20:57:35 +02:00
Davide De Rosa 03c0931190 Remove redundant community link 2019-06-13 10:33:36 +02:00
Davide De Rosa 514135804b Adjust to Core updates 2019-05-27 11:20:03 +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 7f5cd54f2f Bump version globally 2019-05-27 00:13:33 +02:00
Davide De Rosa 60b967ee3a Make provisioning ids dynamic via .xcconfig 2019-05-25 18:29:10 +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 aff371d500 Fix selected option for compression fields 2019-05-04 10:33:04 +02:00
Davide De Rosa a4cbbbc1aa Pick preset from pool supported presets only
Fixes #78
2019-05-02 13:08:24 +02:00
Davide De Rosa 7abd281c23 Retain network settings placeholder
Refines a05a016881
2019-05-01 23:29:52 +02:00
Davide De Rosa 25671e7442 Make compression framing/algorithm editable 2019-05-01 23:05:36 +02:00
Davide De Rosa a05a016881 Use none for network setting placeholders
Less confusing when disabled.
2019-05-01 23:00:28 +02:00
Davide De Rosa 5f0d4960a5 Cut 4 gateway checkmarks down to 2 toogles 2019-05-01 23:00:28 +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 634f34405b Only hide toolbar in debug log
Split view controller is shi**y enough not to handle navigation
bar properly on rotation.

When in compact mode, the navigation bar comes from the split
view controller. Hiding it and then going to regular (landscape),
will leave the master without the navigation bar and no way to
restore it.
2019-05-01 22:59:29 +02:00
Davide De Rosa 6ecf859a5e Add custom tap recognizer to text view
Stock gesture doesn't work on subview.
2019-05-01 22:59:29 +02:00
Davide De Rosa 16b8a44a30 Hide bars on tap within debug log view 2019-05-01 22:59:29 +02:00
Davide De Rosa b6d419beed Make outlet optional for safety 2019-05-01 22:59:28 +02:00
Davide De Rosa 6e46b4c94a Put debug toolbar into navigation controller 2019-05-01 22:59:28 +02:00
Davide De Rosa 6329c32903 Reuse shared cell values globally 2019-05-01 22:59:05 +02:00
Davide De Rosa 6f460031a2 Bump version 2019-05-01 22:59:05 +02:00
Davide De Rosa 006f1f0a25 Leave digest editable despite cipher
Fixes #74
2019-04-27 09:31:49 +02:00
Davide De Rosa ffb273ce23 Create GitHub section in About
Leave README and CHANGELOG untranslated.
2019-04-27 09:23:03 +02:00
Davide De Rosa b1cde74798 Refactor renamed strings 2019-04-26 18:28:01 +02:00
Davide De Rosa ba8afd9ad7 Move changelog/credits to About main screen 2019-04-26 18:23:07 +02:00
Davide De Rosa ebddbe9f4b Fix language sorting
Sorted by country, rendered by language.
2019-04-26 16:06:51 +02:00
Davide De Rosa d430e7c268 Add VyprVPN provider 2019-04-26 14:05:05 +02:00
Davide De Rosa 027bf82208 Store category groups as a list
Map complexity is of no use.

Update JSON (stub).
2019-04-26 13:48:26 +02:00
Davide De Rosa 1c868bf460 Sort categories by case-insensitive name 2019-04-25 23:59:37 +02:00
Davide De Rosa 381668ebed Prioritize pool sorting by num 2019-04-25 21:30:43 +02:00
Davide De Rosa a12cecb647 Fix Pool.secondaryId and use it for sorting
Account for extraCountries.
2019-04-25 21:30:43 +02:00
Davide De Rosa d9a0ebd923 Upgrade API to v2 (entities) 2019-04-25 21:30:43 +02:00
Davide De Rosa b3a509fbea Show default gateway policy in configuration UI 2019-04-25 15:30:23 +02:00
Davide De Rosa 458ef496fd Unlocalize some strings 2019-04-23 15:47:24 +02:00
Davide De Rosa 3b1b34f15c Detect missing VPN routing info 2019-04-19 09:55:26 +02:00
Davide De Rosa 351f5d92a5 Bump version 2019-04-17 22:29:09 +02:00
Davide De Rosa a6745ceec7 Move feedback section to main screen 2019-04-15 14:40:16 +02:00
Davide De Rosa 5d7d20403b Fix missing icon in Credits
After broken Xcode externalization. What the HELL?
2019-04-14 17:06:01 +02:00
Davide De Rosa b65db8d42f Use translation language, not country 2019-04-13 18:51:54 +02:00
Davide De Rosa b6d7655b6d Add translations to Credits 2019-04-13 18:45:33 +02:00
Davide De Rosa 6aa3ec2e76 Show proxy servers in configuration 2019-04-13 09:30:53 +02:00
Davide De Rosa cf8f0984a3 Cache pool models, do not rebuild each time
Invalidate on new infrastructure.
2019-04-11 23:38:16 +02:00
Davide De Rosa d264c0089d Pick random server number on simple selection 2019-04-11 23:38:16 +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 2f09a41d06 Stop to download additional provider resources 2019-04-11 19:01:55 +02:00