Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Global: fix swiftlint issues | Jason A. Donenfeld | 2019-02-08 | 6 | -13/+15 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Info.plist: Add missing key types0.0.20190207-1 | Jason A. Donenfeld | 2019-02-08 | 1 | -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> | ||||
* | Version bump | Jason A. Donenfeld | 2019-02-08 | 1 | -1/+1 |
| | | | | | | First Mac App Store release if all goes well. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Key: Use C implementation instead | Jason A. Donenfeld | 2019-02-08 | 1 | -0/+1 |
| | | | | | | | Swift compiles so slowly and it's unclear all of the insane type punning was even correct. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Key: Constant time encoding | Jason A. Donenfeld | 2019-02-08 | 4 | -43/+24 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | TunnelsManager: Ignore status changes on tunnel providers we don't have | Roopesh Chander | 2019-02-08 | 1 | -2/+1 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | iOS: Use shorter pretty time | Roopesh Chander | 2019-02-08 | 2 | -0/+22 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | iOS: Tunnel detail: Turn off animation when showing fields changing | Roopesh Chander | 2019-02-08 | 1 | -1/+1 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | macOS: Show alert if exiting with an active tunnel | Roopesh Chander | 2019-02-08 | 2 | -3/+25 |
| | | | | | | Instead of deactivating the tunnel. Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | TunnelsManager: Don't lose .restarting state | Roopesh Chander | 2019-02-08 | 1 | -4/+5 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | TunnelsManager: Log startDeactivation calls | Roopesh Chander | 2019-02-08 | 1 | -0/+1 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | StatusItemController: Show animation when deactivating | Jason A. Donenfeld | 2019-02-07 | 1 | -3/+1 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | PacketTunnelProvider: proper fix for 32073323 | Jason A. Donenfeld | 2019-02-07 | 1 | -15/+0 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | TunnelsManager: When creating/modifying a tunnel, update the associated object | Roopesh Chander | 2019-02-07 | 1 | -5/+7 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | macOS: prohibit multiple instances of app | Jason A. Donenfeld | 2019-02-06 | 1 | -0/+2 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | PrivateDataConfirmation: prompt with touch/face/pin/password ID for viewing/exporting keys | Jason A. Donenfeld | 2019-02-06 | 7 | -39/+98 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Keychain: store configurations in keychain instead of providerConfig | Jason A. Donenfeld | 2019-02-06 | 2 | -6/+18 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | TunnelsManager: cache access to configuration object | Jason A. Donenfeld | 2019-02-06 | 1 | -1/+9 |
| | | | | | | | | Supposedly we never change it once per object, so we do the objective C hack of adding it cached to the extension. This prevents 1000s of calls to the keychain and improves the speed of imports. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | TunnelsManager: Wait for 6 seconds on deactivation instead of 5 | Jason A. Donenfeld | 2019-02-06 | 1 | -1/+1 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | macOS: Select tunnel after adding it with 'Add empty tunnel' | Roopesh Chander | 2019-02-05 | 1 | -0/+13 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | macOS: Ensure fields are updated on saving | Roopesh Chander | 2019-02-05 | 1 | -1/+3 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | iOS: Ensure fields are updated on saving | Roopesh Chander | 2019-02-05 | 1 | -0/+1 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | macOS: Apply runtime configuration by diff-ing | Roopesh Chander | 2019-02-05 | 1 | -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 changes | Roopesh Chander | 2019-02-05 | 1 | -1/+3 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | macOS: Tunnel detail: Refactor calculation of tableViewModelRows | Roopesh Chander | 2019-02-05 | 1 | -12/+30 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | x25519: demand RNG is successful | Jason A. Donenfeld | 2019-02-05 | 1 | -1/+2 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Config: Add template for macOS key | Jason A. Donenfeld | 2019-02-03 | 1 | -1/+2 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | iOS: SwitchCell should hold the observation token | Roopesh Chander | 2019-02-03 | 2 | -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 token | Roopesh Chander | 2019-02-03 | 2 | -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-ing | Roopesh Chander | 2019-02-02 | 2 | -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] array | Roopesh Chander | 2019-02-02 | 1 | -10/+28 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Strings: fix backwards clock wording | Jason A. Donenfeld | 2019-02-01 | 1 | -1/+1 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | iOS: Tunnel detail: Reload runtime config every second | Roopesh Chander | 2019-02-01 | 1 | -3/+46 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | iOS: Tunnel detail: Refactor updation of status | Roopesh Chander | 2019-01-31 | 1 | -33/+35 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Fix handling of 'PersistentKeepalive: every n seconds' | Roopesh Chander | 2019-01-31 | 4 | -4/+12 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | iOS: Make it compile again | Roopesh Chander | 2019-01-31 | 1 | -0/+2 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Configure timers to fire even when tracking mouse events | Roopesh Chander | 2019-01-31 | 3 | -4/+4 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | macOS: Tunnel detail: Reload runtime config every second | Roopesh Chander | 2019-01-31 | 1 | -6/+24 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Runtime info: Make bytecount and timestamp info prettier | Roopesh Chander | 2019-01-28 | 2 | -6/+71 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Persistent Keepalive detail should read 'every n seconds' | Roopesh Chander | 2019-01-28 | 2 | -1/+3 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | TunnelsManager: Invoke reload() in a subsequent runloop | Roopesh Chander | 2019-01-26 | 1 | -1/+7 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | macOS: Delay .deactivated status to workaround system bug | Roopesh Chander | 2019-01-26 | 1 | -2/+17 |
| | | | | | | | | For some time after it's connection status becomes .disconnected, if a tunnel gets started, it gets automatically killed by the system after ~25 seconds. Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | macOS: Select the active tunnel when showing the manage tunnels window | Roopesh Chander | 2019-01-24 | 2 | -1/+18 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | TunnelsTracker: Simplify using TunnelsManager.tunnelInOperation() | Roopesh Chander | 2019-01-24 | 1 | -17/+2 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | TunnelsManager: func tunnelInOperation() | Roopesh Chander | 2019-01-24 | 1 | -0/+7 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | macOS: Ensure status is up-to-date on startup | Roopesh Chander | 2019-01-24 | 1 | -2/+10 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | macOS: show runtime configuration in tunnel manager | Jason A. Donenfeld | 2019-01-24 | 1 | -1/+19 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Tunnel: support getting runtime configuration | Jason A. Donenfeld | 2019-01-24 | 5 | -0/+249 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | macOS: Tunnel detail: Fix updation of tunnelEditVC | Roopesh Chander | 2019-01-23 | 1 | -0/+1 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | macOS: Deactivate any active tunnel when app exits | Roopesh Chander | 2019-01-23 | 2 | -1/+7 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> |