Commit Graph

27 Commits

Author SHA1 Message Date
tjhunt 4340e07b2c MDL-5482 - Backup and restore problems for match, random and truefalse question types.
All the credit goes to Paulo Matos who carefully worked out and tested this fix, and updated the patch several times over more than a year while I very slowly got around to reviewing it and checking it in.
2008-05-07 12:31:49 +00:00
tjhunt 676dbd7285 MDL-10916 - Import and Export of Cloze question misses out "generalfeedback" column. 2007-09-24 14:16:58 +00:00
pichetp 786542c572 merging from head so that calculated questions can be imported and other improvments 2007-05-15 03:23:32 +00:00
thepurpleblob 6282be2fd9 Check for empty text strings. Thanks to Quedoc. 2007-03-21 11:13:48 +00:00
tjhunt cd4469af52 Entity decoding only done the right number of times on import, not once too often.
Also, fix a notice and and Eclipse warning.
Backported from HEAD.
2007-03-13 16:27:52 +00:00
thepurpleblob af17ae8a1b MDL-8857
Make numerical and essay question formats more consistent.
2007-03-12 16:29:45 +00:00
thepurpleblob 7c944b7cbe MDL-8450 Added support for including question categories in a quiz export. Also a bit of format tidy up and fix a misshandled sesskey. 2007-02-07 10:27:13 +00:00
thepurpleblob e43202e7a3 MDL-8100, defaultgrade not imported. Question obect initialisation and value import wrong way round - whoops! 2007-01-16 12:10:40 +00:00
tjhunt f3f60456ff MDL-7975 - Make import and export of truefalse questions more reliable. Merged from MOODLE_16_STABLE. 2006-12-18 18:06:56 +00:00
tjhunt 62a29aa8e0 MDL-7928 - Numerical question type should use * for the match anything answer. 2006-12-15 18:30:14 +00:00
thepurpleblob 02cac21426 Question category can now be specified in Moodle XML format. 2006-11-29 14:26:47 +00:00
tjhunt 2da448161a MDL-6297 shuffleanswers option not imported correctly for MC questions. 2006-10-03 14:01:38 +00:00
tjhunt a4514d91de Renamed new commentary feature to 'general feedback'. 2006-09-19 13:35:42 +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
thepurpleblob c81415c77e Merged from STABLE 2006-08-23 14:57:40 +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
thepurpleblob 71ffbac2da merged from STABLE 2006-07-05 12:39:35 +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
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
thepurpleblob 36e2232e27 Merged from STABLE. 2006-05-13 08:49:46 +00:00
thepurpleblob c515fcf73e Removed mystery (probably diagnostic) message 2006-04-28 09:39:13 +00:00
thepurpleblob d08e16b2a5 Moodle xml format can now export and import the actual image files, encoding
in 'base64' format.
2006-04-21 12:35:57 +00:00
thepurpleblob 51bcdf28b3 Added support for matching questions. Bug #3901 2006-03-23 11:13:50 +00:00
gustav_delius f5565b6969 Removing some more references to quiz from import/export code 2006-03-01 07:36:09 +00:00
thepurpleblob 84769fd8a8 Moving quiz import/export files to new question area. 2006-02-24 15:14:09 +00:00