23 Commits

Author SHA1 Message Date
tjhunt
807a1a8427 question bank database: MDL-17608 Drop originalquestion field from the question_states table - it was never used for anything. 2009-01-06 05:20:21 +00:00
sam_marshall
2bc710366d MDL-14679 minor dml conversion errors in quiz backup 2008-07-01 13:19:24 +00:00
tjhunt
1f5645bc57 MDL-15290 - Missing question types not handled properly on backup. 2008-06-18 14:29:37 +00:00
nicolasconnault
f34488b2e6 MDL-15102 Upgrade to DMLLIB 2.0. Needs further testing and bug-fixing. 2008-06-06 14:43:15 +00:00
skodak
bae736241a MDL-15095 core backup/restore conversion finished 2008-06-04 20:51:02 +00:00
skodak
c6307ef24d MDL-14679 removed all instances of get_records_sql_menu() 2008-06-01 16:08:16 +00:00
scyrma
fca9088244 MDL-14588 - Prevent error message when calling function with null variable (merge from 1.9) 2008-04-29 03:30:01 +00:00
jamiesensei
9aa2d50136 this function should work for all modules but forgot to remove 'quiz' from sql. 2008-02-05 09:23:51 +00:00
jamiesensei
ede67707a6 MDL-13034 fixes "insertion of question / category ids at the CONTEXT_MODULE level does not respect whether the instance of the module has been selected for backup" and cleans up code a little. 2008-01-18 14:49:59 +00:00
tjhunt
1061756d8e Minor whitespace fixup. 2007-11-07 15:41:20 +00:00
skodak
446f9d888a MDL-11516 removed Call-time pass-by-reference when using get_question_options() 2007-09-29 16:18:01 +00:00
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
4323d02959 Give the question bank code sensible PHPdocumentor package names. 2007-03-19 17:22:46 +00:00
toyomoyo
377314aee5 forgot to check this in 2007-03-09 02:59:52 +00:00
tjhunt
edea4db46b Add $level parameters to each backup method. Merged from MOODLE_17_STABLE. 2006-12-05 18:14:57 +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
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
mark-nielsen
53354ec03c Due to changes in Quiz which allows commenting and manual grading of all question types, essay no longer needs its two tables: question_essay and question_essay_states
backuplib.php removed backup code related to question_essay_states
type/essay/db/mysql.sql and postgres7.sql removed all SQL
type/essay/display.html improved essay display
type/essay/questiontype.php, editquestion.php, and editquestion.html removed all uses
of the two tables - this resulted in a great simplification of the essay question type
2006-05-01 02:56:06 +00:00
gustav_delius
c5d94c4150 Moved questiontype specific backup functions into questiontype classes 2006-03-21 18:15:09 +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
924ff16a07 Moving question backup from mod/quiz/ to question/. In a first step I am making a duplicate copy of the whole backuplib.php. Next I will go in and delete the question backupcode from mod/quiz/backuplib.php and the quiz backup code from question/backuplib.php 2006-03-21 15:38:35 +00:00