aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/UI (follow)
Commit message (Collapse)AuthorAgeFilesLines
* TunnelViewModel: Minor refactoring of exclude private IPs handlingRoopesh Chander2019-02-161-20/+23
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* ConfTextStorage: lowercase only onceJason A. Donenfeld2019-02-161-5/+4
| | | | | | Also fix submodule regression. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ConfTextStorage: Let's keep the AllowedIPs and DNS servers as stringsRoopesh Chander2019-02-161-8/+4
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* ConfTextStorage: Make fieldType an enumRoopesh Chander2019-02-161-11/+8
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* ConfTextStorage: keep track of single peer state for exclude private IPsJason A. Donenfeld2019-02-151-1/+59
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* macOS: Tunnel detail: Set min width/heightRoopesh Chander2019-02-151-0/+5
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Tunnels list: Use constant width for the table viewRoopesh Chander2019-02-152-3/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Show privacy notice on adding first tunnel0.0.20190207-3Jason A. Donenfeld2019-02-153-8/+41
| | | | | | | | App store reviewers don't understand that this isn't a service. Revert this as soon as they come to their senses. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Preshared key field in the detail view should just say 'enabled'Roopesh Chander2019-02-122-0/+4
| | | | 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>
* macOS: Change keyboard shortcut for importing to Cmd+ORoopesh Chander2019-02-102-2/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Adapt to the new applyConfiguration APIRoopesh Chander2019-02-101-34/+57
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* iOS: Rewrite applying runtime configurationRoopesh Chander2019-02-102-66/+76
| | | | | | To make scrolling smoother while the fields are modified Signed-off-by: Roopesh Chander <roop@roopc.net>
* Global: fix swiftlint issuesJason A. Donenfeld2019-02-084-10/+14
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Info.plist: Add missing key types0.0.20190207-1Jason A. Donenfeld2019-02-081-0/+2
| | | | | | | | I worry that LSMinimumSystemVersion in the extension's plist might be problematic, since that same plist runs on macOS and iOS. We _might_ need to bifurcate. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Key: Constant time encodingJason A. Donenfeld2019-02-083-19/+21
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* iOS: Use shorter pretty timeRoopesh Chander2019-02-081-0/+19
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* iOS: Tunnel detail: Turn off animation when showing fields changingRoopesh Chander2019-02-081-1/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Show alert if exiting with an active tunnelRoopesh Chander2019-02-081-3/+20
| | | | | | Instead of deactivating the tunnel. Signed-off-by: Roopesh Chander <roop@roopc.net>
* StatusItemController: Show animation when deactivatingJason A. Donenfeld2019-02-071-3/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* macOS: prohibit multiple instances of appJason A. Donenfeld2019-02-061-0/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* PrivateDataConfirmation: prompt with touch/face/pin/password ID for viewing/exporting keysJason A. Donenfeld2019-02-066-39/+91
| | | | 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>
* macOS: Select tunnel after adding it with 'Add empty tunnel'Roopesh Chander2019-02-051-0/+13
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Ensure fields are updated on savingRoopesh Chander2019-02-051-1/+3
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* iOS: Ensure fields are updated on savingRoopesh Chander2019-02-051-0/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Apply runtime configuration by diff-ingRoopesh Chander2019-02-051-15/+88
| | | | | | And apply the diff on the tableView as insertRows/removeRows. Signed-off-by: Roopesh Chander <roop@roopc.net>
* TunnelViewModel: Don't call peer change handler if there are no changesRoopesh Chander2019-02-051-1/+3
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Tunnel detail: Refactor calculation of tableViewModelRowsRoopesh Chander2019-02-051-12/+30
| | | | 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-022-19/+217
| | | | | | 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-313-3/+11
| | | | 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>
* Configure timers to fire even when tracking mouse eventsRoopesh Chander2019-01-312-2/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Tunnel detail: Reload runtime config every secondRoopesh Chander2019-01-311-6/+24
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Runtime info: Make bytecount and timestamp info prettierRoopesh Chander2019-01-281-6/+58
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Persistent Keepalive detail should read 'every n seconds'Roopesh Chander2019-01-281-1/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Select the active tunnel when showing the manage tunnels windowRoopesh Chander2019-01-241-1/+14
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* TunnelsTracker: Simplify using TunnelsManager.tunnelInOperation()Roopesh Chander2019-01-241-17/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Ensure status is up-to-date on startupRoopesh Chander2019-01-241-2/+10
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: show runtime configuration in tunnel managerJason A. Donenfeld2019-01-241-1/+19
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Tunnel: support getting runtime configurationJason A. Donenfeld2019-01-242-0/+22
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* macOS: Tunnel detail: Fix updation of tunnelEditVCRoopesh Chander2019-01-231-0/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Deactivate any active tunnel when app exitsRoopesh Chander2019-01-232-1/+7
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Adapt to TunnelsManagerListDelegate changesRoopesh Chander2019-01-231-1/+1
| | | | 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>