moodle.git
11 years agoMDL-47494 gapselect: Update quiz and questions backup and restore.
Tim Hunt [Mon, 28 Feb 2011 10:49:20 +0000 (10:49 +0000)]
MDL-47494 gapselect: Update quiz and questions backup and restore.

This does not include user data yet, and it needs more testing.

11 years agoMDL-47494 gapselect: Review and fix the format parameter to all calls to format_text.
Tim Hunt [Thu, 24 Feb 2011 20:18:16 +0000 (20:18 +0000)]
MDL-47494 gapselect: Review and fix the format parameter to all calls to format_text.

11 years agoMDL-47494 gapselect: Split question_definition::init_first_step into start_attempt...
Tim Hunt [Thu, 24 Feb 2011 19:12:42 +0000 (19:12 +0000)]
MDL-47494 gapselect: Split question_definition::init_first_step into start_attempt and apply_attempt_state.

11 years agoMDL-47494 gapselect: Eliminate integer and boolean in PHPdoc comments. should be...
Tim Hunt [Wed, 23 Feb 2011 16:25:25 +0000 (16:25 +0000)]
MDL-47494 gapselect: Eliminate integer and boolean in PHPdoc comments. should be int and bool.

11 years agoMDL-47494 gapselect: Add missing defined('MOODLE_INTERNAL') || die();
Tim Hunt [Wed, 23 Feb 2011 15:03:35 +0000 (15:03 +0000)]
MDL-47494 gapselect: Add missing defined('MOODLE_INTERNAL') || die();

11 years agoMDL-47494 gapselect: Fix @package names and PHPdoc layout.
Tim Hunt [Wed, 23 Feb 2011 13:38:16 +0000 (13:38 +0000)]
MDL-47494 gapselect: Fix @package names and PHPdoc layout.

11 years agoMDL-47494 gapselect: Add @package and GPL boiler-plate to files in /question.
Tim Hunt [Tue, 22 Feb 2011 19:59:12 +0000 (19:59 +0000)]
MDL-47494 gapselect: Add @package and GPL boiler-plate to files in /question.

11 years agoMDL-47494 gapselect: Fix new stdClass -> stdClass(), and trailing whitespace.
Tim Hunt [Mon, 21 Feb 2011 18:10:19 +0000 (18:10 +0000)]
MDL-47494 gapselect: Fix new stdClass -> stdClass(), and trailing whitespace.

11 years agoMDL-47494 gapselect: Quiz editing now works, as does the random question type.
Tim Hunt [Thu, 10 Feb 2011 20:44:47 +0000 (20:44 +0000)]
MDL-47494 gapselect: Quiz editing now works, as does the random question type.

However, all this needs more testing.

Also, a bit of a purge of training whitespace and global .

11 years agoMDL-47494 gapselect: Images in questions now work in quiz attempts.
Tim Hunt [Wed, 9 Feb 2011 20:33:51 +0000 (20:33 +0000)]
MDL-47494 gapselect: Images in questions now work in quiz attempts.

11 years agoMDL-47494 gapselect: Finish making ddwtos work, mostly. Also various other JS fixes.
Tim Hunt [Wed, 2 Feb 2011 19:03:38 +0000 (19:03 +0000)]
MDL-47494 gapselect: Finish making ddwtos work, mostly. Also various other JS fixes.

This JavaScript really needs to be rewritten to use YUI3.

11 years agoMDL-47494 gapselect: ddwtos and gapselect qtypes now very nearly work.
Tim Hunt [Tue, 1 Feb 2011 23:44:40 +0000 (23:44 +0000)]
MDL-47494 gapselect: ddwtos and gapselect qtypes now very nearly work.

Todo rendering questions with files, and ddwtos javascript.

11 years agoMDL-47494 gapselect: Now all the unit tests for the the ddwtos and gapselect qtypes...
Tim Hunt [Tue, 1 Feb 2011 11:40:29 +0000 (11:40 +0000)]
MDL-47494 gapselect: Now all the unit tests for the the ddwtos and gapselect qtypes pass.

11 years agoMDL-47494 gapselect: More work on the ddwtos and gapselect qtypes.
Tim Hunt [Mon, 31 Jan 2011 18:07:38 +0000 (18:07 +0000)]
MDL-47494 gapselect: More work on the ddwtos and gapselect qtypes.

Now there are no longer fatal errors that break other qtypes, but these two qtypes still not work completely. More to come.

11 years agoMDL-47494 gapselect: work-in-progress converting the ddwtos and gapselect qtypes.
Tim Hunt [Fri, 28 Jan 2011 19:07:33 +0000 (19:07 +0000)]
MDL-47494 gapselect: work-in-progress converting the ddwtos and gapselect qtypes.