]> git.ipfire.org Git - thirdparty/wireguard-apple.git/log
thirdparty/wireguard-apple.git
6 years agomacOS: Show app in dock when showing the manage tunnels window
Roopesh Chander [Wed, 24 Apr 2019 09:49:20 +0000 (15:19 +0530)] 
macOS: Show app in dock when showing the manage tunnels window

This way, the app can participate in Cmd+Tab

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Edit view: Save on Cmd+S
Roopesh Chander [Sun, 12 May 2019 10:15:26 +0000 (15:45 +0530)] 
macOS: Edit view: Save on Cmd+S

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Edit view: Dismiss on Esc
Roopesh Chander [Sun, 12 May 2019 07:53:52 +0000 (13:23 +0530)] 
macOS: Edit view: Dismiss on Esc

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Log view: Dismiss on Esc
Roopesh Chander [Sun, 12 May 2019 07:42:43 +0000 (13:12 +0530)] 
macOS: Log view: Dismiss on Esc

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoiOS: Log view: Improve the look
Roopesh Chander [Sat, 27 Apr 2019 20:15:02 +0000 (01:45 +0530)] 
iOS: Log view: Improve the look

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agowireguard-go-bridge: add missing format specifier for error
Jason A. Donenfeld [Wed, 24 Apr 2019 11:23:45 +0000 (13:23 +0200)] 
wireguard-go-bridge: add missing format specifier for error

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoVersion bump 0.0.20190423-8
Jason A. Donenfeld [Tue, 23 Apr 2019 04:36:47 +0000 (06:36 +0200)] 
Version bump

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoXcode: Use dwarf for debug and dwarf-with-dsym for release
Roopesh Chander [Sun, 21 Apr 2019 12:52:31 +0000 (18:22 +0530)] 
Xcode: Use dwarf for debug and dwarf-with-dsym for release

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoSwift 5 migration: Make use of Result type
Roopesh Chander [Mon, 8 Apr 2019 07:52:06 +0000 (13:22 +0530)] 
Swift 5 migration: Make use of Result type

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Detect when updating from the App Store
Roopesh Chander [Wed, 17 Apr 2019 08:05:43 +0000 (13:35 +0530)] 
macOS: Detect when updating from the App Store

And show an alert when tunnels are active during updation -- that
might cause the update to not work correctly.

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoVersion bump 0.0.20190409-7
Jason A. Donenfeld [Fri, 12 Apr 2019 08:32:06 +0000 (10:32 +0200)] 
Version bump

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoLog view: Don't use a global array to store log entries
Roopesh Chander [Wed, 10 Apr 2019 10:28:00 +0000 (15:58 +0530)] 
Log view: Don't use a global array to store log entries

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Log view: Stop updating the log once the log view is dismissed
Roopesh Chander [Wed, 10 Apr 2019 09:37:48 +0000 (15:07 +0530)] 
macOS: Log view: Stop updating the log once the log view is dismissed

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoVersion bump 0.0.20190409-6
Jason A. Donenfeld [Tue, 9 Apr 2019 08:49:48 +0000 (10:49 +0200)] 
Version bump

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agowireguard-go-bridge: bump again for version file placement
Jason A. Donenfeld [Tue, 9 Apr 2019 08:43:24 +0000 (10:43 +0200)] 
wireguard-go-bridge: bump again for version file placement

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoSwift 5 migration: Handle changes in Data's pointer interface
Roopesh Chander [Tue, 9 Apr 2019 05:41:28 +0000 (11:11 +0530)] 
Swift 5 migration: Handle changes in Data's pointer interface

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoSwift 5 migration: Fix switch warnings
Roopesh Chander [Mon, 8 Apr 2019 09:48:26 +0000 (15:18 +0530)] 
Swift 5 migration: Fix switch warnings

We now get a warning when switching over enums from system
frameworks even when we handle all public cases because
there can be future cases that aren't handled.

When such a future case is introduced, we'll get a warning.

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agowireguard-go-bridge: version bump to new tag
Jason A. Donenfeld [Tue, 9 Apr 2019 05:44:50 +0000 (07:44 +0200)] 
wireguard-go-bridge: version bump to new tag

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoXcode: Move to Swift 5.0
Roopesh Chander [Sun, 7 Apr 2019 11:12:36 +0000 (16:42 +0530)] 
Xcode: Move to Swift 5.0

No code changes were necessary

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Minor fix to export panel texts
Roopesh Chander [Sat, 6 Apr 2019 12:29:42 +0000 (17:59 +0530)] 
macOS: Minor fix to export panel texts

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Tunnels list: Suppress alert buttons when removing tunnels is in progress
Roopesh Chander [Sat, 6 Apr 2019 09:52:05 +0000 (15:22 +0530)] 
macOS: Tunnels list: Suppress alert buttons when removing tunnels is in progress

Also refactor the deletion alert into a separate helper class

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoTunnelsManager: When setting a config, also set isAvailable cache
Roopesh Chander [Fri, 5 Apr 2019 18:56:06 +0000 (00:26 +0530)] 
TunnelsManager: When setting a config, also set isAvailable cache

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Tunnels list: Show the confirmation alert till removal completes
Roopesh Chander [Fri, 5 Apr 2019 13:52:42 +0000 (19:22 +0530)] 
macOS: Tunnels list: Show the confirmation alert till removal completes

Fix tunnel selection during deletion

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoTunnelsManager: Fix comparing tunnels with tunnelProviders in reload()
Roopesh Chander [Fri, 5 Apr 2019 08:13:05 +0000 (13:43 +0530)] 
TunnelsManager: Fix comparing tunnels with tunnelProviders in reload()

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoTunnelsManager: Cache isTunnelConfigurationAvailableInKeychain
Roopesh Chander [Fri, 5 Apr 2019 07:59:17 +0000 (13:29 +0530)] 
TunnelsManager: Cache isTunnelConfigurationAvailableInKeychain

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Attempt to remove keychain item only if verified
Roopesh Chander [Thu, 4 Apr 2019 09:59:25 +0000 (15:29 +0530)] 
macOS: Attempt to remove keychain item only if verified

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Simplify reusing of the detail VC when applicable
Roopesh Chander [Thu, 4 Apr 2019 06:54:25 +0000 (12:24 +0530)] 
macOS: Simplify reusing of the detail VC when applicable

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Hide other-user tunnels in the status menu
Roopesh Chander [Wed, 3 Apr 2019 13:48:53 +0000 (19:18 +0530)] 
macOS: Hide other-user tunnels in the status menu

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Better handling of tunnels created by another user
Roopesh Chander [Wed, 3 Apr 2019 11:02:12 +0000 (16:32 +0530)] 
macOS: Better handling of tunnels created by another user

Previously, the tunnels just got deleted.

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoiOS: Log view: Make log text selectable
Roopesh Chander [Mon, 1 Apr 2019 17:59:15 +0000 (23:29 +0530)] 
iOS: Log view: Make log text selectable

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Log view: Fix autoscroll to end of log
Roopesh Chander [Mon, 1 Apr 2019 17:06:16 +0000 (22:36 +0530)] 
macOS: Log view: Fix autoscroll to end of log

Looks like the tableview doesn't know how much to scroll to get to the
end when we use usesAutomaticRowHeights. So we wait for the tableview
to realize its frame has changed and then scroll to the bottom of the
frame explicitly.

Also, we keep track of whether the scroll view is scrolled to the end or
not every time scrolling happens, not just when we add log entries to
the table.

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Bring app to front before 'exiting with an active tunnel' alert
Roopesh Chander [Thu, 28 Mar 2019 18:40:05 +0000 (00:10 +0530)] 
macOS: Bring app to front before 'exiting with an active tunnel' alert

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: If a sheet is being shown, ignore quit and bring window to front
Roopesh Chander [Thu, 28 Mar 2019 18:32:54 +0000 (00:02 +0530)] 
macOS: If a sheet is being shown, ignore quit and bring window to front

Otherwise, the 'exiting with an active tunnel' alert could get queued up
to be shown after the current sheet is dismissed.

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agowireguard-go-bridge: update deps
Jason A. Donenfeld [Thu, 28 Mar 2019 14:55:53 +0000 (15:55 +0100)] 
wireguard-go-bridge: update deps

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agomacOS: Log view: No need to disable Close button
Roopesh Chander [Thu, 28 Mar 2019 14:02:58 +0000 (19:32 +0530)] 
macOS: Log view: No need to disable Close button

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoiOS: Ability to view the log
Roopesh Chander [Thu, 28 Mar 2019 13:58:27 +0000 (19:28 +0530)] 
iOS: Ability to view the log

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoiOS: Xcode: Minor project rearrangement
Roopesh Chander [Thu, 28 Mar 2019 08:40:42 +0000 (14:10 +0530)] 
iOS: Xcode: Minor project rearrangement

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Ability to view the log
Roopesh Chander [Wed, 27 Mar 2019 12:26:38 +0000 (17:56 +0530)] 
macOS: Ability to view the log

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoAdd LogViewHelper
Roopesh Chander [Tue, 26 Mar 2019 07:51:00 +0000 (13:21 +0530)] 
Add LogViewHelper

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Syntax highlighter: Free spans array
Roopesh Chander [Fri, 22 Mar 2019 12:23:34 +0000 (17:53 +0530)] 
macOS: Syntax highlighter: Free spans array

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Hide exclude private IPs when PrivateKey / PublicKey is missing
Roopesh Chander [Fri, 22 Mar 2019 10:22:39 +0000 (15:52 +0530)] 
macOS: Hide exclude private IPs when PrivateKey / PublicKey is missing

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Syntax highlighter: Swift can bridge c strings automatically
Roopesh Chander [Fri, 22 Mar 2019 10:01:02 +0000 (15:31 +0530)] 
macOS: Syntax highlighter: Swift can bridge c strings automatically

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: On Add new, Exclude Private IPs should remain hidden
Roopesh Chander [Fri, 22 Mar 2019 09:45:22 +0000 (15:15 +0530)] 
macOS: On Add new, Exclude Private IPs should remain hidden

because there aren't any peers in the bootstrapped config.

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoXcode: iOS: Remove armv7 as 'Required device capabilities'
Roopesh Chander [Wed, 20 Mar 2019 08:04:35 +0000 (13:34 +0530)] 
Xcode: iOS: Remove armv7 as 'Required device capabilities'

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Privacy notice is provided by system dialogs
Jason A. Donenfeld [Wed, 20 Mar 2019 03:24:23 +0000 (04:24 +0100)] 
macOS: Privacy notice is provided by system dialogs

So it really doesn't make sense to add our own. This causes several
popups when trying to add a tunnel, which is madness.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agomacOS: Login item: Add a simple login item
Jason A. Donenfeld [Tue, 19 Feb 2019 15:13:52 +0000 (16:13 +0100)] 
macOS: Login item: Add a simple login item

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoVersion bump 0.0.20190319-5
Jason A. Donenfeld [Tue, 19 Mar 2019 20:25:38 +0000 (21:25 +0100)] 
Version bump

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agowireguard-go-bridge: do not use getdirentries64 on macos
Jason A. Donenfeld [Tue, 19 Mar 2019 19:57:26 +0000 (13:57 -0600)] 
wireguard-go-bridge: do not use getdirentries64 on macos

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoiOS: Delete confirmation prompt should be a question
Roopesh Chander [Tue, 19 Mar 2019 10:09:06 +0000 (15:39 +0530)] 
iOS: Delete confirmation prompt should be a question

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Add 'Deactivate' status menu item
Roopesh Chander [Tue, 19 Mar 2019 10:05:15 +0000 (15:35 +0530)] 
macOS: Add 'Deactivate' status menu item

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoVersion: CFBundleVersion must always increase for macOS app store 0.0.20190319-4
Jason A. Donenfeld [Tue, 19 Mar 2019 05:00:40 +0000 (06:00 +0100)] 
Version: CFBundleVersion must always increase for macOS app store

So we'll just start doing it like that, then.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoSwiftlint: variable_name -> identifier_name
Jason A. Donenfeld [Tue, 19 Mar 2019 04:26:13 +0000 (22:26 -0600)] 
Swiftlint: variable_name -> identifier_name

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoVersion bump 0.0.20190319-1
Jason A. Donenfeld [Tue, 19 Mar 2019 02:29:06 +0000 (03:29 +0100)] 
Version bump

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agomacos: TunnelsList: set allowsEmptySelection after making initial selection
Jason A. Donenfeld [Tue, 19 Mar 2019 02:25:38 +0000 (03:25 +0100)] 
macos: TunnelsList: set allowsEmptySelection after making initial selection

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>
6 years agoiOS: Consolidate all showConfirmationAlert()s into one place
Roopesh Chander [Mon, 18 Mar 2019 19:54:06 +0000 (01:24 +0530)] 
iOS: Consolidate all showConfirmationAlert()s into one place

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoiOS: Tunnels list: Ability to remove multiple tunnels at a time
Roopesh Chander [Mon, 18 Mar 2019 12:47:34 +0000 (18:17 +0530)] 
iOS: Tunnels list: Ability to remove multiple tunnels at a time

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoiOS: Tunnel edit: Add missing enum values
Roopesh Chander [Mon, 18 Mar 2019 08:32:54 +0000 (14:02 +0530)] 
iOS: Tunnel edit: Add missing enum values

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: ButtonedDetailViewController: Set min dimensions
Roopesh Chander [Mon, 18 Mar 2019 08:17:40 +0000 (13:47 +0530)] 
macOS: ButtonedDetailViewController: Set min dimensions

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoringlogger: document races
Jason A. Donenfeld [Mon, 18 Mar 2019 18:49:25 +0000 (12:49 -0600)] 
ringlogger: document races

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agomacOS: Tunnels list: Double-click to activate / deactivate
Roopesh Chander [Mon, 18 Mar 2019 06:27:09 +0000 (11:57 +0530)] 
macOS: Tunnels list: Double-click to activate / deactivate

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Tunnels list: Don't allow empty selection
Roopesh Chander [Mon, 18 Mar 2019 06:04:35 +0000 (11:34 +0530)] 
macOS: Tunnels list: Don't allow empty selection

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoon-demand: macOS: Remove unused class ControlRow
Roopesh Chander [Mon, 18 Mar 2019 03:33:04 +0000 (09:03 +0530)] 
on-demand: macOS: Remove unused class ControlRow

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoon-demand: macOS: Integrate Ethernet and Wi-Fi controls in one row
Roopesh Chander [Sun, 17 Mar 2019 14:40:26 +0000 (20:10 +0530)] 
on-demand: macOS: Integrate Ethernet and Wi-Fi controls in one row

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoon-demand: View model should account for isActivateOnDemandEnabled
Roopesh Chander [Mon, 11 Mar 2019 12:39:48 +0000 (18:09 +0530)] 
on-demand: View model should account for isActivateOnDemandEnabled

This is needed to correctly handle NETunnelProviderManager's
isOnDemandEnabled property getting changed outside of the app.

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoon-demand: macOS: Disable SSIDs field when adding a tunnel
Roopesh Chander [Sun, 10 Mar 2019 14:41:50 +0000 (20:11 +0530)] 
on-demand: macOS: Disable SSIDs field when adding a tunnel

It shouldn't be editable when the VPN prompt is shown.

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoon-demand: iOS: Disable selection in SSID detail table view
Roopesh Chander [Sun, 10 Mar 2019 07:31:59 +0000 (13:01 +0530)] 
on-demand: iOS: Disable selection in SSID detail table view

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoon-demand: macOS: Remove unused class PopupRow
Roopesh Chander [Sat, 9 Mar 2019 11:24:44 +0000 (16:54 +0530)] 
on-demand: macOS: Remove unused class PopupRow

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoon-demand: macOS: Auto-complete SSIDs based on currently connected SSID
Roopesh Chander [Sat, 9 Mar 2019 11:18:46 +0000 (16:48 +0530)] 
on-demand: macOS: Auto-complete SSIDs based on currently connected SSID

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoon-demand: iOS: Change wording for add-SSIDs rows
Roopesh Chander [Sat, 9 Mar 2019 10:40:55 +0000 (16:10 +0530)] 
on-demand: iOS: Change wording for add-SSIDs rows

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoon-demand: "Only selected SSIDs" -> "Only these SSIDs"
Roopesh Chander [Sat, 9 Mar 2019 10:37:48 +0000 (16:07 +0530)] 
on-demand: "Only selected SSIDs" -> "Only these SSIDs"

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoon-demand: macOS: Tunnel detail: List SSIDs
Roopesh Chander [Sat, 9 Mar 2019 10:35:22 +0000 (16:05 +0530)] 
on-demand: macOS: Tunnel detail: List SSIDs

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoon-demand: iOS: Only n SSIDs / Except m SSIDs
Roopesh Chander [Sat, 9 Mar 2019 10:05:49 +0000 (15:35 +0530)] 
on-demand: iOS: Only n SSIDs / Except m SSIDs

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoon-demand: iOS: Show list of SSIDs in a separate screen
Roopesh Chander [Sat, 9 Mar 2019 07:23:14 +0000 (12:53 +0530)] 
on-demand: iOS: Show list of SSIDs in a separate screen

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoon-demand: iOS: SSIDs view: Always show the selected SSIDs section
Roopesh Chander [Sat, 9 Mar 2019 04:17:35 +0000 (09:47 +0530)] 
on-demand: iOS: SSIDs view: Always show the selected SSIDs section

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoon-demand: Remove ActivateOnDemandSetting type
Roopesh Chander [Fri, 8 Mar 2019 10:42:54 +0000 (16:12 +0530)] 
on-demand: Remove ActivateOnDemandSetting type

The ActivateOnDemandOption type shall be used instead

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoon-demand: TunnelViewModel: Remove unused on-demand-related methods
Roopesh Chander [Fri, 8 Mar 2019 10:22:51 +0000 (15:52 +0530)] 
on-demand: TunnelViewModel: Remove unused on-demand-related methods

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoon-demand: macOS: Tunnel detail: Show SSID info
Roopesh Chander [Fri, 8 Mar 2019 09:54:56 +0000 (15:24 +0530)] 
on-demand: macOS: Tunnel detail: Show SSID info

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoon-demand: iOS: Update on-demand info shown in tunnel edit view
Roopesh Chander [Fri, 8 Mar 2019 09:25:08 +0000 (14:55 +0530)] 
on-demand: iOS: Update on-demand info shown in tunnel edit view

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoon-demand: ActivateOnDemandViewModel: Uniquify SSIDs list
Roopesh Chander [Fri, 8 Mar 2019 06:21:27 +0000 (11:51 +0530)] 
on-demand: ActivateOnDemandViewModel: Uniquify SSIDs list

And if SSIDs list is empty, fall back to .anySSID option

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoon-demand: macOS: Support SSIDs in on demand activation
Roopesh Chander [Wed, 6 Mar 2019 10:00:42 +0000 (15:30 +0530)] 
on-demand: macOS: Support SSIDs in on demand activation

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoon-demand: iOS: Tunnel detail: Show SSID info
Roopesh Chander [Tue, 5 Mar 2019 13:55:17 +0000 (19:25 +0530)] 
on-demand: iOS: Tunnel detail: Show SSID info

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoon-demand: iOS: Add ability to add current SSID
Roopesh Chander [Tue, 5 Mar 2019 13:07:53 +0000 (18:37 +0530)] 
on-demand: iOS: Add ability to add current SSID

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoon-demand: iOS: Xcode: Add ability to access current SSID
Roopesh Chander [Mon, 4 Mar 2019 13:28:37 +0000 (18:58 +0530)] 
on-demand: iOS: Xcode: Add ability to access current SSID

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoon-demand: iOS: Support for SSIDs
Roopesh Chander [Wed, 27 Feb 2019 08:00:57 +0000 (13:30 +0530)] 
on-demand: iOS: Support for SSIDs

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoon-demand: Introducing ActivateOnDemandViewModel
Roopesh Chander [Wed, 27 Feb 2019 07:55:53 +0000 (13:25 +0530)] 
on-demand: Introducing ActivateOnDemandViewModel

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoon-demand: Infrastructure for supporting SSID-based rules
Roopesh Chander [Sat, 23 Feb 2019 08:26:51 +0000 (13:56 +0530)] 
on-demand: Infrastructure for supporting SSID-based rules

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoon-demand: Simplify OS-specific code for interface type selection
Roopesh Chander [Sat, 23 Feb 2019 08:54:30 +0000 (14:24 +0530)] 
on-demand: Simplify OS-specific code for interface type selection

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>
6 years agomacOS: Localize tooltips
Roopesh Chander [Sun, 17 Mar 2019 14:49:25 +0000 (20:19 +0530)] 
macOS: Localize tooltips

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Tunnel detail: Make the Activate button part of the list view
Roopesh Chander [Sun, 17 Mar 2019 11:08:07 +0000 (16:38 +0530)] 
macOS: Tunnel detail: Make the Activate button part of the list view

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Nullify observationToken on prepareForReuse()
Roopesh Chander [Sun, 17 Mar 2019 10:29:55 +0000 (15:59 +0530)] 
macOS: Nullify observationToken on prepareForReuse()

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoTunnelName: sort correctly with numbers and capitals
Jason A. Donenfeld [Sun, 17 Mar 2019 09:28:27 +0000 (10:28 +0100)] 
TunnelName: sort correctly with numbers and capitals

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoringlogger: support mpsc for singlefile
Jason A. Donenfeld [Sun, 17 Mar 2019 06:41:10 +0000 (00:41 -0600)] 
ringlogger: support mpsc for singlefile

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agomacOS: Tunnel detail: Activate / Deactivate is now a button
Roopesh Chander [Sat, 16 Mar 2019 20:56:56 +0000 (02:26 +0530)] 
macOS: Tunnel detail: Activate / Deactivate is now a button

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Tunnel detail: Show the status in the list view
Roopesh Chander [Sat, 16 Mar 2019 10:55:17 +0000 (16:25 +0530)] 
macOS: Tunnel detail: Show the status in the list view

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: KeyValueImageRow class
Roopesh Chander [Sat, 16 Mar 2019 13:58:54 +0000 (19:28 +0530)] 
macOS: KeyValueImageRow class

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agowireguard-go-bridge: update deps
Jason A. Donenfeld [Tue, 12 Mar 2019 09:45:14 +0000 (10:45 +0100)] 
wireguard-go-bridge: update deps

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agowg-quick parser: trim \r as well
Jason A. Donenfeld [Mon, 11 Mar 2019 19:59:31 +0000 (13:59 -0600)] 
wg-quick parser: trim \r as well

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>
6 years agoTunnelsManager: Don't restart if only on-demand setting has changed
Roopesh Chander [Mon, 11 Mar 2019 07:50:21 +0000 (13:20 +0530)] 
TunnelsManager: Don't restart if only on-demand setting has changed

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Ability to remove multiple tunnels at a time
Roopesh Chander [Sun, 10 Mar 2019 14:32:19 +0000 (20:02 +0530)] 
macOS: Ability to remove multiple tunnels at a time

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoTunnelsManager: Support for removing multiple tunnels at a time
Roopesh Chander [Sun, 10 Mar 2019 14:13:27 +0000 (19:43 +0530)] 
TunnelsManager: Support for removing multiple tunnels at a time

Signed-off-by: Roopesh Chander <roop@roopc.net>