Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2018-12-12 | Zip importing: importFromFile should take a completionHandler | Roopesh Chander | 2 | -7/+13 | |
Deletion of the being-imported file should be done in the completionHandler. Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-12 | ErrorPresenter: Support onPresented for showErrorAlert(title:,message:) | Roopesh Chander | 1 | -3/+4 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-12 | Zip importing: Handle spaces in filenames correctly | Roopesh Chander | 2 | -13/+14 | |
Previously, if a filename of a .conf file inside the zip file contained spaces, it was not imported. Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-12 | Supply missing pieces of path change | Jason A. Donenfeld | 4 | -13/+27 | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
2018-12-11 | Fixed a potential race condition, better naming on PacketTunnelSettingsGenerator methods | Eric Kuck | 2 | -18/+24 | |
Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | |||||
2018-12-11 | Added an (unfinished) NWPathMonitor implementation for reconnecting on network changes | Eric Kuck | 3 | -1/+42 | |
Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | |||||
2018-12-11 | Revert pure-go network monitoring and add wgSetConfig | Jason A. Donenfeld | 2 | -84/+18 | |
This reverts commit 99f0e457c34480f25582d7b4ed509404712c648c and adds a function too. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
2018-12-11 | State restoration: Don't create duplicate mainVC and tunnelsListVC | Roopesh Chander | 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> | |||||
2018-12-11 | TunnelsManager: Error out only on no-internet scenario | Roopesh Chander | 1 | -4/+4 | |
The other scenario happens even during reloading of a tunnel for activation. Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-11 | Remove the feature of waiting for another tunnel to deactivate | Roopesh Chander | 3 | -59/+11 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-11 | TunnelsManager: Deactivate only when the status becomes 'connected' | Roopesh Chander | 1 | -3/+11 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-11 | Allow turning off the status switch of a waiting tunnel | Roopesh Chander | 2 | -2/+2 | |
It just means the waiting should be cancelled Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-11 | TunnelsManager: Handle status change in TunnelsManager | Roopesh Chander | 1 | -66/+78 | |
Rather than in TunnelContainer. Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-11 | Error handling: alertText() can be nil | Roopesh Chander | 6 | -6/+6 | |
Indicating that no alert is to be shown for that error. Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-10 | TunnelsManager: Don't act on status change on tunnelProviders we don't have | Roopesh Chander | 1 | -2/+0 | |
That causes errors we don't want, and duplicate notifications. Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-10 | TunnelsManager: Always call the completion handler before returning | Roopesh Chander | 1 | -0/+4 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-10 | TunnelsManager: Debugging helpers for tunnel status | Roopesh Chander | 1 | -0/+27 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-10 | TunnelsManager: Handle deactivation of a waiting tunnel | Roopesh Chander | 1 | -1/+6 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-10 | Tunnels list: Fix AutoLayout error during deletion of a tunnel | Roopesh Chander | 1 | -2/+6 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-10 | Settings: Dynamic Type support | Roopesh Chander | 1 | -2/+6 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-10 | Tunnel edit: Dynamic Type support | Roopesh Chander | 1 | -6/+56 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-10 | Tunnel detail: Dynamic Type support | Roopesh Chander | 2 | -6/+57 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-09 | Tunnels list: Dynamic Type support for the add button at the center | Roopesh Chander | 1 | -0/+2 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-09 | Tunnels list: Dynamic Type support for the table view | Roopesh Chander | 1 | -6/+12 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-09 | Model: Declare keyLength constant and use that wherever applicable | Roopesh Chander | 4 | -15/+21 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-08 | TunnelsManager: Observe status for all tunnels in one block | Roopesh Chander | 1 | -52/+54 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-08 | TunnelsManager: Remove unused variables | Roopesh Chander | 1 | -14/+0 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-08 | Zip: Fix comment | Roopesh Chander | 1 | -1/+1 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-07 | Version bump0.0.20181104-5 | Jason A. Donenfeld | 1 | -1/+1 | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
2018-12-07 | PacketTunnelProvider: Show log timestamp | Jason A. Donenfeld | 1 | -14/+3 | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
2018-12-07 | wireguard-go-bridge: account for network changes | Jason A. Donenfeld | 1 | -5/+85 | |
Everytime the network changes, we need to recreate the UDP socket, because the ephemeral listen port is tied to the old physical interface. As well, we need to re-set the IP addresses for each endpoint, so that they're passed to getaddrinfo and are then resolved using DNS46. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
2018-12-08 | Zip: Increase size of buffer used to read data from the archive | Roopesh Chander | 1 | -1/+1 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-08 | Settings: Export log: Perform file operations in a background thread | Roopesh Chander | 1 | -26/+31 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-08 | On-Demand: TunnelViewModel: Make activate-on-demand methods static | Roopesh Chander | 2 | -4/+4 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-08 | On-Demand: Move detail text to TunnelViewModel | Roopesh Chander | 2 | -20/+13 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-07 | Plist: Handle crypto export | Jason A. Donenfeld | 2 | -0/+4 | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
2018-12-07 | Make strings consistent | Jason A. Donenfeld | 4 | -9/+9 | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
2018-12-07 | State restoration: Restore tunnel detail view | Roopesh Chander | 5 | -1/+76 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-07 | Main VC: No need to refresh statuses if the tunnelsManager isn't initialized yet | Roopesh Chander | 1 | -4/+0 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-07 | Tunnels list: Deselect rows correctly | Roopesh Chander | 1 | -1/+7 | |
Do it like UITableViewController.clearsSelectionOnViewWillAppear would. Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-07 | Settings: Exporting configs as zip should open document picker | Roopesh Chander | 1 | -5/+3 | |
Because: - Exporting UI should be consistent with importing UI - UIActivityVC takes a long time to open Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-07 | Error handling: Use ErrorPresenter.showErrorAlert() instead of per-VC showErrorAlert() methods | Roopesh Chander | 4 | -38/+9 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-07 | Error handling: Use WireGuardAppError and WireGuardResult throughout the app | Roopesh Chander | 5 | -41/+45 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-07 | Error handling: Introduce a WireGuardResult type to handle errors in callbacks across the app | Roopesh Chander | 3 | -28/+34 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-07 | Error handling: Introduce a WireGuardAppError protocol to manage errors | Roopesh Chander | 4 | -29/+39 | |
The alert strings shall be located next to where the errors are declared. Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-07 | Error handling: Cleanup Tunnels Manager errors | Roopesh Chander | 5 | -76/+110 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-07 | Error presenter: Always handle the passed error | Roopesh Chander | 1 | -4/+3 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-07 | Tunnel detail: Cell status switch should be toggled only after the alert presentation completes | Roopesh Chander | 1 | -4/+5 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-07 | Refactoring: Consolidate file deletion into a separate function | Roopesh Chander | 3 | -17/+16 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-07 | NE: Logging: Log file should begin with version numbers and tunnel name | Roopesh Chander | 3 | -0/+36 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> |