Commit Graph

886 Commits

Author SHA1 Message Date
Roopesh Chander 4e73e7b2e0 macOS: Syntax highlighter: Free spans array 2019-03-22 17:53:34 +05:30
Roopesh Chander 4629414981 macOS: Hide exclude private IPs when PrivateKey / PublicKey is missing 2019-03-22 16:00:45 +05:30
Roopesh Chander ae4a728428 macOS: Syntax highlighter: Swift can bridge c strings automatically 2019-03-22 15:31:02 +05:30
Roopesh Chander 7754f81dca macOS: On Add new, Exclude Private IPs should remain hidden
because there aren't any peers in the bootstrapped config.
2019-03-22 15:15:26 +05:30
Roopesh Chander 2abe092818 Xcode: iOS: Remove armv7 as 'Required device capabilities' 2019-03-20 14:23:56 +05:30
Jason A. Donenfeld f71ee2277f 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.
2019-03-20 04:24:23 +01:00
Jason A. Donenfeld 10f58df9f3 macOS: Login item: Add a simple login item 2019-03-19 21:15:38 -06:00
Jason A. Donenfeld 0475efb37d Version bump 2019-03-19 21:25:38 +01:00
Roopesh Chander 998e6e43bc iOS: Delete confirmation prompt should be a question 2019-03-19 21:23:46 +01:00
Roopesh Chander dbeb389d26 macOS: Add 'Deactivate' status menu item 2019-03-19 21:23:46 +01:00
Jason A. Donenfeld 19efbcf679 Version: CFBundleVersion must always increase for macOS app store
So we'll just start doing it like that, then.
2019-03-19 06:00:40 +01:00
Jason A. Donenfeld 0b5a36a4bf Swiftlint: variable_name -> identifier_name 2019-03-18 22:26:13 -06:00
Jason A. Donenfeld 128a485eee Version bump 2019-03-18 22:13:27 -06:00
Jason A. Donenfeld e6f7b7e01e 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.
2019-03-18 22:13:27 -06:00
Roopesh Chander 4eeb4696f8 iOS: Consolidate all showConfirmationAlert()s into one place 2019-03-18 14:54:05 -06:00
Roopesh Chander 2dcb23a998 iOS: Tunnels list: Ability to remove multiple tunnels at a time 2019-03-18 14:54:05 -06:00
Roopesh Chander 42d7641b98 iOS: Tunnel edit: Add missing enum values 2019-03-18 14:54:05 -06:00
Roopesh Chander 36f7340daa macOS: ButtonedDetailViewController: Set min dimensions 2019-03-19 01:28:52 +05:30
Jason A. Donenfeld 2e86e5ac35 ringlogger: document races 2019-03-18 12:50:00 -06:00
Roopesh Chander 2a7dcac258 macOS: Tunnels list: Double-click to activate / deactivate 2019-03-18 12:03:41 +05:30
Roopesh Chander 6766644d80 macOS: Tunnels list: Don't allow empty selection 2019-03-18 12:03:41 +05:30
Roopesh Chander b1c731f8d7 on-demand: macOS: Remove unused class ControlRow 2019-03-18 06:46:56 +01:00
Roopesh Chander 094ab4fed7 on-demand: macOS: Integrate Ethernet and Wi-Fi controls in one row 2019-03-18 06:46:56 +01:00
Roopesh Chander f8c1837f1e on-demand: View model should account for isActivateOnDemandEnabled
This is needed to correctly handle NETunnelProviderManager's
isOnDemandEnabled property getting changed outside of the app.
2019-03-18 06:46:56 +01:00
Roopesh Chander 75f4272fc0 on-demand: macOS: Disable SSIDs field when adding a tunnel
It shouldn't be editable when the VPN prompt is shown.
2019-03-18 06:46:56 +01:00
Roopesh Chander bb82004d5c on-demand: iOS: Disable selection in SSID detail table view 2019-03-18 06:46:56 +01:00
Roopesh Chander 255d53db35 on-demand: macOS: Remove unused class PopupRow 2019-03-18 06:46:56 +01:00
Roopesh Chander c01964de4f on-demand: macOS: Auto-complete SSIDs based on currently connected SSID 2019-03-18 06:46:56 +01:00
Roopesh Chander 1333f6dc42 on-demand: iOS: Change wording for add-SSIDs rows 2019-03-18 06:46:56 +01:00
Roopesh Chander 9193437067 on-demand: "Only selected SSIDs" -> "Only these SSIDs" 2019-03-18 06:46:56 +01:00
Roopesh Chander 986c5d3741 on-demand: macOS: Tunnel detail: List SSIDs 2019-03-18 06:46:55 +01:00
Roopesh Chander a876386c05 on-demand: iOS: Only n SSIDs / Except m SSIDs 2019-03-18 06:46:55 +01:00
Roopesh Chander 0e04f5d337 on-demand: iOS: Show list of SSIDs in a separate screen 2019-03-18 06:46:55 +01:00
Roopesh Chander d85717785c on-demand: iOS: SSIDs view: Always show the selected SSIDs section 2019-03-18 06:46:55 +01:00
Roopesh Chander 8c3fcc6aee on-demand: Remove ActivateOnDemandSetting type
The ActivateOnDemandOption type shall be used instead
2019-03-18 06:46:55 +01:00
Roopesh Chander 49fb621a7a on-demand: TunnelViewModel: Remove unused on-demand-related methods 2019-03-18 06:46:55 +01:00
Roopesh Chander 0335753cb7 on-demand: macOS: Tunnel detail: Show SSID info 2019-03-18 06:46:55 +01:00
Roopesh Chander 31b22f579c on-demand: iOS: Update on-demand info shown in tunnel edit view 2019-03-18 06:46:55 +01:00
Roopesh Chander 5be8d2f069 on-demand: ActivateOnDemandViewModel: Uniquify SSIDs list
And if SSIDs list is empty, fall back to .anySSID option
2019-03-18 06:46:55 +01:00
Roopesh Chander 8c1c490da2 on-demand: macOS: Support SSIDs in on demand activation 2019-03-18 06:46:55 +01:00
Roopesh Chander 583fb3ca7d on-demand: iOS: Tunnel detail: Show SSID info 2019-03-18 06:46:55 +01:00
Roopesh Chander a2e5166779 on-demand: iOS: Add ability to add current SSID 2019-03-18 06:46:55 +01:00
Roopesh Chander 8cc973cdac on-demand: iOS: Xcode: Add ability to access current SSID 2019-03-18 06:46:55 +01:00
Roopesh Chander 8ef69cd82d on-demand: iOS: Support for SSIDs 2019-03-18 06:46:55 +01:00
Roopesh Chander 008975de06 on-demand: Introducing ActivateOnDemandViewModel 2019-03-18 06:46:55 +01:00
Roopesh Chander 3b2281113a on-demand: Infrastructure for supporting SSID-based rules 2019-03-18 06:46:55 +01:00
Roopesh Chander 94ba22945e 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.
2019-03-18 06:46:55 +01:00
Roopesh Chander 7610dc94d4 macOS: Localize tooltips 2019-03-18 06:46:55 +01:00
Roopesh Chander 1fdc8eb13a macOS: Tunnel detail: Make the Activate button part of the list view 2019-03-18 06:46:55 +01:00
Roopesh Chander 9622128a80 macOS: Nullify observationToken on prepareForReuse() 2019-03-18 06:46:55 +01:00