aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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-056-14/+14
| | | | 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>
* 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-042-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* XCode: unify version stringsJason A. Donenfeld2018-11-043-2/+6
| | | | 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>
* Ensure that all tunnel names are trimmed of whitespacesRoopesh Chander2018-11-033-4/+5
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Zip archive: Handle files within folders inside the zipRoopesh Chander2018-11-031-4/+4
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* TunnelsManager: initialize observer on correct threadJason A. Donenfeld2018-11-031-5/+7
| | | | | | Because of the callback recursion, this function needs to always be called from the right thread Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* TunnelsManager: do not track currentTunnelJason A. Donenfeld2018-11-031-33/+6
| | | | | | It's error prone and does not give us anything. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* TunnelsManager: do not change back to inactive if we are resolving the endpointJason A. Donenfeld2018-11-031-0/+5
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Tunnels list: Remove separator lines in the table viewRoopesh Chander2018-11-031-0/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Tunnels list: Show an 'Add' button when there are no tunnelsRoopesh Chander2018-11-031-2/+65
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Tunnels list: Show a busy indicator before the tunnels are loadedRoopesh Chander2018-11-031-29/+55
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Tunnels list: The Add and Settings buttons should be no-ops until the tunnels are loadedRoopesh Chander2018-11-031-0/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Tunnel edit: Use layoutMarginsGuide instead of constantsRoopesh Chander2018-11-031-2/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* TunnelsManager: fix use of arrayslice in addMultipleJason A. Donenfeld2018-11-031-5/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* TunnelsManager: get rid of name setJason A. Donenfeld2018-11-031-16/+4
| | | | | | | 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>
* TunnelsManager: get rid of index managementJason A. Donenfeld2018-11-033-51/+33
| | | | | | | 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>
* Global: no periods at the end of error messagesJason A. Donenfeld2018-11-033-10/+10
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Import: rework addMultiple logicJason A. Donenfeld2018-11-032-36/+43
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Tunnel detail: In the key-value cell, make the value label scrollable horizontallyRoopesh Chander2018-11-021-17/+59
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Tunnel edit: Ensure all key-value fields have a placeholder textRoopesh Chander2018-11-021-5/+23
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* DNSResolver: Bugfix: Always call completion handlerRoopesh Chander2018-11-021-1/+4
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Info.plist: Update document icons and descriptionRoopesh Chander2018-11-021-2/+7
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Info.plist: Document type UTI should be consistent with exported UTIRoopesh Chander2018-11-021-1/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Info.plist: Register zip file for open-inRoopesh Chander2018-11-021-0/+12
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>