Commit Graph

417 Commits

Author SHA1 Message Date
60444ee81c fix small glitch where it kept wanting us to select a new language. 2017-07-31 16:36:07 -05:00
857c8750ba Add a simple error catcher for most file loads. 2017-07-31 16:23:38 -05:00
b7b5525413 Working on recent file load system 2017-07-31 13:39:46 -05:00
a6dc99253f parts for storing a file history list 2017-07-31 12:08:01 -05:00
cc6b5321d6 Admin can delete homework 2017-07-31 11:44:42 -05:00
60881f8dcf When we load a user, open the profile immediately 2017-07-31 11:36:30 -05:00
0a53823b2d Allow PersonClass.NextID to be serialized. 2017-07-31 11:31:24 -05:00
258e7a5a6c Work on treeview and adding unique ID to each schoolwork item 2017-07-31 11:27:25 -05:00
3bed5e7210 prep for encrypting xml 2017-07-31 11:26:49 -05:00
7f8879a19b When students or class selected in tree, jump to the apropriate tab 2017-07-30 18:22:55 -05:00
5c6fe6ffbb Make changes to a homework file 2017-07-30 18:18:41 -05:00
d25cfcbade Store a settings record in the user class. Serialize it for ease of loading / saving. Use this settings class for all storing / retrieving stuff. Works awesome. 2017-07-30 14:55:37 -05:00
ba3048cc07 Translate Add To Classwork menu item 2017-07-29 18:56:39 -05:00
166321b0f0 Hide "add network to schoolwork" menu item if we are not admin. 2017-07-29 18:55:07 -05:00
ea5f038157 store solved puzzles in the user profile. Load them from the user profile too. 2017-07-29 18:52:23 -05:00
1ab8e0e0fb Mark puzzles as done in the user file 2017-07-29 18:42:27 -05:00
364858d07c NB.GetUser - Get current user 2017-07-29 18:34:51 -05:00
ce8b16c2d6 Lots of changes to get the enbu file to load 2017-07-29 18:31:19 -05:00
8d5ccdb159 More progress on loading / saving user 2017-07-29 11:46:39 -05:00
4415ca5944 Get user to save when program closed 2017-07-29 09:26:25 -05:00
799cf1844a Load/save person class and schoolwork class 2017-07-29 09:11:36 -05:00
338a28d9fa Update some comments 2017-07-29 06:55:18 -05:00
4b98c5298a Have double-click on item working now with msi file. 2017-07-28 19:35:27 -05:00
e0a65412dd Fix startup bug when running for first time 2017-07-28 18:06:41 -05:00
568dc54a8d Attempting to make msi installer using WiX 2017-07-28 13:00:07 -05:00
400a246d0b Ongoing plethora of changes, making initial form 2017-07-27 17:02:52 -05:00
7151d222f8 working on Person Form 2017-07-27 15:20:32 -05:00
d899e21617 Initial person and schoolwork class 2017-07-26 16:43:38 -05:00
a3dcf049e2 Update release notes. 2017-07-20 15:09:01 -05:00
437bb2601e Disable Options menu when we loaded a puzzle from a resource. Cleaned up the load system a little bit. 2017-07-20 14:50:03 -05:00
a2bebb6eb0 Fix a crash when pinging 0.0.0.0. Thanks Samuel for noticing that. 2017-06-29 09:59:01 -05:00
0676a56352 Minor bug if SSID was null. We were comparing with "" to see if it was empty, but null != "". So we also compare with null now. 2017-06-28 11:41:48 -05:00
8d2e744ec2 Wireless links are properly removed when a device powered off. WLAN connections auto-reconnected. Fixed that. 2017-06-28 11:26:11 -05:00
07f7633b0f If we ping a local IP, give the real error message. The real error was being replaced with a fake one. 2017-06-28 10:53:19 -05:00
37bad09cc8 Added a traceroute / VPN puzzle. Showing how a traceroute packet is encapsulated and not processed by routers while encapsulated. 2017-06-28 10:24:53 -05:00
47b26362b5 allow us to ping from, or traceroute from locked devices. A bug kept us from doing this previously. 2017-06-28 10:11:12 -05:00
13b4fac6ea Update the icon on the options window. Minor update 2017-06-28 10:02:48 -05:00
f8ca8beeda Add a puzzle that shows a bad subnet mask (one that cannot be represented using CIDR) 2017-06-27 18:34:13 -05:00
9c764c4f90 IP addresses print CIDR of /? if it is not a real CIDR approved subnet mask. For example, a subnet mask of .250 gives a /?, but .252 gives /30. While this is not real-life (real life does not tell us when we use a foolish subnet), it helps considerably when testing things. 2017-06-27 15:37:33 -05:00
a1a7d10a56 Add another hidden item puzzle. 2017-06-23 15:39:01 -05:00
9f2d8f5947 ctrl-right-click items to add a "Hide" context menu item. Allows you to hide things in the editor 2017-06-23 15:35:50 -05:00
707c256f1a After build. Update build number 2017-06-21 19:42:27 -05:00
01e3cf5a43 Minor change to the invisible puzzle. Changed the firewall to be a server. It does DHCP better. 2017-06-21 15:44:35 -05:00
b999bb705e Make hidden items (switches, devices, links) to simulate lost or unknown stuff on the network 2017-06-21 15:19:19 -05:00
c597c2e6b4 Updated release notes 2017-06-21 13:08:53 -05:00
30f21dc71d Fix a coloring bug on mono. If we colorize a transparent area, it leaks through. This messes up the coloring on the VPN puzzles. Only colorize non-transparent areas of an image. 2017-06-21 11:05:33 -05:00
efd3f26431 Fix an odd traceroute reply issue. Routers would reply if the packet had the start and dest on the same subnet. 2017-06-21 09:11:11 -05:00
29e6d64614 Save NIC data when we are doing editing. In particular, if we put a VPN password in and then clicked the endpoint, the password was reset. Save the password. 2017-06-20 15:36:26 -05:00
26b33b46be Change the anchoring of the filter textbox on the puzzles selection window. 2017-06-20 15:31:59 -05:00
b1fd860835 Cannot edit something that is powered off. 2017-06-19 14:03:28 -05:00
2d90ad51b8 Allow us to ctrl-alt click a puzzle and mark it as solved. This is used often when I am testing them. 2017-06-19 13:39:22 -05:00
64ff7a72ed Change auto-select of puzzle to work when earlier level puzzles are not done. Only select it when it is going to be shown. 2017-06-19 13:02:55 -05:00
0eceb5e3e3 Save settings after every solved puzzle 2017-06-19 11:17:09 -05:00
77ce6a1106 Fix minor bug with first puzzle (help). Puzzle never checks for final test to complete when last item is the help button. 2017-06-16 15:18:22 -05:00
35543503e2 Auto-select first unselected puzzle. Helps Linux navigation 2017-06-16 15:16:56 -05:00
11029d87dd remove debug print when loading rtf 2017-06-16 13:17:25 -05:00
e725a88bb1 Save size of window and position of window at close. Oops. Had removed that on accident. 2017-06-16 13:14:17 -05:00
b62155c76e Code to save to an XML file and fixing localization issues. 2017-06-16 13:03:38 -05:00
16f5c54ee9 Mono does not like my settings for some reason. Moved settings to my own class that loads from properties.settings. Will load/save to xml in another commit. 2017-06-16 11:27:53 -05:00
b7bef436d2 Mono does not create new RTF windows if the RTF window is already there. It ends up with old puzzle information instead of new info. Kill the RTF window when going from puzzle to puzzle. 2017-06-15 09:11:54 -05:00
148b137c10 The power puzzle did not have the switch powered off like it was supposed to be 2017-06-15 09:08:27 -05:00
5912e1244f Some windows need killing when a puzzle is complete. Close all extra windows. 2017-06-15 08:48:09 -05:00
49be222b5d Make it so we can add items. Had broken it when we made the ability to drag / select a big box of stuff. 2017-06-14 14:15:58 -05:00
d129fdc1a4 Re-enable dragging of links. Had broken that when making the ability to drag multiple items around the screen. 2017-06-14 14:10:00 -05:00
ab060f622d When using mono, remove images from the help file. Mono blows up when reading the images for some reason. 2017-06-14 13:53:39 -05:00
fc52fe3236 Add func to determine if we are using mono. 2017-06-14 11:34:39 -05:00
a2c04e0bfd fix invalid access blowout. Found when trying to get it to run on Linux 2017-06-13 16:53:06 -05:00
8f1c913424 rolling remp change back 2017-06-09 19:18:06 -05:00
5bc434eddd Testing Linux compatibility 2017-06-09 19:09:59 -05:00
34a795c7a7 Turn off signing (to see if it works with Linux better) 2017-06-09 18:48:04 -05:00
b4b6227f2d Fix filename issue for building in Linux 2017-06-09 18:45:33 -05:00
0886c46c6e last tracert packet has summary of whole tracert. 2017-06-08 10:47:57 -05:00
fe42364f4d Fixed tracert firewall bug. Firewalls would not deal with masq return packet because a secondary item responded. (not the destination) 2017-06-08 10:19:57 -05:00
9071ea404a Tracert works better with VPN. VPN-Endpoints did not decrement tracert ttls. Now it works as it ought. 2017-06-08 09:18:26 -05:00
d4acde7b18 can right-click and delete, right-click and change color of selected items 2017-06-07 09:10:02 -05:00
e13454b950 ESC key clears selected items. 2017-06-06 20:53:16 -05:00
a99a9ed696 Cleaning up select multiple and move system 2017-06-06 17:14:56 -05:00
693c77cfe0 Initial drag of multiple items 2017-06-06 15:13:52 -05:00
04f455bf46 Move the drawing of a single device in an alternate location into a different function. 2017-06-06 12:57:29 -05:00
c9422ab9d7 Allow visual dragging of items 2017-06-06 07:29:13 -05:00
0d848c6823 Minor work on tracert 2017-06-02 12:39:16 -05:00
efec67749d Published version and updated release notes 2017-03-14 10:00:54 +03:00
f8eec8375a Added a traceroute test, a puzzle to show off traceroute, and traceroute help info. 2017-03-13 16:32:40 +03:00
efe15659de increase the size of the message box 2017-03-13 15:26:12 +03:00
2120c2e8b0 remove writelines 2017-03-13 15:18:08 +03:00
9e33a6f392 traceroute works, at least rudimentarily 2017-03-13 14:04:02 +03:00
1ebf932edb Starting towards traceroute 2017-03-13 10:36:40 +03:00
98c524c1f9 Added another puzzle and a little bit of supporting code. 2017-03-11 11:38:09 +03:00
786b5866b2 Add more puzzles and doc for powered off devices 2017-03-11 11:07:24 +03:00
0b3213bf67 Cannot connect to powered off APs 2017-03-11 11:07:01 +03:00
4500416364 Able to power off devices, power them back on, and devices off will not pass packets. 2017-03-10 16:07:53 +03:00
bd1ca9fdf2 Search capbility for puzzles 2017-03-10 14:18:17 +03:00
708ff2372f Keep initial builder window from starting off the screen 2017-02-25 10:56:47 +03:00
abc42db1f8 Most other windows start centered in the main builder window. With multiple displays, windows would start in odd locatins and would often be lost. 2017-02-25 10:53:23 +03:00
d948be0a54 Better centering of the IP address edit box when first opened. 2017-02-25 10:44:12 +03:00
f4ab85f359 IPAddress edit box should now appear inside the network box. 2017-02-25 10:33:56 +03:00
7876ae832b Posting through Visual Studio 2017-02-24 14:29:51 +03:00
74731290a1 Adding the GPL. It did not have a license before this because the source was not public.
Getting caught up with some cr/lf changes.
2017-02-24 14:26:58 +03:00
8da7714544 make firewall rules look nicer - add vlan to interface 2017-02-20 16:59:04 +03:00
1a0b42b727 Correct if starting form is off screen 2017-02-20 16:50:33 +03:00
08a84e875b Update puzzles and release notes 2017-02-20 12:04:56 +03:00
ceed40011a More VLAN levels 2017-01-26 21:08:12 -06:00
58beb9490b More updates. Fixed PingFailed. More VLAN levels 2017-01-26 16:41:29 -06:00
52c7ab63e2 Fixed bug with network loop puzzle. That caused issues with tSourceIP. Needed to set tSourceIP when forwarding / routing, and coming out of a VPN 2016-12-10 16:47:14 -08:00
2094f7fac4 Make vlan colors on the outside of the packet 2016-11-16 08:54:01 -08:00
3716fdf234 Added another puzzle 2016-11-15 19:49:16 -08:00
7246e57b5d Remove firewall checkmark from devices that do not have firewall capability. 2016-11-15 13:06:19 -08:00
4edf8ced20 Firewall Puzzle 2016-11-14 20:13:41 -08:00
d38a81c3fe fixing the packet dropped error message 2016-11-12 16:55:16 -07:00
4068f49f5a Move firewall checkmark to device 2016-11-12 07:42:42 -07:00
721efb7fe3 Fix small bug pinging local ips 2016-11-11 10:13:26 -07:00
f5a74d1ff3 Fixed some bugs 2016-11-09 07:31:24 -06:00
4903d9da9c Firewall Rules mostly work 2016-11-07 20:31:07 -06:00
5b62aa59ee Firewall rule editor working 2016-11-07 11:52:14 -06:00
6f240bc311 Working on the firewall 2016-11-07 10:50:56 -06:00
6d375c9b60 Start working on Firewall Rules 2016-11-04 15:08:47 -05:00
c1bce08f77 Can lock ourselves out of a switch 2016-11-02 16:27:43 -05:00
8af09704ab Misspelled yellow 2016-10-31 12:41:13 -05:00
36bc2adc8e Cannot add vlan rows if locked 2016-10-31 11:59:05 -05:00
a82db7ecb2 Colored packets, and some bugs that caused things to crash adding vlans 2016-10-31 11:57:25 -05:00
b6eaf00d6d Dhcp and vlans work, colored packets, etc. Added puzzle 2016-10-28 14:01:12 -05:00
b945f93eaf DHCP works better with vlans, added some puzzles 2016-10-28 10:17:13 -05:00
58ce4f64fa Vlan tests are working 2016-10-25 13:22:33 -05:00
c45b8ba221 vlan tagging tests 2016-10-24 19:42:41 -05:00
907fdc17dd Removed console.writelines that were no longer needed 2016-10-20 14:59:48 -05:00
828387ba8a VLAN tests are working 2016-10-20 14:53:23 -05:00
4ffc40d0b3 Working on VLAN tests (mainly locked vlan stuff) 2016-10-13 17:15:17 -05:00
0ea057c4ed Cannot have both untagged and tagged on an interface 2016-10-13 15:36:46 -05:00
a863fa3709 Locked NIC locks VLANs on that NIC 2016-10-13 15:30:34 -05:00
852ced630f Change colors of devices if VLANS are enabled 2016-10-12 15:24:07 -05:00
ff4badaff8 Option for enabling vlans 2016-10-12 11:56:29 -05:00
9b50875c2c Start on doc, color devices 2016-10-12 11:39:58 -05:00
077560227a VLANs cannot go on vpns, tunnels, wireless, etc. Start of help 2016-10-11 12:46:29 -05:00
14bcc075a3 vlans are working 2016-10-10 19:31:57 -05:00
3632432f02 More vlan progress 2016-10-09 18:03:00 -05:00
e4c9a38404 List what a port is connected to 2016-10-06 09:17:27 -05:00
99d7cdfa85 Progress on vlans 2016-10-05 12:41:06 -05:00
49c771fff2 Progress on vlans 2016-10-03 19:49:05 -05:00
66a310f602 Change to device config translation stuff. Languagify components was broken. 2016-09-29 13:47:01 -05:00
7f4108a164 Packets only occur in 10 spots per network wire. If multiple packets are being drawn in one location, only draw them once. Speeds things up considerably 2016-09-29 08:36:42 -05:00
c6f9d1a0d9 After a build, the version gets updated 2016-02-04 16:43:49 -06:00
f9b7ceffae Add a checkmark to display the names and ips of network devices. And make a net-test. Added it to level0-help puzzle. 2016-02-04 16:38:49 -06:00
dbbf30a4f3 Modify puzzle to be a little easier to understand. 2016-02-04 11:16:17 -06:00
ebcc650984 Fix do "refresh" after dhcp request 2016-02-03 13:52:04 -06:00
f50634f889 Graphics overhaul & minor change to help puzzle 2016-02-03 13:04:18 -06:00
536cd31bb8 Update the release notes 2015-11-25 09:58:30 -05:00
a53b767888 Finish Up First-round language translation 2015-11-24 14:45:08 -05:00
eb7c529342 Fix network loop puzzles (add pingAgain test) 2015-11-22 18:01:56 -05:00
78bbfa8275 Save the level we are working on 2015-11-22 09:01:59 -05:00
3f5100dcc0 Changed layout of messages to make them consistent 2015-11-21 17:55:03 -05:00