aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Version bump0.0.20181104-3Jason A. Donenfeld2018-11-061-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Importing: simplifyJason A. Donenfeld2018-11-061-26/+15
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Importing: Assume imported files without .conf or .zip extensions to be a config fileRoopesh Chander2018-11-071-5/+5
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* DNSResolver: No need to resolve if the endpoint is already an IP addressRoopesh Chander2018-11-061-2/+6
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Model: Endpoint.hasHostAsIPAddress()Roopesh Chander2018-11-061-0/+13
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* PacketTunnelProvider: modernize headerJason A. Donenfeld2018-11-061-3/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Not horribly brokenJason A. Donenfeld2018-11-061-5/+0
| | | | | | | | Instead it's just mostly broken. Maybe someday it will only be partially broken. Then a bit broken. And then maybe not broken at all? Before, of course, it's broken again. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Global: swiftlint autocorrect --formatRoopesh Chander2018-11-065-15/+15
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Global: swiftlint autocorrectRoopesh Chander2018-11-061-1/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Importing: Error out on file with unsupported file extensionRoopesh Chander2018-11-061-1/+9
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* wireguard-go-bridge: take fd instead of fnptrJason A. Donenfeld2018-11-067-197/+76
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Xcode: enable more warningsJason A. Donenfeld2018-11-061-1/+5
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Tunnel edit: TunnelEditTableViewKeyValueCell need not support a read-only mode nowRoopesh Chander2018-11-061-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 scrollableRoopesh Chander2018-11-061-0/+70
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Tunnel detail: Refactor out the label scrolling into a separate UI classRoopesh Chander2018-11-063-31/+63
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Tunnel view model: Peers in a configuation may not share the same public keyRoopesh Chander2018-11-061-0/+7
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Parser: Peers in a configuation may not share the same public keyRoopesh Chander2018-11-061-0/+7
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Version bump0.0.20181104-2Jason A. Donenfeld2018-11-051-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 entriesRoopesh Chander2018-11-051-1/+6
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* QR Code: Dismiss the QR code screen when the name prompt is cancelledRoopesh Chander2018-11-051-1/+3
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Tunnel view model: No need to save if we already have a validated configuration objectRoopesh Chander2018-11-051-0/+8
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* global: convert to Swift 4.2Jason A. Donenfeld2018-11-057-14/+16
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* TunnelsManager: account for no or many endpointsJason A. Donenfeld2018-11-053-22/+20
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* wireguard-go-bridge: work around DWARF generation issueJason A. Donenfeld2018-11-051-2/+2
| | | | | | Golang bug 25148 upstream. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* PacketTunnelProvider: clamp v6 addresses to /120Jason A. Donenfeld2018-11-051-1/+7
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Settings: account for bottom padding on iPhone XJason A. Donenfeld2018-11-051-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-1Jason A. Donenfeld2018-11-044-13/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* wireguard-go-bridge: xcode expects install targetJason A. Donenfeld2018-11-041-1/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* XCode: unify version stringsJason A. Donenfeld2018-11-045-8/+12
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Settings: anchor logo to bottomJason A. Donenfeld2018-11-041-1/+12
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Add a correct launch-screen storyboardRoopesh Chander2018-11-041-11/+71
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Revert "Settings: Swap table view sections"Jason A. Donenfeld2018-11-031-5/+5
| | | | | | This reverts commit 1108f8248946f80d29012d8d43658db8461c0fed. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Settings: simplifyJason A. Donenfeld2018-11-031-24/+5
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Global: run through swiftlintJason A. Donenfeld2018-11-0312-55/+54
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Settings: limit size of logoJason A. Donenfeld2018-11-031-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Settings: use updated wireguard banner logoJason A. Donenfeld2018-11-031-0/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* TunnelsManager: restore sanityJason A. Donenfeld2018-11-031-45/+20
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Change version with 0.0.yyyymmdd versioning schemeRoopesh Chander2018-11-031-1/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* VPN: Make sure actions inside tunnelProvider completion handlers are done in the main queueRoopesh Chander2018-11-031-17/+35
| | | | | | They should really already be in the main queue, but we do this just in case. Signed-off-by: Roopesh Chander <roop@roopc.net>
* VPN: Start observing the status only if startTunnel() succeedsRoopesh Chander2018-11-031-1/+1
| | | | | | This should fix the status change to .disconnected when we're resolving endpoints Signed-off-by: Roopesh Chander <roop@roopc.net>
* VPN: We should never get a status change to .disconnected if we're resolving endpointsRoopesh Chander2018-11-031-0/+1
| | | | | | But we do, which we'll fix subsequently Signed-off-by: Roopesh Chander <roop@roopc.net>
* Revert "TunnelsManager: initialize observer on correct thread"Roopesh Chander2018-11-031-7/+5
| | | | | | | | | Rather, we'll make sure we always call startObservingTunnelStatus from the main thread. This reverts commit d16a6a167c8217e81dd9111d1ad9e4ec6429ef3b. Signed-off-by: Roopesh Chander <roop@roopc.net>
* Settings: Show the captioned WireGuard logo at the endRoopesh Chander2018-11-031-0/+26
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Settings: Swap table view sectionsRoopesh Chander2018-11-031-4/+4
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Remove empty imageRoopesh Chander2018-11-031-20/+0
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Add Wireguard logo with caption to projectJeroen Leenarts2018-11-032-0/+15
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Tunnels list: Fix status switch look after flipping it off after an errorRoopesh Chander2018-11-031-4/+5
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* ErrorPresenter: showErrorAlert takes an onPresentated handlerRoopesh Chander2018-11-031-2/+3
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Tunnels list: Should deselect the row when handling the selectionRoopesh Chander2018-11-031-0/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Tunnel list: Don't show the detail view after creating a config from scratchRoopesh Chander2018-11-031-16/+0
| | | | | | So it's consistent with the other two "Add a configuration" menu items Signed-off-by: Roopesh Chander <roop@roopc.net>