Commit Graph
100 Commits
Author SHA1 Message Date
timy f1da7f9d97 generate initial student files 2017-08-02 11:34:53 -05:00
timy 0ba762fe01 Choose a directory for the users files 2017-08-02 11:25:26 -05:00
timy b1e015e624 Add a button for generating student files 2017-08-02 11:10:34 -05:00
timy 1675a000a1 Hide all sub-tabs when page first loads. Makes things look cleaner 2017-08-02 10:16:10 -05:00
timy 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
timy e594f8bac8 small spelling mistake in function name 2017-08-02 09:36:39 -05:00
timy cf5f618830 Fix spelling mistake in function 2017-08-02 09:35:29 -05:00
timy 36947a9bff working on pushing changes back 2017-08-02 09:34:21 -05:00
timy aaf8c89455 translate menu items 2017-08-02 09:18:35 -05:00
timy fef2d80981 Add submit / update menu items for the network 2017-08-02 09:15:28 -05:00
timy 8fdefcaabc Prompt for import settings 2017-08-02 09:01:14 -05:00
timy 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
timy ebf1a6b04e Hide unnecessary tabs when cycling through homework 2017-08-01 21:09:05 -05:00
timy d19b6ea938 populate the student tab when a student is clicked 2017-08-01 20:52:07 -05:00
timy 2e535f1015 Change to correct tab when student is selected, and when "students" (overview) is selected 2017-08-01 20:35:41 -05:00
timy cbc36d7b75 populate treenode with students. So we can select them 2017-08-01 20:30:43 -05:00
timy 8cd1f22e7f Finish importing students, saving, and reporting on the process. 2017-08-01 19:04:35 -05:00
timy 5654cba0d9 Make salt length and password length static values so can be easier to change. 2017-08-01 17:20:27 -05:00
timy b674c521ba Add nice tooltip for importing students 2017-08-01 17:14:21 -05:00
timy 8907ba1597 Validation for passwords, username and fullname 2017-08-01 17:04:02 -05:00
timy f749914338 Catch bad file, invalid csv, etc. 2017-08-01 14:45:38 -05:00
timy 405fe94953 validate csv info 2017-08-01 14:43:55 -05:00
timy 0911479d22 Working towards validating the username and password 2017-08-01 14:30:07 -05:00
timy 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
timy 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
timy 261d398e53 Add reference for csv parsing 2017-08-01 09:02:49 -05:00
timy 96a24d033b use salt and password to create a key 2017-08-01 08:52:16 -05:00
timy 7b731e22a4 Gen a password 2017-08-01 08:42:28 -05:00
timy 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
timy 2bd146857a Register eduh for msi file 2017-07-31 19:50:40 -05:00
timy 289dbf720e one-touch allow for .eduh files 2017-07-31 19:49:11 -05:00
timy 86addf875c Allow .enbu files 2017-07-31 19:47:22 -05:00
timy c7c563ce86 Close any open rtf windows when we open the profile 2017-07-31 19:26:04 -05:00
timy 3a7a3f4299 stop displaying spurious help messages & pop open help when we launch a network 2017-07-31 19:14:05 -05:00
timy e5512b06b0 Minor bug with incorrect dat showing when we select a homework 2017-07-31 17:17:17 -05:00
timy 746e9edb36 Launch a network from homework 2017-07-31 17:01:03 -05:00
timy 60a062757a Add a launch button and translate some other buttons that had not yet been translated. 2017-07-31 16:44:41 -05:00
timy 60444ee81c fix small glitch where it kept wanting us to select a new language. 2017-07-31 16:36:07 -05:00
timy 857c8750ba Add a simple error catcher for most file loads. 2017-07-31 16:23:38 -05:00
timy b7b5525413 Working on recent file load system 2017-07-31 13:39:46 -05:00
timy a6dc99253f parts for storing a file history list 2017-07-31 12:08:01 -05:00
timy cc6b5321d6 Admin can delete homework 2017-07-31 11:44:42 -05:00
timy 60881f8dcf When we load a user, open the profile immediately 2017-07-31 11:36:30 -05:00
timy 0a53823b2d Allow PersonClass.NextID to be serialized. 2017-07-31 11:31:24 -05:00
timy 258e7a5a6c Work on treeview and adding unique ID to each schoolwork item 2017-07-31 11:27:25 -05:00
timy 3bed5e7210 prep for encrypting xml 2017-07-31 11:26:49 -05:00
timy 7f8879a19b When students or class selected in tree, jump to the apropriate tab 2017-07-30 18:22:55 -05:00
timy 5c6fe6ffbb Make changes to a homework file 2017-07-30 18:18:41 -05:00
timy 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
timy ba3048cc07 Translate Add To Classwork menu item 2017-07-29 18:56:39 -05:00
timy 166321b0f0 Hide "add network to schoolwork" menu item if we are not admin. 2017-07-29 18:55:07 -05:00
timy ea5f038157 store solved puzzles in the user profile. Load them from the user profile too. 2017-07-29 18:52:23 -05:00
timy 1ab8e0e0fb Mark puzzles as done in the user file 2017-07-29 18:42:27 -05:00
timy 364858d07c NB.GetUser - Get current user 2017-07-29 18:34:51 -05:00
timy ce8b16c2d6 Lots of changes to get the enbu file to load 2017-07-29 18:31:19 -05:00
timy 8d5ccdb159 More progress on loading / saving user 2017-07-29 11:46:39 -05:00
timy 4415ca5944 Get user to save when program closed 2017-07-29 09:26:25 -05:00
timy 799cf1844a Load/save person class and schoolwork class 2017-07-29 09:11:36 -05:00
timy 338a28d9fa Update some comments 2017-07-29 06:55:18 -05:00
timy 4b98c5298a Have double-click on item working now with msi file. 2017-07-28 19:35:27 -05:00
timy e0a65412dd Fix startup bug when running for first time 2017-07-28 18:06:41 -05:00
timy 5db0ffac9d Get msi install working. Needs .enbx extension working better. 2017-07-28 18:06:21 -05:00
timy 889cb7f0c2 WiX stuff 2017-07-28 13:00:32 -05:00
timy 568dc54a8d Attempting to make msi installer using WiX 2017-07-28 13:00:07 -05:00
timy 400a246d0b Ongoing plethora of changes, making initial form 2017-07-27 17:02:52 -05:00
timy 7151d222f8 working on Person Form 2017-07-27 15:20:32 -05:00
timy d899e21617 Initial person and schoolwork class 2017-07-26 16:43:38 -05:00
timy a3dcf049e2 Update release notes. 2017-07-20 15:09:01 -05:00
timy 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
timy 66db081eab Update README.md file with commandline linux build instructions. 2017-06-30 15:53:00 -05:00
timy a2bebb6eb0 Fix a crash when pinging 0.0.0.0. Thanks Samuel for noticing that. 2017-06-29 09:59:01 -05:00
timy 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
timy 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
timy 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
timy 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
timy 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
timy 13b4fac6ea Update the icon on the options window. Minor update 2017-06-28 10:02:48 -05:00
timy 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
timy 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
timy a1a7d10a56 Add another hidden item puzzle. 2017-06-23 15:39:01 -05:00
timy 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
timy 707c256f1a After build. Update build number 2017-06-21 19:42:27 -05:00
timy 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
timy b999bb705e Make hidden items (switches, devices, links) to simulate lost or unknown stuff on the network 2017-06-21 15:19:19 -05:00
timy c597c2e6b4 Updated release notes 2017-06-21 13:08:53 -05:00
timy 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
timy 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
timy 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
timy 26b33b46be Change the anchoring of the filter textbox on the puzzles selection window. 2017-06-20 15:31:59 -05:00
timy b1fd860835 Cannot edit something that is powered off. 2017-06-19 14:03:28 -05:00
timy 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
timy 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
timy 0eceb5e3e3 Save settings after every solved puzzle 2017-06-19 11:17:09 -05:00
timy ad91b2065e Try to beautifi readme.md for use on the web. 2017-06-16 15:41:40 -05:00
timy 17b58fc094 Added instructions for building for Linux 2017-06-16 15:38:02 -05:00
timy 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
timy 35543503e2 Auto-select first unselected puzzle. Helps Linux navigation 2017-06-16 15:16:56 -05:00
timy 11029d87dd remove debug print when loading rtf 2017-06-16 13:17:25 -05:00
timy 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
timy b62155c76e Code to save to an XML file and fixing localization issues. 2017-06-16 13:03:38 -05:00