Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | More formatting nits and cyclomatic complexity fixes | Eric Kuck | 2018-12-12 | 1 | -1/+1 |
| | | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | ||||
* | More linter warnings fixed, enabled more swiftlint rules, project cleanup | Eric Kuck | 2018-12-12 | 1 | -23/+22 |
| | | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | ||||
* | Tons more swiftlint warnings fixed. Still a few remaining. | Eric Kuck | 2018-12-12 | 1 | -11/+11 |
| | | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | ||||
* | Added swiftlint and fixed all errors (and a bunch, but not all, warnings) | Eric Kuck | 2018-12-12 | 1 | -5/+5 |
| | | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | ||||
* | Zip importing: importFromFile should take a completionHandler | Roopesh Chander | 2018-12-12 | 1 | -5/+10 |
| | | | | | | | Deletion of the being-imported file should be done in the completionHandler. Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Remove the feature of waiting for another tunnel to deactivate | Roopesh Chander | 2018-12-11 | 1 | -1/+1 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Allow turning off the status switch of a waiting tunnel | Roopesh Chander | 2018-12-11 | 1 | -1/+1 |
| | | | | | | It just means the waiting should be cancelled Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Tunnels list: Fix AutoLayout error during deletion of a tunnel | Roopesh Chander | 2018-12-10 | 1 | -2/+6 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Tunnels list: Dynamic Type support for the add button at the center | Roopesh Chander | 2018-12-09 | 1 | -0/+2 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Tunnels list: Dynamic Type support for the table view | Roopesh Chander | 2018-12-09 | 1 | -6/+12 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | State restoration: Restore tunnel detail view | Roopesh Chander | 2018-12-07 | 1 | -0/+4 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Tunnels list: Deselect rows correctly | Roopesh Chander | 2018-12-07 | 1 | -1/+7 |
| | | | | | | Do it like UITableViewController.clearsSelectionOnViewWillAppear would. Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Error handling: Use ErrorPresenter.showErrorAlert() instead of per-VC showErrorAlert() methods | Roopesh Chander | 2018-12-07 | 1 | -11/+6 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Error handling: Use WireGuardAppError and WireGuardResult throughout the app | Roopesh Chander | 2018-12-07 | 1 | -2/+3 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Error handling: Cleanup Tunnels Manager errors | Roopesh Chander | 2018-12-07 | 1 | -4/+4 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Refactor out VPN-handling stuff from tunnels list VC to the main VC | Roopesh Chander | 2018-12-03 | 1 | -63/+49 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | VPN: Error out when tunnel activation fails because there's no internet | Roopesh Chander | 2018-12-03 | 1 | -0/+9 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Importing: Import from zip in a background thread | Roopesh Chander | 2018-11-15 | 1 | -12/+10 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Importing: Refactor out zip importing into a separate class | Roopesh Chander | 2018-11-14 | 1 | -43/+9 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Tunnels manager: Keep track of NETunnelProviderManager's isOnDemandEnabled property | Roopesh Chander | 2018-11-12 | 1 | -2/+2 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | TunnelsManager: startDeactivation() need not take a completion handler | Roopesh Chander | 2018-11-10 | 1 | -3/+1 |
| | | | | | | Because the completion handler pattern doesn't fit in this case. Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | VPN: Refresh tunnel statuses when app gets to the foreground | Roopesh Chander | 2018-11-09 | 1 | -0/+10 |
| | | | | | | 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 | 1 | -20/+0 |
| | | | | 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> | ||||
* | 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> | ||||
* | 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> | ||||
* | Global: swiftlint autocorrect --format | Roopesh Chander | 2018-11-06 | 1 | -3/+3 |
| | | | | 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> | ||||
* | global: convert to Swift 4.2 | Jason A. Donenfeld | 2018-11-05 | 1 | -3/+3 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Global: run through swiftlint | Jason A. Donenfeld | 2018-11-03 | 1 | -19/+18 |
| | | | | 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> | ||||
* | 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 | 1 | -2/+3 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | 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> | ||||
* | TunnelsManager: get rid of index management | Jason A. Donenfeld | 2018-11-03 | 1 | -4/+4 |
| | | | | | | | 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> | ||||
* | Import: rework addMultiple logic | Jason A. Donenfeld | 2018-11-03 | 1 | -23/+33 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Global: OK over Ok | Jason A. Donenfeld | 2018-11-01 | 1 | -1/+1 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Tunnels list: Swipe left to delete | Roopesh Chander | 2018-11-01 | 1 | -0/+17 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Global: fix up strings | Jason A. Donenfeld | 2018-11-01 | 1 | -16/+14 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Tunnel errors: Consolidate tunnel activation errors into ErrorPresenter | Roopesh Chander | 2018-11-01 | 1 | -8/+4 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Importing: Account for errors in showing the 'No configurations found' error | Roopesh Chander | 2018-11-01 | 1 | -4/+4 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Revert "QR code: QR code scanning is not available in the simulator" | Roopesh Chander | 2018-11-01 | 1 | -6/+0 |
| | | | | | | This reverts commit 9729386406cd9543303a68e51d57b286880bb8cd. Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Importing: Show error when the zip file contains no .conf files | Roopesh Chander | 2018-11-01 | 1 | -0/+4 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Importing: Error out on duplicate name | Roopesh Chander | 2018-11-01 | 1 | -3/+5 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> |