Commit graph

1541 commits

Author SHA1 Message Date
gustav_delius
3a58ad11bc The "Reports" tab is now a "Results" tab so that the grading fits in better. 2006-03-27 08:45:02 +00:00
gustav_delius
31e95855b8 Improved quiz report plugin mechanism and converted the manual grading script into a report plugin 2006-03-27 08:41:20 +00:00
gustav_delius
5f9ef821df Moved detailed responses report into contrib 2006-03-26 12:02:46 +00:00
gustav_delius
d23e3e11dd Moved the code for basing new attempts on previous attempts from questions to quiz and fixed the bug reported at http://moodle.org/mod/forum/discuss.php?d=42029#194212 in the process 2006-03-26 07:59:43 +00:00
gustav_delius
4eda4eecbd Added question type that is used if a question of unknown type is encountered.
Also removed some of the unnecessary calls to name()
2006-03-24 21:21:59 +00:00
gustav_delius
363773ef87 Removing questiontype settings from quiz settings page 2006-03-23 19:56:42 +00:00
gustav_delius
cd9ca85409 Timer now uses the client's clock. Patch contributed by Phillip Franks, see bug 4967 2006-03-23 19:32:24 +00:00
gustav_delius
6dfc23760f The obsolete table quiz_attemptonlast_datasets should no longer get created 2006-03-22 22:04:31 +00:00
gustav_delius
fe9b5cfd0b Fixed the links to the question review script. 2006-03-22 21:30:00 +00:00
gustav_delius
0429cd86c3 Deleting attempts properly now 2006-03-22 18:27:28 +00:00
gustav_delius
4dca7e51ca Some minor improvements in the handling of review options, the setting of timestamp, and improvements to the documentation 2006-03-22 17:22:36 +00:00
gustav_delius
609c7d517d Fixed bug 4953 2006-03-22 17:18:55 +00:00
gustav_delius
ead293420d Questiontypes are doing their own database upgrade now.
I modified the enrollment plugin mechanism to work for any type of plugin
2006-03-22 10:44:54 +00:00
gustav_delius
3be86ca6b3 In preparation of the qtype plugin-mechanism give set version information for all questiontypes that already have database tables. 2006-03-22 08:41:56 +00:00
gustav_delius
6040798269 Abolished the qtype integers. The question types are now indexed by their name as specified by their directory name. This will avoid a lot of confusion in future when we have plugable question types. 2006-03-21 23:08:36 +00:00
gustav_delius
c5d94c4150 Moved questiontype specific backup functions into questiontype classes 2006-03-21 18:15:09 +00:00
gustav_delius
fe1106f0d1 Now the question backup code has been separated from the quiz backup code. 2006-03-21 16:50:42 +00:00
moodler
92b6d775b2 No reports or grading when there are no questions 2006-03-21 09:28:08 +00:00
moodler
c88369b8e3 Christian's code to support time delays 2006-03-21 09:24:47 +00:00
moodler
07679347f4 Removing language files we don't need 2006-03-21 09:23:20 +00:00
gustav_delius
f67172b64b Moved code to delete questions and question categories to lib/questionlib.php
Also fixed bug 4949
2006-03-21 09:06:34 +00:00
gustav_delius
90c3f31066 Some improvements to delete_question() 2006-03-20 23:04:22 +00:00
gustav_delius
75cd257be8 Moved the quiz constants into lib.php to keep things simple. 2006-03-20 20:59:46 +00:00
gustav_delius
6b11a0e863 Renaming constants QUIZ_ADAPTIVE and QUIZ_IGNORE_DUPRESP to QUESTION_..... and moved them to lib/questionlib.php because they are used for question-level options. 2006-03-20 20:45:55 +00:00
gustav_delius
c0749a1605 Fixed backup and restore for match questions 2006-03-19 09:50:43 +00:00
gustav_delius
ccccf04f70 Multianswer restore now works.
Timelimit is rounded to integer before saving in the database
Some more diagnostic error messages
Towards more plugable question types: $QUIZ_MENU is now populated by the question types themselves.
2006-03-18 14:14:55 +00:00
gustav_delius
c6abbe5e39 Some incomplete work on the restore code (committing only because I am moving to a different machine) 2006-03-16 21:17:31 +00:00
michaelpenne
2ea3451018 SQL error occured when viewing this page and no questions have been added to the quiz. This has been fixed. 2006-03-16 03:26:49 +00:00
gustav_delius
7befd0188d If a student has not attempted a question then the grade column for that question will show -- instead of 0. 2006-03-13 18:36:36 +00:00
gustav_delius
3e2c988f0c Somehow missed this table reference during renaming. 2006-03-13 18:30:35 +00:00
gustav_delius
b9618e80bd Truncated long action name in log, see http://moodle.org/mod/forum/discuss.php?d=41446#190858 2006-03-13 00:21:35 +00:00
gustav_delius
12fcd27da6 Some work on question restore code, not complete 2006-03-13 00:18:38 +00:00
gustav_delius
32a189d636 More renamings to separate questions from quiz. Some other small fixes. 2006-03-12 21:17:42 +00:00
gustav_delius
b0fb1e836b Default values for quiz_delay1 and quiz_delay2 2006-03-12 19:23:55 +00:00
skodak
0c0849cf5f lots of incorrect required_param()'s - there MUST be only two parameters not three!! 2006-03-08 00:08:51 +00:00
skodak
bbba475967 fixed includes in included files - see bug #4891 2006-03-07 23:41:22 +00:00
skodak
38b7336ed1 short php tags 2006-03-07 21:35:13 +00:00
skodak
1b1d34225b incorrect usage of clean_filename() replaced with clean_param($text, PARAM_SAFEDIR) 2006-03-04 12:37:29 +00:00
patrickslee
7130abaf90 Missed undoing the changes to one line for the last revert 2006-03-02 03:02:35 +00:00
patrickslee
13c6d7e6bc Backup last commit regarding to the "quiz_" prefixes. There must been something wrong with the upgrade code that not renaming those tables. 2006-03-02 03:00:31 +00:00
patrickslee
38393aad2d Added missing "quiz_" prefixes to table names 2006-03-02 02:25:22 +00:00
mjollnir_
ed2482dfae Fixing up some RENAME tables in postgres for quiz 2006-03-02 01:30:04 +00:00
gustav_delius
dc2ff7c341 Fixed incorrect function name, spotted by Penny 2006-03-01 10:42:15 +00:00
gustav_delius
70c01adb91 Improvement to tabbed interface 2006-03-01 09:30:21 +00:00
gustav_delius
dc1f00de19 Some little fixes and more renaming to cleanly separate question code from quiz code
Renaming tables:
quiz_answers -> question_answers
quiz_categories -> question_categories

Renaming functions:
quiz_get_category_menu -> question_category_menu
quiz_get_category_coursename -> question_category_coursename
quiz_categorylist -> question_categorylist
2006-03-01 07:03:57 +00:00
mjollnir_
ecb5d875af Updated the comments around the horrible sql construction in the quiz reports for overview & response 2006-03-01 03:00:33 +00:00
mjollnir_
eeaf5ebce1 Ported the rework of the reports to the responses report. PLEASE try not to load all users into memory and then implode it into a string for the sql - just JOIN, it is what the database is good at :( 2006-03-01 02:46:15 +00:00
mjollnir_
3d45832721 Tidyup of whitespace and commented out stuff from last commit 2006-03-01 02:44:38 +00:00
mjollnir_
03c8c27ee0 By popular request - quiz report now shows students with attempts only, students with no attempts only, students with attempts AND no attempts. This fixes bugs #4406 and #4353 2006-03-01 02:20:32 +00:00
mjollnir_
6ae92cf9b0 Fixing up a badly named quiz table in postgres. PLEASE remember that you cannot just do RENAME - it breaks the sequences 2006-03-01 02:17:47 +00:00