gustav_delius
5eae68aa2a
Fixed tolerance problem, see bug 3225
2006-03-27 16:38:44 +00:00
gustav_delius
ffa1f07890
Removed notices caused by empty responses
2006-03-27 08:38:55 +00:00
moodler
6be88c6af0
Shortanswers can now be '0'
2006-03-26 15:03:08 +00:00
gustav_delius
a239d1d92c
Renamed the question style class from question to que, see bug 4904
2006-03-26 11:11:29 +00:00
gustav_delius
f1b50ee94c
Use existing language string for correct answer
2006-03-25 21:36:00 +00:00
gustav_delius
d7bc70247c
Fixed typo
2006-03-25 21:04:44 +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
5c2447494d
These are no longer needed because the backup functions are part of the questiontype classes now.
2006-03-24 20:44:13 +00:00
gustav_delius
aaae75b04f
Renaming question/questiontypes/ to question/types/ as requested by Martin
2006-03-24 19:54:13 +00:00
gustav_delius
1fc29d8a1e
Taking out help button from the grade option, there is really no help required.
2006-03-23 19:51:58 +00:00
thepurpleblob
51bcdf28b3
Added support for matching questions. Bug #3901
2006-03-23 11:13:50 +00:00
thepurpleblob
2d52056f79
Not all questions have grades/fractions. Added check.
2006-03-23 11:12:54 +00:00
gustav_delius
76de2cdf1a
Putting the "Save as new question" button back.
2006-03-22 22:37:27 +00:00
gustav_delius
7518b645b9
Removed some more references to quiz from the questiontype code.
2006-03-22 21:51:33 +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
thepurpleblob
76f0a33403
Grades in imported questions must match grades option list.
...
Added option to either generate error or match to nearest valid value if they don't
2006-03-22 16:30:14 +00:00
thepurpleblob
b4db945e40
Grade option list generation now out to library
2006-03-22 14:44:33 +00:00
gustav_delius
dfa47f965c
Cleanup: don't use questiontype constants within questiontypes
2006-03-22 13:51:25 +00:00
gustav_delius
76a1cf366e
Don't name script files after the plugin, makes it more difficult to base a new plugin on an old one.
2006-03-22 12:19:40 +00:00
gustav_delius
e08eba6a66
These are no longer needed because the restore functions are part of the questiontype classes now.
2006-03-22 11:56:04 +00:00
gustav_delius
18cbc9683d
rqp questions set the type to rqp_nn where nn is the rqp_type id
2006-03-22 11:19:26 +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
ea889e7744
Recode qtypes during restore of old backups.
2006-03-22 10:32:29 +00:00
gustav_delius
ba8f7ff02a
Restore works again, except for random questions.
2006-03-21 22:35:03 +00:00
gustav_delius
315559d354
Moving question restore code into questiontype classes. The restore is now temporarily broken but I will fix it as soon as I get home.
2006-03-21 20:59:32 +00:00
gustav_delius
6af1e0b2c2
Fix bug 4952
2006-03-21 20:55:23 +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
gustav_delius
924ff16a07
Moving question backup from mod/quiz/ to question/. In a first step I am making a duplicate copy of the whole backuplib.php. Next I will go in and delete the question backupcode from mod/quiz/backuplib.php and the quiz backup code from question/backuplib.php
2006-03-21 15:38:35 +00:00
thepurpleblob
bc12bfea4f
Removed unused global (see bug #4948 )
2006-03-21 13:38:36 +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
af3830ee49
Rename quiz_default_questiontype to default_questiontype
2006-03-20 20:52:18 +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
077588e2a4
Removed references to quiz
2006-03-20 20:19:29 +00:00
gustav_delius
7347c60b52
Teacher-provided text is now printed without cleaning.
2006-03-19 19:49:37 +00:00
gustav_delius
3abfa3a013
Show All link below question list.
2006-03-19 19:23:07 +00:00
gustav_delius
d38bd8c1be
Removed a notice
2006-03-19 18:33:35 +00:00
gustav_delius
afabbb3374
Almost forgot to take out diagnostic echo
2006-03-19 18:31:48 +00:00
gustav_delius
f30bbcaf5b
Improved handling of event types so that now graded states can always be distinguished from ungraded ones.
2006-03-19 18:28:29 +00:00
gustav_delius
570c30aaa0
slightly more informative error message
2006-03-19 11:05:04 +00:00
gustav_delius
b2315a929d
Don't try to recode empty answers.
2006-03-19 11:03:12 +00:00
gustav_delius
96e5e2e251
I hadn't known that ! has higher precedence than ==
2006-03-19 11:02:36 +00:00
gustav_delius
18bd0d680c
miniscule change: subquestion code only has to be unique within question
2006-03-19 10:43:12 +00:00
gustav_delius
549880a59d
temporary fix to essay print_question... This really should be converted to using templates.
2006-03-19 10:21:23 +00:00
gustav_delius
c0749a1605
Fixed backup and restore for match questions
2006-03-19 09:50:43 +00:00
gustav_delius
28b904c8c2
Fixed multichoice restore
...
Print message when recoding fails
2006-03-19 09:20:42 +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