path: root/WireGuard/WireGuard/VPN/TunnelsManager.swift (unfollow)
Commit message (Expand)AuthorFilesLines
2018-12-13mv WireGuard/WireGuard/VPN/ WireGuard/WireGuard/Tunnel/Roopesh Chander1-480/+0
2018-12-13Remove useless whitespaceJason A. Donenfeld1-5/+5
2018-12-12More formatting nits and cyclomatic complexity fixesEric Kuck1-37/+34
2018-12-12More linter warnings fixed, enabled more swiftlint rules, project cleanupEric Kuck1-18/+15
2018-12-12Tons more swiftlint warnings fixed. Still a few remaining.Eric Kuck1-33/+32
2018-12-12Added swiftlint and fixed all errors (and a bunch, but not all, warnings)Eric Kuck1-25/+24
2018-12-11TunnelsManager: Error out only on no-internet scenarioRoopesh Chander1-4/+4
2018-12-11Remove the feature of waiting for another tunnel to deactivateRoopesh Chander1-55/+9
2018-12-11TunnelsManager: Deactivate only when the status becomes 'connected'Roopesh Chander1-3/+11
2018-12-11TunnelsManager: Handle status change in TunnelsManagerRoopesh Chander1-66/+78
2018-12-11Error handling: alertText() can be nilRoopesh Chander1-1/+1
2018-12-10TunnelsManager: Don't act on status change on tunnelProviders we don't haveRoopesh Chander1-2/+0
2018-12-10TunnelsManager: Always call the completion handler before returningRoopesh Chander1-0/+4
2018-12-10TunnelsManager: Debugging helpers for tunnel statusRoopesh Chander1-0/+27
2018-12-10TunnelsManager: Handle deactivation of a waiting tunnelRoopesh Chander1-1/+6
2018-12-08TunnelsManager: Observe status for all tunnels in one blockRoopesh Chander1-52/+54
2018-12-08TunnelsManager: Remove unused variablesRoopesh Chander1-14/+0
2018-12-07State restoration: Restore tunnel detail viewRoopesh Chander1-0/+4
2018-12-07Error handling: Introduce a WireGuardResult type to handle errors in callbacks across the appRoopesh Chander1-28/+2
2018-12-07Error handling: Introduce a WireGuardAppError protocol to manage errorsRoopesh Chander1-1/+27
2018-12-07Error handling: Cleanup Tunnels Manager errorsRoopesh Chander1-45/+65
2018-12-03Refactor out VPN-handling stuff from tunnels list VC to the main VCRoopesh Chander1-8/+8
2018-12-03VPN: Error out when tunnel activation fails because there's no internetRoopesh Chander1-6/+40
2018-11-14Tunnels manager: After saving after activating on-demand, reload tunnelRoopesh Chander1-3/+16
2018-11-12Tunnels manager: Need to keep VPN-on-demand tunnels's status under observationRoopesh Chander1-4/+13
2018-11-12Tunnels manager: Keep track of NETunnelProviderManager's isOnDemandEnabled propertyRoopesh Chander1-3/+8
2018-11-12Model, Tunnels manager: Rewrite the model for VPN-on-demandRoopesh Chander1-36/+11
2018-11-11TunnelsManager: Support for on-demand rulesRoopesh Chander1-0/+36
2018-11-10VPN: When activating while another tunnel is active, deactivate the other tunnelRoopesh Chander1-7/+14
2018-11-10TunnelsManager: startDeactivation() need not take a completion handlerRoopesh Chander1-2/+1
2018-11-10VPN: There are no DNS errors to handle in the app nowRoopesh Chander1-1/+0
2018-11-09TunnelsManager: Ability to refresh connection statusesRoopesh Chander1-0/+14
2018-11-08Move logic to extension: NETunnelProviderProtocol extension code should be sharedRoopesh Chander1-31/+0
2018-11-08Move logic to extension: .resolvingEndpointDomains is not longer a valid statusRoopesh Chander1-5/+0
2018-11-08Move logic to extension: DNS resolution no longer happens in the appRoopesh Chander1-44/+5
2018-11-08Move logic to extension: Invoke startTunnel() without any optionsRoopesh Chander1-4/+1
2018-11-07TunnelsManager: Return a manager with no tunnels in the simulatorRoopesh Chander1-0/+5
2018-11-06Global: swiftlint autocorrect --formatRoopesh Chander1-6/+6
2018-11-05TunnelsManager: account for no or many endpointsJason A. Donenfeld1-13/+9
2018-11-04XCode: use old network extension ID0.0.20181104-1Jason A. Donenfeld1-1/+1
2018-11-03Global: run through swiftlintJason A. Donenfeld1-8/+8
2018-11-03TunnelsManager: restore sanityJason A. Donenfeld1-45/+20
2018-11-03VPN: Make sure actions inside tunnelProvider completion handlers are done in the main queueRoopesh Chander1-17/+35
2018-11-03VPN: Start observing the status only if startTunnel() succeedsRoopesh Chander1-1/+1
2018-11-03VPN: We should never get a status change to .disconnected if we're resolving endpointsRoopesh Chander1-0/+1
2018-11-03Revert "TunnelsManager: initialize observer on correct thread"Roopesh Chander1-7/+5
2018-11-03TunnelsManager: initialize observer on correct threadJason A. Donenfeld1-5/+7
2018-11-03TunnelsManager: do not track currentTunnelJason A. Donenfeld1-33/+6
2018-11-03TunnelsManager: do not change back to inactive if we are resolving the endpointJason A. Donenfeld1-0/+5
2018-11-03TunnelsManager: fix use of arrayslice in addMultipleJason A. Donenfeld1-5/+4