aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-03-17ringlogger: support mpsc for singlefileJason A. Donenfeld5-17/+4
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-03-17macOS: Tunnel detail: Activate / Deactivate is now a buttonRoopesh Chander2-35/+33
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-17macOS: Tunnel detail: Show the status in the list viewRoopesh Chander3-8/+61
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-11TunnelsManager: Don't restart if only on-demand setting has changedRoopesh Chander1-5/+11
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-10macOS: Ability to remove multiple tunnels at a timeRoopesh Chander3-13/+41
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-10TunnelsManager: Support for removing multiple tunnels at a timeRoopesh Chander1-2/+22
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 Chander2-6/+8
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 Chander5-7/+46
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-24iOS: Hack to restart active tunnel after adding a new tunnelRoopesh Chander1-1/+16
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>
2019-02-22macOS: When programmatically selecting a tunnel, also scroll if requiredRoopesh Chander1-0/+1
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-02-22macOS: Replace NSSegmentedControl with NSPopUpButton and NSButtonRoopesh Chander1-43/+50
Thereby avoiding the hacky way of showing the menus. Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-02-22Importing: Give a clearer error message on importing an invalid configRoopesh Chander2-3/+3
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-02-22macOS: Show 'quitting with active tunnel' only when appropriateRoopesh Chander3-13/+8
Not when logging off or when the machine's shutting down Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-02-21macOS: Fix removal of DNSes from AllowedIPs when DNS has changedRoopesh Chander2-5/+7
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-02-21iOS: On changing DNS, update AllowedIPs with the current DNS serversRoopesh Chander3-5/+26
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-02-21macOS: On saving, update AllowedIPs with the current DNS serversRoopesh Chander1-1/+19
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-02-21Importing: Better error message when .conf file is not readableRoopesh Chander2-2/+14
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-02-19macOS: Specify crypto complianceJason A. Donenfeld1-0/+2
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-02-16TunnelViewModel: Remove DNS from AllowedIPs when unchecking 'Exclude private IPs'Roopesh Chander1-2/+7
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-02-16macOS: Exclude private IPsRoopesh Chander3-0/+61
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-02-16TunnelViewModel: Minor refactoring of exclude private IPs handlingRoopesh Chander1-20/+23
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-02-16ConfTextStorage: lowercase only onceJason A. Donenfeld1-5/+4
Also fix submodule regression. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-02-16ConfTextStorage: Let's keep the AllowedIPs and DNS servers as stringsRoopesh Chander1-8/+4
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-02-16ConfTextStorage: Make fieldType an enumRoopesh Chander1-11/+8
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-02-15ConfTextStorage: keep track of single peer state for exclude private IPsJason A. Donenfeld1-1/+59
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-02-15macOS: Tunnel detail: Set min width/heightRoopesh Chander1-0/+5
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-02-15macOS: Tunnels list: Use constant width for the table viewRoopesh Chander2-3/+2
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-02-15macOS: Show privacy notice on adding first tunnel0.0.20190207-3Jason A. Donenfeld4-8/+43
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>
2019-02-14Version bumpJason A. Donenfeld1-1/+1
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-02-12Preshared key field in the detail view should just say 'enabled'Roopesh Chander3-0/+6
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-02-12Migrate when we notice a new tunnel in reload()Roopesh Chander1-0/+5
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-02-11Info.plist: Localize with InfoPlist.stringsRoopesh Chander2-2/+9
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-02-10macOS: Change keyboard shortcut for importing to Cmd+ORoopesh Chander2-2/+2
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-02-10macOS: Adapt to the new applyConfiguration APIRoopesh Chander1-34/+57
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-02-10iOS: Rewrite applying runtime configurationRoopesh Chander2-66/+76
To make scrolling smoother while the fields are modified Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-02-09Importing: Ignore case in matching file extensions inside zip filesRoopesh Chander1-1/+2
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-02-09TunnelsManager: No need to access tunnelConfiguration on status changeRoopesh Chander1-5/+1
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-02-08Version bump0.0.20190207-2Jason A. Donenfeld1-1/+1
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-02-08Global: fix swiftlint issuesJason A. Donenfeld6-13/+15
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-02-08Info.plist: Add missing key types0.0.20190207-1Jason A. Donenfeld1-0/+2
I worry that LSMinimumSystemVersion in the extension's plist might be problematic, since that same plist runs on macOS and iOS. We _might_ need to bifurcate. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-02-08Version bumpJason A. Donenfeld1-1/+1
First Mac App Store release if all goes well. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>