Petr Skoda
b6f3e4f8f0
Merge branch 'MDL-26098' of git://github.com/timhunt/moodle
2011-01-31 19:25:41 +01:00
Sam Hemelryk
3721781dfe
Merge branch 'MDL-26168' of git://github.com/timhunt/moodle
2011-01-31 13:50:21 +08:00
Tim Hunt
3fa5724a1f
javascript MDL-26098 manual grading was not working when quiz_attempts.id and question_attempts.id were out of synch.
2011-01-29 14:03:02 +00:00
Tim Hunt
3708abd0f2
javascript MDL-26098 make the review this question in a previous state popup work.
2011-01-29 13:59:51 +00:00
Tim Hunt
5bb96cf618
qtype_multianswer MDL-26168 fix invalid HTML from the editing form.
...
Fix by Tony Levi. Thanks.
2011-01-28 12:20:01 +00:00
Helen Foster
82b15e2811
MDL-21250 capital letters removal
...
Also some spotted leading and trailing whitespace was removed from some
strings.
2011-01-27 16:24:30 +01:00
Sam Hemelryk
912d099cc9
Merge branch 'MDL-25637'
2011-01-24 16:20:51 +08:00
Aparup Banerjee
b692e4aa29
Performance MDL-25637 moved static count/sizeof functions out of for loop conditions
2011-01-24 14:51:21 +08:00
Sam Hemelryk
e53a87dcb5
Merge branch 'MDL-25841' of git://github.com/timhunt/moodle
2011-01-24 10:31:34 +08:00
Tim Hunt
90c2f51031
qtype_multianswer MDL-25841 feedback pop-up was appearing in the wrong place.
...
It seems that overlib was getting confused by its div being inside another positioned div. The simplest solution is to not create the div at all. Then the overlib JS creates it when needed, and that works.
2011-01-18 23:30:40 +00:00
Tim Hunt
2c00fa161e
qformat_gift MDL-26059 fails to import truefalse questions with answer true.
2011-01-18 21:38:34 +00:00
Dongsheng Cai
365e53d1d4
QUESTION MDL-25219 fixed image links in description question type, credit to Sam Hemelryk
2011-01-06 15:29:07 +08: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
79b067e911
MDL-25362 adding isset() line 2292
2010-11-22 04:25:53 +00:00
Pierre Pichet
a3130f2cf7
MDL-25353 Correcting lang string
2010-11-21 04:55:25 +00:00
Tim Hunt
06f1bd03be
question XML import/export MDL-18916 Fix import of questions with images exported from Moodle 1.9.
...
Thanks again to Patrick Pollet
2010-11-19 14:24:18 +00:00
Tim Hunt
4f2900771d
question XML import/export MDL-18916 should include question tags.
2010-11-19 12:33:48 +00:00
Tim Hunt
4ec6d4e692
question export NOBUG delete obsolete code.
2010-11-19 12:16:23 +00:00
Tim Hunt
fe857668d4
NOBUG whitespace fixes.
2010-11-19 12:13:59 +00:00
Tim Hunt
6680966c84
qtype_multichoice MDL-25208 another problem with editing.
...
Thanks to Patrick Pollet for spotting this.
2010-11-19 11:36:15 +00:00
Tim Hunt
b80d424c50
question export MDL-25324 Better file names for question exports.
2010-11-19 11:02:28 +00:00
Tim Hunt
5b744492a6
gift import/export MDL-25088 another attempt at fixing it, this time with unit tests.
2010-11-19 10:27:29 +00:00
Tim Hunt
a5e8e6e5de
qtype multicoice xml export MDL-25208 / MDL-25104 revert incorrect change in qtype_multichoice and do a proper fix in XML export.
2010-11-19 09:35:54 +00:00
Dongsheng Cai
2c5b8e8ea3
"MDL-25104, fixed answernumbering parameter"
2010-11-19 08:08:39 +00:00
Tim Hunt
26f09e62e7
qtype multichoice MDL-25208 and another problem with saving Multiple choice questions.
2010-11-18 23:43:12 +00:00
Tim Hunt
679f7963cf
qtype_multichoice MDL-25208 fix my earlier screw-up
2010-11-18 22:39:09 +00:00
Tim Hunt
49da759b30
qtype_multichoice MDL-25208 problem with editing.
2010-11-18 17:59:23 +00:00
Dongsheng Cai
2675ca53f4
MDL-25104, fixed answertext in mulitchoice questoin type
2010-11-18 07:35:27 +00:00
Pierre Pichet
b800dc1990
MDL-25194 setting 'returnurl' and removing display of correctanswerfeedback... , left these only on calculatedmultichoice
2010-11-16 15:53:11 +00:00
Pierre Pichet
f9ce698969
MDL-25194 removing display of correctanswerfeedback... , left these only on calculatedmultichoice
2010-11-16 15:50:50 +00:00
Pierre Pichet
f065391d6d
MDL-25194 settig 'returnurl'
2010-11-16 15:47:42 +00:00
Pierre Pichet
f5382dd25e
MDL-25194 replace protected options of default_question_type by public optionsa defined in calculated.
...
the same parameter is used in calculatedsimple and caculatedmulti which extends question_calculated_qtype
2010-11-16 03:43:54 +00:00
Tim Hunt
8b1e050bd0
qtype multichoice MDL-25208 Saving questions was broken.
2010-11-15 17:17:48 +00:00
Tim Hunt
9dd460390c
question import MDL-25200 was ignoring the category specified in the file.
2010-11-15 15:27:24 +00:00
Pierre Pichet
ab152de445
MDL-25192 and MDL-25194 import and saving images using instructions ['files'] array
2010-11-15 14:14:43 +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
Pierre Pichet
710903a6b3
MDL-25104 correcting import_or_save_files() function
2010-11-12 20:30:09 +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
13bb604ed5
question export MDL-25088 this is the first part. I think question export is now working for all types.
...
Import to follow soon.
2010-11-12 12:06:48 +00:00
Helen Foster
b0363c4138
MDL-25151 new help string thanks to Mark Nelson for reporting it missing
2010-11-12 11:31:53 +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
cf991c1d85
question editing MDL-25151 Notices when editing random questions.
2010-11-12 10:23:29 +00:00
Pierre Pichet
a207b735a2
MDL-25168 decoding questiontext using new questiontext array [text]....
2010-11-12 02:45:30 +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
Pierre Pichet
c8fdd86791
MDL-25104 Fixing cloze import and export
2010-11-09 04:07:37 +00:00