Commit Graph

1187 Commits

Author SHA1 Message Date
Davide De Rosa fd9a165817 Use Locale for country names too
I hadn't thought it before!
2019-04-13 18:55:45 +02:00
Davide De Rosa d64df68f8f Merge branch 'credit-translators' 2019-04-13 18:55:22 +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 ba68b06fc1 Fix a glitch with HTTP proxy 2019-04-13 17:56:04 +02:00
Davide De Rosa 198d320aae Set beta release 2019-04-13 09:33:10 +02:00
Davide De Rosa 6aa3ec2e76 Show proxy servers in configuration 2019-04-13 09:30:53 +02:00
Davide De Rosa 9a6d6c009e Refine GitHub link stripping 2019-04-12 23:24:43 +02:00
Davide De Rosa 99cd09bce4 Set beta release 2019-04-12 23:22:56 +02:00
Davide De Rosa 03844964fc Add support for dhcp-option PROXY_HTTP[S] 2019-04-12 22:41:41 +02:00
Davide De Rosa 257f62e136 Merge branch 'optimize-pool-caching' 2019-04-11 23:38:45 +02:00
Davide De Rosa ddb0c38860 Add comments about the need of cache LRU 2019-04-11 23:38:16 +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 7a4ec7364f
Merge pull request #65 from passepartoutvpn/integrate-nordvpn
Integrate NordVPN
2019-04-11 23:37:23 +02:00
Davide De Rosa 269143c369 Update CHANGELOG and the like 2019-04-11 23:35:29 +02:00
Davide De Rosa 8a81ad8f72 Update NordVPN infrastructure
- Pick default pool by country e.g. "us" rather than "us-123"
- Drop overwhelming resolved addresses

Required changes:

- Assume default pool id to be a prefix
- Make Pool addresses optional
2019-04-11 21:14:56 +02:00
Davide De Rosa e0c8b478bb Unzip NordVPN external resources to cache 2019-04-11 19:11:08 +02:00
Davide De Rosa 2088795a9c Add NordPVN provider 2019-04-11 19:11:03 +02:00
Davide De Rosa cbbf136d10 Merge branch 'use-external-infra-certs' 2019-04-11 19:02:08 +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
Davide De Rosa 0507b8324a Prepare infrastructures to import an external URL 2019-04-11 18:09:03 +02:00
Davide De Rosa 922a715bfd Inject external resources into configuration 2019-04-11 18:05:53 +02:00
Davide De Rosa 8373fc3975 Signal externally loaded preset resources
Via "external" array. The following fields can be external:

- CA
- Client certificate/key
- TLS key

Make CA therefore optional in preset.
2019-04-11 18:05:53 +02:00
Davide De Rosa b4c6bfb8de Fix Xcode warnings and deprecations 2019-04-11 16:56:38 +02:00
Davide De Rosa 2b3600bd0d Update TunnelKit 2019-04-11 16:52:40 +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 60259a2fb9 Base profile selection on ConnectionProfile
Rather than cells, which relies on cell visibility. Drop ugly
selection segue.

Fixes #63
2019-04-11 15:52:24 +02:00
Davide De Rosa 867f5370c5 Bump version 2019-04-11 15:36:25 +02:00
Davide De Rosa c23919cf69 Fix masking preference not retained
Fixes #64
2019-04-11 15:33:02 +02:00
Davide De Rosa fe2b03fe34 Set release date 2019-04-11 14:31:18 +02:00
Davide De Rosa 1d91e484b9 Add parameter to list untranslated 2019-04-11 14:30:18 +02:00
Davide De Rosa 4bb535be6d Update it release notes (incomplete) 2019-04-10 16:56:41 +02:00
Davide De Rosa c91a200e13 Set beta release 2019-04-10 16:53:53 +02:00
Davide De Rosa 2e305b4e82 Merge branch 'add-vpn-status-shortcut' 2019-04-10 16:51:25 +02:00
Davide De Rosa 5aadde5065 Enter active profile on VPN status selection
Rename selectedIndexPath to activeIndexPath.
2019-04-10 16:51:05 +02:00
Davide De Rosa 91b4992790 Show VPN status on top of organizer 2019-04-10 16:49:49 +02:00
Davide De Rosa c598011abc Skip scrolling to active profile 2019-04-10 16:49:43 +02:00
Davide De Rosa ff8d57e9f0 Fix selectedIndexPath with generic section indexes 2019-04-10 16:49:32 +02:00
Davide De Rosa 489229b1eb Fix nil pool for renamed/removed ids
Would crash on connect otherwise.
2019-04-10 16:28:13 +02:00
Davide De Rosa 414e876ace Fix Windscribe case in infra
Broken in c8b9ad0
2019-04-10 16:25:51 +02:00
Davide De Rosa 89d259e27d Sort Pool only when listed as Options
Normally it's PoolGroup who needs sorting.
2019-04-10 15:31:14 +02:00
Davide De Rosa 12597d34b3 Override hostname with profile value
Now that TunnelKit uses sessionConfiguration.hostname to set
.serverAddress, it must be set no matter what.

If hostname is nil, serverAddress is set to
resolvedAddresses.first, which for host profiles is always nil.

Also reorder provider code.
2019-04-10 15:13:31 +02:00
Davide De Rosa c8b9ad0cae Update infrastructures 2019-04-09 20:47:08 +02:00
Davide De Rosa 89d7c6924d Make hostname optional in provider pool
E.g. ProtonVPN SecureCore servers don't provide a hostname.
2019-04-09 20:47:08 +02:00
Davide De Rosa bce7442ad1 Sort pool groups by localized country/area 2019-04-09 19:14:06 +02:00
Davide De Rosa 20fb1b248f Sync ASC metadata 2019-04-09 13:22:51 +02:00
Davide De Rosa 3309fd747f Lock donation controller if no payment method 2019-04-09 11:17:31 +02:00