Commit Graph

29 Commits

Author SHA1 Message Date
jamiesensei
271e6decda merging MOODLE_19_QUESTIONS with HEAD 2007-08-09 21:51:09 +00:00
tjhunt
6e9debfbf1 Removing remaining references to RQP in core code. I had not realised there were so many. By the way, I am committing this from a pub in York. Pub's with wireless, whatever next? 2007-05-24 17:25:37 +00:00
tjhunt
06d20c2429 Clean up trailing whitespace. 2007-04-24 23:25:33 +00:00
tjhunt
c85607f0be MDL-9432 - When restoring questions, links are not recoded. Merged from OU moodle. 2007-04-18 15:56:21 +00:00
tjhunt
4323d02959 Give the question bank code sensible PHPdocumentor package names. 2007-03-19 17:22:46 +00:00
toyomoyo
a917db623e adding backward compatitiblity for question restores 2007-03-02 08:04:05 +00:00
tjhunt
a24a414f24 When restoring numerical questions, don't create duplicate unit definitions. Merged from MOODLE_18_STABLE. 2007-02-28 17:18:28 +00:00
tjhunt
4f390427d5 Minor problem with restoring numerical questions. 2007-01-17 17:29:08 +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
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
4abc23b2ae Fix some Eclipse code warnings. Merged from MOODLE_16_STABLE. 2006-08-18 21:23:15 +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
78b9c960e9 Fixed notice when restoring a numerical question with no units. 2006-07-12 17:37:36 +00:00
skodak
e7251cdd21 Bug #5522 - question/restorelib.php error; merged from MOODLE_16_STABLE 2006-06-07 14:57:26 +00:00
tjhunt
4919564de9 Fix notices from the quiz module on backup and restore. Merged from MOODLE_16_STABLE. 2006-06-06 14:15:48 +00:00
gustav_delius
754d6f1bb3 Corrected location of restorelibpre15.php, see http://moodle.org/mod/forum/discuss.php?d=44156 2006-04-26 20:32:54 +00:00
gustav_delius
44582764af Fixed recoding of parent field for random questions 2006-04-11 21:40:28 +00:00
gustav_delius
cbe20043b5 Whenever a question is edited the version field is set to question_hash(), see bug 2958. 2006-04-10 22:10:32 +00:00
gustav_delius
ea889e7744 Recode qtypes during restore of old backups. 2006-03-22 10:32:29 +00:00
gustav_delius
315559d354 Moving question restore code into questiontype classes. The restore is now temporarily broken but I will fix it as soon as I get home. 2006-03-21 20:59:32 +00:00
gustav_delius
fe1106f0d1 Now the question backup code has been separated from the quiz backup code. 2006-03-21 16:50:42 +00:00
gustav_delius
b2315a929d Don't try to recode empty answers. 2006-03-19 11:03:12 +00:00
gustav_delius
c0749a1605 Fixed backup and restore for match questions 2006-03-19 09:50:43 +00:00
gustav_delius
28b904c8c2 Fixed multichoice restore
Print message when recoding fails
2006-03-19 09:20:42 +00:00
gustav_delius
ccccf04f70 Multianswer restore now works.
Timelimit is rounded to integer before saving in the database
Some more diagnostic error messages
Towards more plugable question types: $QUIZ_MENU is now populated by the question types themselves.
2006-03-18 14:14:55 +00:00
gustav_delius
c6abbe5e39 Some incomplete work on the restore code (committing only because I am moving to a different machine) 2006-03-16 21:17:31 +00:00
gustav_delius
12fcd27da6 Some work on question restore code, not complete 2006-03-13 00:18:38 +00:00
gustav_delius
b2b97d6834 Every questiontype should have its own backup and restore code. This is a first step in that direction. I have created the individual restore libraries for all question types but they are not yet used. 2006-03-12 21:27:14 +00:00