aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/UI (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-03-18macos: TunnelsList: set allowsEmptySelection after making initial selectionJason A. Donenfeld1-1/+1
Otherwise we never get the event that the selection changed, so we don't wind up showing anything in the details pane. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-03-18iOS: Consolidate all showConfirmationAlert()s into one placeRoopesh Chander4-47/+33
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-18iOS: Tunnels list: Ability to remove multiple tunnels at a timeRoopesh Chander2-4/+137
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-18iOS: Tunnel edit: Add missing enum valuesRoopesh Chander1-0/+2
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-19macOS: ButtonedDetailViewController: Set min dimensionsRoopesh Chander1-0/+6
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-18macOS: Tunnels list: Double-click to activate / deactivateRoopesh Chander1-0/+13
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-18macOS: Tunnels list: Don't allow empty selectionRoopesh Chander1-0/+1
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-18on-demand: macOS: Remove unused class ControlRowRoopesh Chander1-61/+0
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-18on-demand: macOS: Integrate Ethernet and Wi-Fi controls in one rowRoopesh Chander2-45/+82
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-18on-demand: View model should account for isActivateOnDemandEnabledRoopesh Chander5-20/+22
This is needed to correctly handle NETunnelProviderManager's isOnDemandEnabled property getting changed outside of the app. Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-18on-demand: macOS: Disable SSIDs field when adding a tunnelRoopesh Chander1-0/+1
It shouldn't be editable when the VPN prompt is shown. Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-18on-demand: iOS: Disable selection in SSID detail table viewRoopesh Chander1-0/+1
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-18on-demand: macOS: Remove unused class PopupRowRoopesh Chander1-75/+0
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-18on-demand: macOS: Auto-complete SSIDs based on currently connected SSIDRoopesh Chander1-0/+16
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-18on-demand: "Only selected SSIDs" -> "Only these SSIDs"Roopesh Chander1-2/+2
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-18on-demand: macOS: Tunnel detail: List SSIDsRoopesh Chander1-1/+9
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-18on-demand: iOS: Only n SSIDs / Except m SSIDsRoopesh Chander3-2/+21
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-18on-demand: iOS: Show list of SSIDs in a separate screenRoopesh Chander2-6/+84
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-18on-demand: iOS: SSIDs view: Always show the selected SSIDs sectionRoopesh Chander2-23/+35
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-18on-demand: Remove ActivateOnDemandSetting typeRoopesh Chander5-30/+15
The ActivateOnDemandOption type shall be used instead Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-18on-demand: TunnelViewModel: Remove unused on-demand-related methodsRoopesh Chander1-43/+0
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-18on-demand: macOS: Tunnel detail: Show SSID infoRoopesh Chander1-3/+24
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-18on-demand: iOS: Update on-demand info shown in tunnel edit viewRoopesh Chander3-4/+23
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-18on-demand: ActivateOnDemandViewModel: Uniquify SSIDs listRoopesh Chander1-2/+16
And if SSIDs list is empty, fall back to .anySSID option Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-18on-demand: macOS: Support SSIDs in on demand activationRoopesh Chander3-22/+187
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-18on-demand: iOS: Tunnel detail: Show SSID infoRoopesh Chander3-13/+78
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-18on-demand: iOS: Add ability to add current SSIDRoopesh Chander1-5/+71
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-18on-demand: iOS: Xcode: Add ability to access current SSIDRoopesh Chander1-0/+2
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-18on-demand: iOS: Support for SSIDsRoopesh Chander5-41/+380
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-18on-demand: Introducing ActivateOnDemandViewModelRoopesh Chander1-0/+128
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-18on-demand: Infrastructure for supporting SSID-based rulesRoopesh Chander3-5/+5
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-18on-demand: Simplify OS-specific code for interface type selectionRoopesh Chander3-25/+22
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>
2019-03-18macOS: Localize tooltipsRoopesh Chander1-2/+2
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-18macOS: Tunnel detail: Make the Activate button part of the list viewRoopesh Chander3-39/+108
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-18macOS: Nullify observationToken on prepareForReuse()Roopesh Chander1-0/+1
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-17ringlogger: support mpsc for singlefileJason A. Donenfeld4-14/+4
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-03-17macOS: Tunnel detail: Activate / Deactivate is now a buttonRoopesh Chander1-35/+25
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-17macOS: Tunnel detail: Show the status in the list viewRoopesh Chander2-8/+60
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-17macOS: KeyValueImageRow classRoopesh Chander1-4/+44
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-10macOS: Ability to remove multiple tunnels at a timeRoopesh Chander2-13/+38
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-10macOS: Generalize NoTunnelsDetailVC into a ButtonedDetailVCRoopesh Chander3-47/+54
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-05Importing: Only the main thread shall access lastFileImportErrorTextRoopesh Chander1-8/+8
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-05Importing: Make use of lastError returned from TunnelsManager.addMultiple()Roopesh Chander1-13/+12
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-05TunnelsManager: addMultiple() should also return the last errorRoopesh Chander1-1/+1
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-04Importing: Simplify TunnelImporterRoopesh Chander1-65/+56
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-02-25Importing: macOS: Support importing of multiple files at a timeRoopesh Chander4-7/+43
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-02-25Importing: Use case-insensitive comparison for zip extensionRoopesh Chander1-1/+1
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-02-24Importing: Show OS error when unable to open a .conf fileRoopesh Chander1-2/+8
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-02-24macOS: Tunnel edit: Disable user interaction when OS VPN prompt is shownRoopesh Chander1-0/+10
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-02-24macOS: Tunnel edit: s/populateTextFields()/populateFields()/g;Roopesh Chander1-2/+2
Signed-off-by: Roopesh Chander <roop@roopc.net>