Git commits in Moodle 2.1.2 by Tim Hunt

commit 0bfc2dde8f3ca4f129336f2f332ded6be49f0cef
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 04 Oct 2011 23:50:15 +0800
Tag:    v2.1.2

MDL-29644 qtype multianswer, hints lost doing Moodle XML export.

commit 8f40d27954cdabab1984591e0ff53ea78f6adb44
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 03 Oct 2011 23:38:34 +0800
Tag:    v2.1.2

MDL-28469 quiz settings pages should be pagelayout admin.

commit 22ba72591cde5c7c5c416afc00b21f021a39ad6f
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Sat, 01 Oct 2011 07:09:04 +0800
Tag:    v2.1.2

MDL-29216 multianswer qtype needs intereactive elements on the form.

commit 41be2f358711692c93d239a6f44abda94eb0e8df
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Sat, 01 Oct 2011 06:32:57 +0800
Tag:    v2.1.2

MDL-29341 qtype numerical/calc: display of mc units badly laid out.

commit ae3056cb006666aa78332e3941545264acc9fa24
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 30 Sep 2011 18:31:04 +0800
Tag:    v2.1.2

MDL-29520 question engine: work-around bad MySQL delete performance.

commit b99d21aaa9b1795ae9f9e2882afddb9af9c8a18d
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 30 Sep 2011 04:48:23 +0800
Tag:    v2.1.2

MDL-29511 cannot review previous steps of a question attempt since MDL-28679.

commit 778854eef522340f081ba68befaec343a10747e9
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 30 Sep 2011 04:46:39 +0800
Tag:    v2.1.2

MDL-29511 Fix problems on the quiz review questions page found while investigating this bug.

commit 74969d8866e9a918a617fd0cd3ca2bafd299cdde
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 29 Sep 2011 19:25:10 +0800
Tag:    v2.1.2

MDL-29571 questions: improve class=accesshide screen-reader hints.

commit 5e69fe49718b0095926bf5a97c96eed130ba7a89
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 29 Sep 2011 19:21:18 +0800
Tag:    v2.1.2

MDL-29571 qtype description refactor unit test code a bit.

commit 8258ddff3bfa5cd97b87dd56252176ce5b9e7e5a
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 29 Sep 2011 16:06:11 +0800
Tag:    v2.1.2

MDL-29570 Quiz editing page displays the wrong time in the status line sometimes.

commit fa8843c424f8a1fd9c1511b178593bac580ff920
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 28 Sep 2011 01:05:38 +0800
Tag:    v2.1.2

MDL-29548 allow message plugins to control message defaults.

commit f8431a1933d634d055a8b8e837b98bc11a826716
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 26 Sep 2011 20:28:01 +0800
Tag:    v2.1.2

MDL-29528 qtype multichoice and caclulated combined feedback format overwritten during upgrade.

commit 51fd4dd2612ac5c03423f2d10fc3f540e85762af
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 23 Sep 2011 19:48:24 +0800
Tag:    v2.1.2

MDL-29493 questions should be createable with defaultmark a float.

commit dddcaf6b6b5d27d7f2b2d0e9f63860fb7490236b
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 23 Sep 2011 19:05:47 +0800
Tag:    v2.1.2

MDL-29484 qformat xml tests failing.

commit 5d81093e3ca85ba8a6e634fd06ca5a9aba163b76
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 23 Sep 2011 01:12:43 +0800
Tag:    v2.1.2

MDL-29427 quiz nav: information items should should have a state tooltip

commit a9384ab0d0452717f280f04818e01fe98c7ef949
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 23 Sep 2011 00:56:02 +0800
Tag:    v2.1.2

MDL-29428 quiz navigation panel should use 'This page' (accessibility improvement)

commit 74ca90e5fb556cf44f4e1871194c5de625fb40a1
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 21 Sep 2011 23:07:09 +0800
Tag:    v2.1.2

MDL-29464 quiz add random question popup does not update sumgrades.

commit e6674da8ff87cc4e448b902c3abf65b79e6a5a89
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 21 Sep 2011 22:31:12 +0800
Tag:    v2.1.2

MDL-28424 Reviewing a quiz in 'secure mode' gives a fatal error.

commit 4e92a71fb35240c05cf7cbd3c0fd246040bdf47f
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 21 Sep 2011 21:37:50 +0800
Tag:    v2.1.2

MDL-29462 html_to_text('0') gives '', not '0'.

commit 08d1ba7106bff693a0a4ed4db288c07f4cfbe190
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 16 Sep 2011 23:05:12 +0800
Tag:    v2.1.2

MDL-28679 question response history displays states incorrectly.

commit 25aa44ea97aadc4d752099228fc5a37b48b7b301
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 15 Sep 2011 03:44:13 +0800
Tag:    v2.1.2

MDL-28259 Individual answers Feedback not shown in Cloze questions

commit 4394f91b264f98617b65461e8e21252dfea71984
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 15 Sep 2011 03:25:31 +0800
Tag:    v2.1.2

MDL-29360 quiz comment.php has broken JS for the Cancel button.

commit e9197a371161e5a3ce9cb3d4036bb82530e9ddaf
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 15 Sep 2011 02:01:18 +0800
Tag:    v2.1.2

MDL-29366 qtype_essay import/export as Moodle XML loses files from graderinfo

commit 84de2336fb3988ce7add7c86af09b76622651977
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Sun, 28 Aug 2011 17:21:15 +0800
Tag:    v2.1.2

MDL-26567 no grade category option on the quiz settings form.

commit 362d5c1ed17d4fcc22e3a99a6b5bb0956324bddb
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Sat, 27 Aug 2011 00:01:06 +0800
Tag:    v2.1.2

MDL-29141 question bank show question text checkbox does not match state.

commit 15e62463594580dcf41478e3f99b9068436e8651
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 25 Aug 2011 17:50:00 +0800
Tag:    v2.1.2

MDL-29111 quiz was passing 0 to ->review_url when it should have been null.

commit e9f707d38a9bc5b43a9beb63b905e423223b5246
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 24 Aug 2011 23:00:37 +0800
Tag:    v2.1.2

MDL-28684 fix failing unit test - which means fix the acutal code.

commit 0570e81ecbd790de20eeac166961dcd437aef89e
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 23 Aug 2011 15:53:32 +0800
Tag:    v2.1.2

MDL-29062 qtype multianswer refers to old name for the question_delete_questions function.

commit 5ce736caa8ae588f559624f14c90eaee6e0cdbd8
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 23 Aug 2011 15:36:52 +0800
Tag:    v2.1.2

MDL-29064 qtype multianswer, question text should be a required field.

commit 6310adb3f48f8a41fa9984cc4e1b44ce61e61013
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 23 Aug 2011 06:31:50 +0800
Tag:    v2.1.2

MDL-28564 question type importing, improve Jamie's fix.

commit 60854b669a90ece1bea32b917c027b7518127c62
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 23 Aug 2011 05:35:05 +0800
Tag:    v2.1.2

MDL-28241 editing multianswer questions broken since the fix for MDL-24594.

commit 3d233b9dabb7c8b46ee39b175fe4df9b9a98339a
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Sat, 20 Aug 2011 20:14:07 +0800
Tag:    v2.1.2

MDL-28444 unit test to verify the fix.

commit da45306da58f535f54c30a6e6f58b32ea35d632c
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 19 Aug 2011 02:26:04 +0800
Tag:    v2.1.2

MDL-28996 Quiz view page list of attempts table is sometimes missing a cell.

commit 96bab3e01d541bf57f3103dc8acd8ddf0a0cceb2
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 17 Aug 2011 23:54:23 +0800
Tag:    v2.1.2

MDL-28979 qtype match: correct answer formatted badly.

commit cb5a7bba89c46a83fa7924dc60c71c2470d496cc
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 17 Aug 2011 21:40:05 +0800
Tag:    v2.1.2

MDL-28976 quiz was passing 0 to ->attempt_url when it should have been null.

commit 0a20ddbe7dcab2941931b74ee670dffb01218765
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 17 Aug 2011 20:51:01 +0800
Tag:    v2.1.2

MDL-28975 question engine, JavaScript error in IE.

commit 8c412f122cc6acd0965c99190c0c16400554ccb4
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 17 Aug 2011 19:33:00 +0800
Tag:    v2.1.2

MDL-28942 qtype multichoice, multi-response. Avoid computing the wrong random guess score.

commit 3575052f81a64d865c94eefc1765aba254bd9eee
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 16 Aug 2011 18:36:54 +0800
Tag:    v2.1.2

MDL-28687 questions avoid fatal errors when reviewing attempts at deleted questions.

commit 5e54da0a69ba059028353174e7257e4bebdd03ab
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 16 Aug 2011 01:47:03 +0800
Tag:    v2.1.2

MDL-21934 Removing all questions from the quiz should not delet overall feedback.

commit 7f10fbbf5f9b16b2405d2a1e2dc88b9d7b0c863a
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 15 Aug 2011 23:09:47 +0800
Tag:    v2.1.2

MDL-28349 error when GIFT-importing essay questions.

commit e67a234c98d069c1779b1400705dc941aacf28fe
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 15 Aug 2011 22:18:21 +0800
Tag:    v2.1.2

MDL-28365 Move question lang string to the right file

commit 80e3f000910f4c829d196ec1e812eb55fa5d08eb
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 15 Aug 2011 22:11:51 +0800
Tag:    v2.1.2

MDL-28939 Bad lang string reference in grade/import/csv.

commit d3fd75d21d41f893bda09c86f62c9d95fda67b18
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 15 Aug 2011 21:55:50 +0800
Tag:    v2.1.2

MDL-28639 question import should set timemodified and modified by.

commit 8ad92a30f12783ebcca5ef3430e0994b7f20ee6f
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 15 Aug 2011 21:42:48 +0800
Tag:    v2.1.2

MDL-28438 Aiken question import broken since MDL-24594.

commit 643e2728df4848eadc5e304082624ecef64ec763
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Sat, 13 Aug 2011 02:11:45 +0800
Tag:    v2.1.2

MDL-28737 advcheckboxes toggle state every submit if checkbox_controller present.

commit dc4bff71a21182799ff2556d8a92ec883a7e34db
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 09 Aug 2011 18:28:15 +0800
Tag:    v2.1.2

MDL-28653 question output. Add a class to the main div based on question state.

commit 269c6535607f72a8dc9aa1cc55c8fe7ef0cbbe8c
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 08 Aug 2011 23:39:58 +0800
Tag:    v2.1.2

MDL-28654 fix path for TinyMCE in lib/thirdpartylibs.xml.

commit 65be66e4d43ac820ff1c1621c49fac89689dd9a5
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 08 Aug 2011 20:13:37 +0800
Tag:    v2.1.2

MDL-28652 qtype calculated, bad display of placeholder names on the editing form.

commit c5fe3d7490967dd2c093d51ab7fa248bb69f5ff1
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 05 Aug 2011 23:45:17 +0800
Tag:    v2.1.2

MDL-28618 question combined feedback: inconsistency in file areas.

commit e3b8930087a31d281d38ec9f740545b51caba03f
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 05 Aug 2011 15:50:08 +0800
Tag:    v2.1.2

MDL-28593 Missing include breaks editing quiz grade item.

commit 788e2b30a576dce0690d60ca0cbaae6263e65917
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 05 Aug 2011 01:13:29 +0800
Tag:    v2.1.2

MDL-28612 Quiz statistics report does not always show the 'Actual response' column when it should

commit f97a14ba270bc2c19f6acd873d820c695cdad78d
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 04 Aug 2011 21:11:32 +0800
Tag:    v2.1.2

MDL-28602 Quiz review reports the wrong duration.

commit 3e1d47f2cc91887b8a0fb32e470b0620d7f41238
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 04 Aug 2011 20:53:02 +0800
Tag:    v2.1.2

MDL-28604 Question bank display forgets sort order

commit a637417d78d0900a1ad0785fc8cea0d3a57f4fd0
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 28 Jul 2011 18:50:42 +0800
Tag:    v2.1.2

MDL-28508 bad string trunction in Aiken format.

commit bae927bebddd13d0d1958fd1605cfe1defe953f9
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 28 Jul 2011 18:16:37 +0800
Tag:    v2.1.2

MDL-28507 fix bad lang string uses, and remove two obsolete strings.

commit 01528075a2276a84fb403c19333671f59d9681eb
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 28 Jul 2011 00:26:02 +0800
Tag:    v2.1.2

MDL-28338 fix stupid '\n's in the quiz renderer

commit e12ec6169a11b0b3b557c291136e1936eac10c45
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 28 Jul 2011 00:25:18 +0800
Tag:    v2.1.2

MDL-28490 Better class names in the statistics report to help themes.

commit 41f17b384fcf779d7c5cb21bbc6f81ae363ff7c4
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 22 Jul 2011 21:22:35 +0800
Tag:    v2.1.2

MDL-28080 coding_exception for over-long placeholder names.

commit 6d9ae2adf04df72e43365d541846a429fd7d9fed
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 07 Jul 2011 20:11:00 +0800
Tag:    v2.1.2

MDL-28226 quiz locallib. Fix PHPdoc comment and code to make the API clearer.