Tim Hunt
068b4594ba
MDL-20636 Conversion of the shortanswer question type to the new question engine.
...
This commit includes minor bug fixes elsewhere in the system.
2011-01-13 18:35:49 +00:00
Pierre Pichet
fe75941008
MDL-25535 Testing default values when editing numerical options
2010-12-03 14:57:30 +00:00
Tim Hunt
94dbfb3a82
quiz editing MDL-24750 The Add random button should also let you add questions from an existing category.
...
Also includes a fix for MDL-24749 by Sam Hemelryk. Thanks Sam.
This commit also includes a certain amount of code cleaning up.
2010-11-22 09:52:42 +00:00
Pierre Pichet
dec3f2128b
MDL-25192 editing and saving instructions image usng question->id
2010-11-15 14:09:19 +00:00
Dongsheng Cai
41dcc2a508
MDL-25220 Question editors need to support subdirs
2010-11-15 06:37:13 +00:00
Petr Skoda
785d2cf2bd
MDL-25031 fixed question ugprade - credit goes to Mark Nelson
2010-11-15 05:53:22 +00:00
Pierre Pichet
b21aea7408
MDL-25104 removing unnecessary $options = array_shift($oldoptions) line 192 that generates 2 question_numerical records,
...
this was added by inadvertence in the last many lines modifications
2010-11-14 03:51:35 +00:00
Tim Hunt
69988ed452
questions MDL-25104 and MDL-25088 fix question editing and import
...
Editing of some qtypes was broken since a previous commit by me earlier in the week.
Import of XML and GIFT should now work, but could use some more testing.
2010-11-12 17:11:34 +00:00
Tim Hunt
9203b70576
question deletion MDL-25173 when a question is deleted, all the associated files must be deleted.
2010-11-12 11:29:53 +00:00
Tim Hunt
5d548d3e0a
question bank MDL-24995 clean up a lot of deprecated code to do with moving questions around.
...
This should also fix MDL-25172, MDL-23021 and MDL-23073. In other words, moving questions between categories should now work.
2010-11-11 21:54:22 +00:00
Tim Hunt
a9efae50e3
question upgrade MDL-16094 fix up earlier mistakes in the text format upgrade.
...
There was a mistake in the text format upgrade in the question bank. The wrong conversions were performed, and the wrong arguments were passed to text_to_html in the conversions that were done.
Also, not all the calls to format_text had been updated to use the values in the new format columns.
I think this change fixes everything, but I have only had very limited time to test it. I am committing it anyway, because that seems to me to be the best way to maximise testing. I think that the new code is certainly better than the old code was.
2010-11-11 17:32:25 +00:00
Tim Hunt
2ed801777a
question XML import MDL-25104 fix a whole bunch of minor errors.
2010-11-08 17:25:53 +00:00
Pierre Pichet
22f17bcaff
MDL-25086 numerical options for numerical questions, calculated and 1,9 import without images...
2010-11-06 15:38:36 +00:00
Dongsheng Cai
cde2709a88
MDL-15573, question export rewrite
2010-11-05 06:34:00 +00:00
Pierre Pichet
d8741145e8
MDL-24503 eliminating diagnostic echo or print_r()
2010-11-02 13:28:06 +00:00
Sam Marshall
152f2c0777
Unit tests MDL-24994 Numerical question unit test was broken
2010-11-01 15:46:58 +00:00
Pierre Pichet
8f609a37cf
MDL-10110 MDL-20296 improve grading when unit input is empty
2010-10-31 13:27:58 +00:00
Pierre Pichet
92b3600575
MDL-24503 recoding unit grading options
2010-10-30 15:14:57 +00:00
Eloy Lafuente
41941110fd
MDL-22138 backup - I know smaller cathedrals than this, yay quizzes!
2010-10-24 10:43:42 +00:00
Pierre Pichet
5fe5e8ac5b
MDL-23825 reactivating disabledif calls as they are working again
2010-10-02 01:59:17 +00:00
Petr Skoda
7f38934243
MDL-24321 switching to stdClass in /question/ - I am sure Tim will be very happy
2010-09-21 08:20:46 +00:00
Eloy Lafuente
1eb2aa184a
MDL-22138 backup - calculated and numericals
2010-09-21 01:44:35 +00:00
Eloy Lafuente
7660715f65
MDL-22164 backup - finished cleaning of questions backup code
2010-09-21 00:23:26 +00:00
Eloy Lafuente
215bfaf369
MDL-22164 backup - cleaning questions from old backup code
2010-09-20 21:30:01 +00:00
Petr Skoda
ef14c1e724
MDL-24090 new detection of plugins that were not upgraded to work with Moodle 2.x (uses $plugin->requires) + bumping ancient versions of plugins
2010-09-05 20:36:18 +00:00
Petr Skoda
f685e83030
MDL-14679 fixed remaining old style set_field()s
2010-09-03 18:14:55 +00:00
Petr Skoda
de08803f6c
MDL-24058 removing unnecessary addslashes
2010-09-02 12:41:30 +00:00
Pierre Pichet
f266594ce4
MDL-23825 commented disabledif calls until this bug is solved so that calcualted and numerical questions can be edited
2010-08-24 15:32:02 +00:00
Pierre Pichet
25c9ac33fd
remove no more used string 'decfractionof'
2010-08-24 15:04:26 +00:00
Petr Skoda
0c3c54934a
MDL-23784 converted question types to use new pix API and locations
2010-08-12 19:01:28 +00:00
Dongsheng Cai
fe6ce23489
MDL-16094 File storage conversion Quiz and Questions
2010-08-10 09:56:48 +00:00
David Mudrak
5fcefc9728
MDL-21695 question: replaced help files with new help strings
...
AMOS BEGIN
HLP question/categoryparent.html,[parentcategory_help,core_question]
HLP question/categories.html,[editcategories_help,core_question]
HLP quiz/export.html,[exportquestions_help,core_question]
HLP quiz/exportcategory.html,[exportcategory_help,core_question]
HLP quiz/exportcategory.html,[exportcategory_help,core_question]
HLP quiz/importcategory.html,[importcategory_help,core_question]
HLP quiz/matchgrades.html,[matchgrades_help,core_question]
HLP quiz/quiz/stoponerror.html,[stoponerror_help,core_question]
HLP qtype_multichoice/multichoiceshuffle.html,[shuffleanswers_help,qtype_multichoice]
HLP quiz/matchshuffle.html,[shuffle_help,qtype_match]
HLP quiz/generalfeedback.html,[generalfeedback_help,mod_quiz]
AMOS END
2010-08-02 21:24:32 +00:00
Tim Hunt
c95ce1dc52
NOBUG qtype numerical fix unit test.
2010-07-28 15:03:04 +00:00
Petr Skoda
2e0406a53a
repeating upgrade typo fixed
2010-07-06 16:10:17 +00:00
Petr Skoda
a4cdd6d2c8
MDL-23068 removing obsolete $result and removing empty upgrade files that would be probably never used at all + minor cleanup/fixing
2010-07-04 10:27:56 +00:00
Pierre Pichet
46a8f8ee8f
MDL-20296 correcting the display (the ||| separator was visible) better test line 431
2010-06-12 02:55:38 +00:00
Pierre Pichet
49580a59d1
MDL-20296 add isset() tests in function split_old_answer () lines 358-362
2010-06-04 12:28:45 +00:00
Pierre Pichet
b79c7c289b
MDL-20296 correcting fill with correct display in preview
2010-06-04 03:53:02 +00:00
Pierre Pichet
eb1284a2c7
MDL-20296 cleaning code
2010-05-26 04:14:31 +00:00
Pierre Pichet
4433c6c407
MDL-22578 temporary fix of explorer and safari display of numerical unit choice (radio elements)
2010-05-26 04:11:55 +00:00
Pierre Pichet
327b0d444d
MDL-20296 using $state->options->raw_unitpenalty to display the unit penalty
2010-05-25 17:17:46 +00:00
Helen Foster
c96e53b75e
MDL-21695 adding help and link strings
2010-05-25 13:08:55 +00:00
Pierre Pichet
1285531b81
MDL-20296 some parameters were undefined
2010-05-22 02:39:05 +00:00
Pierre Pichet
ca3ede76c8
MDL_22350 put a div class = "que numerical clearfix"> to enclose the answer and unit elements so that the display does not change for calculated simple
2010-05-22 02:33:49 +00:00
Pierre Pichet
960ac99bf6
MDL-20296 correcting Correct response display
2010-05-21 13:07:58 +00:00
Pierre Pichet
94909089f3
MDL-20296 improving grading for numerical and transform diplay.html as independent of the analoguous shortanswer file
2010-05-21 01:31:35 +00:00
Pierre Pichet
f1ee48c891
MDL-20296 creating common functions to handle units in numerical, calculated and calculatedsimple edit forms
...
and improving grading and rendering
2010-05-21 01:28:49 +00:00
Pierre Pichet
4d2657c28f
MDL-20296 creating common functions to handle units in numerical, calculated and calculatedsimple edit forms
2010-05-21 01:26:46 +00:00
Pierre Pichet
654583b122
MDL-20296 improving grading for numerical
2010-05-21 01:24:07 +00:00
Pierre Pichet
37fcb55832
MDL-20296 small correction to numericalmultiplier string
2010-05-13 15:08:21 +00:00