Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Tunnel view model: VPN-on-demand stuff shouldn't be part of the tunnel model | Roopesh Chander | 2018-11-12 | 1 | -16/+22 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Model, Tunnels manager: Rewrite the model for VPN-on-demand | Roopesh Chander | 2018-11-12 | 2 | -36/+86 | |
| | | | | | | | | | The VPN-on-demand settings should not be part of the tunnel configuration. Rather, the onDemandRules stored in the tunnel provider configuration serve as the one place where the VPN-on-demand settings are stored. Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | TunnelsManager: Support for on-demand rules | Roopesh Chander | 2018-11-11 | 1 | -0/+36 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Tunnel edit, Tunnel view model: UI for providing On-Demand activation options | Roopesh Chander | 2018-11-11 | 2 | -6/+125 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Model: Ensure that a TunnelConfiguration always has a valid array of peers | Roopesh Chander | 2018-11-10 | 2 | -4/+2 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | VPN: When activating while another tunnel is active, deactivate the other tunnel | Roopesh Chander | 2018-11-10 | 3 | -22/+16 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | TunnelsManager: startDeactivation() need not take a completion handler | Roopesh Chander | 2018-11-10 | 3 | -8/+3 | |
| | | | | | | Because the completion handler pattern doesn't fit in this case. Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | VPN: There are no DNS errors to handle in the app now | Roopesh Chander | 2018-11-10 | 2 | -3/+0 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | VPN: Refresh tunnel statuses when app gets to the foreground | Roopesh Chander | 2018-11-09 | 2 | -0/+14 | |
| | | | | | | Because the tunnel could've be activated from iOS Settings now Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Remove unused code | Roopesh Chander | 2018-11-09 | 2 | -24/+0 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | TunnelsManager: Ability to refresh connection statuses | Roopesh Chander | 2018-11-09 | 1 | -0/+14 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | NE: When there's an error starting the tunnel, show it to the user using displayMessage() | Roopesh Chander | 2018-11-09 | 1 | -0/+1 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Move logic to extension: NETunnelProviderProtocol extension code should be shared | Roopesh Chander | 2018-11-08 | 1 | -31/+0 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Move logic to extension: Move DNSResolver to extension | Roopesh Chander | 2018-11-08 | 1 | -158/+0 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Move logic to extension: .resolvingEndpointDomains is not longer a valid status | Roopesh Chander | 2018-11-08 | 3 | -9/+0 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Move logic to extension: DNS resolution no longer happens in the app | Roopesh Chander | 2018-11-08 | 1 | -44/+5 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Model: Move InterfaceConfiguration.publicKey to Curve25519.swift | Roopesh Chander | 2018-11-08 | 1 | -0/+6 | |
| | | | | | | The code for public key calculation need not be shared with the extension Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Move logic to extension: Move PacketTunnelOptionsGenerator to the extension | Roopesh Chander | 2018-11-08 | 1 | -178/+0 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Move logic to extension: Invoke startTunnel() without any options | Roopesh Chander | 2018-11-08 | 1 | -4/+1 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Move logic to extension: Move model files to Shared | Roopesh Chander | 2018-11-08 | 4 | -287/+0 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Tunnel edit: While preparing for reuse, should make onValueBeingEdited nil as well | Roopesh Chander | 2018-11-08 | 1 | -0/+1 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Version bump0.0.20181104-4 | Jason A. Donenfeld | 2018-11-07 | 1 | -1/+1 | |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | iPad: Ensure we set sourceRect for all cases where we use sourceView | Roopesh Chander | 2018-11-07 | 3 | -1/+3 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Info.plist: Register for handling public.text files for Open-in | Roopesh Chander | 2018-11-07 | 1 | -0/+14 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Importing: Also support importing public.text files in the file picker | Roopesh Chander | 2018-11-07 | 1 | -1/+1 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | iPad: Set correct sourceRect for the popover anchored on the central 'Add' button | Roopesh Chander | 2018-11-07 | 1 | -0/+1 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | TunnelsManager: Return a manager with no tunnels in the simulator | Roopesh Chander | 2018-11-07 | 1 | -0/+5 | |
| | | | | | | To be able to run at least parts of the app in the simulator. Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | iPad: Configuring the split-view controller should happen in init(), not loadView() | Roopesh Chander | 2018-11-07 | 1 | -4/+9 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Settings: show build id | Jason A. Donenfeld | 2018-11-07 | 1 | -1/+4 | |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | Version bump0.0.20181104-3 | Jason A. Donenfeld | 2018-11-06 | 1 | -1/+1 | |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | Importing: simplify | Jason A. Donenfeld | 2018-11-06 | 1 | -26/+15 | |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | Importing: Assume imported files without .conf or .zip extensions to be a config file | Roopesh Chander | 2018-11-07 | 1 | -5/+5 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | DNSResolver: No need to resolve if the endpoint is already an IP address | Roopesh Chander | 2018-11-06 | 1 | -2/+6 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Model: Endpoint.hasHostAsIPAddress() | Roopesh Chander | 2018-11-06 | 1 | -0/+13 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Global: swiftlint autocorrect --format | Roopesh Chander | 2018-11-06 | 5 | -15/+15 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Global: swiftlint autocorrect | Roopesh Chander | 2018-11-06 | 1 | -1/+1 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Importing: Error out on file with unsupported file extension | Roopesh Chander | 2018-11-06 | 1 | -1/+9 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Tunnel edit: TunnelEditTableViewKeyValueCell need not support a read-only mode now | Roopesh Chander | 2018-11-06 | 1 | -21/+2 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Tunnel edit: A new cell class for the public key field, to make the value scrollable | Roopesh Chander | 2018-11-06 | 1 | -0/+70 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Tunnel detail: Refactor out the label scrolling into a separate UI class | Roopesh Chander | 2018-11-06 | 2 | -31/+59 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Tunnel view model: Peers in a configuation may not share the same public key | Roopesh Chander | 2018-11-06 | 1 | -0/+7 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Parser: Peers in a configuation may not share the same public key | Roopesh Chander | 2018-11-06 | 1 | -0/+7 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Version bump0.0.20181104-2 | Jason A. Donenfeld | 2018-11-05 | 1 | -1/+1 | |
| | | | | | | | We update the build number, not the version number, so that test flight doesn't need a new review. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | Parser: Address, DNS and AllowedIPs can have mutliple entries | Roopesh Chander | 2018-11-05 | 1 | -1/+6 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | QR Code: Dismiss the QR code screen when the name prompt is cancelled | Roopesh Chander | 2018-11-05 | 1 | -1/+3 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Tunnel view model: No need to save if we already have a validated configuration object | Roopesh Chander | 2018-11-05 | 1 | -0/+8 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | global: convert to Swift 4.2 | Jason A. Donenfeld | 2018-11-05 | 6 | -14/+14 | |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | TunnelsManager: account for no or many endpoints | Jason A. Donenfeld | 2018-11-05 | 3 | -22/+20 | |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | Settings: account for bottom padding on iPhone X | Jason A. Donenfeld | 2018-11-05 | 1 | -4/+4 | |
| | | | | | Reported-by: Jeffrey A. Donenfeld <jad@runblue.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | XCode: use old network extension ID0.0.20181104-1 | Jason A. Donenfeld | 2018-11-04 | 2 | -2/+2 | |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> |