Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Attempt to strongly recommend things | Jason A. Donenfeld | 2018-12-22 | 2 | -6/+11 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Do not set copyable back to true on reuse | Jason A. Donenfeld | 2018-12-22 | 1 | -0/+5 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Move name from interface to tunnel | Jason A. Donenfeld | 2018-12-22 | 4 | -11/+16 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Nuke trailing spaces | Jason A. Donenfeld | 2018-12-21 | 10 | -101/+101 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | providerConfiguration is now a WgQuickConfig | Eric Kuck | 2018-12-21 | 3 | -34/+2 |
| | | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | ||||
* | Updated NETunnelProvider save format | Eric Kuck | 2018-12-21 | 4 | -11/+11 |
| | | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | ||||
* | Localize all the things | Roopesh Chander | 2018-12-21 | 6 | -114/+148 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Tunnel detail: iPad: Handle deletion of tunnel correctly | Roopesh Chander | 2018-12-21 | 1 | -3/+10 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Enabled more swiftlint rules | Eric Kuck | 2018-12-20 | 4 | -10/+6 |
| | | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | ||||
* | Added a String->[String] helper | Eric Kuck | 2018-12-20 | 2 | -22/+42 |
| | | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | ||||
* | Tunnel edit: init() need not take a tunnelConfiguration argument | Roopesh Chander | 2018-12-19 | 2 | -6/+5 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Remove non-helpful comments | Roopesh Chander | 2018-12-19 | 4 | -5/+0 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Tunnel edit: Fix comment | Roopesh Chander | 2018-12-19 | 1 | -1/+1 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | s/Observervation/Observation/g; | Roopesh Chander | 2018-12-18 | 2 | -10/+10 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Tunnel detail: Update restorationIdentifier when tunnel name changes | Roopesh Chander | 2018-12-18 | 1 | -0/+1 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Got TunnelsManager back under the max file length by splitting out NEVPNStatus+CustomStringConvertible | Eric Kuck | 2018-12-16 | 2 | -2/+0 |
| | | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | ||||
* | Potential fix for insertRowAtIndexPath crash | Eric Kuck | 2018-12-16 | 1 | -0/+2 |
| | | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | ||||
* | Nuke duplicate file | Jason A. Donenfeld | 2018-12-15 | 1 | -484/+0 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Fixed editable KeyValueCells being copyable | Eric Kuck | 2018-12-14 | 2 | -4/+1 |
| | | | | | | Fixed DNS servers not saving Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | ||||
* | Fix confusing indentation | Jason A. Donenfeld | 2018-12-15 | 1 | -3/+1 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | KeyValueCells now share code | Eric Kuck | 2018-12-14 | 8 | -374/+192 |
| | | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | ||||
* | Reorganized project structure | Eric Kuck | 2018-12-14 | 17 | -0/+1 |
| | | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | ||||
* | Most similar views now shared between ViewControllers | Eric Kuck | 2018-12-14 | 22 | -380/+172 |
| | | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | ||||
* | Simplify logging tags | Jason A. Donenfeld | 2018-12-14 | 2 | -2/+2 |
| | | | | | | | This was roop's initial idea, and it turns out to be the better one, now that we can pass cstrings more easily. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Fix status switch weird state after an error occurs | Roopesh Chander | 2018-12-14 | 2 | -2/+2 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Deduplicate functions | Jason A. Donenfeld | 2018-12-14 | 1 | -9/+1 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Reorganized ViewControllers (split out UIViews and UITableViewCells into their own classes) | Eric Kuck | 2018-12-13 | 21 | -645/+1207 |
| | | | | | | All swiftlint warnings except one fixed up Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | ||||
* | TunnelsManager: Reintroduce waiting for another tunnel to deactivate | Roopesh Chander | 2018-12-13 | 1 | -0/+2 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Rewrite Logger | Jason A. Donenfeld | 2018-12-13 | 2 | -14/+4 |
| | | | | | | | This reverts all of Roop's changes to the C code, and then rewrites the logger logic to be cleaner. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | More reliable logo sizing | Eric Kuck | 2018-12-13 | 1 | -33/+34 |
| | | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | ||||
* | TunnelsManager: Report activation errors through the activationDelegate | Roopesh Chander | 2018-12-13 | 3 | -19/+15 |
| | | | | | | Don't report activation errors through completion handlers Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Logging: Write versions from both app and extension | Roopesh Chander | 2018-12-13 | 1 | -0/+1 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Logging: Tag the entries in the merged log | Roopesh Chander | 2018-12-13 | 1 | -1/+1 |
| | | | | | | | So we know which entry is from the app and which is from the network extension. Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Logging: Use ringlogger for logging from the app | Roopesh Chander | 2018-12-13 | 1 | -0/+2 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Logging: Use ringlogger for logging from the extension | Roopesh Chander | 2018-12-13 | 2 | -11/+15 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Remove useless whitespace | Jason A. Donenfeld | 2018-12-13 | 3 | -16/+16 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Settings: better padding calculation | Jason A. Donenfeld | 2018-12-13 | 1 | -3/+3 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Fixed hacky logo display for settings | Eric Kuck | 2018-12-12 | 1 | -3/+9 |
| | | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | ||||
* | More formatting nits and cyclomatic complexity fixes | Eric Kuck | 2018-12-12 | 5 | -61/+52 |
| | | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | ||||
* | More linter warnings fixed, enabled more swiftlint rules, project cleanup | Eric Kuck | 2018-12-12 | 10 | -397/+439 |
| | | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | ||||
* | Tons more swiftlint warnings fixed. Still a few remaining. | Eric Kuck | 2018-12-12 | 7 | -108/+106 |
| | | | | 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 | 8 | -315/+299 |
| | | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | ||||
* | Zip importing: importFromFile should take a completionHandler | Roopesh Chander | 2018-12-12 | 2 | -7/+13 |
| | | | | | | | Deletion of the being-imported file should be done in the completionHandler. Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | ErrorPresenter: Support onPresented for showErrorAlert(title:,message:) | Roopesh Chander | 2018-12-12 | 1 | -3/+4 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | State restoration: Don't create duplicate mainVC and tunnelsListVC | Roopesh Chander | 2018-12-11 | 1 | -6/+1 |
| | | | | | | | | | | | | | | | | | | | This creates a duplicate tunnels manager, leading to problems tracking tunnel statuses. To reproduce the bug that this commit fixes, you can do the following: 1. Remove all tunnels 2. Run in Xcode 3. Import zip with ~10 tunnels 4. Stop app in Xcode 5. Run in Xcode 6. Turn on 1st tunnel, after it's on, turn off Turn on 2nd tunnel, after it's on, turn off ... After 6-8 tunnels, the spinner doesn't show up, indicating that the status is not being tracked. Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Remove the feature of waiting for another tunnel to deactivate | Roopesh Chander | 2018-12-11 | 2 | -4/+2 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Allow turning off the status switch of a waiting tunnel | Roopesh Chander | 2018-12-11 | 2 | -2/+2 |
| | | | | | | It just means the waiting should be cancelled Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Error handling: alertText() can be nil | Roopesh Chander | 2018-12-11 | 1 | -1/+1 |
| | | | | | | Indicating that no alert is to be shown for that error. 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> | ||||
* | Settings: Dynamic Type support | Roopesh Chander | 2018-12-10 | 1 | -2/+6 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> |