Commit Graph

320 Commits

Author SHA1 Message Date
Roopesh Chander 22dd3dcc40 Export: Exporting config files 2018-10-29 23:06:55 +05:30
Roopesh Chander d63ee03d66 mv Parsing/ ConfigFile/ 2018-10-29 19:05:01 +05:30
Roopesh Chander 742da89df3 Settings: Add a settings panel 2018-10-29 17:34:09 +05:30
Roopesh Chander 7498e9556b Model: Cap networkPrefixLengths to valid values 2018-10-29 16:49:49 +05:30
Roopesh Chander 93be31e4e6 Tunnel edit: Support for exclude private IPs 2018-10-29 16:44:47 +05:30
Roopesh Chander eb61152fe0 Tunnel view model: Support for exclude private IPs 2018-10-29 16:43:53 +05:30
Roopesh Chander 7f69cb6118 Tunnel edit: Fix keyboard type for reused cells 2018-10-29 16:43:12 +05:30
Roopesh Chander ec3b43bcdf Tunnel detail: Assume there's just one section per peer 2018-10-29 13:02:11 +05:30
Roopesh Chander e83a724d83 Tunnel edit: Assume there's just one section per peer 2018-10-29 12:47:00 +05:30
Roopesh Chander 641bcdea04 Tunnel edit: Set correct keyboard types 2018-10-29 06:19:50 +05:30
Roopesh Chander 3e1748bdd9 VPN: If we don't have to make a DNS request, we shouldn't enter that status 2018-10-29 06:19:50 +05:30
Roopesh Chander 5b85d58b27 VPN: Cache DNS resolutions while the app is in memory 2018-10-29 06:19:50 +05:30
Roopesh Chander 8d3b616fa8 VPN: Reload the tunnel before starting it up
To avoid errors like this: https://stackoverflow.com/q/47550706
2018-10-29 06:19:50 +05:30
Roopesh Chander 3ffd4a8280 Tunnel list, detail: Deletion of tunnels 2018-10-29 06:19:43 +05:30
Roopesh Chander 4e36ed43c0 VPN: Fix deletion of tunnels 2018-10-29 04:54:57 +05:30
Roopesh Chander 1e7fa2390d Fix: Make sure all prepareForReuse() implementations call super 2018-10-29 02:27:14 +05:30
Roopesh Chander 6b6a4d3f17 Tunnel edit: Set correct title when editing 2018-10-29 02:24:32 +05:30
Roopesh Chander b9d6d194bc Tunnel detail: Change title after editing completes 2018-10-29 02:21:19 +05:30
Roopesh Chander 6b969b7bdf Tunnel detail: Copying the public key 2018-10-29 02:19:11 +05:30
Roopesh Chander 90eac14b9a Tunnel editing: Fix cell class names 2018-10-29 02:15:43 +05:30
Roopesh Chander b9c3e062ea Import: Use the refactored function for Open-in 2018-10-29 02:09:50 +05:30
Roopesh Chander 894925466d Import: Minor refactoring 2018-10-29 02:08:40 +05:30
Roopesh Chander 571572943b Import: Show errors when importing fails 2018-10-29 02:03:39 +05:30
Roopesh Chander 2b72e76679 Import config: Directly add config, don't open up the editor 2018-10-29 01:58:21 +05:30
Roopesh Chander b060b9ff06 Zip: Import configs from zip files 2018-10-29 01:52:43 +05:30
Roopesh Chander 2d41591cfd Zip: Add zip file reader 2018-10-29 01:51:49 +05:30
Roopesh Chander 3a58dd9481 Zip: Include minizip in our Xcode project 2018-10-29 01:03:53 +05:30
Roopesh Chander 131d362211 Zip: Add code from the minizip project
Source: https://zlib.net/zlib-1.2.11.tar.gz
2018-10-29 01:03:44 +05:30
Roopesh Chander 974b2568d2 QR code: Save the scanned tunnel 2018-10-28 23:32:15 +05:30
Jeroen Leenarts fabfd17d44 QR code: Ask for title when scanning a QR code 2018-10-28 23:20:18 +05:30
Roopesh Chander b172ba3a2a QR code: Minor refactoring 2018-10-28 23:19:56 +05:30
Jeroen Leenarts 1ae0b9a64b QR code: Support some form of rotation. 2018-10-28 23:19:52 +05:30
Jeroen Leenarts 14a802417b QR code: Make sure correct layering is used to make sure hint remains visible. 2018-10-28 23:19:45 +05:30
Roopesh Chander 153c11c42c QR code: Integrate Eric's QR code scanner 2018-10-28 22:22:32 +05:30
Roopesh Chander 7795b6954c Info.plist: Indicate that the app shall use the camera 2018-10-28 22:01:02 +05:30
Roopesh Chander 54dc70f910 Tunnels list: Need to pass in a name to the parser 2018-10-28 21:59:52 +05:30
Roopesh Chander d7691158a4 Revert "Parser: Interface name can be added after parsing"
This reverts commit d3a9e79149.
2018-10-28 21:57:18 +05:30
Eric Kuck e86923528b QR code: Ability to add tunnels with a QR code scan 2018-10-28 18:26:41 +05:30
Roopesh Chander be1383aed8 Model: Ensure name is not empty
We don't need it because we don't have to open the new-config UI
after scanning a QR code.

This reverts commit db72e95.
2018-10-28 18:13:47 +05:30
Roopesh Chander ac29886f7b VPN: A tunnel may be already active on app startup 2018-10-28 18:09:38 +05:30
Roopesh Chander 4a71c0e98e VPN: Remove ability to deactivate the tunnel while resolving DNS 2018-10-28 17:47:01 +05:30
Roopesh Chander 8df53b7709 VPN: DNSResolver: Resolve multiple endpoints in parallel 2018-10-28 17:44:25 +05:30
Roopesh Chander 2c94dd4694 Tunnels list: Add a switch and an activity indicator to the list view
They track the status of the tunnel. The switch can also be used to
bring the tunnel up and down.
2018-10-28 14:56:15 +05:30
Roopesh Chander f2cbf10f72 VPN: Save the tunnel name when modifying a tunnel 2018-10-28 14:55:24 +05:30
Roopesh Chander 7d61385572 Tunnel detail: For now, don't allow cancelling when resolving domains is in progress 2018-10-28 14:54:41 +05:30
Roopesh Chander 2781026728 VPN: Cleaner derivation of subnet mask from CIDR network prefix length 2018-10-28 11:51:18 +05:30
Roopesh Chander 5add29a5c8 Tunnel detail: The tableView should have selection disabled 2018-10-27 19:14:08 +05:30
Roopesh Chander 4516fa0fdd VPN: Better error and status handling 2018-10-27 19:07:16 +05:30
Roopesh Chander 924b824af4 Xcode: Disable bitcode
Enabling bitcode generates a linker error when linking with libwg-go.a
2018-10-27 19:07:16 +05:30
Roopesh Chander 7433634b66 VPN: Bring up the tunnel
The app figures out all settings and passes them in the
'options' parameter of startTunnel().

The network extension just takes them as is and just plugs the supplied
values into the right places.
2018-10-27 19:07:16 +05:30