]> git.ipfire.org Git - thirdparty/wireguard-apple.git/log
thirdparty/wireguard-apple.git
6 years agoTunnelsManager: get rid of name set
Jason A. Donenfeld [Sat, 3 Nov 2018 02:53:08 +0000 (03:53 +0100)] 
TunnelsManager: get rid of name set

Instead, tunnels itself should be a sorted-set. For now it's a list,
which is probably fine though.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoTunnelsManager: get rid of index management
Jason A. Donenfeld [Sat, 3 Nov 2018 02:40:23 +0000 (03:40 +0100)] 
TunnelsManager: get rid of index management

No need for premature optimization. There aren't that many tunnels most
of the time, and calling sort on a partially sorted array is fast.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoGlobal: no periods at the end of error messages
Jason A. Donenfeld [Sat, 3 Nov 2018 01:55:19 +0000 (02:55 +0100)] 
Global: no periods at the end of error messages

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoImport: rework addMultiple logic
Jason A. Donenfeld [Sat, 3 Nov 2018 01:51:32 +0000 (02:51 +0100)] 
Import: rework addMultiple logic

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoTunnel detail: In the key-value cell, make the value label scrollable horizontally
Roopesh Chander [Fri, 2 Nov 2018 14:00:00 +0000 (19:30 +0530)] 
Tunnel detail: In the key-value cell, make the value label scrollable horizontally

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoTunnel edit: Ensure all key-value fields have a placeholder text
Roopesh Chander [Fri, 2 Nov 2018 12:50:32 +0000 (18:20 +0530)] 
Tunnel edit: Ensure all key-value fields have a placeholder text

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoDNSResolver: Bugfix: Always call completion handler
Roopesh Chander [Fri, 2 Nov 2018 12:40:51 +0000 (18:10 +0530)] 
DNSResolver: Bugfix: Always call completion handler

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoInfo.plist: Update document icons and description
Roopesh Chander [Fri, 2 Nov 2018 12:02:13 +0000 (17:32 +0530)] 
Info.plist: Update document icons and description

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoInfo.plist: Document type UTI should be consistent with exported UTI
Roopesh Chander [Fri, 2 Nov 2018 11:56:43 +0000 (17:26 +0530)] 
Info.plist: Document type UTI should be consistent with exported UTI

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoInfo.plist: Register zip file for open-in
Roopesh Chander [Fri, 2 Nov 2018 11:34:13 +0000 (17:04 +0530)] 
Info.plist: Register zip file for open-in

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoInfo.plist: Add .conf extension to document type
Roopesh Chander [Fri, 2 Nov 2018 11:27:30 +0000 (16:57 +0530)] 
Info.plist: Add .conf extension to document type

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoAdd document icon
Roopesh Chander [Fri, 2 Nov 2018 11:14:18 +0000 (16:44 +0530)] 
Add document icon

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoAdd app icons
Roopesh Chander [Fri, 2 Nov 2018 10:41:24 +0000 (16:11 +0530)] 
Add app icons

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoRemove files we don't need
Roopesh Chander [Fri, 2 Nov 2018 10:09:03 +0000 (15:39 +0530)] 
Remove files we don't need

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoHandle cell reuse in showing delete buttons in red
Roopesh Chander [Fri, 2 Nov 2018 07:54:10 +0000 (13:24 +0530)] 
Handle cell reuse in showing delete buttons in red

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoTable edit: Show/hide 'Exclude Private IPs' instead of enable/disable
Roopesh Chander [Fri, 2 Nov 2018 07:42:10 +0000 (13:12 +0530)] 
Table edit: Show/hide 'Exclude Private IPs' instead of enable/disable

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoTunnel view model: If there's just one peer, populate the scratchpad on init
Roopesh Chander [Fri, 2 Nov 2018 07:39:45 +0000 (13:09 +0530)] 
Tunnel view model: If there's just one peer, populate the scratchpad on init

So that exclude private IPs can be computed correctly.

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoTunnel view model: Initialize peerData.numberOfPeers
Roopesh Chander [Fri, 2 Nov 2018 06:35:40 +0000 (12:05 +0530)] 
Tunnel view model: Initialize peerData.numberOfPeers

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoDNSResolver: getaddrinfo returns a sockaddr and inet_ntop takes strlen
Jason A. Donenfeld [Fri, 2 Nov 2018 04:34:17 +0000 (05:34 +0100)] 
DNSResolver: getaddrinfo returns a sockaddr and inet_ntop takes strlen

The way this was written before was totally wrong.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agowireguard-go-bridge: use boottime instead of monotonic
Jason A. Donenfeld [Thu, 1 Nov 2018 22:39:06 +0000 (23:39 +0100)] 
wireguard-go-bridge: use boottime instead of monotonic

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoNetworkExtension: check isTunnelClosed before packet existence
Jason A. Donenfeld [Thu, 1 Nov 2018 21:01:52 +0000 (22:01 +0100)] 
NetworkExtension: check isTunnelClosed before packet existence

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoGlobal: OK over Ok
Jason A. Donenfeld [Thu, 1 Nov 2018 20:22:12 +0000 (21:22 +0100)] 
Global: OK over Ok

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoDeletion buttons are shown in red
Roopesh Chander [Thu, 1 Nov 2018 18:23:09 +0000 (23:53 +0530)] 
Deletion buttons are shown in red

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoTunnel edit: Highlight erroring field keys in red
Roopesh Chander [Thu, 1 Nov 2018 18:15:29 +0000 (23:45 +0530)] 
Tunnel edit: Highlight erroring field keys in red

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoTunnels list: Swipe left to delete
Roopesh Chander [Thu, 1 Nov 2018 17:34:56 +0000 (23:04 +0530)] 
Tunnels list: Swipe left to delete

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoGlobal: fix up strings
Jason A. Donenfeld [Thu, 1 Nov 2018 17:59:58 +0000 (18:59 +0100)] 
Global: fix up strings

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoQR code: Fix what happens when an error is shown
Roopesh Chander [Thu, 1 Nov 2018 13:29:14 +0000 (18:59 +0530)] 
QR code: Fix what happens when an error is shown

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoNE: Show an alert when someone tries to start the VPN from iOS Settings
Roopesh Chander [Thu, 1 Nov 2018 13:24:08 +0000 (18:54 +0530)] 
NE: Show an alert when someone tries to start the VPN from iOS Settings

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoExport: fix up export format
Jason A. Donenfeld [Thu, 1 Nov 2018 16:31:50 +0000 (17:31 +0100)] 
Export: fix up export format

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoTunnel errors: Consolidate tunnel activation errors into ErrorPresenter
Roopesh Chander [Thu, 1 Nov 2018 11:28:33 +0000 (16:58 +0530)] 
Tunnel errors: Consolidate tunnel activation errors into ErrorPresenter

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoTunnelsManager: Better errors
Roopesh Chander [Thu, 1 Nov 2018 11:27:40 +0000 (16:57 +0530)] 
TunnelsManager: Better errors

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoConfigFile: WgQuickConfigFileWriter: Fix '[Peer]' section header
Roopesh Chander [Thu, 1 Nov 2018 10:43:30 +0000 (16:13 +0530)] 
ConfigFile: WgQuickConfigFileWriter: Fix '[Peer]' section header

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoImporting: Account for errors in showing the 'No configurations found' error
Roopesh Chander [Thu, 1 Nov 2018 10:29:17 +0000 (15:59 +0530)] 
Importing: Account for errors in showing the 'No configurations found' error

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoTunnel detail: Fix deletion of tunnel
Roopesh Chander [Thu, 1 Nov 2018 10:24:37 +0000 (15:54 +0530)] 
Tunnel detail: Fix deletion of tunnel

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoVPN: TunnelsManager: Fix deletion code
Roopesh Chander [Thu, 1 Nov 2018 10:23:10 +0000 (15:53 +0530)] 
VPN: TunnelsManager: Fix deletion code

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoVPN: Restart tunnel after modifying a currently active configuration
Roopesh Chander [Thu, 1 Nov 2018 10:06:59 +0000 (15:36 +0530)] 
VPN: Restart tunnel after modifying a currently active configuration

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoQR code: Degrade gracefully when running on the simulator or on a device without...
Roopesh Chander [Wed, 31 Oct 2018 20:44:30 +0000 (02:14 +0530)] 
QR code: Degrade gracefully when running on the simulator or on a device without a camera

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoRevert "QR code: QR code scanning is not available in the simulator"
Roopesh Chander [Wed, 31 Oct 2018 20:35:03 +0000 (02:05 +0530)] 
Revert "QR code: QR code scanning is not available in the simulator"

This reverts commit 9729386406cd9543303a68e51d57b286880bb8cd.

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoImporting: Show error when the zip file contains no .conf files
Roopesh Chander [Wed, 31 Oct 2018 20:34:26 +0000 (02:04 +0530)] 
Importing: Show error when the zip file contains no .conf files

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoVPN: We have to start observing the tunnelContainer before we attempt to activate it
Roopesh Chander [Wed, 31 Oct 2018 20:24:19 +0000 (01:54 +0530)] 
VPN: We have to start observing the tunnelContainer before we attempt to activate it

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoImporting: Error out on duplicate name
Roopesh Chander [Wed, 31 Oct 2018 20:12:29 +0000 (01:42 +0530)] 
Importing: Error out on duplicate name

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoQR Code: Error out on duplicate name
Roopesh Chander [Wed, 31 Oct 2018 20:06:28 +0000 (01:36 +0530)] 
QR Code: Error out on duplicate name

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoTunnel edit: Error out on duplicate name when creating / modifying a tunnel
Roopesh Chander [Wed, 31 Oct 2018 19:15:09 +0000 (00:45 +0530)] 
Tunnel edit: Error out on duplicate name when creating / modifying a tunnel

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoVPN: An ErrorPresenter class to consolidate showing of error alerts
Roopesh Chander [Thu, 1 Nov 2018 06:15:09 +0000 (11:45 +0530)] 
VPN: An ErrorPresenter class to consolidate showing of error alerts

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoVPN: Introduce an error enum for adding/modifying/removing tunnels
Roopesh Chander [Thu, 1 Nov 2018 06:12:32 +0000 (11:42 +0530)] 
VPN: Introduce an error enum for adding/modifying/removing tunnels

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoVPN: TunnelsManager: s/TunnelsManagerError/TunnelActivationError/g;
Roopesh Chander [Wed, 31 Oct 2018 18:07:46 +0000 (23:37 +0530)] 
VPN: TunnelsManager: s/TunnelsManagerError/TunnelActivationError/g;

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoVPN: TunnelsManager should keep track of tunnel names to prevent duplicate names
Roopesh Chander [Wed, 31 Oct 2018 11:33:32 +0000 (17:03 +0530)] 
VPN: TunnelsManager should keep track of tunnel names to prevent duplicate names

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoUI: not all subclasses of CopyableLabelTableViewCell have a detailTextLabel, so gener...
Jason A. Donenfeld [Wed, 31 Oct 2018 15:38:05 +0000 (16:38 +0100)] 
UI: not all subclasses of CopyableLabelTableViewCell have a detailTextLabel, so generalize

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoTunnelManager: bound recursion in startActivation
Jason A. Donenfeld [Wed, 31 Oct 2018 14:58:03 +0000 (15:58 +0100)] 
TunnelManager: bound recursion in startActivation

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoVPN: Retry startTunnel based on error conditions
Roopesh Chander [Wed, 31 Oct 2018 11:12:29 +0000 (16:42 +0530)] 
VPN: Retry startTunnel based on error conditions

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoTunnel list: Fix importing zip with multiple configurations
Roopesh Chander [Wed, 31 Oct 2018 09:00:25 +0000 (14:30 +0530)] 
Tunnel list: Fix importing zip with multiple configurations

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoVPN: Support adding multiple configurations in one shot
Roopesh Chander [Wed, 31 Oct 2018 08:59:54 +0000 (14:29 +0530)] 
VPN: Support adding multiple configurations in one shot

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agowireguard-go-bridge: extract version for consumption by network extension
Jason A. Donenfeld [Wed, 31 Oct 2018 03:02:36 +0000 (04:02 +0100)] 
wireguard-go-bridge: extract version for consumption by network extension

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agowireguard-go-bridge: simplify logging and remove tags
Jason A. Donenfeld [Wed, 31 Oct 2018 02:13:00 +0000 (03:13 +0100)] 
wireguard-go-bridge: simplify logging and remove tags

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoNetworkExtension: close context before turning off go
Jason A. Donenfeld [Wed, 31 Oct 2018 02:03:00 +0000 (03:03 +0100)] 
NetworkExtension: close context before turning off go

The go turnOff code waits for all readers to have completed. In order to
make readers complete, we must send the signal to unblock the request.
Thus, we must reorder these.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agowireguard-go-bridge: handle errors in makefile
Jason A. Donenfeld [Wed, 31 Oct 2018 01:49:59 +0000 (02:49 +0100)] 
wireguard-go-bridge: handle errors in makefile

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoUI: More elegant copy-to-clipboard behavior
Jason A. Donenfeld [Wed, 31 Oct 2018 00:00:27 +0000 (01:00 +0100)] 
UI: More elegant copy-to-clipboard behavior

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agowireguard-go: pull in recent change
Jason A. Donenfeld [Tue, 30 Oct 2018 21:51:05 +0000 (22:51 +0100)] 
wireguard-go: pull in recent change

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoQR code: QR code scanning is not available in the simulator
Roopesh Chander [Tue, 30 Oct 2018 13:52:24 +0000 (19:22 +0530)] 
QR code: QR code scanning is not available in the simulator

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoStyle: Remove 'Based on' attributions
Roopesh Chander [Tue, 30 Oct 2018 13:37:07 +0000 (19:07 +0530)] 
Style: Remove 'Based on' attributions

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoQR code: Show label overlay with info on how to generate the QR code
Roopesh Chander [Tue, 30 Oct 2018 13:34:10 +0000 (19:04 +0530)] 
QR code: Show label overlay with info on how to generate the QR code

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoTunnel creation: Placeholders for Listen port, Pre-shared key, Persistent Keepalive
Roopesh Chander [Tue, 30 Oct 2018 13:20:56 +0000 (18:50 +0530)] 
Tunnel creation: Placeholders for Listen port, Pre-shared key, Persistent Keepalive

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoVPN: Refactor use of DNS resolution while activating the tunnel
Roopesh Chander [Tue, 30 Oct 2018 11:04:46 +0000 (16:34 +0530)] 
VPN: Refactor use of DNS resolution while activating the tunnel

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoNE: Print error when unable to start the tunnel
Roopesh Chander [Tue, 30 Oct 2018 11:24:16 +0000 (16:54 +0530)] 
NE: Print error when unable to start the tunnel

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoTunnel view model: IP address can be specified without '/cidr'
Roopesh Chander [Tue, 30 Oct 2018 08:16:10 +0000 (13:46 +0530)] 
Tunnel view model: IP address can be specified without '/cidr'

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoModel: IP address can be specified without '/cidr'
Roopesh Chander [Tue, 30 Oct 2018 08:15:16 +0000 (13:45 +0530)] 
Model: IP address can be specified without '/cidr'

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoFix error message: s/atleast/at least/g;
Roopesh Chander [Tue, 30 Oct 2018 08:02:07 +0000 (13:32 +0530)] 
Fix error message: s/atleast/at least/g;

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoGlobal: fix up captialization in headers
Jason A. Donenfeld [Tue, 30 Oct 2018 02:57:35 +0000 (03:57 +0100)] 
Global: fix up captialization in headers

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoStyle: simplify remaining headers
Jason A. Donenfeld [Tue, 30 Oct 2018 02:55:43 +0000 (03:55 +0100)] 
Style: simplify remaining headers

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoXCode: fall back to default settings
Jason A. Donenfeld [Tue, 30 Oct 2018 02:54:00 +0000 (03:54 +0100)] 
XCode: fall back to default settings

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoZIP: fix linter warnings
Jason A. Donenfeld [Mon, 29 Oct 2018 23:50:01 +0000 (00:50 +0100)] 
ZIP: fix linter warnings

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoVPN: Better error messages
Roopesh Chander [Mon, 29 Oct 2018 18:54:50 +0000 (00:24 +0530)] 
VPN: Better error messages

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoVPN: Specify an error when there are no peers with an endpoint
Roopesh Chander [Mon, 29 Oct 2018 18:08:34 +0000 (23:38 +0530)] 
VPN: Specify an error when there are no peers with an endpoint

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoExport: Exporting config files
Roopesh Chander [Mon, 29 Oct 2018 17:26:25 +0000 (22:56 +0530)] 
Export: Exporting config files

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomv Parsing/ ConfigFile/
Roopesh Chander [Mon, 29 Oct 2018 13:34:27 +0000 (19:04 +0530)] 
mv Parsing/ ConfigFile/

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoSettings: Add a settings panel
Roopesh Chander [Mon, 29 Oct 2018 12:04:02 +0000 (17:34 +0530)] 
Settings: Add a settings panel

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoModel: Cap networkPrefixLengths to valid values
Roopesh Chander [Mon, 29 Oct 2018 11:19:49 +0000 (16:49 +0530)] 
Model: Cap networkPrefixLengths to valid values

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoTunnel edit: Support for exclude private IPs
Roopesh Chander [Mon, 29 Oct 2018 11:08:32 +0000 (16:38 +0530)] 
Tunnel edit: Support for exclude private IPs

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoTunnel view model: Support for exclude private IPs
Roopesh Chander [Mon, 29 Oct 2018 09:38:26 +0000 (15:08 +0530)] 
Tunnel view model: Support for exclude private IPs

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoTunnel edit: Fix keyboard type for reused cells
Roopesh Chander [Mon, 29 Oct 2018 09:42:19 +0000 (15:12 +0530)] 
Tunnel edit: Fix keyboard type for reused cells

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoTunnel detail: Assume there's just one section per peer
Roopesh Chander [Mon, 29 Oct 2018 07:23:09 +0000 (12:53 +0530)] 
Tunnel detail: Assume there's just one section per peer

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoTunnel edit: Assume there's just one section per peer
Roopesh Chander [Mon, 29 Oct 2018 07:16:54 +0000 (12:46 +0530)] 
Tunnel edit: Assume there's just one section per peer

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoTunnel edit: Set correct keyboard types
Roopesh Chander [Mon, 29 Oct 2018 00:47:48 +0000 (06:17 +0530)] 
Tunnel edit: Set correct keyboard types

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoVPN: If we don't have to make a DNS request, we shouldn't enter that status
Roopesh Chander [Mon, 29 Oct 2018 00:30:31 +0000 (06:00 +0530)] 
VPN: If we don't have to make a DNS request, we shouldn't enter that status

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoVPN: Cache DNS resolutions while the app is in memory
Roopesh Chander [Mon, 29 Oct 2018 00:25:48 +0000 (05:55 +0530)] 
VPN: Cache DNS resolutions while the app is in memory

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoVPN: Reload the tunnel before starting it up
Roopesh Chander [Sun, 28 Oct 2018 23:32:57 +0000 (05:02 +0530)] 
VPN: Reload the tunnel before starting it up

To avoid errors like this: https://stackoverflow.com/q/47550706

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoTunnel list, detail: Deletion of tunnels
Roopesh Chander [Sun, 28 Oct 2018 23:25:50 +0000 (04:55 +0530)] 
Tunnel list, detail: Deletion of tunnels

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoVPN: Fix deletion of tunnels
Roopesh Chander [Sun, 28 Oct 2018 23:24:57 +0000 (04:54 +0530)] 
VPN: Fix deletion of tunnels

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoFix: Make sure all prepareForReuse() implementations call super
Roopesh Chander [Sun, 28 Oct 2018 20:56:40 +0000 (02:26 +0530)] 
Fix: Make sure all prepareForReuse() implementations call super

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoTunnel edit: Set correct title when editing
Roopesh Chander [Sun, 28 Oct 2018 20:54:32 +0000 (02:24 +0530)] 
Tunnel edit: Set correct title when editing

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoTunnel detail: Change title after editing completes
Roopesh Chander [Sun, 28 Oct 2018 20:51:19 +0000 (02:21 +0530)] 
Tunnel detail: Change title after editing completes

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoTunnel detail: Copying the public key
Roopesh Chander [Sun, 28 Oct 2018 20:49:11 +0000 (02:19 +0530)] 
Tunnel detail: Copying the public key

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoTunnel editing: Fix cell class names
Roopesh Chander [Sun, 28 Oct 2018 20:45:43 +0000 (02:15 +0530)] 
Tunnel editing: Fix cell class names

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoImport: Use the refactored function for Open-in
Roopesh Chander [Sun, 28 Oct 2018 20:39:50 +0000 (02:09 +0530)] 
Import: Use the refactored function for Open-in

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoImport: Minor refactoring
Roopesh Chander [Sun, 28 Oct 2018 20:38:40 +0000 (02:08 +0530)] 
Import: Minor refactoring

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoImport: Show errors when importing fails
Roopesh Chander [Sun, 28 Oct 2018 20:33:30 +0000 (02:03 +0530)] 
Import: Show errors when importing fails

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoImport config: Directly add config, don't open up the editor
Roopesh Chander [Sun, 28 Oct 2018 20:28:21 +0000 (01:58 +0530)] 
Import config: Directly add config, don't open up the editor

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoZip: Import configs from zip files
Roopesh Chander [Sun, 28 Oct 2018 20:22:43 +0000 (01:52 +0530)] 
Zip: Import configs from zip files

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoZip: Add zip file reader
Roopesh Chander [Sun, 28 Oct 2018 19:34:46 +0000 (01:04 +0530)] 
Zip: Add zip file reader

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoZip: Include minizip in our Xcode project
Roopesh Chander [Sun, 28 Oct 2018 19:33:53 +0000 (01:03 +0530)] 
Zip: Include minizip in our Xcode project

Signed-off-by: Roopesh Chander <roop@roopc.net>