Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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> |