aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/UI/iOS (follow)
Commit message (Collapse)AuthorAgeFilesLines
* iOS: On changing DNS, update AllowedIPs with the current DNS serversRoopesh Chander2019-02-212-4/+14
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Preshared key field in the detail view should just say 'enabled'Roopesh Chander2019-02-121-0/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Info.plist: Localize with InfoPlist.stringsRoopesh Chander2019-02-111-2/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* iOS: Rewrite applying runtime configurationRoopesh Chander2019-02-101-32/+51
| | | | | | To make scrolling smoother while the fields are modified Signed-off-by: Roopesh Chander <roop@roopc.net>
* Global: fix swiftlint issuesJason A. Donenfeld2019-02-082-6/+13
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Key: Constant time encodingJason A. Donenfeld2019-02-081-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* iOS: Tunnel detail: Turn off animation when showing fields changingRoopesh Chander2019-02-081-1/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* PrivateDataConfirmation: prompt with touch/face/pin/password ID for viewing/exporting keysJason A. Donenfeld2019-02-063-19/+27
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Keychain: store configurations in keychain instead of providerConfigJason A. Donenfeld2019-02-061-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* iOS: Ensure fields are updated on savingRoopesh Chander2019-02-051-0/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* iOS: SwitchCell should hold the observation tokenRoopesh Chander2019-02-032-33/+36
| | | | | | | | And should nil the token when preparing for reuse. This also reverts "iOS: Tunnel detail: Refactor updation of status" Signed-off-by: Roopesh Chander <roop@roopc.net>
* iOS: KeyValueCell should hold the observation tokenRoopesh Chander2019-02-032-2/+4
| | | | | | | | | And should nil the token when preparing for reuse. Otherwise, the observation closure is still active even after the cell gets reused. Signed-off-by: Roopesh Chander <roop@roopc.net>
* iOS: Apply runtime configuration by diff-ingRoopesh Chander2019-02-021-14/+80
| | | | | | And apply the diff on the tableView as insert/remove/reloads. Signed-off-by: Roopesh Chander <roop@roopc.net>
* iOS: Tunnel detail: Keep track of visible fields with a [Bool] arrayRoopesh Chander2019-02-021-10/+28
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* iOS: Tunnel detail: Reload runtime config every secondRoopesh Chander2019-02-011-3/+46
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* iOS: Tunnel detail: Refactor updation of statusRoopesh Chander2019-01-311-33/+35
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Fix handling of 'PersistentKeepalive: every n seconds'Roopesh Chander2019-01-311-1/+5
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* iOS: Make it compile againRoopesh Chander2019-01-311-0/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* iOS: Fix stale tunnel being shown on iPadRoopesh Chander2019-01-232-12/+7
| | | | | | | | When the detail view is shown in the iPad and we delete the current tunnel with a list view swipe rather than the delete button, the detail view should go blank. Signed-off-by: Roopesh Chander <roop@roopc.net>
* iOS: Fix handling of deletion outside appRoopesh Chander2019-01-232-24/+14
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Avoid using return in single-line closuresRoopesh Chander2019-01-221-1/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* iOS: Export log: Should present error from the main threadRoopesh Chander2019-01-141-4/+4
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* 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>