413 Commits

Author SHA1 Message Date
tjhunt
3fccd7fa8d Typo in capability names. You do not want to know how long I had to stare at the code to spot that! 2006-09-19 22:31:13 +00:00
tjhunt
a4514d91de Renamed new commentary feature to 'general feedback'. 2006-09-19 13:35:42 +00:00
tjhunt
717cfb0a7b Rename column question_dataset_items->number to itemnumber, to avoid reserved word. 2006-09-19 10:56:00 +00:00
toyomoyo
d76a5a7fed replacing references to user_* tables 2006-09-19 01:44:33 +00:00
moodler
0e1cc9070b Fixed a some debugging statements 2006-09-18 13:24:45 +00:00
thepurpleblob
6d9b8e5678 Merged from STABLE
Provides fix for bug MDL-5893
2006-09-14 13:59:08 +00:00
toyomoyo
17d6a25e5c adding capabilitiies 2006-09-13 09:08:14 +00:00
toyomoyo
ae9e4c064e replacing iscreator() calls with capabilty 2006-09-12 08:56:10 +00:00
skodak
cbba1191ed fixed typo - trailing backslash 2006-09-08 15:51:11 +00:00
thepurpleblob
04d677f2e9 Merged from STABLE 2006-09-08 10:27:48 +00:00
moodler
26f9c81507 Fixed a typo (thanks Eclipse) 2006-09-07 15:46:48 +00:00
toyomoyo
d02eededf7 adding capabilities 2006-09-06 08:55:23 +00:00
vyshane
180f410694 Merged fix for bug MDL-5866. 2006-09-06 08:54:56 +00:00
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