Git commits in Moodle 1.6.x by tjhunt

commit ae3526d98ef9ae4d9d17dfa8a3bc2cb9f2d5a682
Author: tjhunt <tjhunt>
Date:   Fri, 12 Dec 2008 15:45:13 +0900
Tag:    v1.6.9

match qtype: MDL-17326 backup and restore problems

commit 3645f5bad3c7d41e80f484c7177292a6da7c38ae
Author: tjhunt <tjhunt>
Date:   Fri, 12 Dec 2008 13:39:24 +0900
Tag:    v1.6.9

matching qtype: MDL-17496 With filterall and multilang, the contents of the dropdowns was not being properly filtered

commit a8b0a0d43146de382ca571227c27a69d84bdf129
Author: tjhunt <tjhunt>
Date:   Fri, 05 Dec 2008 13:20:20 +0900
Tag:    v1.6.9

quiz settings: MDL-16781 Avoid concatenating and calling strtolower on language strings.

commit a96dff44c311d012cb1c537ae934925c301bb2a3
Author: tjhunt <tjhunt>
Date:   Fri, 15 Aug 2008 11:13:49 +0800
Tag:    v1.6.8

MDL-16056 - Aiken format should treat input as plain text, and so escape HTML special characters.

commit a447229f96784dcda562e07b4a53424f35182ac0
Author: tjhunt <tjhunt>
Date:   Fri, 15 Aug 2008 11:11:26 +0800
Tag:    v1.6.8

MDL-16056 - Backporting whitespace changes before merging the acutal fix.

commit ec34bda1fc1278a7a0d07be27bb70f0765d3716e
Author: tjhunt <tjhunt>
Date:   Fri, 15 Aug 2008 11:08:21 +0800
Tag:    v1.6.8

MDL-16056 - Backporting comment changes before merging the acutal fix.

commit 60ec12e055c9fd5a5a15525c1030a05c5b40413e
Author: tjhunt <tjhunt>
Date:   Tue, 13 May 2008 01:29:52 +0800
Tag:    v1.6.7

MDL-14804 - question_list_instances is broken - It does not include the each modules lib file before doing function_exists($module->name.'_question_list_instances').

commit be074bc3e6ea7901b8261fdfeddb90d1dd576cc3
Author: tjhunt <tjhunt>
Date:   Mon, 12 May 2008 18:44:42 +0800
Tag:    v1.6.7

MDL-14797 - Error when moving a course to an empty category on Postgres

commit cfdfc85ddce75d46387c49f224a6d36cbac5b94e
Author: tjhunt <tjhunt>
Date:   Fri, 09 May 2008 23:22:46 +0800
Tag:    v1.6.7

MDL-14750 - Multianswer questions get broken by backup and restore becuase question->parent is not recoded properly in the database.

commit 6fa56c54f3ad6380f1f9f2f3f2fca44eeca8e01d
Author: tjhunt <tjhunt>
Date:   Wed, 07 May 2008 20:31:58 +0800
Tag:    v1.6.7

MDL-5482 - Backup and restore problems for match, random and truefalse question types.

commit 2519a70a191c6998b847f39e4d973b835d670b7b
Author: tjhunt <tjhunt>
Date:   Thu, 31 Jan 2008 03:18:41 +0900
Tag:    v1.6.7

MDL-13110 - Manually grading random questions does not work. Fix thanks to Ken Burres.

commit 5ed379d7137e818bb147429783190a2465e3ada0
Author: tjhunt <tjhunt>
Date:   Thu, 31 Jan 2008 02:24:42 +0900
Tag:    v1.6.7

Fix invalid XML in example file.

commit f238441d450875364f5fa8ced4b3f7c80e1976b6
Author: tjhunt <tjhunt>
Date:   Wed, 31 Oct 2007 03:22:25 +0900
Tag:    v1.6.6

MDL-9375 (and dups) - Each attempt builds on last with multi-page quizzes gives the wrong score on the second attempt. It turns out that this was already fixed in Moodle 1.9 (part of commit 1.115 -> 1.116) so I have just backported the relevant changes. I have tested that this fixes the reported problem. I have not had time to test that it does not break one of the other billion possible combinations of settings possible with the quiz. Code review and testing welcome.

commit 12e5b3c2b1b9ab44093597f81e9dfb1ed2a1fb61
Author: tjhunt <tjhunt>
Date:   Tue, 30 Oct 2007 00:25:13 +0900
Tag:    v1.6.6

MDL-11416 - Support for nonsortable columns in table lib. Backported from MOODLE_19_STABLE so that the fix for MDL-5262 works.

commit b7515bca1468b79b25866f91010ad20956dfae9b
Author: tjhunt <tjhunt>
Date:   Wed, 17 Oct 2007 05:26:33 +0800
Tag:    v1.6.6

MDL-5262 - PHP notice when sorting on R% coloumn in the Item analysis report - I adopted the simple solution of stopping people sorting on that column, since it is the same as sorting on rcount, I think. Backported from MOODLE_19_STABLE.

commit 8a3df96e52d6ad052a3be89584fd0c39bb5d35b8
Author: tjhunt <tjhunt>
Date:   Fri, 14 Sep 2007 01:28:31 +0800
Tag:    v1.6.6

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.

commit dad09658025fbc4e3e7a9afdc8586c01cdc1e570
Author: tjhunt <tjhunt>
Date:   Wed, 25 Apr 2007 05:15:37 +0800
Tag:    v1.6.6

Fix comedy require_once.

commit 10e20746842e2d1d7e31b2a9baf962314f1679f6
Author: tjhunt <tjhunt>
Date:   Fri, 20 Apr 2007 01:16:43 +0800
Tag:    v1.6.6

Fix error message to say the right thing.

commit e7a84ec034fa2db4c424c6b0f48a0d9cca62f521
Author: tjhunt <tjhunt>
Date:   Sat, 31 Mar 2007 00:05:14 +0800
Tag:    v1.6.6

MDL-6269, MDL-8958, MDL-8990 - Major fix to do with each attempt builds on last:

commit 5c3a0f7cf6f7ed9b37534471df2955bb7ff915bc
Author: tjhunt <tjhunt>
Date:   Fri, 23 Mar 2007 06:31:12 +0900
Tag:    v1.6.5

MDL-7241 - Manual grading report, sort by completed time didn't.

commit a24948b64f0a229bc0595ed971739352d1828c7a
Author: tjhunt <tjhunt>
Date:   Thu, 22 Mar 2007 08:25:09 +0900
Tag:    v1.6.5

MDL-7259 - Item analysis report does not use the right format_text settings.

commit c6d0697e7ab2fc68ed5be145981ae44cc2ad066f
Author: tjhunt <tjhunt>
Date:   Thu, 22 Mar 2007 08:04:41 +0900
Tag:    v1.6.5

Fix whitespace problems and Eclipse warnings in Item Analysis quiz report.

commit e6fb20e1b443da3a5a02842f377608c9ba9d12a4
Author: tjhunt <tjhunt>
Date:   Wed, 21 Mar 2007 09:13:01 +0900
Tag:    v1.6.5

MDL-8978 - Regression from MDL-6386.

commit 05318aa55a84bb47ebf666051748e1d467cb579b
Author: tjhunt <tjhunt>
Date:   Tue, 20 Mar 2007 23:31:08 +0900
Tag:    v1.6.5

MDL-6386/MDL-6462 - yet more special character issues with multianswer. I think I have got them all this time. Backported from HEAD.

commit 911812794c49744f2ef87265dee42bee1869e466
Author: tjhunt <tjhunt>
Date:   Thu, 15 Mar 2007 21:58:38 +0900
Tag:    v1.6.5

MDL-6462 - Cloze (multianswer) question special character issues.

commit 8ec981d1eb64d081c8d3793a3be80d2de31df39d
Author: tjhunt <tjhunt>
Date:   Thu, 15 Mar 2007 06:23:39 +0900
Tag:    v1.6.5

MDL-8127 - bad use of DESCRIPTION constant in quiz module causes upgrade to fail. Thanks to Pavel Krejci for the fix.

commit 3e93268a0ab8c16ce1aab0415b496f2eb4d82730
Author: tjhunt <tjhunt>
Date:   Wed, 14 Mar 2007 02:43:10 +0900
Tag:    v1.6.5

Eliminate bizarre use of function_exists.

commit 50219aacc1779c66aab510f8056650443e9df82d
Author: tjhunt <tjhunt>
Date:   Sat, 10 Mar 2007 09:34:55 +0900
Tag:    v1.6.5

MDL-8177 - Random questions selected deleted questions. Backported from MOODLE_18_STABLE.

commit 1e1ac995130b83cc3d03695c0fe8988eb3ea8869
Author: tjhunt <tjhunt>
Date:   Wed, 07 Mar 2007 03:00:51 +0900
Tag:    v1.6.5

MDL-8349 - responses not being filtered in history display. Backported from MOODLE_18_STABLE.

commit e4f0ab116bcb8fb0aebc44640e571407cd4dbe2f
Author: tjhunt <tjhunt>
Date:   Mon, 19 Feb 2007 13:23:58 +0900
Tag:    v1.6.5

MDL-8145 - Add more options to the add random questions dropdown.

commit 7d11d206b03d4c653823e089d2cc614ab2122f27
Author: tjhunt <tjhunt>
Date:   Sun, 18 Feb 2007 02:16:44 +0900
Tag:    v1.6.5

MDL-8154 - Typo in course search code. Fix thanks to Anthony Borrow.

commit c19838ded37a955638d18402ece4bc83ec1d0737
Author: tjhunt <tjhunt>
Date:   Tue, 30 Jan 2007 01:22:24 +0900
Tag:    v1.6.5

Fix type on close tag.

commit d985ae5bdd318bbd77e90ac80a9d563159c153f5
Author: tjhunt <tjhunt>
Date:   Tue, 19 Dec 2006 03:06:08 +0900
Tag:    v1.6.4

MDL-7975 - Make import and export of truefalse questions more reliable.

commit ad4dd3d4b8d81950772dbb535553356800389c71
Author: tjhunt <tjhunt>
Date:   Tue, 19 Dec 2006 01:30:13 +0900
Tag:    v1.6.4

MDL-7972 - improve GIFT import export for truefalse questions. Also clean up whitespace in question/format/gift/format.php

commit 3866b318aa9f38f509d018b2669df99d663ad959
Author: tjhunt <tjhunt>
Date:   Tue, 12 Dec 2006 08:33:15 +0900
Tag:    v1.6.4

MDL-7896 - error from random question type in adaptive mode.

commit da4c604c9d5d6cb79d3091f13be3cc0d7a9aa460
Author: tjhunt <tjhunt>
Date:   Mon, 11 Dec 2006 23:03:04 +0900
Tag:    v1.6.4

MDL-7886 - typo in overview report javascript.

commit 0bf87d3181e4e9ef4594c1a8a601824b365fe485
Author: tjhunt <tjhunt>
Date:   Wed, 06 Dec 2006 03:46:45 +0900
Tag:    v1.6.4

MDL-7804 - Essay questions do not backup properly.

commit 5b77a01ea43f25e318a90b772ce3129c04b682ee
Author: tjhunt <tjhunt>
Date:   Wed, 06 Dec 2006 03:13:56 +0900
Tag:    v1.6.4

Add $level parameters to each backup method.

commit adec76796a14da9f034876e78155c965ba402863
Author: tjhunt <tjhunt>
Date:   Tue, 05 Dec 2006 01:08:04 +0900
Tag:    v1.6.4

Typo in help. Thanks to Ken Wilson.

commit 14a62bfcd58a753d8a7c7f108b2be62a1f433962
Author: tjhunt <tjhunt>
Date:   Thu, 16 Nov 2006 01:32:32 +0800
Tag:    v1.6.4

MDL-7428 - Quiz regrade removes student answers from essay questions that have been graded.

commit 3a4cd9d998bdd077de43a2716fa8176e27ffd722
Author: tjhunt <tjhunt>
Date:   Thu, 16 Nov 2006 00:55:40 +0800
Tag:    v1.6.4

MDL-7567 Numerical questions occasionally mix up the order of their answers

commit 32fd8433d9e0dca0016ec0781bc0e57f4fb1363f
Author: tjhunt <tjhunt>
Date:   Thu, 16 Nov 2006 00:47:58 +0800
Tag:    v1.6.4

Remove obsolete code.

commit f9cd1321acb3736376c95585f61f08eb334f0259
Author: tjhunt <tjhunt>
Date:   Wed, 15 Nov 2006 20:33:14 +0800
Tag:    v1.6.4

MDL-7309 Add error checking to the Quiz DB upgrade script. This should prevent the mysterious failures that some people are seeing when upgrading quizzes from 1.5.x to 1.6.x.

commit 5c578b2bc24f639aeaf9426324b97fce0e60e962
Author: tjhunt <tjhunt>
Date:   Wed, 15 Nov 2006 08:30:30 +0800
Tag:    v1.6.4

MDL-6380 - added required include to make blocks work on the quiz pages. Backported from HEAD. See also MDL-7420.

commit 3080f3649595254c50dd4733a2e3ee1ca97dff08
Author: tjhunt <tjhunt>
Date:   Tue, 31 Oct 2006 20:12:11 +0800
Tag:    v1.6.4

MDL-5811 - Quiz editing outputs nasty junk before print_header sometimes. Second attempt at fixing. I forgot to mention the bug number in the previous commit to mod/quiz/edit.php. Backported from MOODLE_17_STABLE.

commit 4bb30981a024105e699e83ce090661fd9814996d
Author: tjhunt <tjhunt>
Date:   Tue, 31 Oct 2006 19:58:04 +0800
Tag:    v1.6.4

Make the close_window function better. Backported from MOODLE_17_STABLE.

commit 3f12881e16d6c7ccab4e2aec63aa342a23e53032
Author: tjhunt <tjhunt>
Date:   Tue, 31 Oct 2006 18:48:13 +0800
Tag:    v1.6.4

Fix junk being output before print_header, which happened sometimes. Backported from MOODLE_17_STABLE.

commit 4ca8d4783bfde0e4f417ae581acb62b932cf8bdf
Author: tjhunt <tjhunt>
Date:   Tue, 31 Oct 2006 18:48:01 +0800
Tag:    v1.6.4

Add return option to notify(). Backported from MOODLE_17_STABLE.

commit 24fcdd14c0976998ddf559ea776f64a212991a83
Author: tjhunt <tjhunt>
Date:   Wed, 18 Oct 2006 07:19:15 +0800
Tag:    v1.6.4

MDL-6315 - Manually grading a question 0 marks was not being registered. I took the opportunity to clean up the logic in this function a bit.

commit dd08b0d166e11b3d1f57c51c04780764ad3b5e79
Author: tjhunt <tjhunt>
Date:   Wed, 18 Oct 2006 06:16:47 +0800
Tag:    v1.6.4

MDL-6848 - Display problem with < > characters in shortanswer when outputting the correct answer.

commit 3d365baa6582e34e779413c25930688bf16cbd16
Author: tjhunt <tjhunt>
Date:   Wed, 18 Oct 2006 06:00:51 +0800
Tag:    v1.6.4

MDL-6386 - stripslashes missing in multianswer qustions. Thank to Joseph Rezeau.

commit 70a892eb511a779de833cf061b6fc99a80a04770
Author: tjhunt <tjhunt>
Date:   Wed, 18 Oct 2006 05:38:51 +0800
Tag:    v1.6.4

MDL-7054 - Prevent creation of question categories with blank names.

commit 6117074c054837343e930ea9cb08278a4c87233c
Author: tjhunt <tjhunt>
Date:   Mon, 16 Oct 2006 17:59:36 +0800
Tag:    v1.6.4

MDL-6984 - Problem with Blackboard 5 import in PHP5. Fix based on a suggestion from Arthur Manning.

commit e1088a97ecd13f1616018225ce1b144548d4225a
Author: tjhunt <tjhunt>
Date:   Sat, 07 Oct 2006 00:45:16 +0800
Tag:    v1.6.3

Hopefully improve performance on site with lots of question categories.

commit 98632cd3c860cb42845c9ee7d33636b5bffc6145
Author: tjhunt <tjhunt>
Date:   Thu, 05 Oct 2006 23:53:18 +0800
Tag:    v1.6.3

MDL-6837 - move warning about pupup blockers into the lang file.

commit 8419513e13e50f967cfa68c5afa29ad774cf30ea
Author: tjhunt <tjhunt>
Date:   Wed, 04 Oct 2006 18:07:42 +0800
Tag:    v1.6.3

MDL-6297 shuffleanswers option not imported correctly for MC questions. Backported from HEAD.

commit 6ca5cf268b3e629fff1e437e78144aa004ac5a5b
Author: tjhunt <tjhunt>
Date:   Wed, 04 Oct 2006 01:59:51 +0800
Tag:    v1.6.3

Reverting last change. I committed the wrong file.

commit b9bdd0c7b6b11b09d6a059cd7e57eaa37b6c3777
Author: tjhunt <tjhunt>
Date:   Wed, 04 Oct 2006 01:56:51 +0800
Tag:    v1.6.3

MDL-5601 - restoring a course with a multianswer question sometimes causes an error() for a non-fatal contition. Change it to a notify, and everything seems to work. I don't really understand why, but this change does not make matters worse, so I am committing it. Thanks to Joseph Rezeau.

commit 594c911aad340c0f25a9a91de40e58cc6bc89a8b
Author: tjhunt <tjhunt>
Date:   Wed, 04 Oct 2006 01:28:43 +0800
Tag:    v1.6.3

MDL-6649 Only show the HTML editor for the first essay question on a page, since it is unreliable when there are lots.

commit dfa4dd740afcb487c3f70beb35552f5b5820d51e
Author: tjhunt <tjhunt>
Date:   Mon, 02 Oct 2006 04:31:47 +0800
Tag:    v1.6.3

Fix performance problem with lots of categories. http://moodle.org/mod/forum/discuss.php?d=54945#252145

commit f0db2fe9c39dc67172e26026bdc557524e55f8e9
Author: tjhunt <tjhunt>
Date:   Wed, 20 Sep 2006 05:47:44 +0800
Tag:    v1.6.3

Fix JavaScript problem reported in this thread: http://moodle.org/mod/forum/discuss.php?d=54432

commit 702536621012d3819035281fcc63f22d0e769871
Author: tjhunt <tjhunt>
Date:   Thu, 24 Aug 2006 02:53:40 +0800
Tag:    v1.6.2

MDL-6338 - Short answer questions with ' in the answer don't work.

Yet another unpleasant quiz bug caused by the current broken way we do things with addslashes.

commit 0d4537c79687bd84a17c1e369e135a048792f3ab
Author: tjhunt <tjhunt>
Date:   Wed, 23 Aug 2006 05:33:27 +0800
Tag:    v1.6.2

SC 299

commit 8529d9b6d84fc2ae9b7a9e94541ffdf6a41d4ae8
Author: tjhunt <tjhunt>
Date:   Mon, 21 Aug 2006 18:07:48 +0800
Tag:    v1.6.2

Bug #6305 - Quiz settings form field order could be better - proper fix this time.

commit c23339e96836dc1a6741b424bb64ea713261ea91
Author: tjhunt <tjhunt>
Date:   Mon, 21 Aug 2006 04:10:15 +0800
Tag:    v1.6.2

Bug #6305 - Quiz settings form field order could be better.

commit 5fc3c306f4c700069c58fd2f7a9abb357b1c03cf
Author: tjhunt <tjhunt>
Date:   Sun, 20 Aug 2006 23:37:06 +0800
Tag:    v1.6.2

Bug #6303 - True / False applies penalty factor wrongly.

commit 2b64c315979e48a8dba000f369bf6b827583f4e4
Author: tjhunt <tjhunt>
Date:   Sat, 19 Aug 2006 06:34:25 +0800
Tag:    v1.6.2

Bug #6293 - Cannot regrade a question when a teacher has added a comment with a '

Stupid, wreched, datalib.

Why can't datalib take care of addslashes, so the whole of the rest of the code can forget about it? That is how a database abstraction layer should work.

I know, it is pointless to moan about it, but it has just cost me 3 hours, so I feel I have earned the right to moan.

commit f7abe85cc0276f5fe50a2a740417d829ec834dd2
Author: tjhunt <tjhunt>
Date:   Sat, 19 Aug 2006 06:25:39 +0800
Tag:    v1.6.2

Code cleanup.

commit 5cd1517bc3f5c3a6f4f146f633df1781d833a5e1
Author: tjhunt <tjhunt>
Date:   Sat, 19 Aug 2006 05:21:59 +0800
Tag:    v1.6.2

Fix some Eclipse code warnings.

commit 00c5890a15c81e64b17c1506531770e389a9ae6b
Author: tjhunt <tjhunt>
Date:   Fri, 18 Aug 2006 18:28:15 +0800
Tag:    v1.6.2

Bug #3481 - wildcard problem in cloze question. Thanks to Joseph Rezeau.

commit 45cd0cfde8f293d588296c75748b3214644941b0
Author: tjhunt <tjhunt>
Date:   Fri, 18 Aug 2006 16:05:45 +0800
Tag:    v1.6.2

Changed include to use dirroot not wwwroot.

commit dcd289563933adfce831555f78429f347dd5f38e
Author: tjhunt <tjhunt>
Date:   Fri, 18 Aug 2006 01:37:54 +0800
Tag:    v1.6.2

Bug #6277 - Missed function renaming in question/format/multianswer.

commit da4714358a46f54927a69bb2d5e98d80df7be0c3
Author: tjhunt <tjhunt>
Date:   Thu, 17 Aug 2006 00:16:42 +0800
Tag:    v1.6.2

Bug #6267 - questionlib.php delete_question infinite loop with rantom questions. Thanks to mbockol at carleton dot edu.

commit 915db857b8dcf54e697cb9490883da53fd83cbcb
Author: tjhunt <tjhunt>
Date:   Mon, 14 Aug 2006 04:25:46 +0800
Tag:    v1.6.2

SC 289, small, but non-exploitable hole in backup permissions checking.

commit beb6c6cdb71756171e63be5cde8dc84a89a9b249
Author: tjhunt <tjhunt>
Date:   Fri, 04 Aug 2006 00:30:21 +0800
Tag:    v1.6.2

Bug #6206 - Quiz can't be created on some mysql configurations

commit 964f6d4f178abe87f505f0f33b41b01b7a79822e
Author: tjhunt <tjhunt>
Date:   Thu, 03 Aug 2006 22:51:34 +0800
Tag:    v1.6.2

Bug #6048 - Fix 'are you sure you want to start an attempt' warning. Backported from HEAD.

commit 87cb44ac9f8d29669d063cf47babafad1026bece
Author: tjhunt <tjhunt>
Date:   Mon, 24 Jul 2006 22:35:03 +0800
Tag:    v1.6.2

Bug #6157 - lang strings using concatenation, not $a.

commit d1c93d9605ff2893aca1d081ed55945ba45da670
Author: tjhunt <tjhunt>
Date:   Fri, 21 Jul 2006 16:01:34 +0800
Tag:    v1.6.2

Replace a few odd tabs with spaces.

commit bf6f63ae00583396d11c61b20779dab6510875c6
Author: tjhunt <tjhunt>
Date:   Fri, 21 Jul 2006 15:19:04 +0800
Tag:    v1.6.2

Bug #5946 - matching question php notice

commit 96ef5c792add55618252c2be87c3a088d60b1be5
Author: tjhunt <tjhunt>
Date:   Tue, 18 Jul 2006 23:37:17 +0800
Tag:    v1.6.1

Fixed typo which caused images in questions to fail to display if NOT using slasharguments. Merged from HEAD - original checkin was 1.49 to 1.50 by danstowell.

commit e10e4fdd558b8f89c5572fbdc2e9518b59bb2f2f
Author: tjhunt <tjhunt>
Date:   Tue, 18 Jul 2006 23:27:50 +0800
Tag:    v1.6.1

Bug #6033 - missing string for unknown questiontype. Also tidied up some messy code.

commit f2ea23a1bdc5e8105ec6917c5cf1fa66aae013a0
Author: tjhunt <tjhunt>
Date:   Tue, 18 Jul 2006 21:32:54 +0800
Tag:    v1.6.1

SC#277

commit 6b319a8087ed7a05eccd23b14cc8b1e7aa6c8b81
Author: tjhunt <tjhunt>
Date:   Tue, 18 Jul 2006 18:58:40 +0800
Tag:    v1.6.1

Bug #6116 - Quiz database upgrade scripts call renamed function by the old name.

commit 31222bc4ef9ff92fe4ca0abc26b728aaa5f02233
Author: tjhunt <tjhunt>
Date:   Mon, 17 Jul 2006 16:47:29 +0800
Tag:    v1.6.1

Bug 5840 - Image not displayed in Cloze question.

commit d0f8a899f8f4c7dcc3bcddf6b828cbc139db24ee
Author: tjhunt <tjhunt>
Date:   Fri, 14 Jul 2006 23:32:57 +0800
Tag:    v1.6.1

Bug 6111 - Rewrite the code for making an indented list of question categories, becase the existing code was so horrible.

commit 7203acd306b41dcabfb3b7585917ea7beeed5989
Author: tjhunt <tjhunt>
Date:   Wed, 12 Jul 2006 00:10:56 +0800
Tag:    v1.6.1

Bug #6077 - Teacher saving their grades destroys student essay!

commit 52bf72770c7e9c6ba400591d9d54479e93ed319b
Author: tjhunt <tjhunt>
Date:   Thu, 06 Jul 2006 19:09:03 +0800
Tag:    v1.6.1

Bug 6031 - missing parameter for warningmissingtype in libquestionlib.php

commit 68f039dedfdfa7fd66819ee6ced1152aaa0d059f
Author: tjhunt <tjhunt>
Date:   Thu, 06 Jul 2006 18:07:02 +0800
Tag:    v1.6.1

6030 - Can't move question categories back to the top level.

commit e4f8392813f6954f84bea3569971cb8191dc926a
Author: tjhunt <tjhunt>
Date:   Wed, 05 Jul 2006 18:43:13 +0800
Tag:    v1.6.1

Bug 6019: Quiz timer does not submit the form when it reaches zero.

commit 2f12aae1866cd9937485ab648ccc3e9627ac6796
Author: tjhunt <tjhunt>
Date:   Fri, 30 Jun 2006 18:27:17 +0800
Tag:    v1.6.1

Bug 5967 - Missing lang strings and help for quiz reports.

commit e067c3a1f02f4632fc6d1813b18f02b2b94980c0
Author: tjhunt <tjhunt>
Date:   Thu, 29 Jun 2006 01:13:17 +0800
Tag:    v1.6.1

Bug #5918 - essay question comments from teachers lost in 1.6 upgrade. Thanks to Mark Nielsen the suggestion of how to fix.

commit 6d812d61a2c71c3520b7bd7a658c6273eb7739a3
Author: tjhunt <tjhunt>
Date:   Wed, 28 Jun 2006 19:40:56 +0800
Tag:    v1.6.1

Bug #5922 - comment from manualgraded questions lost during regrade. Thanks to Jean-Michel Vedrine for the fix.

commit a9f56a8f0d380293f6414fff8ad9f1377eb4ce9d
Author: tjhunt <tjhunt>
Date:   Wed, 28 Jun 2006 18:10:28 +0800
Tag:    v1.6.1

Bug #5945: Lang string name missmatch when starting quiz attempt.

commit 6aeb5a1f3566500e657770664e9ca7f83ac22a05
Author: tjhunt <tjhunt>
Date:   Mon, 26 Jun 2006 19:21:08 +0800
Tag:    v1.6.1

Bug 5889 - Regrading a quiz wipes student answers. Thanks to Jean-Michel Vedrine for the fix.

commit 2605a5ba8f7f826d8f898b90c83d84314a313c31
Author: tjhunt <tjhunt>
Date:   Wed, 14 Jun 2006 23:34:22 +0800
Tag:    v1.6.0

Moved constant definitions out of function, so they are not run repeatedly giving lots of warnings.

commit 1aa43ea576bdc8884bbb1715ae0fcdf62e2e136a
Author: tjhunt <tjhunt>
Date:   Wed, 14 Jun 2006 23:30:55 +0800
Tag:    v1.6.0

Corrected reference to lang string.

commit cb82934b8db964df59dcbc77cc102f293721af25
Author: tjhunt <tjhunt>
Date:   Wed, 14 Jun 2006 02:58:17 +0800
Tag:    v1.6.0

* Quiz module sometimes left the user staring at a blank page. Now there is an error message.

commit c1c70a909a7059d842ca51d421606892ac66721a
Author: tjhunt <tjhunt>
Date:   Wed, 14 Jun 2006 02:52:17 +0800
Tag:    v1.6.0

Bug #5812 - Standard theme font size CSS not sufficiently defensive

commit 80970e29382f1f6e9eeb6cd184de0e26c7109e39
Author: tjhunt <tjhunt>
Date:   Tue, 13 Jun 2006 22:36:08 +0800
Tag:    v1.6.0

Bug #5810 missing ' > 7' in debug test.

commit 5a6dba91bb5247296272932660c6995223a0fd1b
Author: tjhunt <tjhunt>
Date:   Mon, 12 Jun 2006 23:35:28 +0800
Tag:    v1.6.0

Fix restore notice.

commit 4600286cd21bb3de7948afda984c3343aab107da
Author: tjhunt <tjhunt>
Date:   Mon, 12 Jun 2006 21:51:11 +0800
Tag:    v1.6.0

Bug #5793: remember whether Show all has been clicked in the question bank.

commit 4bbd7130f1c82918de52122824d061954ecbcf9b
Author: tjhunt <tjhunt>
Date:   Mon, 12 Jun 2006 19:03:11 +0800
Tag:    v1.6.0

Bug #5790: Answer order for MC qtype not specified. Fix. Thanks to Peter Bulmer.

commit aea38264b5668ed84333ae0c47c8c59801a4efd5
Author: tjhunt <tjhunt>
Date:   Wed, 07 Jun 2006 01:23:42 +0800
Tag:    v1.6.0

Fix notices when you restore a course with an empty forum.

commit 44e2500992b528b734cd1a7606bf15c9046fb257
Author: tjhunt <tjhunt>
Date:   Wed, 07 Jun 2006 01:07:58 +0800
Tag:    v1.6.0

Bug #5559: revised fix - using better CSS class names.

commit d5306794ec12ac5ef53b509b1a234cc758ae66c7
Author: tjhunt <tjhunt>
Date:   Tue, 06 Jun 2006 22:27:45 +0800
Tag:    v1.6.0

Fix for calculated questions where each one builds on the last.

commit 89905101b74d0aac3586cea274316c7caa352774
Author: tjhunt <tjhunt>
Date:   Tue, 06 Jun 2006 22:13:55 +0800
Tag:    v1.6.0

Fix notices from the quiz module on backup and restore.

commit f6849778a76fbe2d0afc39c01f1eab7184738db5
Author: tjhunt <tjhunt>
Date:   Tue, 06 Jun 2006 22:10:33 +0800
Tag:    v1.6.0

Make cron a bit more rebust by changing the way the require is done.

commit 23da79eff2e4a9750b79a92151f6dde6806d25f4
Author: tjhunt <tjhunt>
Date:   Tue, 06 Jun 2006 18:10:07 +0800
Tag:    v1.6.0

Fix notice.

commit 9abb0f813a01ec3322e268b130a14a385d96f885
Author: tjhunt <tjhunt>
Date:   Tue, 06 Jun 2006 00:56:31 +0800
Tag:    v1.6.0

Bug #5672: Make calculated questions less confusing to create.

commit 914d8f5801c19dfd86a6adbca0e0c573b3ec81a5
Author: tjhunt <tjhunt>
Date:   Mon, 05 Jun 2006 22:14:12 +0800
Tag:    v1.6.0

Fixed reference to incorrect language string.

commit c4c9a5d860f93b6bd44211313e8d6e26808d8898
Author: tjhunt <tjhunt>
Date:   Fri, 02 Jun 2006 23:37:10 +0800
Tag:    v1.6.0

Bug #5559: Move CLOZE qtype hightight colours into CSS insted of hardcoding, so themes can override.

commit d86503c7cff7ba9e8af4552d24df4098dbac2977
Author: tjhunt <tjhunt>
Date:   Wed, 31 May 2006 23:53:12 +0800
Tag:    v1.6.0

Fix for bug 5379: Item analysis report should not have a hard coded list of question types.

commit 01d50616eeefadb9814a5ad0b75e47f61728d112
Author: tjhunt <tjhunt>
Date:   Mon, 22 May 2006 23:42:42 +0800
Tag:    v1.6.0

Fix for Bug #5588 - Editing a question after sorting leads to an error.

commit 5c9fe50894766df5c5d9598418ca4cf12270966c
Author: tjhunt <tjhunt>
Date:   Mon, 22 May 2006 21:04:17 +0800
Tag:    v1.6.0

Fix an undefined variable notice.

commit e620c033cba0ee04f8ed41372d7dd3cf5c9bd3b8
Author: tjhunt <tjhunt>
Date:   Mon, 22 May 2006 19:19:32 +0800
Tag:    v1.6.0

Fix an undefined variable notice.

commit e1b8eb512c6bcf59f000d0e3df77e3cf7368378f
Author: tjhunt <tjhunt>
Date:   Thu, 18 May 2006 00:37:14 +0800
Tag:    v1.6.0

Convert tabs to spaces in files where there were only a few rogue tabs.

commit f76e87652ca35e2695b3f31f249504b5a9f5de3b
Author: tjhunt <tjhunt>
Date:   Wed, 17 May 2006 19:29:31 +0800
Tag:    v1.6.0

Fix URL syntax error when slasharguments is off.

commit 108145970de8104767c26860b3f42953ae991c7d
Author: tjhunt <tjhunt>
Date:   Wed, 17 May 2006 19:28:59 +0800
Tag:    v1.6.0

Fix wrong variable name.

commit ee35e0b8557ce5c3d2493b1001752201cce963d8
Author: tjhunt <tjhunt>
Date:   Wed, 29 Mar 2006 01:33:40 +0800
Tag:    v1.6.0

Allow the display of course logs to be filtered by type of action.

commit f76648809e73b14b5305f086df6b3e09dab70fff
Author: tjhunt <tjhunt>
Date:   Tue, 21 Mar 2006 22:09:55 +0800
Tag:    v1.6.0

Clarify doc comment.

commit d2176fb2f125eafbcbb8a99a8e5c3894dda77119
Author: tjhunt <tjhunt>
Date:   Tue, 14 Mar 2006 01:07:38 +0800
Tag:    v1.6.0

For some arguments, get_record_sql could fail only with debug off, then no error message is shown and it is hard to debug. Now the code is more similar between debug on/off, which should make debugging easier.

commit e8395a09f4d2247ec231248fd4db2f92cadcf3e0
Author: tjhunt <tjhunt>
Date:   Mon, 13 Mar 2006 18:37:21 +0800
Tag:    v1.6.0

Added a comment to explain that add_to_log is the way it is for performance reasons.

commit 09481160dbda9f771aee40b7e8905a4f34856f19
Author: tjhunt <tjhunt>
Date:   Thu, 09 Mar 2006 00:10:24 +0800
Tag:    v1.6.0

Refactor course deletion code to eliminate about 70 lines of duplication.

commit c0b5b31a48454f4bfa9c7c63b6aec338506ce1b2
Author: tjhunt <tjhunt>
Date:   Mon, 06 Mar 2006 20:19:58 +0800
Tag:    v1.6.0

Addition to locallib.php to notify local code when a course is deleted.

commit b97c41647cfa1b6d6b6ff87490879ccff0614ea3
Author: tjhunt <tjhunt>
Date:   Thu, 02 Mar 2006 19:58:43 +0800
Tag:    v1.6.0

Refactor the code for deleting a course from course/delete.php to a function in moodlelib.php.

commit 1f8ede91cdf29e3b842aafc6f24c40f060b2659a
Author: tjhunt <tjhunt>
Date:   Wed, 01 Mar 2006 20:15:57 +0800
Tag:    v1.6.0

Remove references to unused globals in remove_course_contents() and remove_course_userdata(), and fix comments.

commit 34763a795ad12f8b0f19d224829c528cff2a27dc
Author: tjhunt <tjhunt>
Date:   Wed, 01 Mar 2006 20:13:09 +0800
Tag:    v1.6.0

Change fulldelete(), so it does not give an error if the thing you try to delete does not exist.