Git commits in Moodle 2.2.2 by Tim Hunt

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 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.