Commit Graph

  • 34a8d70a45 Parser: Address, DNS and AllowedIPs can have mutliple entries Roopesh Chander 2018-11-05 23:52:16 +05:30
  • 733c29021e QR Code: Dismiss the QR code screen when the name prompt is cancelled Roopesh Chander 2018-11-05 23:38:41 +05:30
  • f102051e22 Tunnel view model: No need to save if we already have a validated configuration object Roopesh Chander 2018-11-05 22:55:09 +05:30
  • e228ac9d99 global: convert to Swift 4.2 Jason A. Donenfeld 2018-11-05 06:31:25 +01:00
  • 8860abc89e TunnelsManager: account for no or many endpoints Jason A. Donenfeld 2018-11-05 06:23:26 +01:00
  • 03cce06292 wireguard-go-bridge: work around DWARF generation issue Jason A. Donenfeld 2018-11-05 04:30:32 +01:00
  • a08a9ba4c4 PacketTunnelProvider: clamp v6 addresses to /120 Jason A. Donenfeld 2018-11-05 03:10:52 +01:00
  • 8ec38e1d2b Settings: account for bottom padding on iPhone X Jason A. Donenfeld 2018-11-05 02:09:40 +01:00
  • 4bd1ea63c6 XCode: use old network extension ID 0.0.20181104-1 Jason A. Donenfeld 2018-11-04 04:16:13 +01:00
  • fe76d6eed9 wireguard-go-bridge: xcode expects install target Jason A. Donenfeld 2018-11-04 03:55:14 +01:00
  • 6c40479863 XCode: unify version strings Jason A. Donenfeld 2018-11-04 03:51:50 +01:00
  • 897c873296 Settings: anchor logo to bottom Jason A. Donenfeld 2018-11-04 03:37:09 +01:00
  • 6d191665a4 Add a correct launch-screen storyboard Roopesh Chander 2018-11-04 02:31:04 +05:30
  • c4e5bde1d9 Revert "Settings: Swap table view sections" Jason A. Donenfeld 2018-11-03 19:53:04 +01:00
  • e43de890e0 Settings: simplify Jason A. Donenfeld 2018-11-03 19:48:10 +01:00
  • 955de09c9e Global: run through swiftlint Jason A. Donenfeld 2018-11-03 19:35:25 +01:00
  • 6738ebb356 Settings: limit size of logo Jason A. Donenfeld 2018-11-03 19:12:04 +01:00
  • b28a62c114 Settings: use updated wireguard banner logo Jason A. Donenfeld 2018-11-03 18:37:51 +01:00
  • 1568ae57e3 TunnelsManager: restore sanity Jason A. Donenfeld 2018-11-03 17:23:03 +01:00
  • c80901fbed Change version with 0.0.yyyymmdd versioning scheme Roopesh Chander 2018-11-03 19:28:29 +05:30
  • 68f91e2a84 VPN: Make sure actions inside tunnelProvider completion handlers are done in the main queue Roopesh Chander 2018-11-03 19:20:00 +05:30
  • 582092abb1 VPN: Start observing the status only if startTunnel() succeeds Roopesh Chander 2018-11-03 19:03:27 +05:30
  • 7c4992894b VPN: We should never get a status change to .disconnected if we're resolving endpoints Roopesh Chander 2018-11-03 18:58:24 +05:30
  • 538704e7bd Revert "TunnelsManager: initialize observer on correct thread" Roopesh Chander 2018-11-03 18:45:26 +05:30
  • 66389c60b5 Settings: Show the captioned WireGuard logo at the end Roopesh Chander 2018-11-03 18:41:54 +05:30
  • 09fbe93bf0 Settings: Swap table view sections Roopesh Chander 2018-11-03 17:53:50 +05:30
  • e8802b14b4 Remove empty image Roopesh Chander 2018-11-03 17:39:43 +05:30
  • 477916f0c4 Add Wireguard logo with caption to project Jeroen Leenarts 2018-10-02 21:14:47 +02:00
  • b9d0b9f096 Tunnels list: Fix status switch look after flipping it off after an error Roopesh Chander 2018-11-03 17:28:16 +05:30
  • 2f5e83cf99 ErrorPresenter: showErrorAlert takes an onPresentated handler Roopesh Chander 2018-11-03 17:26:06 +05:30
  • a512216d85 Tunnels list: Should deselect the row when handling the selection Roopesh Chander 2018-11-03 15:54:02 +05:30
  • 9312821778 Tunnel list: Don't show the detail view after creating a config from scratch Roopesh Chander 2018-11-03 15:51:21 +05:30
  • 366ca7802a Ensure that all tunnel names are trimmed of whitespaces Roopesh Chander 2018-11-03 15:45:29 +05:30
  • ac79c5b1f7 Zip archive: Handle files within folders inside the zip Roopesh Chander 2018-11-03 15:37:31 +05:30
  • 4bcfdfa08e Update readme Jason A. Donenfeld 2018-11-03 07:21:54 +01:00
  • ec943587fa TunnelsManager: initialize observer on correct thread Jason A. Donenfeld 2018-11-03 07:03:09 +01:00
  • 6405b76941 TunnelsManager: do not track currentTunnel Jason A. Donenfeld 2018-11-03 06:22:57 +01:00
  • 9e9898f17d TunnelsManager: do not change back to inactive if we are resolving the endpoint Jason A. Donenfeld 2018-11-03 06:09:07 +01:00
  • ae2ae87bbe Tunnels list: Remove separator lines in the table view Roopesh Chander 2018-11-03 10:25:32 +05:30
  • 735d542658 Tunnels list: Show an 'Add' button when there are no tunnels Roopesh Chander 2018-11-03 10:22:05 +05:30
  • 0c60489819 Tunnels list: Show a busy indicator before the tunnels are loaded Roopesh Chander 2018-11-03 08:50:27 +05:30
  • 9df0064eac Tunnels list: The Add and Settings buttons should be no-ops until the tunnels are loaded Roopesh Chander 2018-11-03 00:25:35 +05:30
  • f6a29d9f50 Tunnel edit: Use layoutMarginsGuide instead of constants Roopesh Chander 2018-11-03 00:24:53 +05:30
  • 5845db4568 TunnelsManager: fix use of arrayslice in addMultiple Jason A. Donenfeld 2018-11-03 04:37:56 +01:00
  • f57c40c38b TunnelsManager: get rid of name set Jason A. Donenfeld 2018-11-03 03:53:08 +01:00
  • 007d6d9c58 TunnelsManager: get rid of index management Jason A. Donenfeld 2018-11-03 03:40:23 +01:00
  • 9439e00047 Global: no periods at the end of error messages Jason A. Donenfeld 2018-11-03 02:55:19 +01:00
  • 95101dce5c Import: rework addMultiple logic Jason A. Donenfeld 2018-11-03 02:51:32 +01:00
  • dff928fafa Tunnel detail: In the key-value cell, make the value label scrollable horizontally Roopesh Chander 2018-11-02 19:30:00 +05:30
  • 4c485cdbb2 Tunnel edit: Ensure all key-value fields have a placeholder text Roopesh Chander 2018-11-02 18:20:32 +05:30
  • f92fb1b9f4 DNSResolver: Bugfix: Always call completion handler Roopesh Chander 2018-11-02 18:10:51 +05:30
  • 29004c0ab6 Info.plist: Update document icons and description Roopesh Chander 2018-11-02 17:32:13 +05:30
  • 159ecca829 Info.plist: Document type UTI should be consistent with exported UTI Roopesh Chander 2018-11-02 17:26:43 +05:30
  • cd16db83cc Info.plist: Register zip file for open-in Roopesh Chander 2018-11-02 17:04:13 +05:30
  • 09a0d1ef20 Info.plist: Add .conf extension to document type Roopesh Chander 2018-11-02 16:57:30 +05:30
  • 1e5bd7e458 Add document icon Roopesh Chander 2018-11-02 16:44:18 +05:30
  • f7be9a29a9 Add app icons Roopesh Chander 2018-11-02 16:11:24 +05:30
  • 969e0bda10 Remove files we don't need Roopesh Chander 2018-11-02 15:39:03 +05:30
  • 90af773fef Handle cell reuse in showing delete buttons in red Roopesh Chander 2018-11-02 13:24:10 +05:30
  • e7a1f142fb Table edit: Show/hide 'Exclude Private IPs' instead of enable/disable Roopesh Chander 2018-11-02 13:12:10 +05:30
  • 66e802584b Tunnel view model: If there's just one peer, populate the scratchpad on init Roopesh Chander 2018-11-02 13:09:45 +05:30
  • b3cc30a207 Tunnel view model: Initialize peerData.numberOfPeers Roopesh Chander 2018-11-02 12:05:40 +05:30
  • 7fc0e3ee94 DNSResolver: getaddrinfo returns a sockaddr and inet_ntop takes strlen Jason A. Donenfeld 2018-11-02 05:34:17 +01:00
  • 6676e557f1 wireguard-go-bridge: use boottime instead of monotonic Jason A. Donenfeld 2018-11-01 23:39:06 +01:00
  • b21de2e398 NetworkExtension: check isTunnelClosed before packet existence Jason A. Donenfeld 2018-11-01 22:01:52 +01:00
  • cf569fd0d2 Global: OK over Ok Jason A. Donenfeld 2018-11-01 21:22:12 +01:00
  • abd02975c5 Deletion buttons are shown in red Roopesh Chander 2018-11-01 23:53:09 +05:30
  • 46e9eddecc Tunnel edit: Highlight erroring field keys in red Roopesh Chander 2018-11-01 23:45:29 +05:30
  • 55cf6e6181 Tunnels list: Swipe left to delete Roopesh Chander 2018-11-01 23:04:56 +05:30
  • c2d76b9c45 Global: fix up strings Jason A. Donenfeld 2018-11-01 18:59:58 +01:00
  • 196daccdde QR code: Fix what happens when an error is shown Roopesh Chander 2018-11-01 18:59:14 +05:30
  • 7608cebbc6 NE: Show an alert when someone tries to start the VPN from iOS Settings Roopesh Chander 2018-11-01 18:54:08 +05:30
  • c5e35fee1e Export: fix up export format Jason A. Donenfeld 2018-11-01 17:31:50 +01:00
  • 3611f8cf5a Tunnel errors: Consolidate tunnel activation errors into ErrorPresenter Roopesh Chander 2018-11-01 16:58:33 +05:30
  • 39a457e402 TunnelsManager: Better errors Roopesh Chander 2018-11-01 16:57:40 +05:30
  • 53a93e9b92 ConfigFile: WgQuickConfigFileWriter: Fix '[Peer]' section header Roopesh Chander 2018-11-01 16:13:30 +05:30
  • 1377153bc6 Importing: Account for errors in showing the 'No configurations found' error Roopesh Chander 2018-11-01 15:59:17 +05:30
  • 5138cdf9ea Tunnel detail: Fix deletion of tunnel Roopesh Chander 2018-11-01 15:54:37 +05:30
  • 040ce32015 VPN: TunnelsManager: Fix deletion code Roopesh Chander 2018-11-01 15:53:10 +05:30
  • 2870175ab2 VPN: Restart tunnel after modifying a currently active configuration Roopesh Chander 2018-11-01 15:36:59 +05:30
  • b96e5ae563 QR code: Degrade gracefully when running on the simulator or on a device without a camera Roopesh Chander 2018-11-01 02:14:30 +05:30
  • 95ad752d65 Revert "QR code: QR code scanning is not available in the simulator" Roopesh Chander 2018-11-01 02:05:03 +05:30
  • 193b8c2596 Importing: Show error when the zip file contains no .conf files Roopesh Chander 2018-11-01 02:04:26 +05:30
  • cf7966e876 VPN: We have to start observing the tunnelContainer before we attempt to activate it Roopesh Chander 2018-11-01 01:54:19 +05:30
  • 066449b207 Importing: Error out on duplicate name Roopesh Chander 2018-11-01 01:42:29 +05:30
  • bede8a17ad QR Code: Error out on duplicate name Roopesh Chander 2018-11-01 01:36:28 +05:30
  • 050f8aa679 Tunnel edit: Error out on duplicate name when creating / modifying a tunnel Roopesh Chander 2018-11-01 00:45:09 +05:30
  • bd1820e9f5 VPN: An ErrorPresenter class to consolidate showing of error alerts Roopesh Chander 2018-11-01 11:45:09 +05:30
  • 92d3de1b0d VPN: Introduce an error enum for adding/modifying/removing tunnels Roopesh Chander 2018-11-01 11:42:32 +05:30
  • dd33d74caf VPN: TunnelsManager: s/TunnelsManagerError/TunnelActivationError/g; Roopesh Chander 2018-10-31 23:37:46 +05:30
  • 0aab067a53 VPN: TunnelsManager should keep track of tunnel names to prevent duplicate names Roopesh Chander 2018-10-31 17:03:32 +05:30
  • fff1a70ab9 UI: not all subclasses of CopyableLabelTableViewCell have a detailTextLabel, so generalize Jason A. Donenfeld 2018-10-31 16:38:05 +01:00
  • ecb6035d36 TunnelManager: bound recursion in startActivation Jason A. Donenfeld 2018-10-31 15:58:03 +01:00
  • b2ab6b91a1 VPN: Retry startTunnel based on error conditions Roopesh Chander 2018-10-31 16:42:29 +05:30
  • 059a989fc9 Tunnel list: Fix importing zip with multiple configurations Roopesh Chander 2018-10-31 14:30:25 +05:30
  • 439f8f5a15 VPN: Support adding multiple configurations in one shot Roopesh Chander 2018-10-31 14:29:54 +05:30
  • 9f5612f93f wireguard-go-bridge: extract version for consumption by network extension Jason A. Donenfeld 2018-10-31 04:02:36 +01:00
  • 2a9c7e4745 wireguard-go-bridge: simplify logging and remove tags Jason A. Donenfeld 2018-10-31 03:13:00 +01:00
  • d2f3a29f45 NetworkExtension: close context before turning off go Jason A. Donenfeld 2018-10-31 03:03:00 +01:00
  • 3ed88cd858 wireguard-go-bridge: handle errors in makefile Jason A. Donenfeld 2018-10-31 02:49:59 +01:00