Git commits in Moodle 1.8.3 by tjhunt

commit bc93860e9fc032339df282eaa50820fe46d2ec01
Author: tjhunt <tjhunt>
Date:   Wed, 10 Oct 2007 23:26:22 +0800
Tag:    v1.8.3

MDL-11703 - escaped *'s in shortanswer answers were not matching properly.

commit 947d3349aba8ef816c4844a0f1a37c667caa74bc
Author: tjhunt <tjhunt>
Date:   Tue, 09 Oct 2007 23:45:11 +0800
Tag:    v1.8.3

MDL-9076 - Move the 'Add 3 more overall feedbacks' button inside that group of elements on the quiz settings form.

commit 048373691e7200c03cbb5f3b68f15854788a7617
Author: tjhunt <tjhunt>
Date:   Wed, 03 Oct 2007 22:01:08 +0800
Tag:    v1.8.3

MDL-10843 - Backporting lang string search changes from HEAD, so question type plugins can have their help file inside their lang folder.

commit b65a82e1a4b932c9beb49253c5ce6b52bff3cb2c
Author: tjhunt <tjhunt>
Date:   Wed, 03 Oct 2007 05:03:39 +0800
Tag:    v1.8.3

MDL-8682: Pressing enter when answering a short answer question can submit the wrong one. To fix this, I have disabled the enter key unless the keyboard focus is on a submit button (or inside a text box or HTML editor).

commit f6fc4e18910205fa94bbe1d4728269a104671259
Author: tjhunt <tjhunt>
Date:   Wed, 03 Oct 2007 02:47:46 +0800
Tag:    v1.8.3

PHP docs for choose_from_menu function.

commit 4e557706d334753bbc3547a932df2e9659a90a39
Author: tjhunt <tjhunt>
Date:   Thu, 27 Sep 2007 14:53:59 +0800
Tag:    v1.8.3

MDL-5327 - When making up a default question name from the question text, strip any HTML tags.

commit 0556edaf60ee3d03707da89ac09d7326c62eb353
Author: tjhunt <tjhunt>
Date:   Thu, 27 Sep 2007 04:44:58 +0800
Tag:    v1.8.3

MDL-9331 - Problem with the tables on the quiz index page.

commit 231e40984933f91eb15837b1de4ff025fcd66620
Author: tjhunt <tjhunt>
Date:   Thu, 27 Sep 2007 04:12:39 +0800
Tag:    v1.8.3

MDL-5086 - Improve the formatting of the question import and export help so that the code samples fit.

commit e7c9105d265a16e95b8f7e0b546ed7f15c134ef2
Author: tjhunt <tjhunt>
Date:   Thu, 27 Sep 2007 04:09:47 +0800
Tag:    v1.8.3

Tweak the styles for <pre> tags in help files. These are mostly used for code samples, and they have a grey background and are shown in a different font, so the indent I am getting rid of is not necessarly to make the structure of the document clearn, and usually just means that the code sample does not fit.

commit df4847fc1b6cc1b454a46d2070dae017a1526a61
Author: tjhunt <tjhunt>
Date:   Wed, 26 Sep 2007 18:23:10 +0800
Tag:    v1.8.3

Get rid of duplicate $Id$ tags.

commit e0e0c00e9432e90051706bd27b7bfb1a728e903e
Author: tjhunt <tjhunt>
Date:   Wed, 26 Sep 2007 18:13:28 +0800
Tag:    v1.8.3

Add $Id$ tags.

commit e19f5f4ce5f248c12ee12735af03d9ab1de14c2e
Author: tjhunt <tjhunt>
Date:   Wed, 26 Sep 2007 18:11:23 +0800
Tag:    v1.8.3

Get rid of duplicate $Id$ tags.

commit f5f696be2a9e3ac3187a756f3d6c979d335e3cb1
Author: tjhunt <tjhunt>
Date:   Wed, 26 Sep 2007 18:07:48 +0800
Tag:    v1.8.3

MDL-11446 - when a set of radio buttons is a required field, don't colour the lables of all the individual radio buttons red. Backported from HEAD.

commit b424feb1cd68e2608bf99a6b52390a3a1543bf2d
Author: tjhunt <tjhunt>
Date:   Mon, 24 Sep 2007 22:17:18 +0800
Tag:    v1.8.3

MDL-10916 - Import and Export of Cloze question misses out "generalfeedback" column. Merged from MOODLE_17_STABLE.

commit 5ff601c49efb2c798e6ca3c2fde3481585d6b948
Author: tjhunt <tjhunt>
Date:   Mon, 24 Sep 2007 18:05:42 +0800
Tag:    v1.8.3

Fix PHP syntax errors.

commit c6b4a16884bfa75bafccbfa42b74a687f4e2320a
Author: tjhunt <tjhunt>
Date:   Sat, 22 Sep 2007 02:28:31 +0800
Tag:    v1.8.3

MDL-11316 - Extra slashes appearing in the correct answer of shortanswer questions when they contain a slash.

commit f5446711d2141ce6706efb73f62d1d035f3f6703
Author: tjhunt <tjhunt>
Date:   Sat, 22 Sep 2007 00:17:53 +0800
Tag:    v1.8.3

MDL-9952 - Cant escape # by using \ in a Cloze question.

commit 919352d80a5efa0159868a18e11c55ad3c1c518a
Author: tjhunt <tjhunt>
Date:   Fri, 21 Sep 2007 21:28:31 +0800
Tag:    v1.8.3

MDL-3731 - Help file for the Item Analysis report does not explain why Disc. Coeff. is sometimes reported at -999.00.

commit 57c9510f1bdb29d1ecc223acefe7efc2fa2c8c3f
Author: tjhunt <tjhunt>
Date:   Fri, 21 Sep 2007 19:10:18 +0800
Tag:    v1.8.3

MDL-10338 - quiz index page does not work in weekscss format.

commit aac5f171761428be241c9f6675fc4f6cc4f0831d
Author: tjhunt <tjhunt>
Date:   Thu, 20 Sep 2007 23:09:45 +0800
Tag:    v1.8.3

XHTML Strict in question state history table.

commit af8288c0e6f862be83fe0d7836330e06b3375a9f
Author: tjhunt <tjhunt>
Date:   Thu, 20 Sep 2007 01:57:52 +0800
Tag:    v1.8.3

MDL-10671 - Content on question import and export pages sitting on the left side.

commit 0920afeddc2a1e01ccf8dfebec544f555837dd14
Author: tjhunt <tjhunt>
Date:   Thu, 20 Sep 2007 01:44:37 +0800
Tag:    v1.8.3

MDL-10824 - spaces in javascript URLs are not strictly valid.

commit 1ad377cf12dcdbef7fceecd5083a853db84c71ca
Author: tjhunt <tjhunt>
Date:   Thu, 20 Sep 2007 01:05:32 +0800
Tag:    v1.8.3

MDL-10903 - Wrong capability checked in get_all_instances_in_course should be moodle/course:viewhiddenactivities, not moodle/course:viewhiddencourses.

commit e9ba213148ac50fb5ad8e2918c0d03d09190f4d2
Author: tjhunt <tjhunt>
Date:   Wed, 19 Sep 2007 23:52:08 +0800
Tag:    v1.8.3

MDL-10972 - The lang string 'fullname', which is normally used for course fullnames, was being used for a person's full name in some quiz reports. This dual usage is not translatable into all languages.

commit 3fc8fbccd6d6713f6f77cdb9e96e6d71d7025823
Author: tjhunt <tjhunt>
Date:   Wed, 19 Sep 2007 18:55:31 +0800
Tag:    v1.8.3

MDL-6315 - When processing a manul grading action, if both the comment and the score are blank - as might be the case on the 'Grade all' page of the manual grading when the teacher uses it to grade some, but not all of the students - then do not record the question as graded.

commit eebb9e840dc4231af7d6a53f96c6a61797b85d52
Author: tjhunt <tjhunt>
Date:   Wed, 19 Sep 2007 18:31:53 +0800
Tag:    v1.8.3

XHTML Strictness.

commit d7ced1eca373afde9976d971f1a28f6ba4d025b2
Author: tjhunt <tjhunt>
Date:   Wed, 19 Sep 2007 18:26:19 +0800
Tag:    v1.8.3

MDL-11095 - Use absolute path to include tabs.php, not a relative path, for greater robustness.

commit dc1a8255ba8bb1d2da3394fe687a4e421a7d3db4
Author: tjhunt <tjhunt>
Date:   Tue, 18 Sep 2007 20:15:10 +0800
Tag:    v1.8.3

MDL-11317 - Slashes displayed in incorrect responses for short answer questions. Fix by adding stripslashes in the appropriate place.

commit 91d44be7b0df7e94b3ecc6babdc79467882f7a88
Author: tjhunt <tjhunt>
Date:   Tue, 18 Sep 2007 00:11:37 +0800
Tag:    v1.8.3

MDL-11267 - Anywone who can view quiz reports can delete student attempts.

commit edd33b96b34782652aed9d6f71cbb5b049da9b72
Author: tjhunt <tjhunt>
Date:   Mon, 17 Sep 2007 22:39:37 +0800
Tag:    v1.8.3

MDL-11310 - Multichoice edititing form should have space for 5 answers by default

commit 9bee6187e4e132c7cf4bbcb0a9ec7cfe822c3ded
Author: tjhunt <tjhunt>
Date:   Fri, 14 Sep 2007 17:42:40 +0800
Tag:    v1.8.3

MDL-11271 - The closing bracket "}" can't be used in cloze question type. Now, you can excape a closing } with a backslash. Do feedback, as well as answer.

commit 4764cb3ee835c5903ea8623b2c719a06511a5116
Author: tjhunt <tjhunt>
Date:   Fri, 14 Sep 2007 17:34:40 +0800
Tag:    v1.8.3

MDL-11271 - The closing bracket "}" can't be used in cloze question type. Now, you can excape a closing } with a backslash.

commit 3b53ec29f8c110c3fb02eb951ace25bbdbe50bb1
Author: tjhunt <tjhunt>
Date:   Fri, 14 Sep 2007 01:29:13 +0800
Tag:    v1.8.3

MDL-11081 and MDL-11211 - Implement quiz_question_list_instances. The lach of this function was causing a horrible dataloss bug: MDL-11211. Fix thanks to Janne Mikkonen, refined by me. Merged from MOODLE_16_STABLE.

commit 0498a4d5175e5d918924fe042ad8a9c8d2838f31
Author: tjhunt <tjhunt>
Date:   Fri, 14 Sep 2007 00:24:50 +0800
Tag:    v1.8.3

MDL-11213 - Quiz preview attempts show up in item analysis. Fix thanks to Jean-Michel Vedrine.

commit 7d0ffb0fe6ccf053082b654a52faf20a8a0cc7ba
Author: tjhunt <tjhunt>
Date:   Thu, 13 Sep 2007 18:46:39 +0800
Tag:    v1.8.3

MDL-11231 - Missing "correct" tick in Close question with answer '0'.

commit 3580ad8ee13acf56ae6f162bbc08f14c71f2ec67
Author: tjhunt <tjhunt>
Date:   Mon, 10 Sep 2007 19:06:01 +0800
Tag:    v1.8.3

Take out duplicate $Id$ CVS tags.

commit 9ce40f4de17ab060145e02c35e122b191c80aa8a
Author: tjhunt <tjhunt>
Date:   Wed, 15 Aug 2007 20:44:30 +0800
Tag:    v1.8.3

MDL-10858 - Edit field sizes for overall feedback are silly

commit c72a4079b14254f03d01dab3c1862ee744b9634a
Author: tjhunt <tjhunt>
Date:   Tue, 14 Aug 2007 21:33:44 +0800
Tag:    v1.8.3

MDL-10834 - Restore of quiz module may create calendar events without a date/time. Fix thanks to Derek Woolhead. Merged from MOODLE_17_STABLE.

commit 1138529ffa495a4fba381283e9974e07d563a4c3
Author: tjhunt <tjhunt>
Date:   Mon, 13 Aug 2007 19:20:59 +0800
Tag:    v1.8.3

Notice on quiz config.html page. - backported from HEAD.

commit ffeb631f2889d557d3dd6b108ad7844d1bd67fa4
Author: tjhunt <tjhunt>
Date:   Fri, 10 Aug 2007 23:54:11 +0800
Tag:    v1.8.3

Fix whitespace.

commit a44ce185fac5728af98a35b2e436febf269f1994
Author: tjhunt <tjhunt>
Date:   Fri, 10 Aug 2007 23:22:15 +0800
Tag:    v1.8.3

MDL-10581 - Each attemtp builds on last & multi-page quizzes was casuing grading errors.

commit 1c5d61d9282188617b2328421798edda7dc05218
Author: tjhunt <tjhunt>
Date:   Fri, 10 Aug 2007 23:21:16 +0800
Tag:    v1.8.3

MDL-10799 - Question types do not accurately determine whether their state has changed or not.

commit b766a48f3f4aa7ecf28d9aff3b85efee7aad6183
Author: tjhunt <tjhunt>
Date:   Fri, 10 Aug 2007 18:48:27 +0800
Tag:    v1.8.3

MDL-10786 - Short Answer questions will not allow 0 as the sole answer

commit eac3f48ca7c47a08ce1bbbf3ce47269d11f1a042
Author: tjhunt <tjhunt>
Date:   Fri, 10 Aug 2007 18:37:38 +0800
Tag:    v1.8.3

Accessing wrong field of $mod from course.modinfo. Merged from MOODLE_17_STABLE.

commit 4514f4bf4baf4ce1231706084946286cd0d21962
Author: tjhunt <tjhunt>
Date:   Wed, 08 Aug 2007 19:31:09 +0800
Tag:    v1.8.3

MDL-10759 - Bogus get_context_instance call in quiz_print_recent_mod_activity. Merged from MOODLE_17_STABLE.

commit 809651502d4470df977bd4f7b66648bd42c3400f
Author: tjhunt <tjhunt>
Date:   Tue, 07 Aug 2007 20:39:33 +0800
Tag:    v1.8.3

MDL-10737 - Increase size of short answer text entry box

commit 1221d87de8c34473a3ca214bd6509dd73042b2de
Author: tjhunt <tjhunt>
Date:   Mon, 06 Aug 2007 21:22:06 +0800
Tag:    v1.8.3

MDL-9519 - incorrectuse of language strings in quiz.

commit 5573a51843df253a4ec21639f04dbf7f9a75dcfc
Author: tjhunt <tjhunt>
Date:   Fri, 03 Aug 2007 22:26:33 +0800
Tag:    v1.8.3

MDL-10709 - Shortanswer resonses should be trimmed before being saved in the database.

commit 4fadd528787a49e0aad64a5f9fef9dfc42df9536
Author: tjhunt <tjhunt>
Date:   Fri, 03 Aug 2007 18:34:15 +0800
Tag:    v1.8.3

Tabs to spaces.

commit 87b9156edb8d790581f5ea4af25aac4887817435
Author: tjhunt <tjhunt>
Date:   Fri, 03 Aug 2007 18:32:53 +0800
Tag:    v1.8.3

MDL-10690 - Make quiz name a manditory field.

commit 1e6eb9da3537f6b0cffeba1fa51466c32c1f9079
Author: tjhunt <tjhunt>
Date:   Tue, 31 Jul 2007 17:38:52 +0800
Tag:    v1.8.3

MDL-10663 - fix stupid typo on the stable branch. Somebody shoot me!

commit 66f87785195d48ae1e3b4c22e43e42a8fec546ad
Author: tjhunt <tjhunt>
Date:   Tue, 31 Jul 2007 06:14:16 +0800
Tag:    v1.8.3

MDL-10661 - another bloody invisiblefieldset bug.

commit 9ff3b4ab32ff47411c4752dc07d45ba7053bb855
Author: tjhunt <tjhunt>
Date:   Mon, 30 Jul 2007 18:41:15 +0800
Tag:    v1.8.3

MDL-10300 - cleaning incorrectly applied to overall feedback. Backported from HEAD.

commit c7ff87ee13323c111dc9672f2e0cc8901a1099e5
Author: tjhunt <tjhunt>
Date:   Thu, 26 Jul 2007 01:08:24 +0800
Tag:    v1.8.3

OU Bug 2867 - Overview report keeps forgetting the 'Display options' settings. Merged from OU Moodle.

commit bc898bed7b74d5efa355918601b72928783d9667
Author: tjhunt <tjhunt>
Date:   Wed, 25 Jul 2007 18:08:51 +0800
Tag:    v1.8.3

Regression from MDL-10515 - the a. b. was getting doubled.

commit 6f6506058f0e1dd60bafbbc7b82b584302dce637
Author: tjhunt <tjhunt>
Date:   Sat, 21 Jul 2007 01:10:11 +0800
Tag:    v1.8.3

MDL-7925 - it happened again. Stupid bloodly forms lib. I have no idea what it was playing at.

commit cccd285acf6fd815f69d4ab72ee8ba90485751ac
Author: tjhunt <tjhunt>
Date:   Sat, 21 Jul 2007 00:12:06 +0800
Tag:    v1.8.3

Change where it looks for quiz report language files, to match the way the existing reports currenly work.

commit 597abe1a2cc3826e11dd75c42247129aeafb0e63
Author: tjhunt <tjhunt>
Date:   Fri, 20 Jul 2007 00:51:05 +0800
Tag:    v1.8.3

MDL-8056 - one if statement was missed during Matt Clarkson's/Eloy's commit on 15th July 2007.

commit b77a1c30bd037028593bd319b451e8fc408d9b49
Author: tjhunt <tjhunt>
Date:   Wed, 18 Jul 2007 21:57:08 +0800
Tag:    v1.8.3

MDL-10515 - Change HTML to make it easier to style multiple choice questions

commit fdfe84df84bbd49c5fb3d3548ed396bb897eae2c
Author: tjhunt <tjhunt>
Date:   Tue, 17 Jul 2007 23:28:04 +0800
Tag:    v1.8.3

OU bug 3463 - warnings when you start an attempt in 'each attempt builds on last' mode.

commit e0fdaa9de0e3d6403acd765544ddedea7f12784b
Author: tjhunt <tjhunt>
Date:   Fri, 13 Jul 2007 23:58:32 +0800
Tag:    v1.8.3

MDL-10452 - start quiz UI is confusing if you have quiz:preview capability. Change the 'start/continue attempt button' to say 'start/continue preview' in this case. Merged from MOODLE_17_STABLE.