Commit Graph

589 Commits

Author SHA1 Message Date
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 4ab70ea747 Upgrade pods to Swift 5 2019-03-30 23:23:08 +01:00
Davide De Rosa 2cd9857033 Set beta release 2019-03-30 20:34:47 +01:00
Davide De Rosa b1ec14d2c3
Merge pull request #51 from passepartoutvpn/track-exchanged-bytes-regularly
Track exchanged bytes regularly
2019-03-30 20:12:41 +01:00
Davide De Rosa a47444848e Update CHANGELOG 2019-03-30 20:11:45 +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 6ba68b7f9a Upgrade TunnelKit for data count updates 2019-03-30 19:57:30 +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 80d462dc3a Rename Enable/Disable VPN intents 2019-03-29 13:22:25 +01:00
Davide De Rosa 7764773e15 Add secret env templates
For tracking required CI variables.
2019-03-29 13:22:25 +01:00
Davide De Rosa 487b0c07ca Present add shortcut modally 2019-03-28 08:28:50 +01:00
Davide De Rosa a89b040c44
Merge pull request #46 from passepartoutvpn/edit-siri-shortcuts
Manage Siri shortcuts
2019-03-27 23:51:53 +01:00
Davide De Rosa 6faed15e45 Update CHANGELOG 2019-03-27 23:51:25 +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 37cb568142 Reword "Move to" to "Connect to" 2019-03-27 22:25:25 +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 08f088a5be Add EKU to both PIA presets 2019-03-26 00:52:50 +01:00
Davide De Rosa 748d53bafc Update CHANGELOG 2019-03-26 00:43:01 +01:00
Davide De Rosa 7790abb33d Merge branch 'extend-infra-preset' 2019-03-26 00:42:55 +01:00
Davide De Rosa 60bacbaca5 Add EKU to bundled infras 2019-03-26 00:41:51 +01:00
Davide De Rosa 895b375741 Parse EKU validation from preset 2019-03-26 00:41:51 +01:00
Davide De Rosa ecf9fece0f Parse compression from infra preset 2019-03-26 00:41:51 +01:00
Davide De Rosa 04138065fd Update TunnelKit with fixed checksEKU 2019-03-26 00:41:44 +01:00
Davide De Rosa a9be534dbf Use local issue number 2019-03-25 21:30:27 +01:00
Davide De Rosa 2ca52bdbd1 Add Mullvad to README and metadata 2019-03-25 21:19:02 +01:00
Davide De Rosa b09fc55604 Set beta release 2019-03-25 20:37:10 +01:00
Davide De Rosa 65d295c64a Merge branch 'accept-encrypted-private-key' 2019-03-25 20:36:05 +01:00
Davide De Rosa 965f345187 Update CHANGELOG 2019-03-25 20:35:52 +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 50aebe2310 Update TunnelKit for encrypted private keys 2019-03-25 20:32:57 +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 3cb09f9b0c Merge branch 'extend-pool-metadata' 2019-03-25 20:08:50 +01:00