Commit Graph

442 Commits

Author SHA1 Message Date
Davide De Rosa 877dd4d990 Fix similar completionHandler bugs
See previous commit
2019-03-19 17:27:42 +01:00
Davide De Rosa 9a67918dc0 Fix disconnection handler not called when inactive
Fixes #42
2019-03-19 17:24:45 +01:00
Davide De Rosa f5afe5a9ce Set beta release
Add missing LZO credit.
2019-03-19 16:17:06 +01:00
Davide De Rosa cbcda11ee0 Merge branch 'support-legacy-lzo' 2019-03-19 15:24:10 +01:00
Davide De Rosa 769c6e9e48 Update CHANGELOG 2019-03-19 15:23:45 +01:00
Davide De Rosa 82aa8b5f79 Add LZO license 2019-03-19 15:23:45 +01:00
Davide De Rosa fbbd0b33f2 Reorganize compression section
- Show algorithm.
- Make framing readonly.

Easy way to prevent combination of LZO with new framing.
2019-03-19 15:23:45 +01:00
Davide De Rosa 3b1fbcc807 Update TunnelKit for LZO support 2019-03-19 15:23:42 +01:00
Davide De Rosa a471161892 Fix again intent definition glitch 2019-03-18 23:11:41 +01:00
Davide De Rosa 4ee3456b1e Set beta release 2019-03-18 22:42:58 +01:00
Davide De Rosa 745476e42e
Merge pull request #41 from passepartoutvpn/siri-shortcuts
Siri shortcuts
2019-03-18 22:42:19 +01:00
Davide De Rosa 88a1e39a6e Add a Done button to exit connect shortcuts 2019-03-18 22:40:06 +01:00
Davide De Rosa 1913468ea6 Update CHANGELOG 2019-03-18 22:34:37 +01:00
Davide De Rosa 220d1233af Restore intents definition in app target 2019-03-18 22:32:07 +01:00
Davide De Rosa 15602f7dc9 Pick profile/location for connection intent
- Host: ConnectVPN intent
- Provider: requires Pool selection
2019-03-18 22:13:36 +01:00
Davide De Rosa 1ea85ff32e Move shortcuts to separate storyboard 2019-03-18 21:18:40 +01:00
Davide De Rosa 98160fdccb Split shortcuts into VPN and Trust 2019-03-18 21:00:07 +01:00
Davide De Rosa 7e11f7bf81 Reword Wi-Fi intents 2019-03-18 20:55:58 +01:00
Davide De Rosa 8f3d2f0b15 Add basic cells for any possible shortcut 2019-03-18 20:54:47 +01:00
Davide De Rosa 1c103c639d Add shortcuts view controller stub 2019-03-18 20:54:47 +01:00
Davide De Rosa cb1dc5ed54 Use versioned TunnelKit 2019-03-18 18:59:14 +01:00
Davide De Rosa ebcf7da8c2 Restore valid archs (64-bit)
Suppress warnings on ASC uploads.

Introduced in e8678e4
2019-03-18 18:48:48 +01:00
Davide De Rosa 5dd02e8939 Fix glitch with intent l10n 2019-03-18 18:44:34 +01:00
Davide De Rosa 1b5070d667 Fix duplicated pods (Core + App)
Had to deintegrate and reintegrate CocoaPods.
2019-03-18 17:59:02 +01:00
Davide De Rosa deb491008d Fix unrequested EKU verification 2019-03-18 17:32:46 +01:00
Davide De Rosa 4b8d7814fc Normalize project version 2019-03-18 17:31:33 +01:00
Davide De Rosa 66e14b4e60 Merge branch 'refactor-intents' 2019-03-18 17:19:23 +01:00
Davide De Rosa 43b75a1029 Add completion handler to intent dispatcher 2019-03-18 17:18:57 +01:00
Davide De Rosa 554f5bcad6 Rename notification method to be UI-agnostic 2019-03-18 17:08:24 +01:00
Davide De Rosa c3e6e1ecd5 Move intents to Core target
Suppress responses for consistency.
2019-03-18 17:06:35 +01:00
Davide De Rosa 8a63be8856 Share platform value in Podfile 2019-03-18 17:01:16 +01:00
Davide De Rosa 542f4ac522 Update API 2019-03-18 13:55:15 +01:00
Davide De Rosa 82087eeebb Merge branch 'refactor-core-framework' 2019-03-18 13:55:09 +01:00
Davide De Rosa 5237aa3916 Import Core framework into iOS target 2019-03-18 11:52:19 +01:00
Davide De Rosa f661008679 Make framework internal components public 2019-03-18 11:50:52 +01:00
Davide De Rosa cf499739f7 Export SwiftGen strings as public
Required as part of an external framework.
2019-03-18 11:19:24 +01:00
Davide De Rosa de944acabb Fall back to documents container
Convenient for test target.
2019-03-18 11:19:24 +01:00
Davide De Rosa d983362815 Use relative bundle to locate URL in framework 2019-03-18 11:19:24 +01:00
Davide De Rosa c7f522f55e Create Passepartout-Core framework target
Move all sources to this target, out of Passepartout-iOS.

FIXME: TrustedNetworks uses ServiceViewController.RowType
FIXME: make iOS target depend on Core.
2019-03-18 11:19:24 +01:00
Davide De Rosa 8adc125f9b Merge branch 'migrate-to-app-group-documents' 2019-03-18 10:09:31 +01:00
Davide De Rosa 39fb191309 Log documents migration event
If anything was moved.
2019-03-11 10:17:45 +01:00
Davide De Rosa 9005bf6c19 Skip "Inbox" during migration
No permission.
2019-03-11 10:17:01 +01:00
Davide De Rosa 87249cb8ad Migrate documents to App Group 2019-03-11 10:16:33 +01:00
Davide De Rosa 8ede1ed3d4 Use App Group container for documents and caches 2019-03-11 10:05:54 +01:00
Davide De Rosa 446736851f Merge branch 'refactor-service-updates' 2019-03-11 10:05:38 +01:00
Davide De Rosa 1eca19e96f Update whole views when back from backgorund 2019-03-11 09:55:25 +01:00
Davide De Rosa 1dd3ad18aa Use updateViewsIfNeeded() for consistency 2019-03-11 09:55:25 +01:00
Davide De Rosa 29f34cd206 Report .inactiveProfile on nil GracefulVPN.vpn
Methods:

- reconnect
- reinstall
- disconnect
2019-03-11 09:55:25 +01:00
Davide De Rosa f50cf44bab Switch to active profile on intent update
Better user experience.
2019-03-11 09:55:25 +01:00
Davide De Rosa 439c9c0b0f Set profile directly in GracefulVPN
No need to pass through prepare(). Couple with setProfile() for
robustness.
2019-03-11 09:55:25 +01:00