Roopesh Chander
2fd8792fa5
Info.plist: Register for handling public.text files for Open-in
2018-11-07 17:43:30 +01:00
Roopesh Chander
8ad6ba6adc
Importing: Also support importing public.text files in the file picker
2018-11-07 17:43:30 +01:00
Roopesh Chander
6e142cd924
iPad: Set correct sourceRect for the popover anchored on the central 'Add' button
2018-11-07 18:23:12 +05:30
Roopesh Chander
d477b132e4
TunnelsManager: Return a manager with no tunnels in the simulator
...
To be able to run at least parts of the app in the simulator.
2018-11-07 18:15:20 +05:30
Roopesh Chander
1bba1ffe16
iPad: Configuring the split-view controller should happen in init(), not loadView()
2018-11-07 15:54:30 +05:30
Jason A. Donenfeld
f8f19ef3d7
Settings: show build id
2018-11-07 05:45:39 +01:00
Jason A. Donenfeld
bfab65348c
Make license consistent
...
We changed all the files and the README to MIT a long time ago but
forgot to update COPYING.
2018-11-07 01:26:32 +01:00
Jason A. Donenfeld
b927c961ae
Version bump
2018-11-06 20:18:11 +01:00
Jason A. Donenfeld
414835e60e
Importing: simplify
2018-11-06 20:16:40 +01:00
Roopesh Chander
b9b8ae8908
Importing: Assume imported files without .conf or .zip extensions to be a config file
2018-11-07 00:35:37 +05:30
Roopesh Chander
c9b27d1617
DNSResolver: No need to resolve if the endpoint is already an IP address
2018-11-06 23:59:48 +05:30
Roopesh Chander
1410b89f23
Model: Endpoint.hasHostAsIPAddress()
2018-11-06 23:59:48 +05:30
Jason A. Donenfeld
b57824cde1
PacketTunnelProvider: modernize header
2018-11-06 19:04:53 +01:00
Jason A. Donenfeld
9247f216cf
Not horribly broken
...
Instead it's just mostly broken. Maybe someday it will only be partially
broken. Then a bit broken. And then maybe not broken at all? Before, of
course, it's broken again.
2018-11-06 19:02:46 +01:00
Roopesh Chander
cc57d8443e
Global: swiftlint autocorrect --format
2018-11-06 22:42:53 +05:30
Roopesh Chander
fe191b1eff
Global: swiftlint autocorrect
2018-11-06 22:42:05 +05:30
Roopesh Chander
2b3347b294
Importing: Error out on file with unsupported file extension
2018-11-06 22:32:33 +05:30
Jason A. Donenfeld
040f0a25ea
wireguard-go-bridge: take fd instead of fnptr
2018-11-06 16:27:25 +01:00
Jason A. Donenfeld
2a7aa578d2
Xcode: enable more warnings
2018-11-06 16:27:25 +01:00
Roopesh Chander
0f61703c34
Tunnel edit: TunnelEditTableViewKeyValueCell need not support a read-only mode now
2018-11-06 19:01:13 +05:30
Roopesh Chander
845305d8c8
Tunnel edit: A new cell class for the public key field, to make the value scrollable
2018-11-06 17:05:03 +05:30
Roopesh Chander
5ea1c5aea8
Tunnel detail: Refactor out the label scrolling into a separate UI class
2018-11-06 16:49:09 +05:30
Roopesh Chander
e9044966bf
Tunnel view model: Peers in a configuation may not share the same public key
2018-11-06 08:17:56 +05:30
Roopesh Chander
e05a6c31b9
Parser: Peers in a configuation may not share the same public key
2018-11-06 08:17:56 +05:30
Jason A. Donenfeld
e6a6decd79
Version bump
...
We update the build number, not the version number, so that test flight
doesn't need a new review.
2018-11-05 21:44:00 +01:00
Roopesh Chander
4c701a0e4f
Parser: Address, DNS and AllowedIPs can have mutliple entries
2018-11-05 23:53:00 +05:30
Roopesh Chander
c1286c95c3
QR Code: Dismiss the QR code screen when the name prompt is cancelled
2018-11-05 23:38:41 +05:30
Roopesh Chander
3e8af3fd19
Tunnel view model: No need to save if we already have a validated configuration object
2018-11-05 22:55:09 +05:30
Jason A. Donenfeld
12a4acef61
global: convert to Swift 4.2
2018-11-05 06:31:25 +01:00
Jason A. Donenfeld
145b524954
TunnelsManager: account for no or many endpoints
2018-11-05 06:23:26 +01:00
Jason A. Donenfeld
bf6b2b6cb1
wireguard-go-bridge: work around DWARF generation issue
...
Golang bug 25148 upstream.
2018-11-05 04:47:11 +01:00
Jason A. Donenfeld
8958a04ba4
PacketTunnelProvider: clamp v6 addresses to /120
2018-11-05 03:11:11 +01:00
Jason A. Donenfeld
395ccf0e87
Settings: account for bottom padding on iPhone X
...
Reported-by: Jeffrey A. Donenfeld <jad@runblue.com>
2018-11-05 02:09:40 +01:00
Jason A. Donenfeld
54cfa3dba3
XCode: use old network extension ID
2018-11-04 05:42:25 +01:00
Jason A. Donenfeld
ab14c0070c
wireguard-go-bridge: xcode expects install target
2018-11-04 03:56:15 +01:00
Jason A. Donenfeld
1f7aaaa233
XCode: unify version strings
2018-11-04 03:51:50 +01:00
Jason A. Donenfeld
1ed21aa60c
Settings: anchor logo to bottom
2018-11-04 03:37:18 +01:00
Roopesh Chander
8fb0baf5d2
Add a correct launch-screen storyboard
2018-11-04 02:31:04 +05:30
Jason A. Donenfeld
939f50be5f
Revert "Settings: Swap table view sections"
...
This reverts commit 1108f82489
.
2018-11-03 19:53:04 +01:00
Jason A. Donenfeld
d91cac6327
Settings: simplify
2018-11-03 19:48:10 +01:00
Jason A. Donenfeld
355a555cc4
Global: run through swiftlint
2018-11-03 19:35:25 +01:00
Jason A. Donenfeld
b3b63b5f5d
Settings: limit size of logo
2018-11-03 19:20:21 +01:00
Jason A. Donenfeld
074e5e7063
Settings: use updated wireguard banner logo
2018-11-03 18:37:51 +01:00
Jason A. Donenfeld
4aba533630
TunnelsManager: restore sanity
2018-11-03 18:20:25 +01:00
Roopesh Chander
c4d5f5975a
Change version with 0.0.yyyymmdd versioning scheme
2018-11-03 19:28:29 +05:30
Roopesh Chander
215c56cec3
VPN: Make sure actions inside tunnelProvider completion handlers are done in the main queue
...
They should really already be in the main queue, but we do this just in case.
2018-11-03 19:26:28 +05:30
Roopesh Chander
f4f1278a82
VPN: Start observing the status only if startTunnel() succeeds
...
This should fix the status change to .disconnected when we're resolving endpoints
2018-11-03 19:22:30 +05:30
Roopesh Chander
6fd9e7f53a
VPN: We should never get a status change to .disconnected if we're resolving endpoints
...
But we do, which we'll fix subsequently
2018-11-03 18:58:27 +05:30
Roopesh Chander
395e6fcdda
Revert "TunnelsManager: initialize observer on correct thread"
...
Rather, we'll make sure we always call startObservingTunnelStatus from
the main thread.
This reverts commit d16a6a167c
.
2018-11-03 18:45:26 +05:30
Roopesh Chander
c0c1fddb75
Settings: Show the captioned WireGuard logo at the end
2018-11-03 18:41:54 +05:30