Commit Graph

65 Commits

Author SHA1 Message Date
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
b61906c32f Handle Pool.resolved to use external hostname 2019-04-26 10:15:24 +02:00
Davide De Rosa
94a717befa Fix Pool.localizedId 2019-04-25 23:56:25 +02:00
Davide De Rosa
bd29b6d6f0 Split external configuration read and injection
For reuse in Pool.addresses
2019-04-25 22:25:54 +02:00
Davide De Rosa
547c669e81 Inject external provider pool hostname 2019-04-25 22:25:54 +02:00
Davide De Rosa
990a0f033a Append tags to Pool.secondaryId 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
2d40213625 Drop old Pool.name 2019-04-25 18:32:29 +02:00
Davide De Rosa
04c2191e83 Migrate profiles routing policies
- Providers: enforce all (IPv4 + IPv6)
- Hosts: re-read .ovpn on app update, fall back to all (safer)

Reload hosts in order to re-interpret "redirect-gateway".
2019-04-25 15:40:40 +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
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
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
4add7a695c Migrate to Swift 5
Last time was probably incomplete.
2019-04-11 16:51:12 +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
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
64e00fdadd Improve pool name in MoveToLocation intent 2019-04-07 16:03:25 +02:00
Davide De Rosa
2bc7c031c2 Fix enum case 2019-04-06 20:33:18 +02:00
Davide De Rosa
36ee076c9c Add ProtonVPN provider 2019-04-06 20:25:26 +02:00
Davide De Rosa
5bb3a49a84 Disclose if poolGroup is > 1
List pool server numbers and pop to delegate.
2019-04-06 16:46:38 +02:00
Davide De Rosa
97a72c7c02 Create PoolGroup for logical country/area grouping
When multiple nums (#) exist within a group.
2019-04-06 16:20:01 +02:00
Davide De Rosa
8fd5a74dc4 Show AreaID (Area + Num) in pool selector
Rename localizedCountryArea to localizedId.
2019-04-06 16:19:34 +02:00
Davide De Rosa
451ab07796 Use subtitle cell in pools 2019-04-05 12:06:26 +02:00
Davide De Rosa
ac713bebda Present DNS domain in configuration UI
Fixes #48
2019-04-04 19:11:55 +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
092789a388 Fix path to infrastructure caches
Fixes #54
2019-04-02 09:54:03 +02:00
Davide De Rosa
a98ddbb224 Add Windscribe provider 2019-04-01 09:55:57 +02:00
Davide De Rosa
895b375741 Parse EKU validation from preset 2019-03-26 00:41:51 +01:00
Davide De Rosa
ecf9fece0f Parse compression from infra preset 2019-03-26 00:41:51 +01:00
Davide De Rosa
34fc10eef8 Split guidance and referral footers
Handle tap per footer.
2019-03-25 20:26:03 +01:00
Davide De Rosa
65b6cdccbf Parse server num and free bit 2019-03-25 20:07:46 +01:00
Davide De Rosa
838f097d65 Parse TLSWrap from infra preset "wrap" 2019-03-25 20:03:58 +01:00
Davide De Rosa
e00a7f60ce Update TunnelKit for --remote-random 2019-03-25 20:03:58 +01:00
Davide De Rosa
54f7779c45 Add Mullvad provider 2019-03-22 19:29:55 +01:00
Davide De Rosa
dacd5653b4 Make localizedName a subordinate method
To reuse localizedCountryArea for sorting regardless of display.
2019-03-21 22:21:42 +01:00
Davide De Rosa
42f64db0b7 Localize pools consistently 2019-03-21 22:21:42 +01:00
Davide De Rosa
15f23dd448 Retain Pool.name internally but show .localizedName
Use name from API if available (XXX: not localized).

Make it private to avoid unintended use in app.
2019-03-21 22:21:42 +01:00
Davide De Rosa
3eb9c6ae98 Localize Pool via country code + area 2019-03-21 22:21:42 +01:00
Davide De Rosa
f661008679 Make framework internal components public 2019-03-18 11:50:52 +01:00
Davide De Rosa
d983362815 Use relative bundle to locate URL in framework 2019-03-18 11:19:24 +01:00
Davide De Rosa
8ede1ed3d4 Use App Group container for documents and caches 2019-03-11 10:05:54 +01:00
Davide De Rosa
7a21338042 Update copyright 2019-03-09 11:44:44 +01:00
Davide De Rosa
c5c670b086 Add TunnelBear provider 2019-03-05 23:02:22 +01:00
Davide De Rosa
68b9cf0fdf Convert bundled API to a folder reference
Create intermediate directory for cached infrastructure.
2019-02-23 11:18:31 +01:00