Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Settings: simplify | Jason A. Donenfeld | 2018-11-03 | 1 | -24/+5 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Global: run through swiftlint | Jason A. Donenfeld | 2018-11-03 | 12 | -55/+54 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Settings: limit size of logo | Jason A. Donenfeld | 2018-11-03 | 1 | -1/+1 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Settings: use updated wireguard banner logo | Jason A. Donenfeld | 2018-11-03 | 1 | -0/+0 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | TunnelsManager: restore sanity | Jason A. Donenfeld | 2018-11-03 | 1 | -45/+20 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Change version with 0.0.yyyymmdd versioning scheme | Roopesh Chander | 2018-11-03 | 1 | -1/+1 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | VPN: Make sure actions inside tunnelProvider completion handlers are done in the main queue | Roopesh Chander | 2018-11-03 | 1 | -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() succeeds | Roopesh Chander | 2018-11-03 | 1 | -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 endpoints | Roopesh Chander | 2018-11-03 | 1 | -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 Chander | 2018-11-03 | 1 | -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 end | Roopesh Chander | 2018-11-03 | 1 | -0/+26 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Settings: Swap table view sections | Roopesh Chander | 2018-11-03 | 1 | -4/+4 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Remove empty image | Roopesh Chander | 2018-11-03 | 1 | -20/+0 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Add Wireguard logo with caption to project | Jeroen Leenarts | 2018-11-03 | 2 | -0/+15 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Tunnels list: Fix status switch look after flipping it off after an error | Roopesh Chander | 2018-11-03 | 1 | -4/+5 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | ErrorPresenter: showErrorAlert takes an onPresentated handler | Roopesh Chander | 2018-11-03 | 1 | -2/+3 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Tunnels list: Should deselect the row when handling the selection | Roopesh Chander | 2018-11-03 | 1 | -0/+1 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Tunnel list: Don't show the detail view after creating a config from scratch | Roopesh Chander | 2018-11-03 | 1 | -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 whitespaces | Roopesh Chander | 2018-11-03 | 3 | -4/+5 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Zip archive: Handle files within folders inside the zip | Roopesh Chander | 2018-11-03 | 1 | -4/+4 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | TunnelsManager: initialize observer on correct thread | Jason A. Donenfeld | 2018-11-03 | 1 | -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 currentTunnel | Jason A. Donenfeld | 2018-11-03 | 1 | -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 endpoint | Jason A. Donenfeld | 2018-11-03 | 1 | -0/+5 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Tunnels list: Remove separator lines in the table view | Roopesh Chander | 2018-11-03 | 1 | -0/+1 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Tunnels list: Show an 'Add' button when there are no tunnels | Roopesh Chander | 2018-11-03 | 1 | -2/+65 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Tunnels list: Show a busy indicator before the tunnels are loaded | Roopesh Chander | 2018-11-03 | 1 | -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 loaded | Roopesh Chander | 2018-11-03 | 1 | -0/+2 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Tunnel edit: Use layoutMarginsGuide instead of constants | Roopesh Chander | 2018-11-03 | 1 | -2/+2 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | TunnelsManager: fix use of arrayslice in addMultiple | Jason A. Donenfeld | 2018-11-03 | 1 | -5/+4 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | TunnelsManager: get rid of name set | Jason A. Donenfeld | 2018-11-03 | 1 | -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 management | Jason A. Donenfeld | 2018-11-03 | 3 | -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 messages | Jason A. Donenfeld | 2018-11-03 | 3 | -10/+10 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Import: rework addMultiple logic | Jason A. Donenfeld | 2018-11-03 | 2 | -36/+43 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Tunnel detail: In the key-value cell, make the value label scrollable horizontally | Roopesh Chander | 2018-11-02 | 1 | -17/+59 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Tunnel edit: Ensure all key-value fields have a placeholder text | Roopesh Chander | 2018-11-02 | 1 | -5/+23 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | DNSResolver: Bugfix: Always call completion handler | Roopesh Chander | 2018-11-02 | 1 | -1/+4 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Info.plist: Update document icons and description | Roopesh Chander | 2018-11-02 | 1 | -2/+7 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Info.plist: Document type UTI should be consistent with exported UTI | Roopesh Chander | 2018-11-02 | 1 | -1/+1 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Info.plist: Register zip file for open-in | Roopesh Chander | 2018-11-02 | 1 | -0/+12 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Info.plist: Add .conf extension to document type | Roopesh Chander | 2018-11-02 | 1 | -0/+4 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Add document icon | Roopesh Chander | 2018-11-02 | 6 | -5/+30 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Add app icons | Roopesh Chander | 2018-11-02 | 19 | -18/+36 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Handle cell reuse in showing delete buttons in red | Roopesh Chander | 2018-11-02 | 2 | -2/+16 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Table edit: Show/hide 'Exclude Private IPs' instead of enable/disable | Roopesh Chander | 2018-11-02 | 1 | -16/+36 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Tunnel view model: If there's just one peer, populate the scratchpad on init | Roopesh Chander | 2018-11-02 | 1 | -7/+13 |
| | | | | | | So that exclude private IPs can be computed correctly. Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Tunnel view model: Initialize peerData.numberOfPeers | Roopesh Chander | 2018-11-02 | 1 | -0/+4 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | DNSResolver: getaddrinfo returns a sockaddr and inet_ntop takes strlen | Jason A. Donenfeld | 2018-11-02 | 1 | -4/+6 |
| | | | | | | The way this was written before was totally wrong. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Global: OK over Ok | Jason A. Donenfeld | 2018-11-01 | 5 | -6/+6 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Deletion buttons are shown in red | Roopesh Chander | 2018-11-01 | 2 | -0/+2 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Tunnel edit: Highlight erroring field keys in red | Roopesh Chander | 2018-11-01 | 1 | -2/+7 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> |