Commit Graph

455 Commits

Author SHA1 Message Date
7b98466db2 update comments 2017-08-02 11:44:22 -05:00
d31727efcc change some settings for initial users
Store filepath for user files so we can update them individually
2017-08-02 11:42:33 -05:00
f1da7f9d97 generate initial student files 2017-08-02 11:34:53 -05:00
0ba762fe01 Choose a directory for the users files 2017-08-02 11:25:26 -05:00
b1e015e624 Add a button for generating student files 2017-08-02 11:10:34 -05:00
1675a000a1 Hide all sub-tabs when page first loads. Makes things look cleaner 2017-08-02 10:16:10 -05:00
508ac987f7 Fix bug where user profile directory lost when loading from recent files. Profile had been saved in "current directory" 2017-08-02 10:13:32 -05:00
e594f8bac8 small spelling mistake in function name 2017-08-02 09:36:39 -05:00
cf5f618830 Fix spelling mistake in function 2017-08-02 09:35:29 -05:00
36947a9bff working on pushing changes back 2017-08-02 09:34:21 -05:00
aaf8c89455 translate menu items 2017-08-02 09:18:35 -05:00
fef2d80981 Add submit / update menu items for the network 2017-08-02 09:15:28 -05:00
8fdefcaabc Prompt for import settings 2017-08-02 09:01:14 -05:00
ceba92f3d2 Add a checkPromptBox. It generates a simple form with a bunch of checkmarks. We will use this when prompting for initial settings. 2017-08-02 08:30:42 -05:00
ebf1a6b04e Hide unnecessary tabs when cycling through homework 2017-08-01 21:09:05 -05:00
d19b6ea938 populate the student tab when a student is clicked 2017-08-01 20:52:07 -05:00
2e535f1015 Change to correct tab when student is selected, and when "students" (overview) is selected 2017-08-01 20:35:41 -05:00
cbc36d7b75 populate treenode with students. So we can select them 2017-08-01 20:30:43 -05:00
8cd1f22e7f Finish importing students, saving, and reporting on the process. 2017-08-01 19:04:35 -05:00
5654cba0d9 Make salt length and password length static values so can be easier to change. 2017-08-01 17:20:27 -05:00
b674c521ba Add nice tooltip for importing students 2017-08-01 17:14:21 -05:00
8907ba1597 Validation for passwords, username and fullname 2017-08-01 17:04:02 -05:00
f749914338 Catch bad file, invalid csv, etc. 2017-08-01 14:45:38 -05:00
405fe94953 validate csv info 2017-08-01 14:43:55 -05:00
0911479d22 Working towards validating the username and password 2017-08-01 14:30:07 -05:00
8f4270a1ce Add a change password at first login flag that can be set, loaded and saved. Need to use it yet. 2017-08-01 11:55:22 -05:00
29adb227c9 Slight change since we are also making passwords. Do not use letters which are commonly misunderstood when written / printed. Only use easily defined characters. 2017-08-01 11:40:37 -05:00
261d398e53 Add reference for csv parsing 2017-08-01 09:02:49 -05:00
96a24d033b use salt and password to create a key 2017-08-01 08:52:16 -05:00
7b731e22a4 Gen a password 2017-08-01 08:42:28 -05:00
83dfef6ad2 Error out if double-clicking a homework file. We need to load a user profile so the homework can be added to it. 2017-07-31 19:54:00 -05:00
289dbf720e one-touch allow for .eduh files 2017-07-31 19:49:11 -05:00
86addf875c Allow .enbu files 2017-07-31 19:47:22 -05:00
c7c563ce86 Close any open rtf windows when we open the profile 2017-07-31 19:26:04 -05:00
3a7a3f4299 stop displaying spurious help messages & pop open help when we launch a network 2017-07-31 19:14:05 -05:00
e5512b06b0 Minor bug with incorrect dat showing when we select a homework 2017-07-31 17:17:17 -05:00
746e9edb36 Launch a network from homework 2017-07-31 17:01:03 -05:00
60a062757a Add a launch button and translate some other buttons that had not yet been translated. 2017-07-31 16:44:41 -05:00
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