aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/UI (follow)
Commit message (Collapse)AuthorAgeFilesLines
* macOS: Manage tunnels: Show status checkbox and edit buttonRoopesh Chander2019-01-141-1/+91
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: s/macMenuStatus/macStatus/g;Roopesh Chander2019-01-141-2/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Manage tunnels: Tunnel detail viewRoopesh Chander2019-01-144-7/+259
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Manage tunnels: Add a filler buttonRoopesh Chander2019-01-141-1/+29
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Manage tunnels: Fix list view lookRoopesh Chander2019-01-141-1/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Manage tunnels: Add buttons to the bottom of the list viewRoopesh Chander2019-01-141-1/+88
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Manage tunnels window: Tunnels listRoopesh Chander2019-01-145-1/+208
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Capitalize All Rights ReservedRoopesh Chander2019-01-141-1/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Show status as disabled menu itemsRoopesh Chander2019-01-141-1/+63
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Ability to activate / deactivate a tunnelRoopesh Chander2019-01-142-32/+87
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Ability to import tunnels from fileRoopesh Chander2019-01-143-7/+76
| | | | | | | For now, the open panel shows as a separate window. Later, we'll open it as a sheet on the 'Manage tunnels' window. Signed-off-by: Roopesh Chander <roop@roopc.net>
* iOS: Refactor importFromFileRoopesh Chander2019-01-145-48/+76
| | | | | | So that it can be used in macOS as well Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Add tunnel management menu itemsRoopesh Chander2019-01-141-0/+19
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Specify app is an 'agent'Roopesh Chander2019-01-141-0/+2
| | | | | | | This hides the app from the Dock, while still enabling the app to come to the foreground if required. Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Create status bar with tunnel namesRoopesh Chander2019-01-142-6/+52
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Add status bar iconRoopesh Chander2019-01-144-0/+23
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Remove MainMenu.xibRoopesh Chander2019-01-144-698/+18
| | | | | | | When there's no xib, we should explicitly set the app delegate, so we override NSApplication and set the app delegate in NSApplication.shared Signed-off-by: Roopesh Chander <roop@roopc.net>
* Make app groups work on both iOS and macOSRoopesh Chander2019-01-143-1/+7
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Add Network Extensions capability to appRoopesh Chander2019-01-141-4/+8
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* iOS: Fix WireGuardiOS targetRoopesh Chander2019-01-142-0/+142
| | | | | | - Move Info.plist and entitlements to WireGuard/UI/iOS/ Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Fix WireGuardmacOS targetRoopesh Chander2019-01-146-0/+820
| | | | | | | | | - Include non-UI code from iOS while building - Add run scripts - Move files to WireGuard/UI/macOS - Set Swift-Obj-C bridging header Signed-off-by: Roopesh Chander <roop@roopc.net>
* Move iOS images and storyboard into UI/iOS/ folderRoopesh Chander2019-01-1423-0/+219
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* On-Demand: Add support for macOS-specific valuesRoopesh Chander2019-01-141-2/+13
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* import Foundation instead of UIKit wherever possibleRoopesh Chander2019-01-141-1/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Update copyrightJason A. Donenfeld2019-01-0717-17/+17
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Tunnel edit: Fix crashRoopesh Chander2018-12-241-1/+2
| | | | | | | | | | This fixes a crash that happens when you: 1. Scroll to the end of the Edit screen 2. Delete a peer 3. Toggle the Activate On Demand switch Signed-off-by: Roopesh Chander <roop@roopc.net>
* SwitchCell nitsEric Kuck2018-12-222-5/+5
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* Remove more commentsRoopesh Chander2018-12-236-41/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Clean up trailing whitespaceJason A. Donenfeld2018-12-223-9/+9
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Removing a tunnel from iOS's settings is now immediately reflected in appEric Kuck2018-12-214-15/+29
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* RTL supportEric Kuck2018-12-214-15/+15
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* Strongly recommended now appears as placeholder for DNS when neededEric Kuck2018-12-211-19/+29
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* Attempt to strongly recommend thingsJason A. Donenfeld2018-12-222-6/+11
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Do not set copyable back to true on reuseJason A. Donenfeld2018-12-221-0/+5
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Move name from interface to tunnelJason A. Donenfeld2018-12-224-11/+16
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Nuke trailing spacesJason A. Donenfeld2018-12-2110-101/+101
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* providerConfiguration is now a WgQuickConfigEric Kuck2018-12-213-34/+2
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* Updated NETunnelProvider save formatEric Kuck2018-12-214-11/+11
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* Localize all the thingsRoopesh Chander2018-12-216-114/+148
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Tunnel detail: iPad: Handle deletion of tunnel correctlyRoopesh Chander2018-12-211-3/+10
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Enabled more swiftlint rulesEric Kuck2018-12-204-10/+6
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* Added a String->[String] helperEric Kuck2018-12-202-22/+42
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* Tunnel edit: init() need not take a tunnelConfiguration argumentRoopesh Chander2018-12-192-6/+5
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Remove non-helpful commentsRoopesh Chander2018-12-194-5/+0
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Tunnel edit: Fix commentRoopesh Chander2018-12-191-1/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* s/Observervation/Observation/g;Roopesh Chander2018-12-182-10/+10
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Tunnel detail: Update restorationIdentifier when tunnel name changesRoopesh Chander2018-12-181-0/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Got TunnelsManager back under the max file length by splitting out NEVPNStatus+CustomStringConvertibleEric Kuck2018-12-162-2/+0
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* Potential fix for insertRowAtIndexPath crashEric Kuck2018-12-161-0/+2
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* Nuke duplicate fileJason A. Donenfeld2018-12-151-484/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>