aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/UI (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-01-14macOS: Manage tunnels: Show status checkbox and edit buttonRoopesh Chander1-1/+91
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-01-14macOS: s/macMenuStatus/macStatus/g;Roopesh Chander1-2/+2
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-01-14macOS: Manage tunnels: Tunnel detail viewRoopesh Chander4-7/+259
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-01-14macOS: Manage tunnels: Add a filler buttonRoopesh Chander1-1/+29
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-01-14macOS: Manage tunnels: Fix list view lookRoopesh Chander1-1/+2
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-01-14macOS: Manage tunnels: Add buttons to the bottom of the list viewRoopesh Chander1-1/+88
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-01-14macOS: Manage tunnels window: Tunnels listRoopesh Chander5-1/+208
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-01-14macOS: Capitalize All Rights ReservedRoopesh Chander1-1/+1
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-01-14macOS: Show status as disabled menu itemsRoopesh Chander1-1/+63
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-01-14macOS: Ability to activate / deactivate a tunnelRoopesh Chander2-32/+87
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-01-14macOS: Ability to import tunnels from fileRoopesh Chander3-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>
2019-01-14iOS: Refactor importFromFileRoopesh Chander5-48/+76
So that it can be used in macOS as well Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-01-14macOS: Add tunnel management menu itemsRoopesh Chander1-0/+19
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-01-14macOS: Specify app is an 'agent'Roopesh Chander1-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>
2019-01-14macOS: Create status bar with tunnel namesRoopesh Chander2-6/+52
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-01-14macOS: Add status bar iconRoopesh Chander4-0/+23
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-01-14macOS: Remove MainMenu.xibRoopesh Chander4-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>
2019-01-14Make app groups work on both iOS and macOSRoopesh Chander3-1/+7
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-01-14macOS: Add Network Extensions capability to appRoopesh Chander1-4/+8
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-01-14iOS: Fix WireGuardiOS targetRoopesh Chander2-0/+142
- Move Info.plist and entitlements to WireGuard/UI/iOS/ Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-01-14macOS: Fix WireGuardmacOS targetRoopesh Chander6-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>
2019-01-14Move iOS images and storyboard into UI/iOS/ folderRoopesh Chander23-0/+219
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-01-14On-Demand: Add support for macOS-specific valuesRoopesh Chander1-2/+13
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-01-14import Foundation instead of UIKit wherever possibleRoopesh Chander1-1/+1
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-01-07Update copyrightJason A. Donenfeld17-17/+17
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-24Tunnel edit: Fix crashRoopesh Chander1-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>
2018-12-22SwitchCell nitsEric Kuck2-5/+5
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
2018-12-23Remove more commentsRoopesh Chander6-41/+2
Signed-off-by: Roopesh Chander <roop@roopc.net>
2018-12-22Clean up trailing whitespaceJason A. Donenfeld3-9/+9
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-21Removing a tunnel from iOS's settings is now immediately reflected in appEric Kuck4-15/+29
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
2018-12-21RTL supportEric Kuck4-15/+15
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
2018-12-21Strongly recommended now appears as placeholder for DNS when neededEric Kuck1-19/+29
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
2018-12-22Attempt to strongly recommend thingsJason A. Donenfeld2-6/+11
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-22Do not set copyable back to true on reuseJason A. Donenfeld1-0/+5
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-22Move name from interface to tunnelJason A. Donenfeld4-11/+16
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-21Nuke trailing spacesJason A. Donenfeld10-101/+101
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-21providerConfiguration is now a WgQuickConfigEric Kuck3-34/+2
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
2018-12-21Updated NETunnelProvider save formatEric Kuck4-11/+11
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
2018-12-21Localize all the thingsRoopesh Chander6-114/+148
Signed-off-by: Roopesh Chander <roop@roopc.net>
2018-12-21Tunnel detail: iPad: Handle deletion of tunnel correctlyRoopesh Chander1-3/+10
Signed-off-by: Roopesh Chander <roop@roopc.net>
2018-12-20Enabled more swiftlint rulesEric Kuck4-10/+6
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
2018-12-20Added a String->[String] helperEric Kuck2-22/+42
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
2018-12-19Tunnel edit: init() need not take a tunnelConfiguration argumentRoopesh Chander2-6/+5
Signed-off-by: Roopesh Chander <roop@roopc.net>
2018-12-19Remove non-helpful commentsRoopesh Chander4-5/+0
Signed-off-by: Roopesh Chander <roop@roopc.net>
2018-12-19Tunnel edit: Fix commentRoopesh Chander1-1/+1
Signed-off-by: Roopesh Chander <roop@roopc.net>
2018-12-18s/Observervation/Observation/g;Roopesh Chander2-10/+10
Signed-off-by: Roopesh Chander <roop@roopc.net>
2018-12-18Tunnel detail: Update restorationIdentifier when tunnel name changesRoopesh Chander1-0/+1
Signed-off-by: Roopesh Chander <roop@roopc.net>
2018-12-16Got TunnelsManager back under the max file length by splitting out NEVPNStatus+CustomStringConvertibleEric Kuck2-2/+0
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
2018-12-16Potential fix for insertRowAtIndexPath crashEric Kuck1-0/+2
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
2018-12-15Nuke duplicate fileJason A. Donenfeld1-484/+0
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>