Commit Graph

493 Commits

Author SHA1 Message Date
e612b8eb29 rename the export homework button 2017-08-05 16:56:25 -05:00
9905d2e2cb Get person files to auto-backup when we save them. 2017-08-05 13:11:26 -05:00
22552ce1a9 Create basic backup file rotation functions and direcories. 2017-08-05 12:41:42 -05:00
362b3a60a3 Error out (nicely) if the file has been tampered with (if the username does not match the file name). This will only really be useful once we have encryption. 2017-08-05 10:26:48 -05:00
99ff6e092d fix a small issue that kept submissions from continaing the real information. 2017-08-03 14:33:06 -05:00
3bf05ed8ff fix a bug with cloning. 2017-08-03 14:21:05 -05:00
c31133f786 Hide delete, give and save buttons if we are not the teacher. 2017-08-03 12:01:38 -05:00
69df135025 Deal with "recent" files that get deleted. Show a file not found error. 2017-08-03 11:46:27 -05:00
e8c8369176 Update list of students after we do a student import 2017-08-03 11:46:04 -05:00
288c47e885 Network links 2017-08-03 11:37:59 -05:00
e6a920676d Rest of machine password code 2017-08-03 11:37:45 -05:00
4c921ab280 Process for connecting a network link to the device it is connected to. Without this, cloned networks fail. 2017-08-03 11:36:53 -05:00
ff37a1b0ef Make a machine password. Will be used to let the admin user open student files 2017-08-03 11:35:29 -05:00
1396b72752 Import student submitted homework 2017-08-02 17:31:12 -05:00
8134d8cb82 Mark something as graded 2017-08-02 17:07:12 -05:00
55ceeecac1 Add foundation for tracking which items have been graded. 2017-08-02 17:04:15 -05:00
d5f58e2878 Mark a few buttons as not yet implimented 2017-08-02 16:57:50 -05:00
b9b9dbdf34 Add a not-yet implimented message 2017-08-02 16:57:04 -05:00
1a94d5e671 Allow admins to add or update a network. If we want to have two similar networks; the teacher can have one that was based off the other. 2017-08-02 15:37:29 -05:00
eeb0536b07 Add some non-operable buttons. Just to get the idea across for now. Export all homework, Push homework to all students. 2017-08-02 15:35:43 -05:00
7265b07e0e Students cannot change due date, admins can 2017-08-02 15:28:02 -05:00
538490087d Sort by due date, and submission date 2017-08-02 15:27:27 -05:00
a8f7b94e6c Students can submit homework 2017-08-02 14:54:50 -05:00
7a77de7ea9 More space for the classwork tree 2017-08-02 14:41:57 -05:00
bbbb62ab14 Hide generate file and import user buttons if not teacher 2017-08-02 14:39:37 -05:00
217371a96f Show student homework 2017-08-02 14:37:18 -05:00
e488291152 Save homework file button works 2017-08-02 13:03:14 -05:00
f6778026f2 Able to save / load schoolworkclass 2017-08-02 12:50:25 -05:00
3a30476c8f Tooltips for give and save buttons 2017-08-02 12:46:11 -05:00
6648d6378d Allow submit classwork menu item to show 2017-08-02 12:41:09 -05:00
f2e9cae817 Hide give and save buttons if we are not the teacher 2017-08-02 12:38:10 -05:00
6198079bae fixed Bug with cloning schoolwork. Missed cloning ID. 2017-08-02 12:29:29 -05:00
e8d62bc914 Give homework and print stats 2017-08-02 12:17:20 -05:00
c4e24b8c98 translate save and give buttons 2017-08-02 12:03:35 -05:00
2fe4a23638 Make give and save homework buttons 2017-08-02 11:59:42 -05:00
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
96b09e29bb Update the program to reflect the new version 2017-07-29 11:02:03 -05:00
871bd9bd8c Update release notes for new release 2017-07-29 10:51:06 -05:00
14d52ec713 Fix bug that blows up edunetworkbuilder at first run. 2017-07-29 10:49:53 -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