aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/UI/iOS (follow)
Commit message (Collapse)AuthorAgeFilesLines
* iOS: Refactor importFromFileRoopesh Chander2019-01-143-48/+8
| | | | | | So that it can be used in macOS as well Signed-off-by: Roopesh Chander <roop@roopc.net>
* Make app groups work on both iOS and macOSRoopesh Chander2019-01-141-1/+1
| | | | 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>
* Move iOS images and storyboard into UI/iOS/ folderRoopesh Chander2019-01-1423-0/+219
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Update copyrightJason A. Donenfeld2019-01-0716-16/+16
| | | | 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-235-20/+0
| | | | 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-221-2/+5
| | | | 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-223-4/+4
| | | | 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-213-7/+7
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* Localize all the thingsRoopesh Chander2018-12-215-78/+87
| | | | 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-203-9/+5
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* Added a String->[String] helperEric Kuck2018-12-201-0/+32
| | | | 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>
* Fixed editable KeyValueCells being copyableEric Kuck2018-12-142-4/+1
| | | | | | Fixed DNS servers not saving Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* KeyValueCells now share codeEric Kuck2018-12-148-374/+192
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* Reorganized project structureEric Kuck2018-12-1416-0/+0
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* Most similar views now shared between ViewControllersEric Kuck2018-12-1422-380/+172
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* Simplify logging tagsJason A. Donenfeld2018-12-142-2/+2
| | | | | | | This was roop's initial idea, and it turns out to be the better one, now that we can pass cstrings more easily. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Fix status switch weird state after an error occursRoopesh Chander2018-12-142-2/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Deduplicate functionsJason A. Donenfeld2018-12-141-9/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Reorganized ViewControllers (split out UIViews and UITableViewCells into their own classes)Eric Kuck2018-12-1320-645/+1205
| | | | | | All swiftlint warnings except one fixed up Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* TunnelsManager: Reintroduce waiting for another tunnel to deactivateRoopesh Chander2018-12-131-0/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Rewrite LoggerJason A. Donenfeld2018-12-132-14/+4
| | | | | | | This reverts all of Roop's changes to the C code, and then rewrites the logger logic to be cleaner. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* More reliable logo sizingEric Kuck2018-12-131-33/+34
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* TunnelsManager: Report activation errors through the activationDelegateRoopesh Chander2018-12-133-19/+15
| | | | | | Don't report activation errors through completion handlers Signed-off-by: Roopesh Chander <roop@roopc.net>
* Logging: Write versions from both app and extensionRoopesh Chander2018-12-131-0/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Logging: Tag the entries in the merged logRoopesh Chander2018-12-131-1/+1
| | | | | | | So we know which entry is from the app and which is from the network extension. Signed-off-by: Roopesh Chander <roop@roopc.net>
* Logging: Use ringlogger for logging from the appRoopesh Chander2018-12-131-0/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Logging: Use ringlogger for logging from the extensionRoopesh Chander2018-12-132-11/+15
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Remove useless whitespaceJason A. Donenfeld2018-12-133-16/+16
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Settings: better padding calculationJason A. Donenfeld2018-12-131-3/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Fixed hacky logo display for settingsEric Kuck2018-12-121-3/+9
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* More formatting nits and cyclomatic complexity fixesEric Kuck2018-12-124-43/+36
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>