Git commits in Moodle 2.2.0 by Tim Hunt

commit 3385a144b82dfa1f3c07cf5791be103177fb4611
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 29 Nov 2011 01:26:17 +0800
Tag:    v2.2.0-rc1

MDL-30485 XML import from 1.9 does not handle files in subfolders.

commit 2ecbad416e99aeec63161c4a744824b00d63e668
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 22 Nov 2011 15:21:04 +0800
Tag:    v2.2.0-rc1

MDL-30397 qformat_xml::format() should be public.

commit 7e7fdf59c6168a03421b32a44a6b963cc9f91c5d
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Sun, 20 Nov 2011 19:49:41 +0800
Tag:    v2.2.0-rc1

MDL-29060 q export: writefiles should be public write_files & belongs to XML format.

commit fa2fa5c698f68bd6ae7684fcae3a888d7f9aa26a
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 18 Nov 2011 00:42:13 +0800
Tag:    v2.2.0-rc1

MDL-30335 formslib: fix repeat_elements for groups that don't appendName

commit 7d087744cb9c4d468bd4454f0b3e3e7e424c4377
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 17 Nov 2011 22:35:57 +0800
Tag:    v2.2.0-rc1

MDL-30322 qtypes calc* and mulitanswer -> optional_param_array.

commit 8f6384a9ecaeb445011e496e341ae7e2a5eb8f9e
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 17 Nov 2011 19:29:25 +0800
Tag:    v2.2.0-rc1

MDL-27045 formslib: fix disabledif for advcheckbox

commit 0850e6301a7abb9b9f2a72cffdb9cc39eeb0e8b6
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 17 Nov 2011 16:02:20 +0800
Tag:    v2.2.0-rc1

MDL-30182 fix missing include. Sorry.

commit fc2dafcff5f6e74355c4968d096b2be0de254c37
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 17 Nov 2011 02:31:27 +0800
Tag:    v2.2.0-rc1

MDL-30306 get_string developer warning. Help lazy developers.

commit 3d17cd3f1ca118ac681074252485aee7ad70b1d8
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 16 Nov 2011 19:07:35 +0800
Tag:    v2.2.0-rc1

MDL-30300 qbehaviours: convert to the new is_compatible_question API.

commit 15d660a8fd44249c9237630edfd6ccf399f5a7f1
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 16 Nov 2011 18:52:19 +0800
Tag:    v2.2.0-rc1

MDL-30300 question behaviours: improve q compatibility API.

commit 1dd21f4058d0cb8e9ddf825cabe16ba936ead92a
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 11 Nov 2011 19:40:07 +0800
Tag:    v2.2.0-beta

MDL-29945 incorrect logic when testing if a qtype can be uninstalled.

commit 7238cd2ef0f51fe39478fe5dd7493cc675a50711
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 10 Nov 2011 20:51:24 +0800
Tag:    v2.2.0-rc1

MDL-30209 quiz refers to wrong rendere method in two places.

commit 08502b574dae47e00b02ab6ef538303d626fd2b9
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 09 Nov 2011 21:56:03 +0800
Tag:    v2.2.0-rc1

MDL-30182 quiz grade.php should support userid param.

commit 0f7477c07f7b69189e7477c00e44a6cab1cd91a6
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 09 Nov 2011 20:51:01 +0800
Tag:    v2.2.0-rc1

MDL-30199 qtype numerical etc. Don't require tolerance for answer *.

commit cb1564b1ce5eeb793b8be81020f3190489ec306f
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 09 Nov 2011 19:45:02 +0800
Tag:    v2.2.0-rc1

MDL-29743 quiz: Finish attempt link didn't save responses in some brosers.

commit 94c0ec215925dd52a5c8ea8ba59e62ef7c236c5d
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 09 Nov 2011 00:53:15 +0800
Tag:    v2.2.0-rc1

MDL-30185 question engine reporting: add redundant where to query for perf.

commit f7094147b14befe00600eae4eb10c4bd8535e1a0
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 08 Nov 2011 23:57:18 +0800
Tag:    v2.2.0-rc1

MDL-30186 qtype editing forms should use advcheckbox.

commit 5cc021a00b43722379a10fb6905314defeff016e
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 08 Nov 2011 23:12:58 +0800
Tag:    v2.2.0-rc1

MDL-30069 Question type icons missing in lots of places.

commit 6c314a368113c07a8d7da0aeac04771520413132
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 07 Nov 2011 20:36:19 +0800
Tag:    v2.2.0-rc1

MDL-30167 qtype_numerical: notice when required unit is not in the answer.

commit 4a84c94bec07d7947d1e5365b7714bda26069b18
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 07 Nov 2011 19:31:27 +0800
Tag:    v2.2.0-beta

MDL-30135 question formats: trans_format/get_format should be public.

commit 9d5687893a061b9407f0714fde700afc0d2e3f07
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Sat, 05 Nov 2011 06:57:17 +0800
Tag:    v2.2.0-beta

MDL-30145 Quiz intro not displayed on the password page

commit f484a62984cab5db3b3f1fd781b70177ccb56fd9
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 04 Nov 2011 23:02:29 +0800
Tag:    v2.2.0-beta

MDL-30137 question engine: Ugglify the SQL to appease MS SQL server.

commit 226b312472b4b092a3bbacbff94254717ff84d3f
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 04 Nov 2011 00:44:26 +0800
Tag:    v2.2.0-beta

MDL-29808 qtypes: use standard pluginname strings and update version.php

commit 646791794dd7db1966888bb0a80181d5160213dc
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 03 Nov 2011 19:16:14 +0800
Tag:    v2.2.0-beta

MDL-29808 qformats: use standard pluginname string and add version.php

commit 75a31c9039b1f06f6d1dca7b07282117de83aa41
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 03 Nov 2011 01:13:11 +0800
Tag:    v2.2.0-beta

MDL-29808 qbehaviours: update to use ->dependencies in version.php

commit 828788f03b3829fad7ebbc5ee02a9c64b5eaeab0
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 02 Nov 2011 23:57:25 +0800
Tag:    v2.2.0-beta

MDL-29945 plugin management: don't show Uninstall links for required plugins.

commit de529cd253720b637c1b5022034f53e1c528b93a
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 02 Nov 2011 19:46:26 +0800
Tag:    v2.2.0-beta

MDL-30021 qtype numerical better showunits default when coming from 1.9

commit 78f8261f6e0809f6c7c7bbc6085f55a031e141d9
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 01 Nov 2011 18:37:48 +0800
Tag:    v2.2.0-beta

MDL-29879 qbehaviour missing. Fix bad lang string.

commit bbc8c321742058526caf6745e8cdbafdf46d272c
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 01 Nov 2011 02:29:06 +0800
Tag:    v2.2.0-beta

MDL-28426 qtype base export_to_xml does not write format.

commit 78fc17ebdfd9f243856e8398370ca2e1c5e4f4b1
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 01 Nov 2011 02:17:11 +0800
Tag:    v2.2.0-beta

MDL-29058 question export: include files from hints & combined feedback.

commit fe5f4121043223f40ead444ddf4b23955139e6a0
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 01 Nov 2011 02:03:02 +0800
Tag:    v2.2.0-beta

MDL-29739 question import used a bad default for text formats.

commit a49e92a4e993eee50c826265add910f9310d1e90
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 31 Oct 2011 23:35:07 +0800
Tag:    v2.2.0-beta

MDL-29164 question import, missing lang string.

commit d68f4d8b9fdc1fabd5220e9fb666761d1f245c13
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 28 Oct 2011 20:28:31 +0800
Tag:    v2.2.0-beta

MDL-29983 fix question_type::local_name

commit bed495578f0788d0c3633043e4495478bd89336f
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 25 Oct 2011 21:49:57 +0800
Tag:    v2.2.0-beta

MDL-29854 questions: display better message and more useful continue

commit 442a3c0b629bbd3d7c0f036b6f648c21a17afed2
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 24 Oct 2011 23:19:46 +0800
Tag:    v2.2.0-beta

MDL-29906 quiz statistics report: replace use of deprectaed helpbutton.

commit deef04a44e49e610e100462cba2f3ac524966e5d
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 24 Oct 2011 18:08:10 +0800
Tag:    v2.2.0-beta

MDL-29339 Manually cast objects to string before calling dmllib.

commit 777781d16e09c4b263d1c49eccef52d5976913d2
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 19 Oct 2011 22:43:49 +0800
Tag:    v2.2.0-beta

MDL-29474 plugin dependencies: fix misspelling dependancies.

commit 3ba28588534717df79653afa5c00b82ee573db9a
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 19 Oct 2011 21:20:13 +0800
Tag:    v2.2.0-beta

MDL-29474 admin/index.php consistent use of die();

commit faadd32696237e93500bfec7feadabfd90517058
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 19 Oct 2011 20:47:02 +0800
Tag:    v2.2.0-beta

MDL-29474 prevent install/upgrade if plugin dependancies not met.

commit cc359566fe264e2aa86c53ea31184f6cb8f5d0b7
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 19 Oct 2011 20:24:11 +0800
Tag:    v2.2.0-beta

MDL-29474 admin index/plugins/environment pages: all ouptut code -> renderer.

commit 99e1a8d21be264846cb3c5fc9d73a88cc55ddebb
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 19 Oct 2011 19:14:11 +0800
Tag:    v2.2.0-beta

MDL-29474 admin envrionment page: fix boilerplate and indent.

commit 987541952fe8fe608b1b79a80d34a31e53c9e774
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 19 Oct 2011 16:09:40 +0800
Tag:    v2.2.0-beta

MDL-29828 quiz review: fix display of overdue time.

commit 304f0d850f5225adcd1ae8489b36c96857b395e2
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 19 Oct 2011 04:06:39 +0800
Tag:    v2.2.0-beta

MDL-29815 question engine DB: bad group-by clause detected by Oracle.

commit da2fdc3f341fd216ec509b3c9f3bdd04d181f2c6
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 18 Oct 2011 22:50:36 +0800
Tag:    v2.2.0-beta

MDL-29474 update more of the admin code to use the admin renderer.

commit 0e2274c382d1ac0d0b8622ef1b23007e7cf00d4b
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 18 Oct 2011 15:39:28 +0800
Tag:    v2.2.0-beta

MDL-28491 fix notice because $page was undefined.

commit e4df79dd9ce2f0a81075aafcaaa6c446387c6204
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 18 Oct 2011 15:22:05 +0800
Tag:    v2.2.0-beta

MDL-29627 quiz access rules: quiz edit settings was broken with no custom rules installed.

commit 613002ced424937782fa42d6ec1ba868bf5dc87d
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 18 Oct 2011 07:39:22 +0800
Tag:    v2.2.0-beta

MDL-29627 quiz access rules: fix two little problems found during integration.

commit 6fd1995d3bce55ef828c0530404dac9c7d85e0cd
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 18 Oct 2011 06:53:53 +0800
Tag:    v2.2.0-beta

MDL-28614 questions: remove another obsolete editing_head_contributions fn.

commit 36ca62cab780911e64358ad50f72644f3cbcfe25
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 18 Oct 2011 00:17:20 +0800
Tag:    v2.2.0-beta

MDL-29474 display the dependancy information on the upgrade screen.

commit e61aaece640b334b4b23c59c3613cfdd369d34ea
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 18 Oct 2011 00:11:41 +0800
Tag:    v2.2.0-beta

MDL-29474 pluginlib: rename plugintype_interface to plugin_information.

commit 0242bdc759425d517862b550b44e0746d76b1b26
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 17 Oct 2011 23:07:40 +0800
Tag:    v2.2.0-beta

MDL-29474 pluginlib.php: Code to load the dependancy information and make it available.

commit 44a7f3840d0f31289efd433cd94a910c5307177f
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 17 Oct 2011 21:41:42 +0800
Tag:    v2.2.0-beta

MDL-29474 fix qtype and qbehaviour plugins to use proper pluginname strings.

commit 6740c6058ecbb2209c26b2fdbcb7aaab6921cd92
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 17 Oct 2011 21:18:34 +0800
Tag:    v2.2.0-beta

MDL-29474 pluginlib.php: fix get_settings_url implimentation.

commit 473289a097fbd025aad00450e6a0180db13937ee
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 17 Oct 2011 20:58:54 +0800
Tag:    v2.2.0-beta

MDL-29474 pluginlib.php: refactor the code to eliminate some duplication.

commit b8343e68f0f225bb0f8b04730725fc96017f932f
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 17 Oct 2011 20:14:44 +0800
Tag:    v2.2.0-beta

MDL-29474 lib/pluginlib.php improve method names.

commit 1b796a2700f148747e11b31d8ca6948164a4ab7b
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 17 Oct 2011 19:06:44 +0800
Tag:    v2.2.0-beta

MDL-28491 diplay the quiz navigation on the summary page.

commit 46e40567fa46c0f5285a168ccc66eaac6e51ae3f
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 17 Oct 2011 18:42:41 +0800
Tag:    v2.2.0-beta

MDL-28614 qtypes: get_editing_head_contributions not used any more. Remove from base class.

commit 891df4a949530b336eb93b8df91b2ba3105b0808
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 17 Oct 2011 18:28:49 +0800
Tag:    v2.2.0-beta

MDL-28613 question CSS. Some text in the grey info box is the wrong size.

commit c999d841b4d52474df84c3d5c39646f4dbd727de
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 13 Oct 2011 00:57:29 +0800
Tag:    v2.2.0-beta

MDL-29627 add quizaccess plugins to standard_plugins_list.

commit 5adace99f8e67226d9e70332b823403926a01d5d
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 11 Oct 2011 00:16:31 +0800
Tag:    v2.2.0-beta

MDL-29627 quiz access rules: backup and restore of data.

commit ffe162d44d28ee96eb544cb5bf9bdbb0123091c5
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Sat, 08 Oct 2011 01:50:38 +0800
Tag:    v2.2.0-beta

MDL-29627 quiz access move strings only used in one subplugin into that plugin.

commit 987c2d491ec45c806354963af1819eb85df21a29
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Sat, 08 Oct 2011 00:43:15 +0800
Tag:    v2.2.0-beta

MDL-29627 quiz access refactor password check into a generic check page.

commit 4344c5d5d9c4765106e44bffcf4482697ececc7f
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 07 Oct 2011 03:15:01 +0800
Tag:    v2.2.0-beta

MDL-29627 quiz old popup int column => new browsersecurity column.

commit 0eafc988527c27fa5c9af83e4e9c36cb8f95b3f2
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 07 Oct 2011 02:12:05 +0800
Tag:    v2.2.0-beta

MDL-29627 fix code-checker issues throughout the quiz code.

commit 1d9e1a3c069da4788c6529a07474153fec3a028e
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 07 Oct 2011 01:58:33 +0800
Tag:    v2.2.0-beta

MDL-29627 refactor the way the rules are constructed from the quiz.

commit d755b0f5773fdf05b67e224a195356635903c1a6
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 06 Oct 2011 03:58:38 +0800
Tag:    v2.2.0-beta

MDL-29627 quiz_access_manager move all output code to the renderer.

commit dd70d561ef854bdf170e923a469366982edd5254
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 05 Oct 2011 22:54:57 +0800
Tag:    v2.2.0-beta

MDL-29627 quiz load access settings when a quiz is being attempted.

commit c18ba64c3e8d2aec9bbf78e4be3f2c4f1f04f09d
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 05 Oct 2011 19:55:22 +0800
Tag:    v2.2.0-beta

MDL-29627 load the existing settings when the quiz settings are re-edited.

commit b83c32d39fc2d2ac433fdbbe13bb2347c7d8d2b6
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 05 Oct 2011 18:47:37 +0800
Tag:    v2.2.0-beta

MDL-29627 quiz access plugins can add fields to mod_form and save the data.

commit 8dd9ccf47572a2c3f322b764094f50df2f0ba924
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 05 Oct 2011 05:47:32 +0800
Tag:    v2.2.0-beta

MDL-29447 quiz course reset does not reset the quiz_grades table.

commit 77d0f5f07bf1e9628cba9b386db412d0b11bf243
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 04 Oct 2011 23:50:15 +0800
Tag:    v2.2.0-beta

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

commit ea38245cfbc41288a5bdb24b6e7c495d6089ae42
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 04 Oct 2011 01:29:47 +0800
Tag:    v2.2.0-beta

MDL-29627 quiz access: move the unit tests into the relevant plugins.

commit e5844040a0a363197e9e310e77db68237ecf8169
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 04 Oct 2011 00:40:01 +0800
Tag:    v2.2.0-beta

MDL-29627 quiz access: fix variable names that don't match the coding style.

commit e07cccfc25ee285f7fef059060570b110de7e344
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 03 Oct 2011 23:38:34 +0800
Tag:    v2.2.0-beta

MDL-28469 quiz settings pages should be pagelayout admin.

commit c6ba8f28bc559cf97fe4c199cab4ee60797489c5
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 03 Oct 2011 23:22:03 +0800
Tag:    v2.2.0-beta

MDL-28718 block_quiz_results - add missing require_once.

commit 0d4610283725485a0c8db885b851287a072e0e3d
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 03 Oct 2011 23:21:31 +0800
Tag:    v2.2.0-beta

MDL-28718 block_quiz_results - add copyright headers.

commit a28a5d74af1db4eeb12e194c0c9db111522458d2
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 03 Oct 2011 23:10:48 +0800
Tag:    v2.2.0-beta

MDL-29627 refactor quiz access rules into separate subplugins.

commit e4e0020ed6b5532e1bafdc55062110c36fd796a4
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 03 Oct 2011 21:32:34 +0800
Tag:    v2.2.0-beta

MDL-29625 new helper function get_plugin_list_with_class.

commit a44995325edcb7c22aa44a452c477f09fb09a869
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Sat, 01 Oct 2011 07:09:04 +0800
Tag:    v2.2.0-beta

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

commit 522d9fcb2afb3019139571c3d83f88230c7669a0
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Sat, 01 Oct 2011 06:32:57 +0800
Tag:    v2.2.0-beta

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

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

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

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

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

commit c3584ad6830b28b806df6ba4c6ceb1f5ab766816
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 30 Sep 2011 04:46:39 +0800
Tag:    v2.2.0-beta

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

commit 7042a252c55b30a59a5433653027ad8aa95885da
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 29 Sep 2011 19:25:10 +0800
Tag:    v2.2.0-beta

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

commit 9d1658a07e9710f3cf8447773f51bc19410dc257
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 29 Sep 2011 19:21:18 +0800
Tag:    v2.2.0-beta

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

commit 72bbb091a4b5b7eaeb5aedca2285066036065db6
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 29 Sep 2011 16:06:11 +0800
Tag:    v2.2.0-beta

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

commit 7529f9e94421ad5572a7023aca6609aa353b76b4
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 28 Sep 2011 01:05:38 +0800
Tag:    v2.2.0-beta

MDL-29548 allow message plugins to control message defaults.

commit 288633ebbe963b247f171a32d3532d2ba54d2a57
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 26 Sep 2011 20:28:01 +0800
Tag:    v2.2.0-beta

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

commit 7664182d7ff62a146236afc54d32f87e3db66b90
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 23 Sep 2011 19:48:24 +0800
Tag:    v2.2.0-beta

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

commit b84dca8cb8aa19d93a4d6845dc73a599025258db
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 23 Sep 2011 19:14:46 +0800
Tag:    v2.2.0-beta

MDL-29492 restore unit test prettiness.

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

MDL-29484 qformat xml tests failing.

commit 79a46626d31c34c80b04596eadd05e8cefae9d11
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 23 Sep 2011 01:12:43 +0800
Tag:    v2.2.0-beta

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

commit 572a96edb02f0835830655dec5c19b71de4b55a0
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 23 Sep 2011 00:56:02 +0800
Tag:    v2.2.0-beta

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

commit fabface827acf2202e1d151851fdd376589886c7
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 21 Sep 2011 23:07:09 +0800
Tag:    v2.2.0-beta

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

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

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

commit 1f347cb71d82913d0d76a015618527d7ba1ac716
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 21 Sep 2011 21:37:50 +0800
Tag:    v2.2.0-beta

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

commit d47d12d0d4b65500d79e4822091d08c8ab675e36
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 16 Sep 2011 23:05:12 +0800
Tag:    v2.2.0-beta

MDL-28679 question response history displays states incorrectly.

commit bca8065844f80301888fdffc22533ba40279f162
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 15 Sep 2011 03:44:13 +0800
Tag:    v2.2.0-beta

MDL-28259 Individual answers Feedback not shown in Cloze questions

commit 73a7a0c90df000b2f9e9f9bd54a5e75a1ca1941d
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 15 Sep 2011 03:25:31 +0800
Tag:    v2.2.0-beta

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

commit 474abf122184974c08513f8d9d491a2f30eaa526
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 15 Sep 2011 02:01:18 +0800
Tag:    v2.2.0-beta

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

commit 71c4154a9821f687a1e00aedba1e228cbf01e4c9
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Sun, 28 Aug 2011 17:21:15 +0800
Tag:    v2.2.0-beta

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

commit e20ad67d7be72eb743e319539f8a2f0da747f3bd
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Sat, 27 Aug 2011 00:01:06 +0800
Tag:    v2.2.0-beta

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

commit 918776f47dc861ae41cf1611b4e304854ecb32df
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 25 Aug 2011 17:50:00 +0800
Tag:    v2.2.0-beta

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

commit 4ca3f2d16731a56a3a4242c6d538e2d6634de567
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 24 Aug 2011 23:00:37 +0800
Tag:    v2.2.0-beta

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

commit 3908a52310ac9d9e53db186fce6d74cd8c324168
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 23 Aug 2011 15:53:32 +0800
Tag:    v2.2.0-beta

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

commit ff82d7fd0a84bc2ddb31877da5fd19a5e3d57e8b
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 23 Aug 2011 15:36:52 +0800
Tag:    v2.2.0-beta

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

commit 1b343d524161347e96683f620504a787e207e4d7
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 23 Aug 2011 06:31:50 +0800
Tag:    v2.2.0-beta

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

commit c1f15d35394499f18d999a58fd4656dff10d8172
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 23 Aug 2011 05:35:05 +0800
Tag:    v2.2.0-beta

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

commit e8b8073d3cf7f7b9c198798928cafea4a1635722
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Sat, 20 Aug 2011 20:14:07 +0800
Tag:    v2.2.0-beta

MDL-28444 unit test to verify the fix.

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

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

commit 5e86cb87de2149ca9312450ed97cb1d6581588e4
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 17 Aug 2011 23:54:23 +0800
Tag:    v2.2.0-beta

MDL-28979 qtype match: correct answer formatted badly.

commit 45e5fbe11ecd003ee70bc234efc1b40000d6c0b1
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 17 Aug 2011 21:40:05 +0800
Tag:    v2.2.0-beta

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

commit a40d411e74ea109c2d50ce44b9581e13b0a5a102
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 17 Aug 2011 20:51:01 +0800
Tag:    v2.2.0-beta

MDL-28975 question engine, JavaScript error in IE.

commit a980739fd47126ebf0502f3aef935c216fcd938d
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 17 Aug 2011 19:33:00 +0800
Tag:    v2.2.0-beta

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

commit 2a73f863ffc3b2da65355f1132485ed18ff3ae07
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 16 Aug 2011 18:36:54 +0800
Tag:    v2.2.0-beta

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

commit effc982b1e25c90959e8ee9fe0c58810a6aea814
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 16 Aug 2011 01:47:03 +0800
Tag:    v2.2.0-beta

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

commit 0519420f59d09d87d9cf06684de3a32a29c00330
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 15 Aug 2011 23:09:47 +0800
Tag:    v2.2.0-beta

MDL-28349 error when GIFT-importing essay questions.

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

MDL-28365 Move question lang string to the right file

commit 9d555b445689bd830bc9a43066e3e969a3069a20
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 15 Aug 2011 22:11:51 +0800
Tag:    v2.2.0-beta

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

commit 08f532865927c3b6c5324fe2e3485d80430405b7
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 15 Aug 2011 21:55:50 +0800
Tag:    v2.2.0-beta

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

commit 45bdcf1134c854489990c77b87e6a07370d896c5
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 15 Aug 2011 21:42:48 +0800
Tag:    v2.2.0-beta

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

commit 775fd4f1452b34e5a7835845f27ceb043f321c4d
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Sat, 13 Aug 2011 02:11:45 +0800
Tag:    v2.2.0-beta

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

commit 25d9a6a6647ed48c7f47dc5ce60349f0bc2c9ddd
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 09 Aug 2011 18:31:37 +0800
Tag:    v2.2.0-beta

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

commit d572f4497ff13964a49815eb1c5bb8e419733846
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 08 Aug 2011 23:39:58 +0800
Tag:    v2.2.0-beta

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

commit 6ef90fdef995f0674b2b0937c5e11d159c939860
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 08 Aug 2011 20:13:37 +0800
Tag:    v2.2.0-beta

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

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

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

commit 609c0d6b9aef65193353759fcfaf47fa01271789
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 05 Aug 2011 15:50:08 +0800
Tag:    v2.2.0-beta

MDL-28593 Missing include breaks editing quiz grade item.

commit e5b0920e487eee897b4de77cf9fb965571e69e01
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 05 Aug 2011 01:13:29 +0800
Tag:    v2.2.0-beta

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

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

MDL-28602 Quiz review reports the wrong duration.

commit b72b41375907d34c7653bce6ef41ea8c731bff2e
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 04 Aug 2011 20:53:02 +0800
Tag:    v2.2.0-beta

MDL-28604 Question bank display forgets sort order

commit e6541b37e4c9e70836196f0ab8f58968dd454254
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 02 Aug 2011 22:27:06 +0800
Tag:    v2.2.0-beta

MDL-28471 better question flag icons.

commit 1e20dea9b23920b3e7ef7159ca452894eb996627
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 28 Jul 2011 18:50:42 +0800
Tag:    v2.2.0-beta

MDL-28508 bad string trunction in Aiken format.

commit 35ddcfb85410f729d7fb10e080510d188ed5bb88
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 28 Jul 2011 18:16:37 +0800
Tag:    v2.2.0-beta

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

commit 4e5b9e498e5dff7e36ffcf0d40798844c18a6919
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 28 Jul 2011 00:26:02 +0800
Tag:    v2.2.0-beta

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

commit 2f1ba2aed70ef1e849a42e4455277d6aa4b770c6
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 28 Jul 2011 00:25:18 +0800
Tag:    v2.2.0-beta

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

commit 22c97c6446d864db00b123505473af482ae10a40
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 26 Jul 2011 23:11:20 +0800
Tag:    v2.2.0-beta

MDL-28471 Further tweaks to the question flag code.

commit ad858cd428b6ed4e5c3ff04a07750f2e0af53d09
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 25 Jul 2011 17:05:13 +0800
Tag:    v2.2.0-beta

MDL-28369 Question hints not being restored.

commit 8c4deb80032c2aa40349e062235c24904daf46e2
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 25 Jul 2011 16:14:44 +0800
Tag:    v2.2.0-beta

MDL-28377 Call to mod_quiz_renderer is screwed up.

commit 4bf1be3596f7a2f0f00b90f474c261a6c0ebc2d9
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 25 Jul 2011 15:50:06 +0800
Tag:    v2.2.0-beta

MDL-28437 Question bank pages should all use General type: admin.

commit 8de7858fb903d6a00efddb9407863b53cf2ace20
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 22 Jul 2011 21:22:35 +0800
Tag:    v2.2.0-beta

MDL-28080 coding_exception for over-long placeholder names.

commit 13bbfebc755c975fad2929ad79ca33e68534ad84
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 07 Jul 2011 20:11:00 +0800
Tag:    v2.2.0-beta

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

commit 7bf53cf233458e805e3861c5f96cde77b6801883
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 07 Jul 2011 19:37:40 +0800
Tag:    v2.2.0-beta

MDL-27483 make quiz repagination more robust.

commit d0cfa81312c5c1de86e651d48ed5598db7f74b33
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 07 Jul 2011 18:25:39 +0800
Tag:    v2.2.0-beta

MDL-28192 local_qeupgradehelper fix typo.

commit 82c07ea4f422f1e58b49759629f75d2a1a4488dc
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 07 Jul 2011 02:08:52 +0800
Tag:    v2.2.0-beta

MDL-28222 quiz reports missing context in call to quiz_report_feedback_for_grade.

commit cc7fb382d74b1a768e0aedd5ed92c951b91019fb
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 07 Jul 2011 01:48:08 +0800
Tag:    v2.2.0-beta

MDL-20804 Improve the automatically generated WSDL.

commit 048f3d32d6f6aaae9ceecd9fc361bf57ce71d94d
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 06 Jul 2011 22:42:48 +0800
Tag:    v2.2.0-beta

MDL-28218 allow testclient.php to find the necessary form for services defined in plugins.

commit 81522abd63c2f5c6eda9ae3166367673f81c03a0
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 06 Jul 2011 21:19:25 +0800
Tag:    v2.2.0-beta

MDL-28166 fix some more instances of my favourite becuase typo.

commit 6c7da46108761ee9a29a18fbf64c52ad1abecc8e
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 05 Jul 2011 22:16:44 +0800
Tag:    v2.2.0-beta

MDL-26165 quiz submit are-you-sure is potentially confusing.

commit b149b7885963fa0c87716a241d3327d25dda5f9f
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 05 Jul 2011 21:29:30 +0800
Tag:    v2.2.0-beta

MDL-28196 quiz calls get_in_or_equal (not DB->get_in_or_equal) in two places

commit 8f78cd5abc3e09d86f19ed53418f9250f85eca42
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 05 Jul 2011 20:50:59 +0800
Tag:    v2.2.0-beta

MDL-28195 confirm_action should allow the button labels to be customised

commit cbb8b55c3392d33d2411a5baf7ff7518b2d30565
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 05 Jul 2011 01:58:34 +0800
Tag:    v2.2.0-beta

MDL-28166 send quiz event notifications asynchronously.

commit 99fa9745c41015dd4afccdc479b0ef6c9a527ccd
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 05 Jul 2011 01:55:45 +0800
Tag:    v2.2.0-beta

MDL-28179 make failed event hander error message much more useful.

commit abc257549323b43693e3c6e81ce671e571c9b938
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 05 Jul 2011 01:50:21 +0800
Tag:    v2.2.0-beta

MDL-27040 get_users_by_capability generates u.id IN () when no uesrs have accessallgroups

commit 56920c36f97901c2a36ed05dd7775a4fd86a9d7a
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Sun, 03 Jul 2011 19:53:56 +0800
Tag:    v2.2.0-beta

MDL-28160 question preview window uses wrong pagelayout in activity contexts

commit 0f83538e7ed03237fea50eff47b7ec94f0b5c8d6
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 17 Jun 2011 00:02:18 +0800
Tag:    v2.2.0-beta

MDL-27890 tinymce - enable 30 as min height within moodle

commit 6b92faa47f0939e7c1c1cea9174f4f5bd4318896
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 10 Jun 2011 22:44:20 +0800
Tag:    v2.2.0-beta

MDL-27821 backup_exception should not throw away debug info.

commit c141b05f7d091d02f12e926b72508cc5c85e53d2
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 08 Mar 2011 02:08:04 +0800
Tag:    v2.2.0-beta

MDL-25357 Allow maximum number of sections to be set by the admin. Also allow 0 sections at an choice.

commit fd3932fe5429a87703e292184ed39a5e7b90bbda
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Sat, 26 Feb 2011 19:26:13 +0800
Tag:    v2.2.0-beta

MDL-26618 Moving sticky blocks on other pages does not work in Oracle.