Git commits in Moodle 1.9.7 by Tim Hunt

commit 288a3b29a6756a23f319227aab2cb4e2b735b6bb
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 25 Nov 2009 05:45:28 +0800
Tag:    v1.9.7

Unit tests: Change the parent class to avoid a deprecated class. This is necessary to make it work in PHP 5.3 (as well as PHP 4).

commit 15b9c8e9c60d078d150043793445e09d0960e3e2
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 24 Nov 2009 19:49:23 +0800
Tag:    v1.9.7

random question history MDL-20951: Two minor bugs in the fix for  MDL-20776. Thanks to Oleg Sychev for noticing these problems.

commit 8a7b41f2a64bfb24a44c6301795126d356a0fffd
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 20 Nov 2009 03:09:07 +0800
Tag:    v1.9.7

question editing from quiz: MDL-20709 better return URL.

commit 8d1e5fdf4aef061f27beefb6b93120134a055c41
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 20 Nov 2009 03:03:57 +0800
Tag:    v1.9.7

question history: MDL-20776 state history was not shown for random questions I took the opportunity to clean up the code that generates the history. Thanks to Gbor Katona for helping to find the problem.

commit 55d5661bbcb5138d1159abd6d07ddd99d43904ed
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 20 Nov 2009 01:59:55 +0800
Tag:    v1.9.7

question editing: MDL-20380 Highlight the last edited question when you cancel the form too.

commit 08df518104d29816734b5ddf94d7bdea2b12cf76
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 20 Nov 2009 01:46:17 +0800
Tag:    v1.9.7

question bank - MDL-20545 need a separate language string for edit question category, as opposed to edit course category.

commit 56ed03a328c58f03fd9498fa7167e0ff33f649e0
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 20 Nov 2009 01:30:11 +0800
Tag:    v1.9.7

manual grading: MDL-20581 Fix potential XSS problem. Thanks to Penny for spotting this.

commit 85f530cf0d999ad921d8b7c263c4f7a998d84657
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Fri, 20 Nov 2009 00:56:49 +0800
Tag:    v1.9.7

graphlib - MDL-20855 fix alignemnt issue with the x-axis. Labels with a descender (e.g. May) appeared lower than ones without (e.g. Jun). Text is drawn baseline aligned, not bottom aligned,and so the code was computing the position wrongly.

commit 115cc42f873f25f31b2421029dce5b1089129550
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 10 Nov 2009 17:51:32 +0800
Tag:    v1.9.7

gradebook cron: MDL-20783 - was broken. Committing this trivial fix, even though it is testing day. tongueout

commit b78d7c8ab08a11d6b306885e262bd1eab7e1fbe6
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Wed, 04 Nov 2009 22:07:13 +0800
Tag:    v1.9.7

quiz MDL-20718 notice on review page.

commit 3e3281e82dd90d741ce09efd2cd5e429d19c7126
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 03 Nov 2009 01:15:19 +0800
Tag:    v1.9.7

question bank: MDL-20707 prevent XSRF. Uses new require_sesskey function from MDL-20702.

commit 593257a5aec5a37085f1474673bf358ae7f8456c
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 03 Nov 2009 01:08:05 +0800
Tag:    v1.9.7

quiz manual grading: MDL-20706 prevent XSRF. Uses new require_sesskey funciton from MDL-20702.

commit 066e898965e75ffbe1b6ad37babd3d522abceae4
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 03 Nov 2009 01:01:06 +0800
Tag:    v1.9.7

lesson: MDL-20705 Fix XSRF issues. Uses new require_sesskey funciton from MDL-20702.

commit 9568417f5fdaf48a5ae10aee7b441bbb8f7da4bc
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 03 Nov 2009 00:50:33 +0800
Tag:    v1.9.7

moodlelib: MDL-20702 New require_sesskey function. Backported from head.