37 Commits

Author SHA1 Message Date
tjhunt
307f045f07 MDL-5969 Let multiple choice questions have feedback that does not depend on the chosen answer
In passing, I fixed MDL-6297 Export of multichoice questions in Moodle XML format doesn't save shuffle option too.
2006-08-24 10:22:43 +00:00
tjhunt
6e557c0806 Fixed syntax error in a PHPdoc comments. 2006-08-24 10:16:54 +00:00
thepurpleblob
c81415c77e Merged from STABLE 2006-08-23 14:57:40 +00:00
tjhunt
eb9189bc2f Bug #6277 - Missed function renaming in question/format/multianswer. Merged from MOODLE_16_STABLE. 2006-08-17 17:38:31 +00:00
thepurpleblob
8daaaafcf0 Merged from STABLE 2006-08-15 14:39:47 +00:00
tjhunt
1b8a7434e2 Bug 6239 - Allow questions to have some teacher-supplied commentary.
While implementing this, I removed the ~100 lines of very similar code from the top of each question type's editquestion.html template, and moved this to a the function print_question_form_start() in the base class, which uses the template question/type/editquestionstart.html. This is described in more detail here: http://moodle.org/mod/forum/discuss.php?d=51590, and is why this patch makes the codebase 523 lines smaller.
2006-08-11 14:59:18 +00:00
tjhunt
8c8cad45d9 Convert tabs to spaces. 2006-08-10 18:32:32 +00:00
tjhunt
2befe77859 Convert tabs to spaces. 2006-08-10 18:23:09 +00:00
tjhunt
87ee4968e5 Bug #4811 (and several dups!) - Matching questions should treat identical answers as the same. 2006-07-21 13:58:00 +00:00
tjhunt
1367cb8d6b SC#277. Merged from MOODLE_16_STABLE. 2006-07-18 13:33:45 +00:00
tjhunt
fc05b7d1ca Doh! remove debug code. Sorry. 2006-07-12 17:54:45 +00:00
tjhunt
1fe641f7b4 Bug 5968 - Improvements to the numerical question type. You can now display feedback for wrong answers. You can also award partial credit for different levels of accuracy. 2006-07-12 17:49:14 +00:00
thepurpleblob
71ffbac2da merged from STABLE 2006-07-05 12:39:35 +00:00
thepurpleblob
eaaf06f1ce Merged from STABLE 2006-07-05 11:51:08 +00:00
tjhunt
ee800653e4 Corrected reference to lang string and fixed a notice. Merged from MOODLE_16_STABLE. 2006-06-14 15:32:55 +00:00
thepurpleblob
7b8bc256cc Merged from STABLE 2006-06-02 09:45:19 +00:00
thepurpleblob
a0d187bfd7 Merged from STABLE 2006-06-01 10:13:57 +00:00
thepurpleblob
36e2232e27 Merged from STABLE. 2006-05-13 08:49:46 +00:00
thepurpleblob
c0724bdce2 Merging from STABLE 2006-05-04 11:17:50 +00:00
thepurpleblob
6e5a360ad1 Question object not always initialised. Bug #5369 2006-05-01 07:35:33 +00:00
thepurpleblob
c515fcf73e Removed mystery (probably diagnostic) message 2006-04-28 09:39:13 +00:00
thepurpleblob
d08e16b2a5 Moodle xml format can now export and import the actual image files, encoding
in 'base64' format.
2006-04-21 12:35:57 +00:00
gustav_delius
cbe20043b5 Whenever a question is edited the version field is set to question_hash(), see bug 2958. 2006-04-10 22:10:32 +00:00
stronk7
1f1e3288ca Only decode from utf8 if we aren't running under utf8.
Please test it. Thanks!
2006-03-28 19:22:35 +00:00
stronk7
ef138cea77 Only convert to UTF8 if we aren't running under UTF8.
Please, test this is correct, thanks!
2006-03-28 18:53:16 +00:00
gustav_delius
aaae75b04f Renaming question/questiontypes/ to question/types/ as requested by Martin 2006-03-24 19:54:13 +00:00
thepurpleblob
51bcdf28b3 Added support for matching questions. Bug #3901 2006-03-23 11:13:50 +00:00
thepurpleblob
bc12bfea4f Removed unused global (see bug #4948) 2006-03-21 13:38:36 +00:00
gustav_delius
077588e2a4 Removed references to quiz 2006-03-20 20:19:29 +00:00
skodak
a3182bd7e7 updated language detection 2006-03-13 22:11:56 +00:00
gustav_delius
32a189d636 More renamings to separate questions from quiz. Some other small fixes. 2006-03-12 21:17:42 +00:00
thepurpleblob
d1c9748130 Adding support for BlackBoard V6 (and 7). Modified from contrib version.
Needs more testing and some fixes, but more-or-less works.
2006-03-08 14:32:54 +00:00
gustav_delius
f5565b6969 Removing some more references to quiz from import/export code 2006-03-01 07:36:09 +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
gustav_delius
062f1125cc *** empty log message *** 2006-02-28 09:36:31 +00:00
thepurpleblob
f55b3d10bf Corrected require path for new location 2006-02-24 16:05:51 +00:00
thepurpleblob
84769fd8a8 Moving quiz import/export files to new question area. 2006-02-24 15:14:09 +00:00