Commit Graph

1017 Commits

Author SHA1 Message Date
Roopesh Chander
c62f0f0f6d 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.
2019-04-01 23:07:48 +05:30
Roopesh Chander
d04ce0e15f macOS: Bring app to front before 'exiting with an active tunnel' alert 2019-03-29 00:17:37 +05:30
Roopesh Chander
b5025b51cd 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.
2019-03-29 00:17:37 +05:30
Jason A. Donenfeld
c714e424dc wireguard-go-bridge: update deps 2019-03-28 15:55:53 +01:00
Roopesh Chander
d3f5c82081 macOS: Log view: No need to disable Close button 2019-03-28 19:32:58 +05:30
Roopesh Chander
f36f7e456c iOS: Ability to view the log 2019-03-28 19:28:27 +05:30
Roopesh Chander
16b9f191d9 iOS: Xcode: Minor project rearrangement 2019-03-28 14:10:42 +05:30
Roopesh Chander
cccb42ddae macOS: Ability to view the log 2019-03-28 13:57:06 +05:30
Roopesh Chander
368be1354e Add LogViewHelper 2019-03-27 17:55:52 +05:30
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
Jason A. Donenfeld
1da38b6eff wireguard-go-bridge: do not use getdirentries64 on macos 2019-03-19 21:23:46 +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