Commit Graph

207 Commits

Author SHA1 Message Date
Davide De Rosa 00a4fe9a74 Fix SwiftGen after Countries -> Flags 2019-04-05 16:12:56 +02:00
Davide De Rosa a4a82fbd03 Fix table pre-scrolling to selection
iOS is broken, must wrap in a DispatchQueue.main.async
2019-04-05 12:46:50 +02:00
Davide De Rosa 451ab07796 Use subtitle cell in pools 2019-04-05 12:06:26 +02:00
Davide De Rosa 7d417e14ee Add pool country flags 2019-04-05 11:59:39 +02:00
Davide De Rosa b5c1b371de Set automatic footer height everywhere 2019-04-05 11:58:20 +02:00
Davide De Rosa b9de756253 Move provider logos to own assets 2019-04-05 10:17:29 +02:00
Davide De Rosa 1edf712cda Fix misplaced Account header 2019-04-05 09:26:01 +02:00
Davide De Rosa f97b8447d9 Show provider logos in Organizer and Wizard 2019-04-05 00:52:36 +02:00
Davide De Rosa bdf39fb36e Add provider logo assets 2019-04-05 00:52:36 +02:00
Davide De Rosa 97db759242 Drop empty space between Account sections
Reuse code for heightForHeader.
2019-04-04 19:53:41 +02:00
Davide De Rosa ab5517dcba Rename ParsingResult to Result
From ConfigurationParser in TunnelKit.
2019-04-04 19:26:08 +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 fe669bb3e0 Migrate to Configuration optionals
- cipher
- digest
- compressionFraming
2019-04-04 19:03: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 8d3c2fb209 Bump version 2019-04-03 12:31:59 +02:00
Davide De Rosa a98ddbb224 Add Windscribe provider 2019-04-01 09:55:57 +02:00
Davide De Rosa 8f87090587 Bump minor version 2019-04-01 09:55:43 +02:00
Davide De Rosa 09a3939e96 Drop unintended custom header/footer heights
Occasionally overlapping in Organizer.
2019-03-30 23:41:11 +01:00
Davide De Rosa 3197f49368 Add down/up indication of data count
Other improvements:

- TunnelKit reports 0 rather than nil upon connection.
- Fall back to "Unavailable" rather than empty string.
2019-03-30 23:38:06 +01:00
Davide De Rosa 921e57557d Render data count with closest unit
Set a 10% boundary (e.g. 100MB = 0.1GB).
2019-03-30 20:10:04 +01:00
Davide De Rosa 2e142680c3 Fetch current data count on VPN status update 2019-03-30 20:10:04 +01:00
Davide De Rosa bc0a0d40dc Observe tunnel data count periodically (5s)
Use Timer as KVO is not possible on App Group defaults.

Be tolerant about missing sections, return type is optional.

Also reword data count cell caption.
2019-03-30 20:10:04 +01:00
Davide De Rosa 912ae63ead Convert resources to Base l10n
Could this fix the uploader issue with intents localization?
2019-03-30 19:25:06 +01:00
Davide De Rosa 487b0c07ca Present add shortcut modally 2019-03-28 08:28:50 +01:00
Davide De Rosa e2cd0bc7e1 Reuse intent creation code from IntentDispatcher 2019-03-27 23:47:35 +01:00
Davide De Rosa d24295295a Drop unnecessary downcast 2019-03-27 23:03:19 +01:00
Davide De Rosa 77658e5cc6 Show shortcut add on viewDidAppear 2019-03-27 22:36:23 +01:00
Davide De Rosa c9d170768a Create shortcuts from manager
Delegate Intents callbacks to a single place.
2019-03-27 22:22:32 +01:00
Davide De Rosa ae88fdfad6 Rename shortcut manager vc 2019-03-27 22:09:08 +01:00
Davide De Rosa d29aafe08e Propagate addShortcut delegation in ConnectTo 2019-03-27 21:08:51 +01:00
Davide De Rosa 05ba654b2f Reload in the background on edit 2019-03-27 21:08:51 +01:00
Davide De Rosa f0d0eb5ed3 Sort shortcuts by phrase 2019-03-27 21:08:51 +01:00
Davide De Rosa 5ee18071b0 Add shortcut and delegate to manager 2019-03-27 21:08:51 +01:00
Davide De Rosa 0d619ffd62 Pack Siri controllers to simplify @available 2019-03-27 21:08:51 +01:00
Davide De Rosa e1638d1c73 Link add shortcut to manager 2019-03-27 21:08:51 +01:00
Davide De Rosa d5b7a1e576 Show existing Siri shortcuts as first controller 2019-03-27 21:08:51 +01:00
Davide De Rosa b459495e90 Reuse controller title 2019-03-27 21:08:36 +01:00
Davide De Rosa 400cea0f7b Show EKU and random endpoint in configuration 2019-03-27 17:07:29 +01:00
Davide De Rosa 250c3399da Reuse enabled/disabled strings in configuration 2019-03-27 17:04:06 +01:00
Davide De Rosa baff0435e8 Mask encryption passphrase input 2019-03-26 11:23:49 +01:00
Davide De Rosa f3e6c34bd1 Customize block on passphrase input cancellation
Do not delete .ovpn file when importing from iTunes.
2019-03-25 20:33:17 +01:00
Davide De Rosa 8f0e28e315 Forward input passphrase to parser 2019-03-25 20:33:17 +01:00
Davide De Rosa dc81356b31 Retry import after passphrase input
Isolate .ovpn parsing routines.

- AppDelegate (external URL)
- ImportedHosts

Only delete URL if error is not encryption passphrase.
2019-03-25 20:33:07 +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 54f7779c45 Add Mullvad provider 2019-03-22 19:29:55 +01:00
Davide De Rosa 8a855bf538 Show app version in About cell 2019-03-22 19:29:15 +01:00
Davide De Rosa 3b5207dc8f Better reconnect than disconnect 2019-03-22 19:25:12 +01:00
Davide De Rosa c45e741750 Disconnect on masking change
To ensure that the stale log is erased immediately.
2019-03-22 19:23:32 +01:00
Davide De Rosa fdc3869d29 Move baseVPNConfiguration to TransientStore
Simplifies configuration update.
2019-03-22 19:09:52 +01:00
Davide De Rosa c391663d11 Persist masking flag 2019-03-22 19:09:52 +01:00