Commit Graph

227 Commits

Author SHA1 Message Date
Grant Limberg
0c69fc719f Windows UI will attempt to re-copy the auth token if a 401 error is received 2017-03-22 10:48:42 -07:00
Adam Ierymenko
c5c8facc2d Windows installer version bump and a build fix. 2017-03-17 20:20:47 -07:00
Adam Ierymenko
78ef2c5f16 Windows build fixes, app about text revisions. 2017-03-17 20:01:58 -07:00
Adam Ierymenko
533baf921f Software update cleanup, and a fix for updates on Windows. 2017-03-14 14:40:17 -07:00
Grant Limberg
ed4f84cc57 Fix exception thrown in NetworkMonitor thread that can cause the UI to stop polling service for updates 2017-03-08 14:54:58 -08:00
Grant Limberg
c8e66a2b45 Don't crash when attempting to join a network while the zerotier service isn't running 2017-03-08 14:50:37 -08:00
Adam Ierymenko
d377ef01af Windows build process updates, and repackage everything using new EV certificate and SHA256. 2017-03-07 18:25:06 -08:00
Adam Ierymenko
a97918f812 Windows build fixes. 2017-03-07 13:57:31 -08:00
Adam Ierymenko
fe19ad328c Windows build fix. 2017-02-23 12:40:21 -08:00
Grant Limberg
33b94e8478 fixed double firing of the leave network API call causing an error popup on windows 2017-02-22 16:54:57 -08:00
Grant Limberg
aa2ee3f7be Right and left click both will now open the context menu on Windows 2017-02-14 16:31:11 -08:00
Grant Limberg
e11f42a089 remove reference to BackgroundResolver.cpp/.hpp on Windows 2017-01-26 14:29:39 -08:00
Grant Limberg
9b8d9b7042 fix copy stage for paths with spaces 2017-01-26 14:27:39 -08:00
Adam Ierymenko
9a475eeff9 Windows build fix, warning removal. 2017-01-20 12:00:18 -08:00
Adam Ierymenko
1346e31a8e Windows build fixes, Software update fix, warning removal. 2017-01-13 14:22:36 -08:00
Adam Ierymenko
af5a3376f3 Should fix Windows build. 2017-01-11 16:56:16 -08:00
Grant Limberg
f730f65aaf bring window to front if already open 2017-01-09 14:23:37 -08:00
Grant Limberg
aaf69d1aff properly quote string arguments to copyutil in case there are spaces in the path 2017-01-03 14:03:50 -08:00
Grant Limberg
a39f6e9b4c clear cached window positions when display settings change 2016-11-22 12:02:49 -08:00
Grant Limberg
adb7a88836 cache window positions so we only have to move after open once. 2016-11-22 11:53:06 -08:00
Grant Limberg
3a3a23db34 hacky way to set window position but it works 2016-11-21 15:31:32 -08:00
Grant Limberg
d3bd10952e hyperlinks in the about page are clickable 2016-11-21 14:32:25 -08:00
Grant Limberg
0142c0d339 fill out the about view 2016-11-21 13:25:10 -08:00
Grant Limberg
8ebcd44405 dont close the network list. just hide it so its reusable 2016-11-21 12:54:27 -08:00
Grant Limberg
a6ed711492 wired up the startup registry key to the registry 2016-11-18 15:44:41 -08:00
Grant Limberg
3fb224cb22 add a checkbox for startup option in preferences 2016-11-18 15:23:07 -08:00
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