Commit Graph

976 Commits

Author SHA1 Message Date
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
Davide De Rosa 4ea91f783b Improve keywords 2019-04-09 11:11:58 +02:00
Davide De Rosa fca1aee73e Use form sheet presentation in more vcs
- Shortcuts
- Mail composers

BEWARE: viewDidAppear is NOT called, move code to dismiss callback.
2019-04-09 11:01:11 +02:00
Davide De Rosa f630087ba8 Update release notes 2019-04-09 11:01:11 +02:00
Davide De Rosa 88d6a7aa37 Merge CHANGELOG into 1.4.0 2019-04-09 10:26:24 +02:00
Davide De Rosa d05e49104e Set beta release 2019-04-08 23:54:38 +02:00
Davide De Rosa ccf738cf93 Fix Mullvad keep-alive interval
Typo in infrastructure. 60 -> 10 seconds.

Fixes #62
2019-04-08 23:54:05 +02:00
Davide De Rosa 0a82d2bcaa Merge branch 'donations-progress-indicators' 2019-04-08 23:06:04 +02:00
Davide De Rosa ffc85ed59c Add missing translations 2019-04-08 23:05:26 +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 84c5493348 Remap donations to local RowType
Allow different cells easily.
2019-04-08 22:59:24 +02:00