Commit graph

2183 commits

Author SHA1 Message Date
Tim Hunt
3708abd0f2 javascript MDL-26098 make the review this question in a previous state popup work. 2011-01-29 13:59:51 +00:00
Tim Hunt
c3e6bd18f5 MDL-20636 work-in-progress converting the ddwtos and gapselect qtypes. 2011-01-28 19:07:33 +00:00
Tim Hunt
6e34cd2924 MDL-20636 Rename the question type editing forms to start with qtype_... 2011-01-28 18:50:20 +00:00
Tim Hunt
5bb96cf618 qtype_multianswer MDL-26168 fix invalid HTML from the editing form.
Fix by Tony Levi. Thanks.
2011-01-28 12:20:01 +00:00
Tim Hunt
14ed1aa2d8 MDL-20636 Clean up. 2011-01-27 19:11:17 +00:00
Tim Hunt
46cf70cc8c MDL-20636 Bug 11408 JME and applet components don't work in IE. 2011-01-27 18:03:35 +00:00
Tim Hunt
26a03a6112 MDL-20636 Fix bad line endings. 2011-01-27 18:02:10 +00:00
Tim Hunt
f86390dc94 MDL-20636 Bug 11396 better handle manually graded questions that are graded out of 0.
The key point is that 0 * Ungraded should equal 0, rather than Ungraded.
2011-01-27 17:43:50 +00:00
Helen Foster
82b15e2811 MDL-21250 capital letters removal
Also some spotted leading and trailing whitespace was removed from some
strings.
2011-01-27 16:24:30 +01:00
Tim Hunt
d4d64ee3f1 MDL-20636 Bug 11406 Opaque gives radio groups name _rg by default, which QE cannot handle.
As a work around, we specifically look for this variable, and if it is present, include it in the sumbitted data.
2011-01-24 14:54:21 +00:00
Sam Hemelryk
912d099cc9 Merge branch 'MDL-25637' 2011-01-24 16:20:51 +08:00
Aparup Banerjee
b692e4aa29 Performance MDL-25637 moved static count/sizeof functions out of for loop conditions 2011-01-24 14:51:21 +08:00
Sam Hemelryk
e53a87dcb5 Merge branch 'MDL-25841' of git://github.com/timhunt/moodle 2011-01-24 10:31:34 +08:00
Tim Hunt
90c2f51031 qtype_multianswer MDL-25841 feedback pop-up was appearing in the wrong place.
It seems that overlib was getting confused by its div being inside another positioned div. The simplest solution is to not create the div at all. Then the overlib JS creates it when needed, and that works.
2011-01-18 23:30:40 +00:00
Tim Hunt
2c00fa161e qformat_gift MDL-26059 fails to import truefalse questions with answer true. 2011-01-18 21:38:34 +00:00
Tim Hunt
1c2ed7c501 MDL-20636 Conversion of the OU multi-response question type. 2011-01-18 19:23:26 +00:00
Tim Hunt
2eeb76f845 MDL-20636 Finish conversion of the Opaque qtype/behaviour. 2011-01-18 17:35:03 +00:00
Tim Hunt
fe0412432f MDL-20636 And fix XML import unit tests too. 2011-01-18 16:06:05 +00:00
Tim Hunt
5f7cfba7fa MDL-20636 Question XML export unit tests now all pass. 2011-01-18 14:36:40 +00:00
Tim Hunt
49e2bba7cc MDL-20636 Merge import/export formats. XML is not finished (unit test failures). 2011-01-17 18:01:49 +00:00
Tim Hunt
3404cc149d MDL-20636 More work on the opaque question type. You can now set up question engines.
More work still needed on the actual question type.
2011-01-17 17:53:49 +00:00
Tim Hunt
2086d94077 MDL-20636 work-in-progress on converting the Opaque question type. 2011-01-14 19:06:52 +00:00
Tim Hunt
2ac0843f4b MDL-20636 Fix behaviour unit tests. (all but opaque) 2011-01-14 16:30:27 +00:00
Tim Hunt
93cadb1ede MDL-20636 Conversion of the match question type. 2011-01-13 20:24:33 +00:00
Tim Hunt
8b9dfc2bf6 MDL-20636 Fix editing of multichoice questions. 2011-01-13 18:36:13 +00:00
Tim Hunt
ce5e4fb620 MDL-20636 Better icon for missing qtype. 2011-01-13 18:36:11 +00:00
Tim Hunt
c9c989a09a MDL-20636 Mostly working conversion of the multichoice question type.
Currently, you get an error on saving the editing form.
2011-01-13 18:36:08 +00:00
Tim Hunt
9481434019 MDL-20636 Conversion of the missingtype question type. 2011-01-13 18:36:05 +00:00
Tim Hunt
ec3d4ef543 MDL-20636 Actually, passing to get_question summary is silly. Revert. 2011-01-13 18:36:03 +00:00
Tim Hunt
6d03299dec MDL-20636 Conversion of the essay question type. 2011-01-13 18:36:00 +00:00
Tim Hunt
7a7197482d MDL-20636 Fix if the use of the File API so images work in questions. 2011-01-13 18:35:57 +00:00
Tim Hunt
32d8935c8d MDL-20636 Conversion of the description question type. 2011-01-13 18:35:54 +00:00
Tim Hunt
068b4594ba MDL-20636 Conversion of the shortanswer question type to the new question engine.
This commit includes minor bug fixes elsewhere in the system.
2011-01-13 18:35:49 +00:00
Tim Hunt
cce1b6556c MDL-20636 Fix a bunch of minor errors in the truefalse preview.
Most significantly, all behaviours now work.
2011-01-13 18:35:46 +00:00
Tim Hunt
c76145d3e4 MDL-20636 Previewing a truefalse question in deferred feedback mode now works. 2011-01-13 18:35:43 +00:00
Tim Hunt
2b7da64586 MDL-20636 It is now possible to save a truefalse question you have created.
This includes all the necessary DB upgrades.

Also all unit tests in question/type/simpletest and question/type/truefalse now pass.
2011-01-13 18:35:41 +00:00
Tim Hunt
f29aeb5afd MDL-20636 converstion of questionlib.php and base questiontype.php, plus other cheanges required to get the question editing page to display. 2011-01-13 18:35:37 +00:00
Tim Hunt
06f8ed54fd MDL-20636 More progress. 2011-01-13 18:35:34 +00:00
Tim Hunt
b691dc8510 MDL-20636 todo list 2011-01-13 18:35:32 +00:00
Tim Hunt
d1b7e03d5d MDL-20636 Current work-in-progress converting the question engine to Moodle 2.0 2011-01-13 18:35:29 +00:00
Dongsheng Cai
365e53d1d4 QUESTION MDL-25219 fixed image links in description question type, credit to Sam Hemelryk 2011-01-06 15:29:07 +08:00
Pierre Pichet
fe75941008 MDL-25535 Testing default values when editing numerical options 2010-12-03 14:57:30 +00:00
Tim Hunt
94dbfb3a82 quiz editing MDL-24750 The Add random button should also let you add questions from an existing category.
Also includes a fix for MDL-24749 by Sam Hemelryk. Thanks Sam.

This commit also includes a certain amount of code cleaning up.
2010-11-22 09:52:42 +00:00
Pierre Pichet
79b067e911 MDL-25362 adding isset() line 2292 2010-11-22 04:25:53 +00:00
Pierre Pichet
a3130f2cf7 MDL-25353 Correcting lang string 2010-11-21 04:55:25 +00:00
Tim Hunt
06f1bd03be question XML import/export MDL-18916 Fix import of questions with images exported from Moodle 1.9.
Thanks again to Patrick Pollet
2010-11-19 14:24:18 +00:00
Tim Hunt
4f2900771d question XML import/export MDL-18916 should include question tags. 2010-11-19 12:33:48 +00:00
Tim Hunt
4ec6d4e692 question export NOBUG delete obsolete code. 2010-11-19 12:16:23 +00:00
Tim Hunt
fe857668d4 NOBUG whitespace fixes. 2010-11-19 12:13:59 +00:00
Tim Hunt
6680966c84 qtype_multichoice MDL-25208 another problem with editing.
Thanks to Patrick Pollet for spotting this.
2010-11-19 11:36:15 +00:00