aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard (follow)
Commit message (Collapse)AuthorAgeFilesLines
* on-demand: iOS: Only n SSIDs / Except m SSIDsRoopesh Chander2019-03-184-2/+25
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* on-demand: iOS: Show list of SSIDs in a separate screenRoopesh Chander2019-03-183-6/+88
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* on-demand: iOS: SSIDs view: Always show the selected SSIDs sectionRoopesh Chander2019-03-183-25/+38
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* on-demand: Remove ActivateOnDemandSetting typeRoopesh Chander2019-03-188-74/+35
| | | | | | The ActivateOnDemandOption type shall be used instead Signed-off-by: Roopesh Chander <roop@roopc.net>
* on-demand: TunnelViewModel: Remove unused on-demand-related methodsRoopesh Chander2019-03-181-43/+0
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* on-demand: macOS: Tunnel detail: Show SSID infoRoopesh Chander2019-03-182-3/+25
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* on-demand: iOS: Update on-demand info shown in tunnel edit viewRoopesh Chander2019-03-183-4/+23
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* on-demand: ActivateOnDemandViewModel: Uniquify SSIDs listRoopesh Chander2019-03-181-2/+16
| | | | | | And if SSIDs list is empty, fall back to .anySSID option Signed-off-by: Roopesh Chander <roop@roopc.net>
* on-demand: macOS: Support SSIDs in on demand activationRoopesh Chander2019-03-184-22/+195
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* on-demand: iOS: Tunnel detail: Show SSID infoRoopesh Chander2019-03-184-17/+80
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* on-demand: iOS: Add ability to add current SSIDRoopesh Chander2019-03-182-6/+73
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* on-demand: iOS: Xcode: Add ability to access current SSIDRoopesh Chander2019-03-182-0/+5
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* on-demand: iOS: Support for SSIDsRoopesh Chander2019-03-188-41/+411
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* on-demand: Introducing ActivateOnDemandViewModelRoopesh Chander2019-03-183-0/+145
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* on-demand: Infrastructure for supporting SSID-based rulesRoopesh Chander2019-03-184-21/+71
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* on-demand: Simplify OS-specific code for interface type selectionRoopesh Chander2019-03-184-71/+43
| | | | | | | | 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: Localize tooltipsRoopesh Chander2019-03-182-2/+7
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Tunnel detail: Make the Activate button part of the list viewRoopesh Chander2019-03-184-39/+112
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Nullify observationToken on prepareForReuse()Roopesh Chander2019-03-181-0/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* TunnelName: sort correctly with numbers and capitalsJason A. Donenfeld2019-03-182-5/+8
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ringlogger: support mpsc for singlefileJason A. Donenfeld2019-03-1711-93/+159
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* macOS: Tunnel detail: Activate / Deactivate is now a buttonRoopesh Chander2019-03-172-35/+33
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Tunnel detail: Show the status in the list viewRoopesh Chander2019-03-173-8/+61
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: KeyValueImageRow classRoopesh Chander2019-03-171-4/+44
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* wg-quick parser: trim \r as wellJason A. Donenfeld2019-03-111-5/+5
| | | | | | | | The influx of Windows users has already begun to infect our nice project. Reported-by: Cosku Bas <cosku.bas@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* TunnelsManager: Don't restart if only on-demand setting has changedRoopesh Chander2019-03-111-5/+11
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Ability to remove multiple tunnels at a timeRoopesh Chander2019-03-103-13/+41
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* TunnelsManager: Support for removing multiple tunnels at a timeRoopesh Chander2019-03-101-2/+22
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Generalize NoTunnelsDetailVC into a ButtonedDetailVCRoopesh Chander2019-03-104-51/+58
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Importing: Only the main thread shall access lastFileImportErrorTextRoopesh Chander2019-03-051-8/+8
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Importing: Make use of lastError returned from TunnelsManager.addMultiple()Roopesh Chander2019-03-051-13/+12
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* TunnelsManager: addMultiple() should also return the last errorRoopesh Chander2019-03-052-6/+8
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Importing: Simplify TunnelImporterRoopesh Chander2019-03-041-65/+56
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Importing: macOS: Support importing of multiple files at a timeRoopesh Chander2019-02-255-7/+46
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Importing: Use case-insensitive comparison for zip extensionRoopesh Chander2019-02-251-1/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* iOS: Hack to restart active tunnel after adding a new tunnelRoopesh Chander2019-02-241-1/+16
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Importing: Show OS error when unable to open a .conf fileRoopesh Chander2019-02-241-2/+8
| | | | 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: When programmatically selecting a tunnel, also scroll if requiredRoopesh Chander2019-02-221-0/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Replace NSSegmentedControl with NSPopUpButton and NSButtonRoopesh Chander2019-02-221-43/+50
| | | | | | Thereby avoiding the hacky way of showing the menus. Signed-off-by: Roopesh Chander <roop@roopc.net>
* Importing: Give a clearer error message on importing an invalid configRoopesh Chander2019-02-222-3/+3
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Show 'quitting with active tunnel' only when appropriateRoopesh Chander2019-02-223-13/+8
| | | | | | Not when logging off or when the machine's shutting down Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Fix removal of DNSes from AllowedIPs when DNS has changedRoopesh Chander2019-02-212-5/+7
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* iOS: On changing DNS, update AllowedIPs with the current DNS serversRoopesh Chander2019-02-213-5/+26
| | | | 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>
* Importing: Better error message when .conf file is not readableRoopesh Chander2019-02-212-2/+14
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Specify crypto complianceJason A. Donenfeld2019-02-191-0/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* TunnelViewModel: Remove DNS from AllowedIPs when unchecking 'Exclude private IPs'Roopesh Chander2019-02-161-2/+7
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Exclude private IPsRoopesh Chander2019-02-163-0/+61
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>