Commit Graph

438 Commits

Author SHA1 Message Date
Davide De Rosa 787c7a72bf Add fr translations 2019-05-26 08:35:11 +02:00
Davide De Rosa 60b967ee3a Make provisioning ids dynamic via .xcconfig 2019-05-25 18:29:10 +02:00
Davide De Rosa 87527ed290 Upgrade to TunnelKit 2.0
Major reorganization. No changes in logic.

Rename by_* to pod_*.
2019-05-25 18:29:10 +02:00
Davide De Rosa f83be0a441 Fix spurious spaces in % parameters in sv 2019-05-25 10:14:26 +02:00
Henry Gross-Hellsen 7913c83e91 Add Swedish localisation 2019-05-24 16:10:37 -10:00
Davide De Rosa 27758bd09c Fix space between \ and " 2019-05-21 15:42:01 +02:00
Davide De Rosa 2dd8e5613a Integrate el localization
Shorten app subtitle for char limit.
2019-05-21 15:35:11 +02:00
Davide De Rosa 68c9bd0022 Fix illegal closing quote ” in .strings 2019-05-20 15:01:38 +02:00
Davide De Rosa 40d728a8a0 Fix missing nl phrases 2019-05-20 14:54:50 +02:00
Davide De Rosa 15f6808dba
Merge pull request #81 from paxpacis/nl-NL
First version of translation to Dutch/Nederlands
2019-05-19 21:21:59 +02:00
Davide De Rosa 00a7dba8d8 Set release date
Drop more unused strings.
2019-05-19 21:10:28 +02:00
paxpacis dfc778cb9e First version of translation to Dutch/Nederlands 2019-05-19 20:44:16 +02:00
Davide De Rosa f585729375 Drop unused strings 2019-05-18 12:33:21 +02:00
Davide De Rosa 42fba9f4c5 Add pt translations
Google Translate + common sense.
2019-05-18 12:27:56 +02:00
Davide De Rosa 11b966e9da Add ru translations
Google Translate.
2019-05-18 12:02:42 +02:00
Davide De Rosa cfaca12021 Add de translations 2019-05-18 11:51:39 +02:00
Davide De Rosa e07676d565 Add it translations 2019-05-18 11:51:39 +02:00
Davide De Rosa b1e2d60f37 Make connect rule interface explicit
Shouldn't make a difference but you never know with iOS.
2019-05-17 17:21:30 +02:00
Davide De Rosa a17a3f7e48 Sort constants alphabetically (case-insensitive) 2019-05-17 13:15:55 +02:00
Davide De Rosa c8066e8e27 Remove 'slower' from PIA 256-bit 2019-05-13 10:01:51 +02:00
Davide De Rosa f546ca33ae Update TunnelKit with gateway fixes 2019-05-11 17:43:30 +02:00
Davide De Rosa accd04eead Default to server settings for default gateway
IPv6 is not necessarily supported.
2019-05-11 15:59:02 +02:00
Davide De Rosa 547746e0d9 Customize TLS security level (lowest) 2019-05-08 23:55:21 +02:00
Davide De Rosa d44e9f861b Set supported preset on start 2019-05-04 10:29:27 +02:00
Davide De Rosa a4cbbbc1aa Pick preset from pool supported presets only
Fixes #78
2019-05-02 13:08:24 +02:00
Davide De Rosa 77eff6373b Parse optional category presets 2019-05-02 13:08:24 +02:00
Davide De Rosa 22dfb42bfa Update infrastructures 2019-05-02 13:08:24 +02:00
Davide De Rosa c6fbdca342 Move network settings to ad-hoc screen
Can now set gateway/DNS/proxy settings explicitly.

- Read from .ovpn (hosts only)
- Pull from server (PUSH_REPLY)
- Set manually
2019-05-01 23:00:28 +02:00
Davide De Rosa bab8e28b04 Use builders for editing configurations
Slip-ups in TunnelKit made configurations erroneously mutable.
2019-05-01 23:00:28 +02:00
Davide De Rosa 22681d8a09 Rename default category to empty string 2019-05-01 22:59:05 +02:00
Davide De Rosa 6329c32903 Reuse shared cell values globally 2019-05-01 22:59:05 +02:00
Davide De Rosa e6d67ac9f6 Take no risks with unwrapped optionals 2019-04-28 21:50:18 +02:00
Davide De Rosa b714f8acd9 Log cached infra JSON when unable to parse 2019-04-28 21:34:12 +02:00
Davide De Rosa 125c6a7d67 Fix encoding of external map in preset
The effect of this is that refreshed infrastructures were not
remembered.
2019-04-28 21:34:12 +02:00
Davide De Rosa 02c02690fd Add ru translations 2019-04-28 17:36:05 +02:00
Davide De Rosa 2dac8b0728 Add de-DE translations 2019-04-28 15:52:15 +02:00
Davide De Rosa 15768bd00b Add pt-BR translations 2019-04-28 15:52:15 +02:00
Davide De Rosa 396a6f775d Add it translations 2019-04-28 15:52:15 +02:00
phrozen77 47a9a76745
Update Localizable.strings
Oops, forgot that one :)
Regarding version.title - Version is the same in German :)
2019-04-28 13:48:59 +02:00
Davide De Rosa 99d1d2ef5c Enable LZO compression with VyprVPN 2019-04-27 22:47:22 +02:00
Davide De Rosa 14333a1ccf Fix misleading Mullvad credentials footer
Password "m" is only valid for temporary accounts.

Fixes #75
2019-04-27 09:30:33 +02:00
Davide De Rosa ffb273ce23 Create GitHub section in About
Leave README and CHANGELOG untranslated.
2019-04-27 09:23:03 +02:00
Davide De Rosa b1cde74798 Refactor renamed strings 2019-04-26 18:28:01 +02:00
Davide De Rosa 1979e8b700 Capitalize languages 2019-04-26 16:08:23 +02:00
Davide De Rosa ebddbe9f4b Fix language sorting
Sorted by country, rendered by language.
2019-04-26 16:06:51 +02:00
Davide De Rosa 4afbe4aa4e Fix condition for external hostname in endpoints 2019-04-26 15:29:50 +02:00
Davide De Rosa 15e1cc1d48 Update providers metadata 2019-04-26 14:25:06 +02:00
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
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