Commit graph

21 commits

Author SHA1 Message Date
mwalbeck
4fc0d5c793 Added session flashes and validation errors to views and add session flashes in controllers 2016-11-01 13:03:39 +01:00
mwalbeck
66bf4390a1 added middleware to authenticate access to admin and mod views, plus seperated a few controllers 2016-10-25 20:30:05 +02:00
mwalbeck
aa6e5653e1 Added validation for options, change a bit of layout and added some html5 validation 2016-10-24 13:38:02 +02:00
mwalbeck
71c79d3b2a Added validation to site with barebones error reporting to users 2016-10-22 17:22:26 +02:00
mwalbeck
7af12d0f5b Added validation to tests creation and fixed a bug related to amount of wrong questions allowed in tests 2016-10-22 13:57:56 +02:00
mwalbeck
c8ebd1756f added better feedback page on test after each question 2016-09-29 20:53:57 +02:00
mwalbeck
7d160134b8 added full time limit functionality for tests 2016-09-28 11:28:12 +02:00
mwalbeck
40aa77386b small layout changes and added time stamp in session to set time limit on test 2016-09-26 17:34:05 +02:00
mwalbeck
bde382c1ff fixed bug where refreshing on question page during test taking would advance the question 2016-09-24 22:20:17 +02:00
mwalbeck
711dd87d32 refactored a bit of code used for create of questions and options 2016-09-22 18:45:09 +02:00
mwalbeck
f010bbf128 fixed test taking logic to accommodate multi answer questions 2016-09-22 15:57:39 +02:00
mwalbeck
d4d634363d added functionality for multi answer questions and 2 different question types 2016-09-22 14:28:27 +02:00
mwalbeck
3569d1909b admin and mod view for test and users now have group show, and creating tests and users have dropdown for groups 2016-09-21 12:39:29 +02:00
mwalbeck
fd715bda05 refactored a bit of code and edit the views to be more DRY 2016-09-18 15:00:44 +02:00
mwalbeck
fc2cbef237 refactored some admin function to prepar for the addition of the moderator section 2016-09-16 17:37:31 +02:00
mwalbeck
8fb7e8576f users are now only showns general tests and tests from their groups and test info is now stored in testdetails or failure or completion 2016-09-12 14:51:03 +02:00
mwalbeck
75253b0b64 finished basic test taking functionality 2016-09-10 18:08:33 +02:00
mwalbeck
7987e74a6e did some more refactoring and add more test taking functionality 2016-09-10 15:17:31 +02:00
mwalbeck
bc6183991d more logic for test taking and started moving logic from controllers to models 2016-09-09 12:19:49 +02:00
mwalbeck
3a8ec97891 started on logic for taking tests 2016-09-07 18:26:58 +02:00
mwalbeck
6dd296a664 added files 2016-09-01 11:37:49 +02:00