Git commits in Moodle 2.2.x by Tim Hunt

commit 406f11ff7727ce0a66d5f49f7ebc12f8f9d55fa9
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 11 Jan 2013 20:51:53 +0800
Tag:    v2.2.8

MDL-37485 plugins overview: require_login before _capability.

commit ab0ab933be13dd98f8e3c94642dc059f88d5c01d
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 19 Dec 2012 17:31:02 +0800
Tag:    v2.2.7

MDL-32245 question bank: update URL after moving question between categories.

commit 1e6fd4f6d270b743d3bde89417c9d8e222876573
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 13 Dec 2012 02:15:48 +0800
Tag:    v2.2.7

MDL-32245 question bank: fix coding style in categories.php

commit 347a5af6a2f9cc417ff60734c9a7637c41524b6b
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 12 Dec 2012 16:12:16 +0800
Tag:    v2.2.7

MDL-36897 quiz review: fixup previous commit.

commit bae87ddc804b50b68de60ab01ef027d013930dc0
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 12 Dec 2012 00:21:05 +0800
Tag:    v2.2.7

MDL-37068 qformat_learnwise: fix UTF8 and other issues.

commit e625e18bfc01af0e5a625a89b007fd90f9d6b865
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Sat, 01 Dec 2012 00:32:31 +0800
Tag:    v2.2.7

MDL-36954 question bank: stop centring question name.

commit 7192907607c318ceb1e4da2ded5ad803c282183c
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 30 Nov 2012 19:53:38 +0800
Tag:    v2.2.7

MDL-36897 quiz: redirect teachers from summary to review page.

commit 30ebefd416ea2a61a669e240481baa61b0a79c61
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 30 Nov 2012 19:48:26 +0800
Tag:    v2.2.7

MDL-35404 question export: make it work with slasharguments off.

commit b85c0bee53d4bff467abbb55880c6a83b0cb9e59
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 30 Nov 2012 19:28:38 +0800
Tag:    v2.2.7

MDL-36942 xml question import: don't add spaces.

commit f1966027379222a7b29d1bf064a212d2570710ea
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 28 Nov 2012 00:36:35 +0800
Tag:    v2.2.7

MDL-36845 excel export: don't output invalid sheet names.

commit 895e1baad68491307755b356e103fbcbcf091507
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 27 Nov 2012 21:49:46 +0800
Tag:    v2.2.7

MDL-36742 question bank: get rid of flicker during page load.

commit 8ee045c0260030471b991773f970498634bffe98
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 23 Nov 2012 23:54:58 +0800
Tag:    v2.2.7

MDL-36806 question files: fix unnecessary require_login call.

commit 35314e2f91ecda13d45ae12945e4d7d67e97ef1d
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 22 Nov 2012 23:20:38 +0800
Tag:    v2.2.7

MDL-36760 formslib: fix frozen elements with [] in name.

commit ad6591011925bfdae67fe96a86bc692d89821667
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 22 Nov 2012 19:47:57 +0800
Tag:    v2.2.7

MDL-36732 Cloze qtype: review marks should not depend on feedback.

commit 3fec0aa045c93d4fdbf0436fdc2d749b334179f4
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 20 Nov 2012 01:46:25 +0800
Tag:    v2.2.7

MDL-36683 qtype match restore: better subq indentification.

commit 0f36ae63506e807f9a1e32d05714d5287a256aa1
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 20 Nov 2012 01:21:00 +0800
Tag:    v2.2.7

MDL-36571 qtype multichoice: don't corrupt unicode characters.

commit dfa6ca981318fb29c28bb17f215dcc0fb5ae1177
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 15 Nov 2012 23:00:39 +0800
Tag:    v2.2.7

MDL-36650 don't change question timecreated or timemodified on restore.

commit a9c7672efad9852754e84b09e49f1558241d6afb
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 19 Oct 2012 16:49:34 +0800
Tag:    v2.2.6

MDL-36103 tablelib: links to user profiles are wrong in courses.

commit 91a307c91878d35a07af6cca84dff9ba174d60ab
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 17 Oct 2012 13:54:45 +0800
Tag:    v2.2.6

MDL-36076 qtype multichoice: validation fails on '0' answer.

commit d06a987343bf599839f3c3b2f30d0a3dd11ddead
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 04 Oct 2012 01:46:07 +0800
Tag:    v2.2.6

MDL-35776 user ajax: fix sort order in chrome.

commit 8b3818d97bc2464d3c324db95b074d798c711416
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 04 Oct 2012 01:46:07 +0800
Tag:    v2.2.6

MDL-35776 user ajax: fix sort order in chrome.

commit daa3fe0ab68961b80d8ab88d1fb48a7f2af9aa5a
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 28 Sep 2012 22:28:27 +0800
Tag:    v2.2.6

MDL-35693 question engine: set id when saving a new question_attempt

commit db46eddf418b1758d595f94d3604212cfe2977bf
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 28 Sep 2012 02:03:34 +0800
Tag:    v2.2.6

MDL-35680 user selector: more usable when queries are slow.

commit 9de4152effff5a5727c1595380439a917c018fd7
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 27 Sep 2012 19:19:56 +0800
Tag:    v2.2.7

MDL-30884 quiz: ARIA attribute for the coutdown timer.

commit db6d764fe282743e4eb92672fe6905fd96316105
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 25 Sep 2012 21:08:59 +0800
Tag:    v2.2.6

MDL-35620 question engine: should distinguish NULL and 0.

commit f3872e7b42a6e65c6b268a180eaa9d1dad316d19
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 14 Sep 2012 02:12:45 +0800
Tag:    v2.2.6

MDL-35370 cloze qtype: distinguish wrong & unanswered subqs

commit ee7a9058a0f20c685db4cb3e0e7146820ce30853
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 13 Sep 2012 23:33:15 +0800
Tag:    v2.2.6

MDL-35419 question manual grading: valdiation must handle 0,5

commit b252a84543fda72636d6aa270aab635dacd9e431
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 11 Sep 2012 22:04:00 +0800
Tag:    v2.2.6

MDL-34841 error importing questions with long names.

commit fa7298ed7fa564b38de3f977bf5114f6d9266155
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 10 Sep 2012 20:06:47 +0800
Tag:    v2.2.6

MDL-35343 JavaScript visible in multichoice choice feedback.

commit 22462fba4fe1a2d94f7aa53107c7da8dfaf13a20
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 30 Aug 2012 20:09:10 +0800
Tag:    v2.2.5

MDL-35147 lesson: fix regression from MDL-25492.

commit 228533be802bd012391edf8a38c4d7d93bf44b6f
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 30 Aug 2012 05:43:28 +0800
Tag:    v2.2.5

MDL-27818 question bank: multilang category names don't work.

commit b8c475d63122b136945129ff2dbf39b86974dd75
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 30 Aug 2012 05:25:28 +0800
Tag:    v2.2.5

MDL-35133 accesslib: context_module::get_context_name should format_string

commit fe470a231f5e7fdfd6fdcc131945f9303d9b5206
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 30 Aug 2012 01:41:37 +0800
Tag:    v2.2.5

MDL-29662 quiz overrides: update dates during course reset.

commit ee91ffedb3949e14e19a70be2383199bc8f79868
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 30 Aug 2012 00:42:53 +0800
Tag:    v2.2.5

MDL-33306 qtype multichoice: fix display of right answer.

commit 9345e7bfb8aabd41af98874dd02985d6655b59b0
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 28 Aug 2012 22:54:17 +0800
Tag:    v2.2.5

MDL-31837 qtype_numerical: fix old-style unit tests.

commit 170130d7565a3036b4b9cc82332561892fb9fbd1
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 24 Aug 2012 22:34:20 +0800
Tag:    v2.2.5

MDL-35055 question import: slight error with the Match grades option.

commit 1600029de9bafbd717a7a015a9d1f78f26e39472
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 24 Aug 2012 21:19:27 +0800
Tag:    v2.2.5

MDL-32464 qformat multianswer: fix missing include.

commit d9c2ecc34233bfc683e422b35eb0eaf7ba83cc05
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 23 Aug 2012 18:53:47 +0800
Tag:    v2.2.5

MDL-35003 questions: remove stray full stop after correct answer.

commit 1482c2b20b625bd2afa921561b1b316b803eb3ce
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 23 Aug 2012 18:37:51 +0800
Tag:    v2.2.5

MDL-35026 qtype multianswer: misnamed string.

commit e60c61e570c1bc21f33ef74536cdbae3e8e1898d
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 23 Aug 2012 18:16:24 +0800
Tag:    v2.2.5

MDL-35023 qtype calculated: fix strict syntax problem.

commit 5a058f33a3502599da84fccb7356cc6de2a80fae
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 23 Aug 2012 07:00:27 +0800
Tag:    v2.2.5

MDL-31244, MDL-25063 algebra filter: fix common false positives.

commit 4458b51cc48388913cf3b960dfd1a199cacec5f0
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 23 Aug 2012 05:02:48 +0800
Tag:    v2.2.5

MDL-34430 qtype essay: upgrade from MDL-31393 needs a progress bar.

commit cf6b831723cb0b3c9084f74b67bffb540e6416c4
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 21 Aug 2012 21:11:13 +0800
Tag:    v2.2.5

MDL-34993 questions: convert numeric fields to float on load.

commit bfa34d8de3cf5f7533a766bc518cc430718deb65
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 21 Aug 2012 19:05:52 +0800
Tag:    v2.2.5

MDL-34733 quiz 'secure' mode: finish review link broken in previews

commit 6d24c26b5240293e1a2890343d09412b358e7a22
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 20 Aug 2012 19:46:32 +0800
Tag:    v2.2.5

MDL-31837 numerical tolerance: better handling of very small tolerances.

commit 7fbbcdbdd8d0d194080c58b211ec4ba211108688
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 17 Aug 2012 00:33:08 +0800
Tag:    v2.2.5

MDL-34702 quiz DB: questiondecimalpoints has wrong default.

commit cb12522cea72aead237cb433d4d06d4e9f1853c8
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 14 Aug 2012 01:55:09 +0800
Tag:    v2.2.5

MDL-29847 question preview: garbage collect old preview data.

commit 1907f7e082f072ddf48ed2904892b35b9f847f3a
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 13 Aug 2012 23:53:15 +0800
Tag:    v2.2.5

MDL-34862 question preview: improve preview ownership check.

commit c090746541a4dd4ebe6d50f910f631892f259bae
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 09 Aug 2012 20:48:56 +0800
Tag:    v2.2.5

MDL-34807 question bank: navigation loses place.

commit 8cec008393b21ebb69ae3569f8db15be116a74ae
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 09 Aug 2012 19:52:11 +0800
Tag:    v2.2.5

MDL-34590 javascript-static: nuclear option in openpopup

commit c9b212083cb1ed50dd2f31b45df7022dd757967c
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 07 Aug 2012 19:57:51 +0800
Tag:    v2.2.5

MDL-34728 forms: woy for other JS to trigger disableIf update.

commit cd914a25d05141b99d23c377a2925790fb35c789
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 03 Aug 2012 01:40:49 +0800
Tag:    v2.2.5

MDL-34707 backup UI: only include the JS once.

commit f66ad4aa11a5eb5afdfdf8a7ee0dfc0ffb096c21
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 03 Aug 2012 00:44:43 +0800
Tag:    v2.2.5

MDL-34705 role assignments list: should link to contexts.

commit 45c29ec08db32e814c0dd6d9e35e938b1cc7b9d9
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 03 Aug 2012 00:21:32 +0800
Tag:    v2.2.5

MDL-34704 couse, accesslib: improve $CFG->courselistshortnames

commit c3d3eb3100ae66273509e9fb5a4c0a484589cf96
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Sat, 28 Jul 2012 01:06:24 +0800
Tag:    v2.2.5

MDL-31509 quiz outcomes: let people associate quizzes with outcomes.

commit d4b3dd67ad44d58967f663c2523f498fcbe30adc
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 27 Jul 2012 23:38:14 +0800
Tag:    v2.2.5

MDL-32791 quiz db: clean up garbage data that was causing problems.

commit 92b7cdd0523af8f19d9aa0dbccf9f53b61ecfd4e
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 27 Jul 2012 20:19:17 +0800
Tag:    v2.2.5

MDL-34590 javascript-static: full-screep popups for Chrome.

commit ae1ecaf94acede78e168de762981dc89506c8ad7
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 27 Jul 2012 19:18:10 +0800
Tag:    v2.2.5

MDL-34483 qformat_examview: Commit example file.

commit dcfdf468fc37fde8057dd63099681e455d182d9d
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 27 Jul 2012 18:42:03 +0800
Tag:    v2.2.5

MDL-34599 quiz attempts: more robust if page number out of range.

commit d87c8d7ffd27892d3873d266e570057fd43fe750
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 27 Jul 2012 01:47:57 +0800
Tag:    v2.2.5

MDL-34589 quiz report graphs: PHP5.4 issue with unset($array[$float]).

commit b0e0762ca0715b70915e5b0908ba9d98346fe14d
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 18 Jul 2012 00:32:56 +0800
Tag:    v2.2.5

MDL-34251 question engine: possible infinite loop loading usages

commit db5b519022330fdf813f027d3b29ff89cb1b183a
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 16 Jul 2012 21:30:12 +0800
Tag:    v2.2.5

MDL-34226 multichoice qtype: correct is_complete_response for multianswer

commit 03c558af10e25950c9540e27654f9936099b496d
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Sat, 14 Jul 2012 16:06:07 +0800
Tag:    v2.2.5

MDL-34164 quiz reports: only try to show graphs if GD is installed.

commit f2c88f41fe41ae7c4a05abe778fad050ab3a2f57
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Sat, 14 Jul 2012 01:02:20 +0800
Tag:    v2.2.5

MDL-34257 quiz 'secure' window: does not close automatically.

commit e65f54f289f8debb5e78d59cd20b949b239351fd
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 13 Jul 2012 01:39:01 +0800
Tag:    v2.2.6

MDL-34257 quiz 'secure' mode: PAGE initialisation order issues.

commit d8f23e09f25c87de271f053d5668f4a44669b27f
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 06 Jul 2012 19:20:01 +0800
Tag:    v2.2.5

MDL-23219 check permissions: show relevant role-assignments.

commit b2fba4af15e1beff8007a311f5738c3051daab9a
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 04 Jul 2012 17:55:52 +0800
Tag:    v2.2.5

MDL-34171 qformat_gift: Fix edge case with special character escaping.

commit 78040342e09c1473e1e7768b5477197828cafd48
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 02 Jul 2012 23:14:28 +0800
Tag:    v2.2.4

MDL-34145 postgres driver: fix get_tables perf on <= 9.0

commit dd613b60ec16cd984665e624f228dc624188f652
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 25 Jun 2012 22:15:20 +0800
Tag:    v2.2.4

MDL-34008 formslib: repeat_elements replace {no} for submits & buttons

commit d8b0e1bc262bea8b1b3c438e9f3c3e72ab318654
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 22 Jun 2012 05:03:09 +0800
Tag:    v2.2.4

MDL-23813 glossary filter: add missing YUI dependency

commit 5f980afc0e93f51086f7715f1b0f604d416705dd
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 21 Jun 2012 06:38:05 +0800
Tag:    v2.2.4

MDL-33924 quiz: incorrect foreign key definition.

commit f54292267bac78f9ef773a6085fe50582a7d1d9d
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 20 Jun 2012 23:00:54 +0800
Tag:    v2.2.4

MDL-32062 question engine: fix re-grading attempts from 2.0

commit f4bd9d38a6899354616a182bbbc74eb358710fe1
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 18 Jun 2012 20:21:40 +0800
Tag:    v2.2.4

MDL-33780 question import: strip UTF8 BOM

commit 6d94ae68270f5035e710f3b2e25dc93c6996f878
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Sat, 16 Jun 2012 00:01:18 +0800
Tag:    v2.2.4

MDL-26892 questions: images lost during upgrade.

commit de50c77537df1ce3fe56391e122c7d996c563652
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 13 Jun 2012 00:46:47 +0800
Tag:    v2.2.4

MDL-33682 backup: cope with sections called '0'

commit 8ad93cebfa33c6ebfeeac6cce5ba972cf90fb367
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 13 Jun 2012 00:45:40 +0800
Tag:    v2.2.4

MDL-33681 course: cannot have a section called '0'.

commit 62cfefdbeeba8e01fc402d18e1647aaaf26869fa
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 07 Jun 2012 23:40:58 +0800
Tag:    v2.2.4

MDL-30883 question flags: aria attributes for accessibility

commit a41848a44540a8a535d1db050e3dc4b8f3b2e46e
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 07 Jun 2012 19:55:53 +0800
Tag:    v2.2.4

MDL-33532 quiz editing: let uses enter locale floats.

commit e78e39cdbb8b88f541625121a61e60cf21b4f069
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 07 Jun 2012 03:21:33 +0800
Tag:    v2.2.4

MDL-33548 quiz manual grading: check the grade is in range.

commit 3c967721203261e4fc2875093c5eb3aa0d739e04
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 01 Jun 2012 22:45:41 +0800
Tag:    v2.2.4

MDL-33119 quiz complete report: fix placeholders in attempt string.

commit 78e010e9df773e8ca525f0894c66652a39bbecdc
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 31 May 2012 04:48:39 +0800
Tag:    v2.2.4

MDL-33140 quiz browser security: block copy/paste more

commit 673ee48eb8d4c2e73d7ff983158e864db805b2b9
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Sat, 05 May 2012 01:43:13 +0800
Tag:    v2.2.4

MDL-31393 qtype_essay upgrade: save old question_answers.feebdack

commit 57f2278c695bdc48d7b9168a709c9eb33f9e9dfc
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Sat, 05 May 2012 00:23:49 +0800
Tag:    v2.2.4

MDL-31814 question bank: fix possible error with sort columns.

commit fca106161273b3a386bf97623041d8a80d7a3298
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 04 May 2012 22:17:23 +0800
Tag:    v2.2.3

MDL-32430 quiz calendar events: fix pluginfile URLs in the description.

commit fd32dbfa1de464b3d08f6dbf55428085938627f3
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 04 May 2012 05:33:36 +0800
Tag:    v2.2.4

MDL-32633 quiz editing: recreate grade item when max changed from 0

commit bd680d8a014e7709479521c3e3cde64927c58d2a
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 18 Apr 2012 22:20:41 +0800
Tag:    v2.2.3

MDL-32519 completio: Fix spelling of Enrolled.

commit e0538fa8451652fb5d3367175c48a07893242e7d
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 11 Apr 2012 16:55:32 +0800
Tag:    v2.2.3

MDL-32404 question export: missing error message when exporting an empty category.

commit 1434fdf7a6c7d109c010e19bcf960813d1688f06
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 06 Apr 2012 16:27:34 +0800
Tag:    v2.2.3

MDL-32357 Try to fix unread post notification for blog-style forums.

commit c08ea5202f27ca2dc8d99cbd17b83fc58ba376ee
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 04 Apr 2012 20:57:27 +0800
Tag:    v2.2.3

MDL-32462 accesslib: fix context_user::build_paths performance

commit 2c92dc7babb2a1a19baee299d8bf4c78d5b23b80
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 30 Mar 2012 04:20:04 +0800
Tag:    v2.2.3

MDL-32039 qeupgradehelper: fix typos in the lang strings

commit 112bbb8ff4f8d56adf43660d9f4471e73b0c5003
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 28 Mar 2012 23:52:57 +0800
Tag:    v2.2.3

MDL-32246 question export: should cope with unrecognised qtypes.

commit 0175c5efaada0da958a1bf1012fdcc6e1a308cc4
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 28 Mar 2012 20:55:17 +0800
Tag:    v2.2.3

MDL-32240 quiz editing: check permissions questions are added.

commit 29e247e44e983f230f248192ffac8e7b7abe37fd
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 28 Mar 2012 19:09:12 +0800
Tag:    v2.2.3

MDL-32239 question bank: wrong cap checks editing/viewing quesitions

commit e4a8f90479b558066ab7b41f4e91eeed1201e8ab
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 28 Mar 2012 00:41:14 +0800
Tag:    v2.2.3

MDL-32220 question import: files sometimes stored in the wrong context.

commit 0971dd793965cb5f7fe49b7834a3ea415a0c7c30
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 27 Mar 2012 00:43:18 +0800
Tag:    v2.2.3

MDL-32201 question export: use qformat_xml::write_answer in base class

commit 7d0f9cef347952bb38aea769fef606a6a2f8c01b
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 16 Mar 2012 02:46:43 +0800
Tag:    v2.2.3

MDL-31594 question manual grading: did not handle comma as decimal.

commit b1ddd85ca11898b0c0fbfdf4fa098e0d2bc579ad
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 15 Mar 2012 22:24:46 +0800
Tag:    v2.2.3

MDL-32064 quiz navigation: JS form submit must fire submit event handlers.

commit 0aa433a054d9dcb7838f458dab098ea0bd947f79
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Sat, 10 Mar 2012 02:45:54 +0800
Tag:    v2.2.3

MDL-31981 shortanswer qtype does not handle \* in correct response.

commit 53e40ebe2d7f89e3480628ae00de462c97df7556
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 09 Mar 2012 19:28:20 +0800
Tag:    v2.2.3

MDL-31702 quiz: clarify error message that has been confusing people.

commit 2db787e2425e500bceb11896010092729d0f4bf8
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 01 Mar 2012 20:13:46 +0800
Tag:    v2.2.2

MDL-31829 question engine SQL typo breaks some regrades.

commit 21356da7ee5cddea7cdc2bd9a3fdd8c36a41504c
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 01 Mar 2012 20:10:39 +0800
Tag:    v2.2.2

MDL-31828 attachements to essay questions do not work on Oracle.

commit 94cd982f8409abd1f5b071e9e4c9dc80743d2167
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 23 Feb 2012 04:12:08 +0800
Tag:    v2.2.2

MDL-29161 weblib: moodle_ulr::out does not cope with array params.

commit ea9f1a8faac08147d1032228a74b05a973d782e0
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 22 Feb 2012 01:54:58 +0800
Tag:    v2.2.2

MDL-31729 questions: files for hints are not moved or deleted.

commit db1571323715c4a1754cd449d2a84d8fa48402b8
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 21 Feb 2012 19:56:55 +0800
Tag:    v2.2.2

MDL-31721 question editing: improve working for Show num correct

commit 025a0e65cda8f0fce2d850ed9db5f6d0e02f12cd
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 08 Feb 2012 23:39:26 +0800
Tag:    v2.2.2

MDL-31554 quiz view.php notices when guest / no enroled.

commit e8e2f4f62c88702f056bd8331b60ac7d8e4354eb
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 01 Feb 2012 20:17:31 +0800
Tag:    v2.2.2

MDL-31469 formslib: fix invalid for="" attributes on optional dates

commit e1ded0ff555920b1eed4f8b986d94eec6f08a3b0
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 31 Jan 2012 01:47:11 +0800
Tag:    v2.2.2

MDL-31407 quiz: review all uses of global $USER

commit e2a4d8f9d033f21385bd5b8731d51d86782d2b98
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 27 Jan 2012 00:31:44 +0800
Tag:    v2.2.2

MDL-31392 qeupgradehelper partial upgrade support broken since 2.2

commit a3b0c9462f050904d0b279aa703b03abb3b0fbe2
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 20 Jan 2012 23:53:05 +0800
Tag:    v2.2.2

MDL-31314 gradebook restore: fix category.depth on restore.

commit bc8e22c4cc096b43410a3b1599de007cbfedf140
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 19 Jan 2012 01:32:00 +0800
Tag:    v2.2.2

MDL-30033 quiz overall feedback not show for attempts with a -ve grade

commit d4d8a51fae444b693065e92eac0a1652293fadca
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 19 Jan 2012 00:47:45 +0800
Tag:    v2.2.2

MDL-30854 quiz/question editing: fix create calc question & add on page.

commit e7a8905fc95b720d98ac71e29e423a9d125a8458
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 18 Jan 2012 16:42:55 +0800
Tag:    v2.2.2

MDL-31157 quiz cron: another regression from MDL-30635

commit 4eac963a413d82637ab2dbc8e8cad95e7ac1ade4
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 18 Jan 2012 01:21:57 +0800
Tag:    v2.2.2

MDL-31065 question stats: fix analysis of responses not matching a given answer

commit 2b18b65f9abd84fc5b81ae68408153b0a1bb33c1
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 17 Jan 2012 23:38:14 +0800
Tag:    v2.2.2

MDL-31065 qtype shortanswer: refactor the unit tests to use a proper helper.

commit 277106de6efb5d2d6a6a7f5a3b9272a1e016f69d
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 17 Jan 2012 21:52:11 +0800
Tag:    v2.2.2

MDL-31205 quiz 'secure' window: scrollbars missing.

commit 699f075ad246dec5283ce2e8ab6fba790eac1b1a
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 17 Jan 2012 02:29:52 +0800
Tag:    v2.2.2

MDL-30484 question engine: don't lose response files when regrading.

commit d8b06a25b2d9b4605d343881a54546cef506acc9
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Sat, 14 Jan 2012 06:33:16 +0800
Tag:    v2.2.2

MDL-31157 quiz cron: timenow was not being initialised

commit b3c02fae5497a3b134e3196781e947ea8bffb4ff
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 13 Jan 2012 00:42:19 +0800
Tag:    v2.2.2

MDL-31143 quiz reports: average grade of null causes php error.

commit a8f912faf1caec9497c4e3ac3b2cf58b23b8398e
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 12 Jan 2012 20:43:22 +0800
Tag:    v2.2.2

MDL-31135 question instances report: 'All' option broken

commit 2f7d4b4213dd3c8edb857abe9d62ef951b39ad2b
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 12 Jan 2012 01:36:30 +0800
Tag:    v2.2.2

MDL-31058 qtype match 1.9 restore: fix restore of dodgy questions.

commit ef0376f4ef19ec93635a26cec6cb161aef4d0505
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 12 Jan 2012 00:21:47 +0800
Tag:    v2.2.2

MDL-31095 quiz editing: only set quiz->grade to 0 if really necessary.

commit 090d2f90e83261db20e6d3de143af816f06217b3
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 12 Jan 2012 00:19:30 +0800
Tag:    v2.2.2

MDL-31095 quiz: fix bug in quiz::has_questions.

commit 7ecee68542304f1011e37f893915ff1bc51b58a5
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 11 Jan 2012 23:42:23 +0800
Tag:    v2.2.2

MDL-26469 upgrade: cope with modules that do not set $module->cron.

commit 18930123e33a4ba826e68fabb4b7023d596be0f2
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 11 Jan 2012 22:04:16 +0800
Tag:    v2.2.2

MDL-26469 upgrade: module cron setting not updated.

commit f40f4013f1a594d1b6cd56b315d12222ee4a0e11
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 11 Jan 2012 18:09:30 +0800
Tag:    v2.2.2

MDL-30635 quiz cron: fixup - enable in version.php & fn name quiz_statistics_cron

commit 16f75808c7fb9ac7bc559d9c14de46019413539d
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 10 Jan 2012 23:39:37 +0800
Tag:    v2.2.2

MDL-31102 question preview: fix HTML validation errors.

commit 82615708531a46cef5f80ec4c431a1eabae1d8e9
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 10 Jan 2012 22:32:41 +0800
Tag:    v2.2.2

MDL-31101 format_string: Don't mangle < and > in strings like x < 1.

commit a364362b959b6a40e8c0242dec506d546b170ff0
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 10 Jan 2012 21:59:40 +0800
Tag:    v2.2.2

MDL-31100 unit tests: don't mangle UTF-8 in failure messages.

commit c4989dc75fec768f905e3646c94bac821419791d
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 10 Jan 2012 02:05:06 +0800
Tag:    v2.2.2

MDL-24394 qtype_match: should be able to use multilang for the choices.

commit 0f504be67be2cd49e7a312f7c5f28919a587c9e6
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 10 Jan 2012 01:09:11 +0800
Tag:    v2.2.2

MDL-31019 quiz secure mode. Fix typo that breaks submit.

commit d16597b557c5dae4037ff90970977838ea1f7d1a
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 10 Jan 2012 00:33:53 +0800
Tag:    v2.2.2

MDL-31080 quiz editing, must be able to see and delete missing questions

commit 4587d4f5b77057fb59d300b89ecb189e68e40896
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 23 Dec 2011 02:02:24 +0800
Tag:    v2.2.1

MDL-30766 mod_quiz: fix edge cases of repaginate function.

commit a89d501b721919430ca7d86001b263aa893760d0
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 23 Dec 2011 01:37:41 +0800
Tag:    v2.2.1

MDL-30802 question nav: fix questions link in front page course.

commit 404e01f59eddaf71ccc0a747e43f8bf0062ce6d7
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 23 Dec 2011 00:11:34 +0800
Tag:    v2.2.1

MDL-27200 missing {} in various lang strings.

commit ed82e0379824d70e20d47461e4490eac988e4be7
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 22 Dec 2011 21:51:52 +0800
Tag:    v2.2.1

MDL-30873 quiz: display an overall grade for preview users.

commit 0f97c8afdb10351cfecfb33d7e99025c236de964
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 21 Dec 2011 20:39:55 +0800
Tag:    v2.2.1

MDL-30704 quiz_overview: fixup, add missing rescaling.

commit cb0318b633c7eee9d647992a17a027710b5b0dda
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 20 Dec 2011 02:22:28 +0800
Tag:    v2.2.1

MDL-30168 formslib: untangle automatic id generation.

commit 9660c98e57ac09a1c4d3c7ff2e0a434c3340bc9d
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 16 Dec 2011 23:51:39 +0800
Tag:    v2.2.1

MDL-30760 question engine: question summary can be longer than 64k!

commit 98402da0944e1da7763aaf98b660bec7b76b6515
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 16 Dec 2011 03:32:37 +0800
Tag:    v2.2.1

MDL-29176 quiz editing: can't move questions onto a new page.

commit 9f689071a891c7d7c9668174394b986efe43efe7
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 16 Dec 2011 02:53:50 +0800
Tag:    v2.2.1

MDL-29846 qbehaviours admin: correct $needed logic.

commit 76ffac7f931aac207938ad4e2dbcfd66551251f4
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 16 Dec 2011 02:39:21 +0800
Tag:    v2.2.1

MDL-30646 default qbank sort should only use visible columns.

commit 67cb80dc09f9e2ff97458e9f14ec268351a0b9ae
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 15 Dec 2011 20:50:49 +0800
Tag:    v2.2.1

MDL-30758 quiz_statistics report fails if all 1st attempts require grading

commit abe73c6d9985dea94b93b9574257ab80f5034d29
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 15 Dec 2011 20:22:00 +0800
Tag:    v2.2.1

MDL-30739 qtype numerical: upgrade script uses SQL that is not cross-DB.

commit f455e4e9bdcd102f0d19547993be42e1317107e1
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 15 Dec 2011 19:54:50 +0800
Tag:    v2.2.1

MDL-30744 question editing permissions. Update to new accessslib.php code.

commit 6d3ac4035b61bad43d9c4d1f259268a1c1a08c82
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 15 Dec 2011 19:21:56 +0800
Tag:    v2.2.1

MDL-30592 / MDL-27183 quiz statistics: fix merge problem.

commit 51d861632bb4b938e80218c3d8d16fb9747564c5
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 15 Dec 2011 01:17:07 +0800
Tag:    v2.2.1

MDL-30742 restoring 1.9 backups with missing question data should be robust

commit 9831354928bed241fed4251a93a136040f5db587
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 14 Dec 2011 22:29:00 +0800
Tag:    v2.2.1

MDL-30734 question engine: sum_usage_marks_subquery edge-case.

commit d6b040af81dc75bf2c43f3fb58bff3722735007c
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 14 Dec 2011 00:50:19 +0800
Tag:    v2.2.1

MDL-30683 don't show overall feedback in the quiz grades report.

commit 365e163946ddfe760793c1e751c859e1ec8804d2
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 13 Dec 2011 23:49:49 +0800
Tag:    v2.2.1

MDL-30704 Quiz grades report shows inconsistent averages.

commit 853f2e8eeab431832ab83f9dadf1859a3dd23d94
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 09 Dec 2011 20:40:42 +0800
Tag:    v2.2.1

MDL-30677 quiz: fix attempt counts when a student is in several groups.

commit 653e811ec0e829a7422abf531f098eb9ba5e5023
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 09 Dec 2011 19:31:47 +0800
Tag:    v2.2.1

MDL-30660 javascript-static: another yui3/ticket/2531561 work-around.

commit d7320fc84a1427c485456ed1dae230ea07b857ea
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 09 Dec 2011 03:06:02 +0800
Tag:    v2.2.1

MDL-27143 question bank: questions not saved when deleting a category.

commit a6395af1b912615c6b355757242a917c25aa2700
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 09 Dec 2011 02:08:17 +0800
Tag:    v2.2.1

MDL-27314 quiz reports: fix JS confirmation before deleting attempts.

commit 1e92c729baeccef8f7f10e14619db888e172d13d
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 09 Dec 2011 01:50:11 +0800
Tag:    v2.2.1

MDL-30660 javascript-static: M.util.show_confirm_dialog fixes

commit 3cba5809ae997762a5c9410e645cd1adb36807a0
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 08 Dec 2011 03:02:12 +0800
Tag:    v2.2.1

MDL-27183 quiz reports: don't show data to users not in any group

commit 25200f80f74cb03cf8947b5d3adf9a27002b7a0b
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 08 Dec 2011 00:09:09 +0800
Tag:    v2.2.2

MDL-30635 let quiz reports do cron in the standard way.

commit 24e5fcbe262f32a1207828a74526b25a86034e63
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 07 Dec 2011 01:51:23 +0800
Tag:    v2.2.1

MDL-30532 qeupgradehelper has broken links to quizzes.

commit 2a1733aafce06a658a979d90d0af3d68fd9eea99
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 06 Dec 2011 03:07:12 +0800
Tag:    v2.2.1

MDL-30592 question_bank: make files in qtext work in the question list.

commit 1357ab1d5ba533a79acf54dc1fb57e3cba1d64d3
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 06 Dec 2011 02:46:25 +0800
Tag:    v2.2.1

MDL-30592 quiz statistics, ensure images in the question text appear.

commit 001f78b41fefb22ec81c7f0a699667cf065179b4
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 06 Dec 2011 01:13:04 +0800
Tag:    v2.2.1

MDL-30592 moodlelib: new helper component_callback

commit 9671325a35b69bdf57b6569054d3e166bb2f382b
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 05 Dec 2011 23:39:55 +0800
Tag:    v2.2.1

MDL-29579 quiz statistics, include qtext in full XHTML export.

commit 26ebc4170344ab7090142a4ae5f343b3e5348862
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Sat, 03 Dec 2011 00:16:41 +0800
Tag:    v2.2.1

MDL-30559 conditional availability: missing validation of grade rules.

commit 00aa596e8e011729caa7ca70797fd3f89e990973
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 02 Dec 2011 22:49:39 +0800
Tag:    v2.2.1

MDL-30558 question bank, missing string with obscure permissions.

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 4d8a37a0db926661bc3c66ac350cbb0123a004bf
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Mon, 28 Nov 2011 22:59:56 +0800
Tag:    v2.2.1

MDL-30498 user name can overlap user report icon.

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.