Git commits in Moodle 1.8.1 by Tim Hunt

commit 52e79e75d0c270d28b4fb0ee656ef84117d43f8e
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Sat, 05 Dec 2009 03:02:14 +0800
Tag:    v1.8.12

Typo in calculated qtype lang file.

commit ae43de38e09eaab972ad18cdad6760e4a3dbab14
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 03 Nov 2009 01:08:04 +0800
Tag:    v1.8.11

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

commit 9e63957428c1fa4cf57fcb05e9a85f44667db59a
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 03 Nov 2009 01:01:03 +0800
Tag:    v1.8.11

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

commit 2fb0138721d5eb746919cd87ff93a9b38feee906
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 03 Nov 2009 00:50:26 +0800
Tag:    v1.8.11

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

commit e32f1a5b980544e5caf69fe0c032b71ed5cf9d70
Author: tjhunt <tjhunt>
Date:   Fri, 08 Jun 2007 00:03:56 +0800
Tag:    v1.8.1

OU Bug 3246 - No logs shown when a group is selected. Merged from OU Moodle.

commit e23ec822d1db4fe5d24e4cfe09a8e3f623a56e93
Author: tjhunt <tjhunt>
Date:   Thu, 07 Jun 2007 23:40:14 +0800
Tag:    v1.8.1

Fix logging of course settings updates.

commit cbc29c7237dede70f369289cb26592fbdb666e75
Author: tjhunt <tjhunt>
Date:   Thu, 07 Jun 2007 23:34:12 +0800
Tag:    v1.8.1

Make code slightly more robust.

commit a41779208c8fb400ec4967633632af979449b7df
Author: tjhunt <tjhunt>
Date:   Tue, 05 Jun 2007 22:56:16 +0800
Tag:    v1.8.1

Eliminate trailing whitespace.

commit fdd3ed4939c00449d0c9dfbb32eb443d551cecce
Author: tjhunt <tjhunt>
Date:   Sun, 03 Jun 2007 15:26:39 +0800
Tag:    v1.8.1

MDL-10006 - Sorting the quiz overview report on feedback breaks it.

commit 87f156a9dae0c2eb747a391aa6b1d1f2156dd85e
Author: tjhunt <tjhunt>
Date:   Fri, 01 Jun 2007 21:52:41 +0800
Tag:    v1.8.1

Remove invalid unit test.

commit a2aa951267a44befdae62ea5848d1c4176a6df92
Author: tjhunt <tjhunt>
Date:   Fri, 01 Jun 2007 21:34:00 +0800
Tag:    v1.8.1

Remove debug code.

commit 21fa5360fc4345adcaf8359b4d1b2b645984ac23
Author: tjhunt <tjhunt>
Date:   Fri, 01 Jun 2007 17:14:44 +0800
Tag:    v1.8.1

MDL-9996 - Multiple choice answer box too small in the question editing form in Moodle 1.8.

commit 19ac11bd637db1232f6f4e776d3d8295b854fe42
Author: tjhunt <tjhunt>
Date:   Wed, 23 May 2007 18:52:00 +0800
Tag:    v1.8.1

XHTML strict. Fix entity.

commit be61c13c00ca7f13dab61fd4d2349de5ce496f0a
Author: tjhunt <tjhunt>
Date:   Wed, 23 May 2007 18:21:02 +0800
Tag:    v1.8.1

MDL-9914 - Can't download mark details from the quiz overview report

commit 5f7519cd0f61af7c3f0d513aaae9e7d1d130c594
Author: tjhunt <tjhunt>
Date:   Tue, 22 May 2007 22:03:36 +0800
Tag:    v1.8.1

MDL-9881 - Attempting to delete large number of questions fails due to long URL

commit 46b515a48c164878d751bf7e492ef776181d42df
Author: tjhunt <tjhunt>
Date:   Tue, 22 May 2007 21:25:06 +0800
Tag:    v1.8.1

When using DEBUG_DEVELOPER, make error(...) output a stack trace.

commit 6f304b3251a2ccdd1d1be10f6b55d93510cc8172
Author: tjhunt <tjhunt>
Date:   Tue, 22 May 2007 21:24:47 +0800
Tag:    v1.8.1

Switch a form from post to get, since that is more appropriate.

commit fc56e73e492bc02a88080164f53e46d9479df85e
Author: tjhunt <tjhunt>
Date:   Fri, 04 May 2007 18:03:56 +0800
Tag:    v1.8.1

Matching qestion type was failing to correctly determine wheterh the student had changed their answer - further improvements.

commit df3311ee1e073c5d46afcc55cefa78b198c3498d
Author: tjhunt <tjhunt>
Date:   Thu, 03 May 2007 03:34:57 +0800
Tag:    v1.8.1

Revert tiny bit that got committed to the stable branch alongside the fix to MDL-9565.

commit e7bbf42c5ac39ea337c7c45d2ccad51c61e7f48c
Author: tjhunt <tjhunt>
Date:   Fri, 27 Apr 2007 16:32:44 +0800
Tag:    v1.8.1

MDL-9608 - Work around Firefox putting the user's password in the quiz password field.

commit c2baadf060552d50d5c4065590c2bdbec8750cc8
Author: tjhunt <tjhunt>
Date:   Thu, 26 Apr 2007 01:59:22 +0800
Tag:    v1.8.1

MDL-9565 - Fix error in previous commit.

commit d42dbcc1e7382ef59cad73820b85de5241140bbc
Author: tjhunt <tjhunt>
Date:   Wed, 25 Apr 2007 05:16:06 +0800
Tag:    v1.8.1

Fix comedy require_once. Merged from MOODLE_16_STABLE.

commit 443768b8aa624e81d20e22d26b0d38940bd14e4d
Author: tjhunt <tjhunt>
Date:   Wed, 25 Apr 2007 00:59:23 +0800
Tag:    v1.8.1

MDL-9565 - Question preview links don't work in developer debug mode, and not XHTML strict. Merged from OU Moodle.

commit b74504fff3a304deded046aaa4b8500c177fbe5c
Author: tjhunt <tjhunt>
Date:   Tue, 24 Apr 2007 00:23:04 +0800
Tag:    v1.8.1

MDL-9389 - True / False penalty factor field redundant

commit 1e825b9dc13f94538a2d96fc8e8c443afb225e50
Author: tjhunt <tjhunt>
Date:   Tue, 24 Apr 2007 00:18:08 +0800
Tag:    v1.8.1

MDL-9524 - Formslib gets confused if a required field is frozen.

commit 7211a3733a0fbcb4c6c54e0559a1935da3a4c9fe
Author: tjhunt <tjhunt>
Date:   Mon, 23 Apr 2007 21:55:00 +0800
Tag:    v1.8.1

MDL-9447 - Default grade field is redundant in embeded answer (Cloze) question

commit 181190d81b8897a3a6f49ea7b8cf5b6729e2357c
Author: tjhunt <tjhunt>
Date:   Fri, 20 Apr 2007 01:37:25 +0800
Tag:    v1.8.1

MDL-9432 - Forgot to return success/failure in two places.

commit 8f290d7868d8b9a081e87d985f0105b34ebeb2d1
Author: tjhunt <tjhunt>
Date:   Fri, 20 Apr 2007 01:16:35 +0800
Tag:    v1.8.1

Fix error message to say the right thing.

commit 0bb51a9c00615bc497ef24b0fae340f5e3288700
Author: tjhunt <tjhunt>
Date:   Wed, 18 Apr 2007 23:57:12 +0800
Tag:    v1.8.1

MDL-9432 - When restoring questions, links are not recoded. Merged from OU moodle.

commit 346a83d25f058b23442b95fd8162c285c60f3e47
Author: tjhunt <tjhunt>
Date:   Fri, 13 Apr 2007 18:03:15 +0800
Tag:    v1.8.1

Work round PHP4 being a stinking pile of crap.

commit e904a8315bf04246edc3ffd9481751417bd8b451
Author: tjhunt <tjhunt>
Date:   Fri, 13 Apr 2007 16:12:19 +0800
Tag:    v1.8.1

Reveted Nick's alleged typo fix.

Thank you very much for trying to fix my code, but your change is definitely wrong. get_context_instance needs to be passed a coursemoduleid, not a coursemodule object.

Why did you think there was a typo?

And neither of us had noticed that I had left some debug code in. Removing that.

commit 0ece80c0889a34092af29b5aa841fe93e604113b
Author: tjhunt <tjhunt>
Date:   Fri, 13 Apr 2007 06:16:20 +0800
Tag:    v1.8.1

MDL-9325 - mod/quiz:ignoretimelimits does not work.

This is a really horrific short-term fix to a problem not of my making.

commit 379447d88f26f710c020d2874c735fa88eaf9b76
Author: tjhunt <tjhunt>
Date:   Fri, 13 Apr 2007 04:11:32 +0800
Tag:    v1.8.1

MDL-5799 - quiz previews were sometimes showing up in the quiz overview report. Merged from MOODLE_18_STABLE.

commit b930d5a83bb75e00f7488092c6d56e5709c78234
Author: tjhunt <tjhunt>
Date:   Thu, 12 Apr 2007 06:56:50 +0800
Tag:    v1.8.1

MDL-9082 - moodle/question:manage does not let you create questions. Also: 
 * remove useless option from print_question_icon 
 * use the right module context in question_list 
 * a bit of XHTML strrrict in question_list

commit 92b904642a1b1724bef0edfe9dfd5c02d2fb6937
Author: tjhunt <tjhunt>
Date:   Thu, 12 Apr 2007 05:19:48 +0800
Tag:    v1.8.1

MDL-9244 - If a question type provides both an old style editquestion.php and a new style moodle form, then use the moodle form. It was doing the opposite, which broke things for people who upgraded by untarring a new distribution over their old one.

commit 724dbf2d0c093cc580ff41be9c79c9afad498f8c
Author: tjhunt <tjhunt>
Date:   Thu, 12 Apr 2007 04:38:08 +0800
Tag:    v1.8.1

MDL-9079 - Paging broken in quiz overview report. Merged from MOODLE_17_STABLE.

commit 7ed1828798dbe49b60474c9c3bf75851aed7d12f
Author: tjhunt <tjhunt>
Date:   Thu, 12 Apr 2007 04:06:57 +0800
Tag:    v1.8.1

MDL-9280 - JavaScript countdown timer did not work in 1.8 due to XHTML strict changes.
Also, fixing a few more XHTML strrrrict things in attempt.php

commit 12ff34e2452e47bf8e82c27f9fc0b57706296c61
Author: tjhunt <tjhunt>
Date:   Thu, 12 Apr 2007 03:04:59 +0800
Tag:    v1.8.1

MDL-9303 - General Feedback not shown for essay questions on review screen. Merged from MOODLE_17_STABLE.

commit b60f49c799a1c89b23d8b69ad5b32cf7116b542b
Author: tjhunt <tjhunt>
Date:   Thu, 05 Apr 2007 21:54:17 +0800
Tag:    v1.8.1

MDL-9224 - Score sometimes relealed, even when the quiz settings say it should not be. Merged from OU Moodle.

commit 8ef0022d29a1d478410ed7b971de5f5296b365f4
Author: tjhunt <tjhunt>
Date:   Thu, 05 Apr 2007 02:01:27 +0800
Tag:    v1.8.1

MDL-9208 - Only hightlight the correct answer if that option is set.

commit 8fe9be5d8c3d0baecd81dcd968df27584e31787b
Author: tjhunt <tjhunt>
Date:   Thu, 05 Apr 2007 00:51:05 +0800
Tag:    v1.8.1

Bug 2951 - correct PARAM_ types for answers to multichoice and shortanswer questions. Merged from OU Moodle.

commit 9f64c0e6b754858d704494242b5619012af0964c
Author: tjhunt <tjhunt>
Date:   Wed, 04 Apr 2007 23:30:28 +0800
Tag:    v1.8.1

MDL-9183 - yet another invisiblefieldset causing layout problems.

commit a57365af9c5d112ccfb659ebbe58516b3e0a005f
Author: tjhunt <tjhunt>
Date:   Mon, 02 Apr 2007 23:28:47 +0800
Tag:    v1.8.1

Make sure print_object output is always left-aligned. Also, make it look more like other debugging output.

commit 8a5ebf7f29788d57d17f46d2fa2b134c32ca8dbf
Author: tjhunt <tjhunt>
Date:   Mon, 02 Apr 2007 23:26:09 +0800
Tag:    v1.8.1

Missing format_string.

commit db0f3b9159845cdd4730e353eaeaad28545be304
Author: tjhunt <tjhunt>
Date:   Mon, 02 Apr 2007 21:02:17 +0800
Tag:    v1.8.1

MDL-9173 - Can't create match anything answer to numerical question type. Merged from OU Moodle.