Git commits in Moodle 2.1.5 by Tim Hunt

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

MDL-31829 question engine SQL typo breaks some regrades.

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

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

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

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

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

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

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

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

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

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

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

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

commit f5d24daba6749bb1b26cee5f6c1649c035aae62b
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Thu, 26 Jan 2012 20:10:41 +0800
Tag:    v2.1.5

MDL-31385 quiz: does not resume previews.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

commit e40a76f5acea810cee7ee4558346ef3897a85fb7
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 11 Jan 2012 22:04:09 +0800
Tag:    v2.1.5

MDL-26469 upgrade: module cron setting not updated.

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

MDL-31102 question preview: fix HTML validation errors.

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

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

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

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

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

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

commit ce7595e6df508a6543f548437365abe9635036b3
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 10 Jan 2012 00:12:00 +0800
Tag:    v2.1.5

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