tjhunt
6459b8fc8d
Give a bit more information to the subclasses.
2006-08-31 16:59:52 +00:00
tjhunt
d3b92b4ba5
MDL-6418 - Grading of multiple choice questions broken
2006-08-31 16:59:05 +00:00
tjhunt
695d225c6a
Clarified comment.
2006-08-31 11:28:44 +00:00
tjhunt
1680ebe40b
Eliminate an isteacheredit
2006-08-30 15:52:11 +00:00
tjhunt
32b0adfade
Better comments
2006-08-29 08:57:47 +00:00
stronk7
81abf10971
MDL-5969 Let multiple choice questions have feedback that does not depend on the chosen answer
...
(mimic from old sql files)
2006-08-24 16:54:02 +00:00
tjhunt
3e3e5a4030
Renamed column question_sessions->comment at Eloy's request since comment is a DB reserved word.
...
I have not been able to test this fully, because I cannot assign roles (e.g. Student and Teacher) in 1.7dev at the moment to test a student answering an essay question then a teacher grading it. However, I have tested as much as possible as admin and cannot get any errors.
2006-08-24 16:44:15 +00:00
tjhunt
b2ba9f6ef3
Fix Eclipse warnings.
2006-08-24 11:36:38 +00:00
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
tjhunt
2d30f53dcc
Fixed syntax error in a PHPdoc comment.
2006-08-24 10:12:15 +00:00
tjhunt
c82f76d050
MDL-4816 Short answer question type considers '100' and '100.' to be the same
Actually, this may have affected other question types too.
2006-08-23 21:17:23 +00:00
tjhunt
ac249da55e
Clarified comment.
2006-08-23 21:04:04 +00:00
tjhunt
9e8dba7960
MDL-6338 - Short answer questions with ' in the answer don't work. Merged from MOODLE_16_STABLE.
Yet another unpleasant quiz bug caused by the current broken way we do things with addslashes.
2006-08-23 19:04:24 +00:00
tjhunt
647bcd4129
Fix getting the context. It did not work during question preview from the question bank when there was no quiz in sight.
2006-08-23 18:37:38 +00:00
thepurpleblob
c81415c77e
Merged from STABLE
2006-08-23 14:57:40 +00:00
tjhunt
e9ad37edc2
SC 299. Merged from MOODLE_16_STABLE.
2006-08-22 21:33:54 +00:00
tjhunt
d758f1e2eb
Fix an obvious typo in the roles and permissions code.
2006-08-22 19:26:05 +00:00
tjhunt
07d8d530f5
Fix Eclipse warnings.
2006-08-22 19:09:52 +00:00
tjhunt
080314b8bb
Fix Eclipse warnings.
2006-08-22 19:09:07 +00:00
tjhunt
20808266c8
Work round Eclipse warning.
2006-08-22 19:01:42 +00:00
toyomoyo
5cf38a57cd
some quiz capabilities
2006-08-22 09:04:23 +00:00
toyomoyo
3765fd5367
some capabilities for quiz and questions, need to load them in access.php
2006-08-21 08:40:06 +00:00
tjhunt
0f49e5655d
Bug #6303 - True / False applies penalty factor wrongly. Merged from MOODLE_16_STABLE.
2006-08-20 15:37:42 +00:00
tjhunt
948bf30099
Fix Eclipse warnings.
2006-08-20 15:30:31 +00:00
tjhunt
ef82286874
Bug #6293 - Cannot regrade a question when a teacher has added a comment with a ' - Merged from MOODLE_16_STABLE.
Stupid, wreched, datalib.
Why can't datalib take care of addslashes, so the whole of the rest of the code can forget about it? That is how a database abstraction layer should work.
I know, it is pointless to moan about it, but it has just cost me 3 hours, so I feel I have earned the right to moan.
2006-08-18 22:34:54 +00:00
tjhunt
4abc23b2ae
Fix some Eclipse code warnings. Merged from MOODLE_16_STABLE.
2006-08-18 21:23:15 +00:00
tjhunt
bc2defd5f8
Bug #3481 - wildcard problem in cloze question. Thanks to Joseph Rezeau. Merged from MOODLE_16_STABLE, not a straight merge becuase of other 1.7 changes.
2006-08-18 10:29:34 +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
tjhunt
8d2054411c
Tweak to unbreak unit tests.
2006-08-17 17:30:56 +00:00
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