Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Better os() directives | Roopesh Chander | 2019-01-22 | 1 | -2/+6 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | On-Demand: Add support for macOS-specific values | Roopesh Chander | 2019-01-14 | 1 | -2/+13 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | import Foundation instead of UIKit wherever possible | Roopesh Chander | 2019-01-14 | 1 | -1/+1 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Update copyright | Jason A. Donenfeld | 2019-01-07 | 1 | -1/+1 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Remove more comments | Roopesh Chander | 2018-12-23 | 1 | -21/+2 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Attempt to strongly recommend things | Jason A. Donenfeld | 2018-12-22 | 1 | -4/+6 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Move name from interface to tunnel | Jason A. Donenfeld | 2018-12-22 | 1 | -7/+12 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Updated NETunnelProvider save format | Eric Kuck | 2018-12-21 | 1 | -4/+4 |
| | | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | ||||
* | Localize all the things | Roopesh Chander | 2018-12-21 | 1 | -36/+61 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Enabled more swiftlint rules | Eric Kuck | 2018-12-20 | 1 | -1/+1 |
| | | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | ||||
* | Added a String->[String] helper | Eric Kuck | 2018-12-20 | 1 | -22/+10 |
| | | | | 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> | ||||
* | Reorganized project structure | Eric Kuck | 2018-12-14 | 1 | -0/+1 |
| | | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | ||||
* | Reorganized ViewControllers (split out UIViews and UITableViewCells into their own classes) | Eric Kuck | 2018-12-13 | 1 | -0/+2 |
| | | | | | | All swiftlint warnings except one fixed up Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | ||||
* | More formatting nits and cyclomatic complexity fixes | Eric Kuck | 2018-12-12 | 1 | -18/+16 |
| | | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | ||||
* | More linter warnings fixed, enabled more swiftlint rules, project cleanup | Eric Kuck | 2018-12-12 | 1 | -3/+3 |
| | | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | ||||
* | Tons more swiftlint warnings fixed. Still a few remaining. | Eric Kuck | 2018-12-12 | 1 | -29/+27 |
| | | | | 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 | -11/+11 |
| | | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | ||||
* | Model: Declare keyLength constant and use that wherever applicable | Roopesh Chander | 2018-12-09 | 1 | -4/+4 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | On-Demand: TunnelViewModel: Make activate-on-demand methods static | Roopesh Chander | 2018-12-08 | 1 | -2/+2 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | On-Demand: Move detail text to TunnelViewModel | Roopesh Chander | 2018-12-08 | 1 | -0/+12 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Make strings consistent | Jason A. Donenfeld | 2018-12-07 | 1 | -4/+4 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | It's 'WiFi', not 'Wifi' | Roopesh Chander | 2018-11-28 | 1 | -5/+5 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Tunnel view model: Invalidate the configuration object when updating allowedIPs using the 'Exclude private IPs' switch | Roopesh Chander | 2018-11-19 | 1 | -0/+1 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Tunnel view model: VPN-on-demand stuff shouldn't be part of the tunnel model | Roopesh Chander | 2018-11-12 | 1 | -16/+22 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Tunnel edit, Tunnel view model: UI for providing On-Demand activation options | Roopesh Chander | 2018-11-11 | 1 | -0/+16 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Model: Ensure that a TunnelConfiguration always has a valid array of peers | Roopesh Chander | 2018-11-10 | 1 | -2/+1 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Tunnel view model: Peers in a configuation may not share the same public key | Roopesh Chander | 2018-11-06 | 1 | -0/+7 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Tunnel view model: No need to save if we already have a validated configuration object | Roopesh Chander | 2018-11-05 | 1 | -0/+8 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Global: run through swiftlint | Jason A. Donenfeld | 2018-11-03 | 1 | -2/+2 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Ensure that all tunnel names are trimmed of whitespaces | Roopesh Chander | 2018-11-03 | 1 | -1/+1 |
| | | | | 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> | ||||
* | Global: fix up strings | Jason A. Donenfeld | 2018-11-01 | 1 | -13/+13 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | UI: More elegant copy-to-clipboard behavior | Jason A. Donenfeld | 2018-10-31 | 1 | -2/+1 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Tunnel view model: IP address can be specified without '/cidr' | Roopesh Chander | 2018-10-30 | 1 | -1/+1 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Global: fix up captialization in headers | Jason A. Donenfeld | 2018-10-30 | 1 | -1/+1 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Tunnel view model: Support for exclude private IPs | Roopesh Chander | 2018-10-29 | 1 | -0/+70 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Model: Allow creating an interface with empty name | Roopesh Chander | 2018-10-27 | 1 | -1/+1 |
| | | | | | | | | But don't allow such a tunnel to be added to the tunnel manager. (We'll need to create an interface with an empty name when we're reading QR codes.) Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Model: MTU should be a 16-bit integer | Roopesh Chander | 2018-10-27 | 1 | -2/+2 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Tunnel detail: Don't show fields that have empty value | Roopesh Chander | 2018-10-27 | 1 | -0/+28 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Tunnel creation: Compute public key from private key as the text is being edited | Roopesh Chander | 2018-10-27 | 1 | -0/+12 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Tunnel view model: Populate interface's public key | Roopesh Chander | 2018-10-27 | 1 | -0/+1 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Smaller copyright headers | Roopesh Chander | 2018-10-27 | 1 | -7/+2 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Tunnel view model: Add copy public key | Roopesh Chander | 2018-10-27 | 1 | -0/+1 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Tunnel view model: The view model applies for both editing and viewing | Roopesh Chander | 2018-10-27 | 1 | -8/+8 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Model: Use DNSServer in the Configuration model | Roopesh Chander | 2018-10-27 | 1 | -4/+13 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Model: listenPort and persistentKeepAlive should be 16-bit integers | Roopesh Chander | 2018-10-27 | 1 | -4/+4 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Tunnel creation: Refactor by creating a separate view model | Roopesh Chander | 2018-10-27 | 1 | -0/+309 |
Signed-off-by: Roopesh Chander <roop@roopc.net> |