aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Version bump0.0.20181225-1Jason A. Donenfeld2018-12-261-2/+2
| | | | | | | A Christmas Special, for TestFlight, and possibly for release if things go well there. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* minizip: Remove zip encryption codeRoopesh Chander2018-12-252-103/+0
| | | | | | We can now remove -DNOCRYPT cflag while compiling Signed-off-by: Roopesh Chander <roop@roopc.net>
* 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>
* Fix typo for simulator buildsEric Kuck2018-12-221-1/+1
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* Remove more commentsRoopesh Chander2018-12-236-41/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* TunnelErrors: Add alert text for PacketTunnelProviderErrorRoopesh Chander2018-12-222-13/+21
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* TunnelStatus: Absorb NEVPNStatus+CustomStringConvertibleRoopesh Chander2018-12-222-18/+13
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Also refresh statusJason A. Donenfeld2018-12-221-1/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Reassign tunnelProvider if it changes from outside the appJason A. Donenfeld2018-12-221-2/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* All models now EquatableEric Kuck2018-12-211-1/+1
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* Clean up trailing whitespaceJason A. Donenfeld2018-12-224-12/+12
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Removing a tunnel from iOS's settings is now immediately reflected in appEric Kuck2018-12-215-48/+72
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* Localize remaining strings in network extensionJason A. Donenfeld2018-12-222-7/+24
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.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>
* Combine double log invocationsJason A. Donenfeld2018-12-221-4/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Attempt to strongly recommend thingsJason A. Donenfeld2018-12-223-6/+12
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Fixes mock tunnelsEric Kuck2018-12-211-3/+3
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.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-227-18/+23
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Fix paren typoJason A. Donenfeld2018-12-212-3/+3
| | | | | | "I am very anti-paren." --Eric Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Nuke trailing spacesJason A. Donenfeld2018-12-2114-111/+111
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* providerConfiguration is now a WgQuickConfigEric Kuck2018-12-219-270/+20
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* Get rid of superflous isActivateOnDemandEnabled keyJason A. Donenfeld2018-12-214-11/+12
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Updated NETunnelProvider save formatEric Kuck2018-12-216-24/+32
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* Localize all the thingsRoopesh Chander2018-12-2112-135/+392
| | | | 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>
* Added missing param in MockTunnelsEric Kuck2018-12-201-1/+1
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* Enabled more swiftlint rulesEric Kuck2018-12-207-11/+9
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* Added a String->[String] helperEric Kuck2018-12-204-32/+49
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* TunnelErrors: Remove unused errorRoopesh Chander2018-12-201-3/+0
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* 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>
* TunnelsManager: If only Activate On Demand has changed, don't restart tunnelRoopesh Chander2018-12-191-6/+11
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* NE: Handle bad domain names and Activate On DemandRoopesh Chander2018-12-191-2/+2
| | | | | | | | | | | This combination causes iOS to keep trying to bring up the tunnel, leading to a lot of displayMessage() alerts. In this fix, if we get a DNS resolution error in an Activate On Demand enabled tunnel, we silently retry 9 times (with a 4-second delay before each retry) and then show the displayMessage() alert. Signed-off-by: Roopesh Chander <roop@roopc.net>
* TunnelsManager: Handle waiting on a stale tunnelRoopesh Chander2018-12-191-13/+23
| | | | | | | | | If we have a stale tunnel on which we don't get status updates we rely on a timer to update the status (see commit 34a7e5b). Previously, if the user tries to activate another tunnel, that resulted in both tunnels waiting indefinitely. This commit fixes that. Signed-off-by: Roopesh Chander <roop@roopc.net>
* Remove buttons and text from LaunchScreen.storyboardRoopesh Chander2018-12-181-7/+4
| | | | | | | | With state restoration, we're not guaranteed that the list view will get shown immediately after the launch screen. So, generalize the launch screen as much as possible. 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>
* TunnelsManager: Add periods to end the system error messagesRoopesh Chander2018-12-181-6/+6
| | | | | | | Because they can be part of a multi-sentence message when displayed in the alert. Signed-off-by: Roopesh Chander <roop@roopc.net>
* Error handling: Add info on the underlying system error to error alertsRoopesh Chander2018-12-172-69/+101
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Version bump0.0.20181104-7Jason A. Donenfeld2018-12-171-1/+1
| | | | | | This is our first release to the real app store. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Got TunnelsManager back under the max file length by splitting out NEVPNStatus+CustomStringConvertibleEric Kuck2018-12-164-22/+22
| | | | 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>
* Improve mock tunnels generationJason A. Donenfeld2018-12-161-5/+10
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Provide mock tunnels for the SimulatorRoopesh Chander2018-12-162-1/+52
| | | | | | To help in generation of screenshots for the App Store Signed-off-by: Roopesh Chander <roop@roopc.net>
* Nuke duplicate fileJason A. Donenfeld2018-12-151-484/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Version bump0.0.20181104-6Jason A. Donenfeld2018-12-151-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>