tjhunt
a21567892f
Refactor how question types register themselves with the question bank. This change makes it easier for 3rd party question types to control their destiny, but is also backwards compatible, in that old 3rd party plugins will still work.
See http://moodle.org/mod/forum/discuss.php?d=51796 for more details.
2006-08-15 21:25:38 +00:00
tjhunt
3c957efd2e
Correct comment.
2006-08-15 20:43:09 +00:00
thepurpleblob
8daaaafcf0
Merged from STABLE
2006-08-15 14:39:47 +00:00
stronk7
d236d4f577
Initial version of the XMLDB file for this plugin
2006-08-12 22:26:05 +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
5a14d563b9
Bug #5972 - Some question types mark a blank answer inconsistently.
...
Also, cleaned up the marking code for numerical and short answer questions, partly by making the base-class method more useful.
Rewrote the way the way short answer questions do wildcard matching to be more robust, Unicode safe, and generally not suck.
This is a big change, so I am pleased to report I tested it using my new Selinium test suite. See: http://moodle.org/mod/forum/discuss.php?d=51161
2006-08-04 16:53:43 +00:00
tjhunt
00c300692f
Fix whitespace.
2006-08-04 16:47:57 +00:00
tjhunt
0b4ce29d8d
Matching question would fill in the right answer after an incorrect attempt.
2006-08-04 12:28:39 +00:00
tjhunt
7d6af8ca5a
Bug #6185 - bug with matching questions.
2006-07-28 10:56:47 +00:00
tjhunt
fad28a7451
More unit tests for numerical question type.
2006-07-27 08:32:50 +00:00
tjhunt
22f2f41810
Start of unit tests for numerical question type.
2006-07-25 07:08:21 +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
43595a3370
Replace a few odd tabs with spaces. Merged from MOODLE_16_STABLE.
2006-07-21 08:03:23 +00:00
tjhunt
393c9d489a
Bug #5946 - matching question php notice. Merged from MOODLE_16_STABLE.
2006-07-21 07:21:45 +00:00
tjhunt
d7444d442f
Bug #6033 - missing string for unknown questiontype. Also tidied up some messy code. Merged from MOODLE_16_STABLE.
2006-07-18 15:34:24 +00:00
tjhunt
1367cb8d6b
SC#277. Merged from MOODLE_16_STABLE.
2006-07-18 13:33:45 +00:00
tjhunt
da298d8201
Bug 5840 - Image not displayed in Cloze question. Thanks to Joseph Rezeau for the fix. Merged from MOODLE_16_STABLE.
2006-07-17 08:57:30 +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
tjhunt
78b9c960e9
Fixed notice when restoring a numerical question with no units.
2006-07-12 17:37:36 +00:00
skodak
b2ec10959a
workaround for Bug #6035 - editing quiz in one tab changes quiz in other; merged from MOODLE_16_STABLE
2006-07-11 13:02:42 +00:00
tjhunt
68d07f8b01
6030 - Can't move question categories back to the top level. Merged from MOODLE_16_STABLE.
2006-07-06 10:07:26 +00:00
tjhunt
16750bcd85
File header cleanup.
2006-07-06 09:45:02 +00:00
thepurpleblob
71ffbac2da
merged from STABLE
2006-07-05 12:39:35 +00:00
tjhunt
645d76103b
Bug 5971 - Allow matching questions to have extra wrong answers - supplimental. And another one.
2006-07-05 12:19:11 +00:00
tjhunt
974383f976
Bug 5971 - Allow matching questions to have extra wrong answers - supplimental. And another one.
2006-07-05 12:00:23 +00:00
tjhunt
0c24ee0fbf
Bug 5971 - Allow matching questions to have extra wrong answers - supplimental. I missed a bit last time.
2006-07-05 11:58:14 +00:00
thepurpleblob
eaaf06f1ce
Merged from STABLE
2006-07-05 11:51:08 +00:00
tjhunt
a58ffe3fe2
Bug 5971 - Allow matching questions to have extra wrong answers.
2006-07-04 17:11:00 +00:00
tjhunt
1cc1fa2425
Bug #5825 redonly attribute does not work on checkboxes, so using disabled instead when displaying quizzes read-only.
2006-06-15 10:12:17 +00:00
tjhunt
0b34616411
Moved constant definitions out of function, so they are not run repeatedly giving lots of warnings. Merged from MOODLE_16_STABLE.
2006-06-14 15:35:27 +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
tjhunt
f92cf442db
Bug #5793 : remember whether Show all has been clicked in the question bank. Merged from MOODLE_16_STABLE.
2006-06-12 13:54:01 +00:00
tjhunt
4f7eaab661
Bug #5790 : Answer order for MC qtype not specified. Fix. Thanks to Peter Bulmer. Merged from MOODLE_16_STABLE.
2006-06-12 11:05:39 +00:00
skodak
e7251cdd21
Bug #5522 - question/restorelib.php error; merged from MOODLE_16_STABLE
2006-06-07 14:57:26 +00:00
tjhunt
37611ee17c
Bug #5559 : revised fix - using better CSS class names. Merged from MOODLE_16_STABLE.
2006-06-06 17:10:04 +00:00
tjhunt
4919564de9
Fix notices from the quiz module on backup and restore. Merged from MOODLE_16_STABLE.
2006-06-06 14:15:48 +00:00
tjhunt
3e734b607d
Bug #5672 : Make calculated questions less confusing to create. Merged from MOODLE_16_STABLE.
2006-06-05 16:59:58 +00:00
tjhunt
042e68477d
Bug #5559 : Move CLOZE qtype hightight colours into CSS insted of hardcoding, so themes can override. Merged from 1.6stable.
2006-06-02 15:39:41 +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
tjhunt
7baff8aa1a
Fix for bug 5379: Item analysis report should not have a hard coded list of question types.
...
Please test this if you have a moodle install with some unusual question types. Thanks.
Merged from 1.6stable.
2006-05-31 15:58:39 +00:00
skodak
8af190b388
fixed typo - randomsmatch notice bug 5652; merged from MOODLE_16_STABLE
2006-05-30 06:29:07 +00:00
skodak
b01a2fcd0f
proper initialisation of $oldquestionid; merged from MOODLE_16_STABLE
2006-05-23 09:32:26 +00:00
tjhunt
5bbca3a4cb
Fix for Bug #5588 - Editing a question after sorting leads to an error. Merged from 1.6stable.
2006-05-22 15:43:53 +00:00
tjhunt
971cd5082a
Fix an undefined variable notice. Merged from 1.6stable.
2006-05-22 13:06:36 +00:00
tjhunt
656ee8c6a1
Fix an undefined variable notice. Merged from 1.6stable.
2006-05-22 11:20:51 +00:00
tjhunt
9bd76b32f3
Merge from 1.6 branch. Fix URL syntax error when slasharguments is off.
2006-05-17 11:40:37 +00:00