Roopesh Chander
c392ed13d6
iOS: SwitchCell should hold the observation token
...
And should nil the token when preparing for reuse.
This also reverts "iOS: Tunnel detail: Refactor updation of status"
2019-02-03 12:40:19 +05:30
Roopesh Chander
c322117e49
iOS: KeyValueCell should hold the observation token
...
And should nil the token when preparing for reuse.
Otherwise, the observation closure is still active even after the cell
gets reused.
2019-02-03 12:40:19 +05:30
Jason A. Donenfeld
2c3b71629b
wireguard-go: bump
2019-02-03 00:20:24 +01:00
Roopesh Chander
99f72293f6
iOS: Apply runtime configuration by diff-ing
...
And apply the diff on the tableView as insert/remove/reloads.
2019-02-02 19:22:01 +05:30
Roopesh Chander
10f52ca69a
iOS: Tunnel detail: Keep track of visible fields with a [Bool] array
2019-02-02 18:10:57 +05:30
Jason A. Donenfeld
ac7b938953
Strings: fix backwards clock wording
2019-02-01 14:49:38 +01:00
Roopesh Chander
d2e14cfb19
iOS: Tunnel detail: Reload runtime config every second
2019-02-01 15:27:17 +05:30
Roopesh Chander
26e6f23582
iOS: Tunnel detail: Refactor updation of status
2019-01-31 18:46:46 +05:30
Roopesh Chander
d605613c62
Fix handling of 'PersistentKeepalive: every n seconds'
2019-01-31 18:22:08 +05:30
Roopesh Chander
d2abc246cf
iOS: Make it compile again
2019-01-31 18:17:04 +05:30
Roopesh Chander
60f1fee6e7
Configure timers to fire even when tracking mouse events
2019-01-31 17:04:34 +05:30
Roopesh Chander
85e9b48f87
macOS: Tunnel detail: Reload runtime config every second
2019-01-31 16:48:51 +05:30
Roopesh Chander
558f6db3c2
Logger: Convert do-catch to try?
2019-01-28 17:50:48 +05:30
Roopesh Chander
28e5a061c1
Runtime info: Make bytecount and timestamp info prettier
2019-01-28 17:27:08 +05:30
Roopesh Chander
69fddfa1f8
Persistent Keepalive detail should read 'every n seconds'
2019-01-28 16:07:28 +05:30
Roopesh Chander
df7bdc0baa
TunnelsManager: Invoke reload() in a subsequent runloop
2019-01-26 14:31:42 +05:30
Roopesh Chander
0c9380fe4e
macOS: Delay .deactivated status to workaround system bug
...
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.
2019-01-26 14:25:38 +05:30
Roopesh Chander
e8c644dfdf
macOS: Select the active tunnel when showing the manage tunnels window
2019-01-24 18:35:11 +05:30
Roopesh Chander
4df2b7e642
TunnelsTracker: Simplify using TunnelsManager.tunnelInOperation()
2019-01-24 18:11:55 +05:30
Roopesh Chander
a099d6fa26
TunnelsManager: func tunnelInOperation()
2019-01-24 18:11:26 +05:30
Roopesh Chander
1e3be2a51e
macOS: Ensure status is up-to-date on startup
2019-01-24 16:51:01 +05:30
Roopesh Chander
e95cb6e6bd
Config file parsing: Fix bug when there are comments at the end
2019-01-24 16:23:07 +05:30
Jason A. Donenfeld
8c4475111b
macOS: show runtime configuration in tunnel manager
2019-01-24 01:37:57 +01:00
Jason A. Donenfeld
fef3e80472
Tunnel: support getting runtime configuration
2019-01-24 01:37:57 +01:00
Jason A. Donenfeld
8203a322c1
wireguard-go-bridge: allow querying internal settings
2019-01-24 01:22:04 +01:00
Jason A. Donenfeld
7122123c3e
wireguard-go-bridge: fix standalone build
2019-01-23 21:59:51 +01:00
Roopesh Chander
262d8800a1
macOS: Tunnel detail: Fix updation of tunnelEditVC
2019-01-23 19:26:43 +05:30
Roopesh Chander
c45f591f8b
macOS: Deactivate any active tunnel when app exits
2019-01-23 16:31:30 +05:30
Roopesh Chander
8c64f28742
macOS: Adapt to TunnelsManagerListDelegate changes
2019-01-23 16:21:20 +05:30
Roopesh Chander
d272cc2ab3
iOS: Fix stale tunnel being shown on iPad
...
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.
2019-01-23 16:11:55 +05:30
Roopesh Chander
775b65306d
iOS: Fix handling of deletion outside app
2019-01-23 14:48:45 +05:30
Roopesh Chander
b6ad3f39e0
macOS: reload: Iterate in reverse
2019-01-22 20:06:52 +05:30
Jason A. Donenfeld
5ddb81b654
TunnelsManager: refresh status after replacing insides
2019-01-22 15:35:14 +01:00
Jason A. Donenfeld
465b9037ba
TunnelsManager: use new helper
2019-01-22 15:20:57 +01:00
Roopesh Chander
f1cec084da
macOS: Tunnel edit: Handle deletion outside app
2019-01-22 19:30:21 +05:30
Roopesh Chander
f281b932c2
macOS: Tunnel detail: Handle deletion outside app
2019-01-22 19:30:21 +05:30
Roopesh Chander
c477f721fb
macOS: Handle tunnel deletions outside the app
2019-01-22 19:30:21 +05:30
Jason A. Donenfeld
d3db8519b0
macOS: remove mobile network tweeks
2019-01-22 13:11:28 +01:00
Jason A. Donenfeld
b3d9d582bf
MacOS: StatusMenu: Properly localize menu title
...
Partially revert "macOS: StatusMenu: Remove unused menu title"
2019-01-22 11:26:07 +01:00
Roopesh Chander
658c54f59c
macOS: Disable save button if the syntax highlighter detects any errors
2019-01-22 12:57:32 +05:30
Roopesh Chander
d056732e27
macOS: Fix crash when importing using NoTunnelsDetailVC's button
2019-01-22 05:00:39 +05:30
Roopesh Chander
592ea5cfca
macOS: StatusMenu: Remove unused menu title
2019-01-22 04:41:52 +05:30
Roopesh Chander
8b89c29ace
Let there be newlines at the end of all files
2019-01-22 04:40:47 +05:30
Roopesh Chander
4f28737dbf
Fix localization
...
- Use Unicode ellipses
- Use single quotes everywhere
- Use smart quotes
- Minor text change ("You cannot undo this action.")
2019-01-22 04:35:13 +05:30
Roopesh Chander
927ce4c129
macOS: Use Unicode version of '...' for menu text
2019-01-22 04:16:22 +05:30
Roopesh Chander
0f140d2222
macOS: Fix status-related menu items
2019-01-22 04:11:24 +05:30
Roopesh Chander
ca827d2d10
Better os() directives
2019-01-22 04:06:37 +05:30
Jason A. Donenfeld
c0883e37c4
macOS: Tunnel edit: actually clean up error handling
2019-01-21 23:21:47 +01:00
Jason A. Donenfeld
b69dbfda52
XCode: set default signing identity back
2019-01-21 23:17:08 +01:00
Roopesh Chander
808c95567a
macOS: Tunnel edit: Clean up error handling when saving
2019-01-22 03:26:01 +05:30