46924 Commits

Author SHA1 Message Date
Dean Lennard
63be47d932 MDL-20636 Made changes to the three files and code checked 2011-05-09 12:30:47 +01:00
Dean Lennard
bcd42560e3 MDL-20636 Updated code to include html writer 2011-05-09 12:30:45 +01:00
Dean Lennard
9f335e76fa MDL-20636 Fixed issues raised 2011-05-09 12:30:43 +01:00
Dean Lennard
606e07d574 MDL-20636 Attempt as converting attempt.php over to renderer 2011-05-09 12:30:41 +01:00
Tim Hunt
b3782c71bf MDL-20636 My go and creating a renderer for mod/quiz/review.php.
Note that this breaks the attempt.php page; there are a lot of methods that are missing PHPdoc comment; there are probably now some unused methods that could be deleted; and there are a couple of places which could be handled a bit better.

But, overall, I think this way makes sense.
2011-05-09 12:30:39 +01:00
Tim Hunt
c749527bec MDL-20636 Finished backup and restore of attempt data. Yay 2011-05-05 21:26:25 +01:00
Tim Hunt
3b3d5e799d MDL-20636 Fix 2 essay issues. Wrong file area name and broken backup/restore. 2011-05-05 21:23:41 +01:00
Tim Hunt
9e06daf251 MDL-27394 Moodle 2.0 backup and restore may randomise the order of multichoice/numerical/shortanswer answers 2011-05-05 18:53:43 +01:00
Tim Hunt
d6522c33a1 MDL-20636 Fix qtype backup issues. 2011-05-03 17:53:12 +01:00
Tim Hunt
bea1a6a73a MDL-20636 Work-in-progress on quiz attempt backup and restore. 2011-04-28 21:21:43 +01:00
Tim Hunt
d1de533164 MDL-20636 qtype_numerical oops, I deleted a function from the wrong place. Fix. 2011-04-28 20:22:45 +01:00
Tim Hunt
5073fb743f MDL-20636 qtype_numerical multi-choice units now work, I think. 2011-04-28 20:06:51 +01:00
Tim Hunt
ae3e2e6e7f MDL-20636 qtype_numerical Fix a bunch of minor issues found by Pierre. 2011-04-28 20:06:49 +01:00
Tim Hunt
5d2465c3f4 MDL-20636 numerical qtype: assorted changes
1. database upgrade to merge instructions into the questiontext field,
and remove the UNITDISPLAY option.

2. Changes to the validation in deferred feedback mode, so students
are warned about incomplete answers.

3. Using this to wark students if they enter an answer that is not
recognised as a number.
2011-04-28 20:06:47 +01:00
Tim Hunt
52ad7e0c1b MDL-20636 Tidy-up of numerical questiontype.php. 2011-04-28 20:06:45 +01:00
Tim Hunt
d7d8cee279 MDL-20636 Finish implementing answer processing. 2011-04-28 20:06:43 +01:00
Tim Hunt
b3c9da2f0a MDL-20636 I think I have now find a reliable way to parse responses. 2011-04-28 20:06:41 +01:00
Tim Hunt
544de1c035 MDL-20636 Lots of work on numerical answer matching.
Still more to do. Not all the unit tests pass at the moment.
2011-04-28 20:06:39 +01:00
Tim Hunt
91d431240f MDL-20636 Better way of handling the creation of test questions for different question types. 2011-04-28 20:06:37 +01:00
Tim Hunt
fdd015b779 MDL-20636 Fix some minor editing problems, and a bunch of coding style. 2011-04-28 20:06:35 +01:00
Tim Hunt
1fa3936440 MDL-20636 Fix the numerical qtype editing form. 2011-04-28 20:06:33 +01:00
Tim Hunt
397bd29549 MDL-20636 Fix qtype_numerical get_question_options. 2011-04-28 20:06:31 +01:00
Tim Hunt
0ff173d3f2 MDL-20636 Fix numerical unit tests. 2011-04-28 20:06:29 +01:00
Tim Hunt
50c0296698 MDL-26724 notice from numerical qtype when no answer is given. 2011-04-28 20:06:27 +01:00
ppichet
062f7e95c9 MDL-26445 question -fix numerical unit grade
fix unit penalty grading and display

Signed-off-by: ppichet <pichet.pierre@uqam.ca>
2011-04-28 20:06:25 +01:00
Tim Hunt
f77f47ec56 MDL-20636 Start converting the numerical question type. 2011-04-28 20:06:24 +01:00
Tim Hunt
f902a54e5a MDL-20636 Fix method scope. 2011-04-23 12:57:02 +01:00
Tim Hunt
d2c69d9373 MDL-20636 Fix query so that it works on MySQL. 2011-04-23 12:56:47 +01:00
Tim Hunt
6160bdb1f3 MDL-20636 Move question lang strings to the right place. 2011-04-12 15:20:29 +01:00
Tim Hunt
d0e25622bd MDL-20636 Two gradeboundary 0%s on the quiz editing form. One shoudl be a HTML editor. #392
This was a weird variable aliasing issue.
2011-04-11 14:40:04 +01:00
Tim Hunt
3f469e808b MDL-20636 Notice when editing shortanswer questions. #339 2011-04-08 18:21:53 +01:00
Tim Hunt
330c1148a4 MDL-20636 Quiz report graph not showing up due to an SQL error. #426 2011-04-08 18:09:24 +01:00
Tim Hunt
a056778d8a MDL-20636 Fix unit test that the recent code change broke. #382 2011-04-08 17:46:15 +01:00
tjh238
7c85d7c871 MDL-20636 Bug 11493 can't show marks available for deferred feedback summative iCMAs 2011-04-08 17:16:55 +01:00
Tim Hunt
33dae771db MDL-20636 Fix bare in language string in OU code. #427, #429 2011-04-08 16:58:43 +01:00
Colin Chambers
7ee214ff89 MDL-20636 lib/Questionlib fixed calls to question_delete_question() #381 2011-04-08 16:21:47 +01:00
Colin Chambers
058f658ed1 MDL-20636 remove tests for obsolete functions #436 2011-04-08 16:21:36 +01:00
Tim Hunt
1631ceeaec MDL-20636 Fix codechecker issues in the question behaviours. 2011-04-08 07:24:24 +01:00
Tim Hunt
9447399c11 MDL-20636 Fix codechecker issues in qtype_oumultiresponse. 2011-04-08 06:26:47 +01:00
Tim Hunt
553b8ee5e4 MDL-20636 Fix codechecker issues in qtype_opaque. 2011-04-08 06:06:46 +01:00
Tim Hunt
eaeb6b513a MDL-20636 Fix codechecker issues in the question type base classes. 2011-04-08 05:39:16 +01:00
Tim Hunt
dcd69f8d97 MDL-20636 Fix codechecker issues in qtype_truefalse. 2011-04-08 05:08:24 +01:00
Tim Hunt
8cfc4fbd72 MDL-20636 Fix codechecker issues in qtype_shortanswer. 2011-04-08 05:08:11 +01:00
Tim Hunt
59f26004cd MDL-20636 Fix codechecker issues in qtype_random. 2011-04-08 05:07:57 +01:00
Tim Hunt
12039f2e7a MDL-20636 Fix codechecker issues in qtype_multichoice. 2011-04-08 05:07:42 +01:00
Tim Hunt
2b7c9bd235 MDL-20636 Fix codechecker issues in qtype_missingtype. 2011-04-08 05:07:24 +01:00
Tim Hunt
9afa71af83 MDL-20636 Fix codechecker issues in qtype_gapselect. 2011-04-08 05:05:22 +01:00
Tim Hunt
b3ae5457c4 MDL-20636 Fix type respones -> response. Thanks Colin. #415 2011-04-07 11:53:00 +01:00
Tim Hunt
3758786f6d MDL-20636 Fix codechecker problems in match, description and ddwtos qtypes. 2011-04-05 17:54:39 +01:00
Tim Hunt
121fd4c12d MDL-20636 Fix code-checker issues in qtype_essay. 2011-04-05 11:29:26 +01:00