Commit Graph

305 Commits

Author SHA1 Message Date
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
baf1996f58 Upgrade web services version 2019-04-25 23:20:07 +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
3b1b34f15c Detect missing VPN routing info 2019-04-19 09:55: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
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
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
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
3309fd747f Lock donation controller if no payment method 2019-04-09 11:17:31 +02:00
Davide De Rosa
db6aa10590 Show activity when purchasing donation 2019-04-08 23:05:26 +02:00
Davide De Rosa
1a7f2d745b Show activity when loading donations 2019-04-08 22:59:24 +02:00
Davide De Rosa
f2841827fc Say "Thank you" in donation success alert title 2019-04-07 17:13:39 +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
fadc5266fc Add trailing space to email templates 2019-04-07 16:30: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
64e00fdadd Improve pool name in MoveToLocation intent 2019-04-07 16:03:25 +02:00
Davide De Rosa
94191a4b6b Add/fix missing translations
Order matters.
2019-04-07 16:00:02 +02:00