Commit Graph

19 Commits

Author SHA1 Message Date
jamiesensei 6e9b6ba207 numerical and random question type creation form migrated to formslib 2007-01-07 16:10:42 +00:00
tjhunt 55894a4205 MDL-7928 - Numerical question type should use * for the match anything answer. Merged from MOODLE_17_STABLE. 2006-12-15 18:30:39 +00:00
tjhunt a4d79b0eb5 MDL-7567 Numerical questions occasionally mix up the order of their answers. Merged from MOODLE_16_STABLE. 2006-11-15 16:58:44 +00:00
stronk7 5d0fc5c33d Deprecating old "upgrade" files. MDL-7214
Merged from MOODLE_17_STABLE
2006-10-26 22:46:02 +00:00
stronk7 3aac1dc9a0 Deprecating old "upgrade" files. MDL-7214
Merged from MOODLE_17_STABLE
2006-10-26 22:39:10 +00:00
stronk7 dfdd533230 New upgrade.php file added for this module. MDL-7214 2006-10-26 18:12:42 +00:00
tjhunt 026bec73b8 Fix bug with numerical questions with multiple answers. Merged from MOODLE_17_STABLE. 2006-10-17 15:56:52 +00:00
tjhunt a21567892f Refactor how question types register themselves with the question bank. This change makes it easier for 3rd party question types to control their destiny, but is also backwards compatible, in that old 3rd party plugins will still work. See http://moodle.org/mod/forum/discuss.php?d=51796 for more details. 2006-08-15 21:25:38 +00:00
stronk7 d236d4f577 Initial version of the XMLDB file for this plugin 2006-08-12 22:26:05 +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 5a14d563b9 Bug #5972 - Some question types mark a blank answer inconsistently.
Also, cleaned up the marking code for numerical and short answer questions, partly by making the base-class method more useful.

Rewrote the way the way short answer questions do wildcard matching to be more robust, Unicode safe, and generally not suck.

This is a big change, so I am pleased to report I tested it using my new Selinium  test suite. See: http://moodle.org/mod/forum/discuss.php?d=51161
2006-08-04 16:53:43 +00:00
tjhunt fad28a7451 More unit tests for numerical question type. 2006-07-27 08:32:50 +00:00
tjhunt 22f2f41810 Start of unit tests for numerical question type. 2006-07-25 07:08:21 +00:00
tjhunt 1fe641f7b4 Bug 5968 - Improvements to the numerical question type. You can now display feedback for wrong answers. You can also award partial credit for different levels of accuracy. 2006-07-12 17:49:14 +00:00
moodler d87a9d7338 Fixed the upgrade_plugins function so that it automatically
handles the .sql file for first installation (just like activities)
2006-04-16 16:50:55 +00:00
gustav_delius 7baa9c8016 Fixing the name of the PostgreSQL files 2006-04-05 06:11:40 +00:00
gustav_delius 223ad0b94b Better fix for bug 3225 that is reading the precision setting from php.ini, contributed by Paulo 2006-03-28 07:39:36 +00:00
gustav_delius 5eae68aa2a Fixed tolerance problem, see bug 3225 2006-03-27 16:38:44 +00:00
gustav_delius aaae75b04f Renaming question/questiontypes/ to question/types/ as requested by Martin 2006-03-24 19:54:13 +00:00