aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/UI/macOS/ViewController/TunnelEditViewController.swift (follow)
Commit message (Collapse)AuthorAgeFilesLines
* on-demand: macOS: Integrate Ethernet and Wi-Fi controls in one rowRoopesh Chander2019-03-181-27/+6
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* on-demand: View model should account for isActivateOnDemandEnabledRoopesh Chander2019-03-181-1/+1
| | | | | | | This is needed to correctly handle NETunnelProviderManager's isOnDemandEnabled property getting changed outside of the app. Signed-off-by: Roopesh Chander <roop@roopc.net>
* on-demand: macOS: Disable SSIDs field when adding a tunnelRoopesh Chander2019-03-181-0/+1
| | | | | | It shouldn't be editable when the VPN prompt is shown. Signed-off-by: Roopesh Chander <roop@roopc.net>
* on-demand: Remove ActivateOnDemandSetting typeRoopesh Chander2019-03-181-11/+4
| | | | | | The ActivateOnDemandOption type shall be used instead Signed-off-by: Roopesh Chander <roop@roopc.net>
* on-demand: macOS: Support SSIDs in on demand activationRoopesh Chander2019-03-181-22/+29
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* on-demand: Infrastructure for supporting SSID-based rulesRoopesh Chander2019-03-181-2/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* on-demand: Simplify OS-specific code for interface type selectionRoopesh Chander2019-03-181-3/+3
| | | | | | | | Previously, the enum values themselves were different for iOS and macOS. With this commit, the enum values are common, and only how they're handled is specific to iOS and macOS. Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Tunnel edit: Disable user interaction when OS VPN prompt is shownRoopesh Chander2019-02-241-0/+10
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Tunnel edit: s/populateTextFields()/populateFields()/g;Roopesh Chander2019-02-241-2/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Fix removal of DNSes from AllowedIPs when DNS has changedRoopesh Chander2019-02-211-1/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: On saving, update AllowedIPs with the current DNS serversRoopesh Chander2019-02-211-1/+19
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Exclude private IPsRoopesh Chander2019-02-161-0/+41
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Show privacy notice on adding first tunnel0.0.20190207-3Jason A. Donenfeld2019-02-151-7/+9
| | | | | | | | App store reviewers don't understand that this isn't a service. Revert this as soon as they come to their senses. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Key: Constant time encodingJason A. Donenfeld2019-02-081-6/+6
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* macOS: Disable save button if the syntax highlighter detects any errorsRoopesh Chander2019-01-221-2/+6
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Tunnel edit: actually clean up error handlingJason A. Donenfeld2019-01-211-4/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* macOS: Tunnel edit: Clean up error handling when savingRoopesh Chander2019-01-221-35/+30
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Observe private key changes for new tunnels tooJason A. Donenfeld2019-01-211-10/+10
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Avoid using return in single-line closuresRoopesh Chander2019-01-221-3/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* global: Fix up copyright headersJason A. Donenfeld2019-01-181-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* macOS: Fix autolayout errors on Add Empty TunnelRoopesh Chander2019-01-171-5/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Tunnel edit: Rename action handling methodsRoopesh Chander2019-01-171-4/+4
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Edit view: Auto hide editor scrollbarsRoopesh Chander2019-01-141-0/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: To set default size, change frame instead of min sizeRoopesh Chander2019-01-141-3/+3
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Fix editor scrollingRoopesh Chander2019-01-141-2/+3
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Default view controller sizesEric Kuck2019-01-141-2/+2
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* macOS: Support for on-demand activationRoopesh Chander2019-01-141-3/+33
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Manage tunnels: Add empty tunnel pulldown menu implementationRoopesh Chander2019-01-141-2/+41
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Update detail view after editingRoopesh Chander2019-01-141-0/+9
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Edit view: Update public key as you editRoopesh Chander2019-01-141-2/+15
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Parsing: Always error on unrecognized keysRoopesh Chander2019-01-141-1/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Edit view: Validate and saveRoopesh Chander2019-01-141-1/+27
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Added syntax highlighting conf textviewEric Kuck2019-01-141-2/+2
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* macOS: Tunnel edit viewRoopesh Chander2019-01-141-0/+125
Signed-off-by: Roopesh Chander <roop@roopc.net>