Commit Graph

364 Commits

Author SHA1 Message Date
Jeroen Leenarts 33cdc14070 Don't crash on failure to obtain version info and inform user on what is needed to be able to retrieve version info from the Go client.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-10-01 15:37:15 +02:00
Jeroen Leenarts 86646448ac Check and clear old configs on app start and app foreground.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-10-01 15:36:11 +02:00
Jeroen Leenarts 0c1520d6f8 Convert DNS names to IP address.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-30 21:39:00 +02:00
Jeroen Leenarts 2fda480585 Fix build warning.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-30 21:13:58 +02:00
Jeroen Leenarts dd02986a78 Add switch to info view controller.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-29 22:29:34 +02:00
Jeroen Leenarts cc6c8e36e0 Update README.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-27 07:59:08 +02:00
Jeroen Leenarts f118f9ef4b Add missing file and fix hard path.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-27 07:57:42 +02:00
Jeroen Leenarts 5c853efed8 Xcode build wireguard go bridge.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-26 20:34:09 +02:00
Jeroen Leenarts ff1337d5ad Deal with zero or empty input better.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-26 11:43:13 +02:00
Jeroen Leenarts 8e0a52a132 Use trash instead of edit icon.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-26 11:27:24 +02:00
Jeroen Leenarts 18d82d07af Use message to extension to obtain version info.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-26 11:26:52 +02:00
Jeroen Leenarts 47a75bbd57 Fixe base 64 regex format.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-26 11:23:13 +02:00
Jeroen Leenarts bd9d676c8f Fix function length warning.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-26 11:22:54 +02:00
Jeroen Leenarts cc4bd254a2 Add explicit cast to supress conversion warning.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-26 11:22:15 +02:00
Jeroen Leenarts a55eefcd5d Fixe file/function related warnings.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-26 11:21:53 +02:00
Jeroen Leenarts cd6c9a1203 Not a gear but dots.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-26 10:24:52 +02:00
Jeroen Leenarts 4ad7af063a Set a date based version number for now.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-26 09:30:14 +02:00
Jeroen Leenarts 7042e36fb5 Present alert for title.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-25 22:30:16 +02:00
Jeroen Leenarts df4e8e1fca Remove default zeroes for listenPort and mtu.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-25 21:15:50 +02:00
Jeroen Leenarts ad28815bef Ask for title when scaning a QR.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-25 20:59:15 +02:00
Jeroen Leenarts edaeaf732d Move copy button a bit up towards title line.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-25 20:15:44 +02:00
Jeroen Leenarts 7aaa63d8e5 Settnings icon.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-25 20:10:29 +02:00
Jason A. Donenfeld 412a5ed445 Keep tabs on memory usage
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-25 02:50:03 +02:00
Jason A. Donenfeld 83def0a52b Prevent signal and wait from racing
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-24 03:15:21 +02:00
Jason A. Donenfeld 2ccbe0eb42 Update go submodule
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-24 01:53:35 +02:00
Jason A. Donenfeld 8a99806257 Truth
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-22 04:14:48 +02:00
Jason A. Donenfeld 99b9a6b80a PacketTunnelProvider: fix locking logic
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-22 04:13:02 +02:00
Jeroen Leenarts 8aeca61322 Add some info on that this repository contains.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-21 20:45:33 +02:00
Jeroen Leenarts 19a4339a27 Report the correct number of rows in the info table view.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-20 00:44:24 +02:00
Jeroen Leenarts 659a24250a Get rid of a few cosmetic lines.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-20 00:43:57 +02:00
Jeroen Leenarts 06f61cbc99 Make sure a scanned config is actually saved and displayed.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-20 00:43:43 +02:00
Jeroen Leenarts 9bdf987b42 Disable bitcode to allow reporting of GO version in App settings.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-20 00:42:55 +02:00
Jeroen Leenarts 7c608cc3be Support some form of rotation.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-20 00:28:07 +02:00
Jeroen Leenarts 74ad02132a Make sure correct layering is used to make sure hint remains visible.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-20 00:27:49 +02:00
Jeroen Leenarts f993c3172e Add add from file within app.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-19 16:02:20 +02:00
Jeroen Leenarts fe6be49180 Change network prefix length for excluded routes to 128.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-18 22:53:00 +02:00
Jeroen Leenarts c9974f9119 Add edit/done buttons to have a more discoverable way to remove tunnels.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-18 22:46:28 +02:00
Jeroen Leenarts 411c919cbf Move add button to bottom toolbar.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-18 22:19:03 +02:00
Jeroen Leenarts 089315ddc5 Add settings screen. Move export as zip to settings screen.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-18 21:49:59 +02:00
Jason A. Donenfeld 1c7cf59059 Give team to release
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-17 00:43:46 +02:00
Jason A. Donenfeld e8031be03d Update go snapshot
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-17 00:40:28 +02:00
Jason A. Donenfeld f16260db25 Preallocate buffers so we don't explode limit
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-17 00:40:09 +02:00
Jeroen Leenarts b5783d7d21 Small comment layout tweak.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-16 22:43:40 +02:00
Jeroen Leenarts 9d45f6e4b0 Spelling improvement in log statement.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-16 22:43:31 +02:00
Jeroen Leenarts 8326735fcb Show public key on interface. Do not generate public key on peer on generate. Add public key copy buttons.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-16 22:38:32 +02:00
Jeroen Leenarts c863adce85 Start a new peer without an allowed ips entry.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-16 21:23:20 +02:00
Jeroen Leenarts d6e0838677 New peers should begin with zero peers.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-16 21:22:00 +02:00
Jeroen Leenarts 0af4dadd70 Back button for tunnel table view renamed to "Tunnels"
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-16 21:19:14 +02:00
Jeroen Leenarts 484bef1777 Clean up old school headers.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-16 21:17:54 +02:00
Jeroen Leenarts 878f6c54d1 We do not support "on demand" right now.
On demand has the effect of the VPN tunnel being started "on demand" based on a set of triggering criteria. Currently there are no criteria in place, so it always triggers.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-15 21:26:07 +02:00