Commit Graph

341 Commits

Author SHA1 Message Date
Davide De Rosa
bb55bb9b0a Update infrastructures 2019-04-26 14:23:03 +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
807aca43fe Update infrastructures
Optimize ProtonVPN Secure Core rendering.
2019-04-26 10:30:40 +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
baf1996f58 Upgrade web services version 2019-04-25 23:20:07 +02:00
Davide De Rosa
b5679289ce Upgrade API to v2 (JSON) 2019-04-25 23:13:26 +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
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
ea5992f6ee Update translations metadata 2019-04-23 15:47:24 +02:00
Davide De Rosa
69515ee6a3 Add ru translations 2019-04-23 15:45:56 +02:00
Davide De Rosa
c68d6b44cc Add de translation 2019-04-23 14:35:29 +02:00
Davide De Rosa
1c8018c3d7
Fix pt strings case 2019-04-21 11:34:30 +02:00
Helder Santana
b8df071ec9 Add pt-br translation 2019-04-21 04:03:24 -04:00
Davide De Rosa
3b1b34f15c Detect missing VPN routing info 2019-04-19 09:55:26 +02:00
Davide De Rosa
6adabd19a4 Add missing translations 2019-04-17 09:37:11 +02:00
Davide De Rosa
6cc65eca41 Update infrastructures 2019-04-17 09:17:26 +02:00
Davide De Rosa
a6745ceec7 Move feedback section to main screen 2019-04-15 14:40:16 +02:00
Davide De Rosa
1d47650a16 Refine referrals 2019-04-15 13:44:07 +02:00
Davide De Rosa
a92a2a65c2 Update NordVPN link 2019-04-15 13:30:45 +02:00
Davide De Rosa
899b5301b9 Reuse none string in it 2019-04-13 19:28:42 +02:00
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
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
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
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
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
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
4add7a695c Migrate to Swift 5
Last time was probably incomplete.
2019-04-11 16:51:12 +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