Commit Graph

201 Commits

Author SHA1 Message Date
Grant Limberg
f61c5836b2 copy node ID by clicking on node ID menu item 2016-11-18 14:57:14 -08:00
Grant Limberg
a8847de910 proper shutdown 2016-11-18 14:23:22 -08:00
Grant Limberg
299a7cab20 fixed an issue where sometimes network data wouldnt be updated 2016-11-18 13:59:31 -08:00
Grant Limberg
e48d6880c9 Wired up connected checkbox and delete button. just something not working with refresh. 2016-11-18 13:52:48 -08:00
Grant Limberg
dbe1461886 wire up the quit button 2016-11-18 12:17:57 -08:00
Grant Limberg
7bea709747 wire up the rest of the views to the menu. views not implemented yet tho. 2016-11-18 12:03:21 -08:00
Grant Limberg
6536474b94 moved stuff around again. WPF didnt like things once they were moved. Also wired up Join dialog. 2016-11-18 11:33:46 -08:00
Grant Limberg
a4c2740852 added skeletons for join and about windows. moving things around a little bit too 2016-11-17 14:25:55 -08:00
Grant Limberg
afa1b8cb2d add timeouts to requests to the json api 2016-11-17 14:23:04 -08:00
Grant Limberg
5447c01e1f can finally join/leave networks by clicking on them in the context menu 2016-11-17 14:13:05 -08:00
Grant Limberg
b4bacd50a1 Merge branch 'dev' into systemtray 2016-11-16 16:23:56 -08:00
Grant Limberg
3c248ec61a handle removing of networks we are no longer connected to from the UI 2016-11-16 15:50:56 -08:00
Grant Limberg
78a8ceda0e IP addresses now selectable in Windows UI 2016-11-16 15:11:28 -08:00
Grant Limberg
14bf326de2 make device ID selectable 2016-11-16 14:50:25 -08:00
Grant Limberg
dc549b7f3c add JSONDB.cpp 2016-11-16 14:50:03 -08:00
Grant Limberg
6445337a32 looks like a garbage file got committed. deleting 2016-11-14 15:02:40 -08:00
Grant Limberg
f20c7303e8 remove timer thats no longer needed 2016-11-14 14:58:57 -08:00
Grant Limberg
c4c8ea62e2 Added network monitor pub/sub class 2016-11-14 14:56:36 -08:00
Grant Limberg
71aadcbecb fix serialization issue.
Apparently the JSON parser uses this same serialization method under the hood to create objects from JSON.
2016-11-10 15:21:54 -08:00
Grant Limberg
fd71ceeab5 menu now dynamically populates the network list 2016-11-10 14:17:57 -08:00
Grant Limberg
005b5aacaf rename 2016-11-09 10:32:18 -08:00
Grant Limberg
7cf3d2caa1 Network list window opens with click on the menu item 2016-11-08 16:31:07 -08:00
Grant Limberg
e1f9f7b6dc turn APIHandler into a singleton 2016-11-08 15:50:08 -08:00
Grant Limberg
6b0543ba27 starts up to a toolbar icon with context menu. still much more to do 2016-11-08 14:54:55 -08:00
Grant Limberg
54206fd44d add NotifyIcon NuGet package for tray icon support 2016-11-08 11:24:12 -08:00
Grant Limberg
6d8c8f9fd1 update JSON library to latest 2016-11-08 11:23:15 -08:00
Grant Limberg
c802811ad2 Added a file copy util for Windows UI
Copies the authtoken.secret file into a private local folder for the user so that the UI doesnt have to be run with Admin privileges.
2016-11-07 14:09:01 -08:00
Grant Limberg
1ab9c43135 wire up allowDefault, allowManaged, allowGlobal, allowDefault options 2016-11-04 14:50:07 -07:00
Grant Limberg
efcc24a76b increase window width so IPv6 addreses don't wrap 2016-11-04 14:49:15 -07:00
Grant Limberg
4762311977 work in progress windows UI update 2016-11-04 12:39:57 -07:00
Grant Limberg
a7718bae39 link in notelemetry.obj even though Microsoft said CRT telemetry would be disabled in VS2015 Update 3. Just in case. 2016-11-03 12:25:09 -07:00
Grant Limberg
8ffae313fd add new files & remove old ones from VS project. Now builds & runs on Windows again 2016-11-03 12:10:50 -07:00
Grant Limberg
8cced06a2d upgraded vcxprojs to VS2015. got the tap driver building. 2016-11-03 10:04:50 -07:00
Adam Ierymenko
5b2d2efb45 Windows builds again. And there was much rejoicing. 2016-06-21 12:55:43 -07:00
Adam Ierymenko
3b10fd7557 Windows build fixes. 2016-01-20 18:06:20 -08:00
Adam Ierymenko
4e4fd51117 boring doc stuff 2016-01-12 14:04:55 -08:00
Adam Ierymenko
436c1fac1d Selectively move over changes from "edge" to "dev" excluding netcon. 2015-12-21 16:15:39 -08:00
Adam Ierymenko
0f5fb48a0b Turns out it wasn't hard to add miniupnpc to the VS2012 project and just have it build with the rest of the code. 2015-11-16 19:04:04 -08:00
Adam Ierymenko
38fe77ecf2 WebUIWrapper is dead. 2015-11-16 15:44:07 -08:00
Adam Ierymenko
0d9f33dc4f Fix: (1) Windows stack overflow due to buffer too large in peer deserialize, (2) clean up some other stuff seen during debugging and reduce the sizes of some buffers due to Windows small stack size, (3) remove a redundant try/catch. 2015-11-13 12:14:28 -08:00
Adam Ierymenko
2ec638a23d New Windows UI tweaks: get rid of networks tab (only one tab!), make networks full width and make window narrower and a bit taller, colors, fixed-width fonts in several places, make network IDs selectable. 2015-11-12 17:38:30 -08:00
Adam Ierymenko
54f68280bd Minor Windows build fixes. Builds on VS2012 again. 2015-11-12 16:48:42 -08:00
Adam Ierymenko
bacb53fe8f Remove old Windows NDIS5 tap driver -- I think this is dead. 2015-11-12 16:40:50 -08:00
Grant Limberg
3cafa60284 fix up some borders & colors 2015-11-05 19:44:19 -08:00
Grant Limberg
2415ae45c1 remove the peers page 2015-11-05 19:44:19 -08:00
Grant Limberg
86c74d8a65 set manifest to require administrator privileges and read the authtoken and port from disk 2015-11-04 20:34:49 -08:00
Grant Limberg
49086e4556 just a little xaml cleanup 2015-11-04 20:31:41 -08:00
Grant Limberg
4c7bb06894 make the main window width a bit smaller 2015-11-04 20:19:14 -08:00
Grant Limberg
f3e527e130 update the peer list in place rather than replacing it 2015-11-04 20:17:58 -08:00
Grant Limberg
df74dd6e41 make the peers page prettier 2015-11-04 20:03:25 -08:00
Grant Limberg
5e9166cec7 setting width/height isn't necessary 2015-11-04 19:30:26 -08:00
Grant Limberg
d2c288b13f Fix vertical scrolllbar on networks view 2015-11-04 19:12:12 -08:00
Grant Limberg
fc32dc11a6 make the networks view a bit prettier 2015-11-04 19:08:13 -08:00
Grant Limberg
2721804ebf make the tabs a little prettier 2015-11-04 18:41:08 -08:00
Grant Limberg
7b86176d0e Don't go kaboom when the ZeroTier service isn't running. 2015-11-04 18:28:07 -08:00
Grant Limberg
0ffcfa307e another build setting 2015-10-26 20:26:19 -07:00
Grant Limberg
16c812ec80 set the app icon for release 2015-10-26 20:24:08 -07:00
Grant Limberg
268fbdabce disable sorting of peers 2015-10-26 20:06:53 -07:00
Grant Limberg
87496e9f4a can now leave networks 2015-10-26 19:53:03 -07:00
Grant Limberg
300a951730 Figured out how to expand controls to fill parent. yay 2015-10-26 19:39:54 -07:00
Grant Limberg
095539de29 Initial peers page 2015-10-26 19:21:21 -07:00
Grant Limberg
c4c67e591b add error handling for JSON serialization 2015-10-26 19:02:19 -07:00
Grant Limberg
502aa68bb7 change int to UInt64 for these properties 2015-10-26 19:01:59 -07:00
Grant Limberg
81cb4bc8d6 set up a timer to update the UI from a background thread 2015-10-26 18:31:10 -07:00
Grant Limberg
a0c3083af0 disallow paste of non hex characters 2015-10-26 18:08:44 -07:00
Grant Limberg
55dcf4c65f wire up the join network button 2015-10-23 15:50:49 -07:00
Grant Limberg
7e635d37ad only accept hex characters for network id 2015-10-23 15:49:04 -07:00
Grant Limberg
b7b973624a add methods for joining/leaving networks, and getting peers 2015-10-23 15:37:36 -07:00
Grant Limberg
62059a91aa C#-ifying stuff 2015-10-23 15:36:42 -07:00
Grant Limberg
fe6960888a add a scroll bar to the network info view 2015-10-21 20:40:43 -07:00
Grant Limberg
5b6ddaa2d7 Base windows UI is working.
* No joining/leaving networks yet, but they do display.
* Nothing is updated yet after first load of the app.  Need to set up a background task to run updates.
2015-10-21 20:29:03 -07:00
Grant Limberg
21ae423feb . 2015-10-19 21:19:23 -07:00
Grant Limberg
9ba5c91d4a initial layout for network info 2015-10-19 21:17:18 -07:00
Grant Limberg
80d02d189a set the main window icon 2015-10-19 20:30:21 -07:00
Grant Limberg
56267b2aed setting icon and a few other settings 2015-10-19 20:29:06 -07:00
Grant Limberg
6040574d8d set up project and base UI for a native windows UI for ZeroTier 2015-10-19 20:20:42 -07:00
Adam Ierymenko
f69454ec98 (1) Make ZT_ naming convention consistent (get rid of ZT1_), (2) Make local interface a full sockaddr_storage instead of an int identifier, which turns out to be better for multi-homing and other uses. 2015-09-24 16:21:36 -07:00
Adam Ierymenko
085734aaba Windows driver (NDIS6) rebuild using earlier DDK revision to allow driver to load in Windows 2008 Server and Windows Vista. Still issues with those platforms, but driver loads -- and shouldn't hurt newer versions (will test). 2015-08-13 15:18:48 -07:00
Adam Ierymenko
8169b35482 Kill the devcon.exe dependency by dynamically loading cfgmgr32, newdev, and setupapi and using these functions directly. 2015-07-30 11:31:38 -07:00
Adam Ierymenko
14264c2d6f Add miniupnpc builds for Windows, fix some Windows build warnings. 2015-07-28 16:50:18 -07:00
Adam Ierymenko
f881cdd767 Add new .h file to VS build, and Windows side of local interface address enumeration. 2015-07-06 17:22:37 -07:00
Adam Ierymenko
229195166a Add BackgroundResolver to Windows build. 2015-06-01 16:06:50 -07:00
Adam Ierymenko
82f6b3f550 Clean old update code out of Windows service wrapper. 2015-05-20 20:21:20 -07:00
Adam Ierymenko
63cea7d337 Try to automatically enable access to http://127.0.0.1 in web wrapper if IE is in enhanced security mode. 2015-05-19 16:02:26 -07:00
Adam Ierymenko
44d1bd14bd Enable right-click menu for copy/paste/etc. in Windows UI wrapper. 2015-05-19 14:48:57 -07:00
Adam Ierymenko
c1e5c1c710 Fix some settings on WebControl implementation. 2015-05-08 14:51:24 -07:00
Adam Ierymenko
92ca53e141 Add pre-build signed UI wrapper .exe. 2015-05-08 12:16:02 -07:00
Adam Ierymenko
a913f00670 Windows WebControl based wrapper for web UI. 2015-05-08 11:55:09 -07:00
Adam Ierymenko
e78899fddf Rebuild and re-sign the x86 driver... previous attempt was somehow borked but this one loads on Win7/x86 fine. 2015-04-25 16:00:25 -07:00
Adam Ierymenko
42b4148876 NDIS6 driver signed x64 build (not fully tested yet, but committing work) 2015-04-25 14:52:02 -07:00
Adam Ierymenko
d4c06e924d Do the same modifications to the NDIS 6 code base as were done to the old 5 driver: disable all the 'tun' functionality, and add the IOCTL for querying the multicast list at Ethernet (L2) level. 2015-04-25 12:21:08 -07:00
Adam Ierymenko
1ebe2ad920 NDIS6 driver with VS project to build -- builds correctly, not customized for ZT yet. 2015-04-24 23:31:51 -07:00
Adam Ierymenko
e2c65bf16a Bring Windows service code up to date and into sync. 2015-04-24 15:44:39 -07:00
Adam Ierymenko
0e31551349 Take winhttp out of lib list, since we don't use it anymore. 2015-04-24 15:15:14 -07:00
Adam Ierymenko
54954f5b88 First pass of Windows cleanup and build fixes... 2015-04-24 13:35:17 -07:00
Adam Ierymenko
a61acf36d2 osnet -> osdep 2015-03-31 14:11:21 -07:00
Adam Ierymenko
93012b0ee5 Re-incorporation: ZeroTier Networks -> ZeroTier, Inc. [Delaware] 2015-02-17 13:11:34 -08:00
Adam Ierymenko
4e95384ad6 Cleanup, add tristate to config code in Network, and happy new year! 2015-01-05 17:47:59 -08:00
Adam Ierymenko
c030294bf5 Clean up some unused Windows files. 2014-12-02 16:43:01 -08:00
Adam Ierymenko
5ca20da7af Windows service fix -- it helps if we actually launch the control socket thing. 2014-10-29 23:57:54 -07:00