Git commits in Moodle 1.7.0 by tjhunt

commit 319047dfb115a2dfe726abcf24aa59fd037bf66c
Author: tjhunt <tjhunt>
Date:   Tue, 31 Oct 2006 23:12:56 +0800
Tag:    v1.7.0

Improved help file as per Ralf Hilgenstock's suggestion: http://moodle.org/mod/forum/discuss.php?d=57400

commit 25e0480339c6676620d7b3febf4a47762c9031f7
Author: tjhunt <tjhunt>
Date:   Tue, 31 Oct 2006 20:03:43 +0800
Tag:    v1.7.0

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.

commit 8a286fda3e385bfff4fef21c049f8b6caea93e81
Author: tjhunt <tjhunt>
Date:   Tue, 31 Oct 2006 19:54:14 +0800
Tag:    v1.7.0

Make the close_window function better.

commit fdecc5c6daf559472f132d573aee52e919c16bd1
Author: tjhunt <tjhunt>
Date:   Tue, 31 Oct 2006 18:40:07 +0800
Tag:    v1.7.0

Fix junk being output before print_header, which happened sometimes.

commit f3e4a7a5148dd841603700ab7f7afc432e516096
Author: tjhunt <tjhunt>
Date:   Tue, 31 Oct 2006 18:37:38 +0800
Tag:    v1.7.0

Add return option to notify()

commit d2925a939764bd2f9c90013308b66d04389b2ef0
Author: tjhunt <tjhunt>
Date:   Tue, 31 Oct 2006 00:35:21 +0800
Tag:    v1.7.0

Make General feedback more tolerant of whitespace.

commit 3e1a16bbbcdf8ab5842f28810006c7eb02a44568
Author: tjhunt <tjhunt>
Date:   Thu, 19 Oct 2006 19:54:05 +0800
Tag:    v1.7.0

Fix problem with multichoice question grading.

commit 2620831e6154332d7df6fdabbf46419020d5e974
Author: tjhunt <tjhunt>
Date:   Thu, 19 Oct 2006 18:22:38 +0800
Tag:    v1.7.0

Missing addslashes.

commit c6460266175d448281cbe566cb2bc422849318d3
Author: tjhunt <tjhunt>
Date:   Wed, 18 Oct 2006 07:21:24 +0800
Tag:    v1.7.0

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. Merged from MOODLE_16_STABLE.

commit 6dfa18dff6b71227bbc19b43d5ab966e811d624f
Author: tjhunt <tjhunt>
Date:   Wed, 18 Oct 2006 06:17:05 +0800
Tag:    v1.7.0

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

commit 269a2139805a5df0b490e66c62229001b3533ea5
Author: tjhunt <tjhunt>
Date:   Wed, 18 Oct 2006 06:01:13 +0800
Tag:    v1.7.0

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

commit 311a061ce1b6a18f829380d83c0941bc5e4f662c
Author: tjhunt <tjhunt>
Date:   Wed, 18 Oct 2006 05:42:50 +0800
Tag:    v1.7.0

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

commit bb9cae5afc98511f62153c142a24054bb9eec380
Author: tjhunt <tjhunt>
Date:   Tue, 17 Oct 2006 23:58:00 +0800
Tag:    v1.7.0

MDL-6760 - cannot insert the string 'null' into the database. You can now.

commit 9051e08619643c1df7fe1852e520914381cbfed9
Author: tjhunt <tjhunt>
Date:   Tue, 17 Oct 2006 23:56:40 +0800
Tag:    v1.7.0

Fix bug with numerical questions with multiple answers.

commit 2fe45c4a0a6bbe44e9b0dc49cbad8f03a6d347ed
Author: tjhunt <tjhunt>
Date:   Tue, 17 Oct 2006 18:51:44 +0800
Tag:    v1.7.0

Fix bugs with GIFT import.

commit d0949f39e99a31130afddaf04576290ff69e417e
Author: tjhunt <tjhunt>
Date:   Mon, 16 Oct 2006 22:53:34 +0800
Tag:    v1.7.0

Changes to dmllib seem to have broken quiz backup. This makes it work again.

commit 042699bf230a8ab45c910cea15b2361a44ac79c6
Author: tjhunt <tjhunt>
Date:   Mon, 16 Oct 2006 21:40:19 +0800
Tag:    v1.7.0

Related to MDL-6249 - unit tests for address_in_subnet.

commit 49163d4fb6c67ed40bc5023d793ecf45084767b9
Author: tjhunt <tjhunt>
Date:   Mon, 16 Oct 2006 21:35:51 +0800
Tag:    v1.7.0

MDL-6249 - easier way for human beings (as opposed to network engineers) to specify IP ranges.

commit 4398b010778ce129ff6cb9cf283a371af9734283
Author: tjhunt <tjhunt>
Date:   Mon, 16 Oct 2006 19:04:18 +0800
Tag:    v1.7.0

MDL-6650 - Previewing individual random questions from the quiz editing screen was not working, and anyway, I'm not sure it makes any sense, so I removed that preview link.

commit 6fe671e94ace68b8b8586e10cf412cf79b5a791b
Author: tjhunt <tjhunt>
Date:   Mon, 16 Oct 2006 18:13:38 +0800
Tag:    v1.7.0

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

commit c9ddd414c71426f1c04e22378d0d1996c797ad54
Author: tjhunt <tjhunt>
Date:   Thu, 12 Oct 2006 00:29:54 +0800
Tag:    v1.7.0

Take out 8) smiliey that interfeers with ligitimate content like (1998).

commit 13835c77b6e24776c5c803cb0b2c8a075be419fa
Author: tjhunt <tjhunt>
Date:   Sat, 07 Oct 2006 01:22:08 +0800
Tag:    v1.7.0

MDL-6731 Can't save manual comment on a quiz question. I had missed one instance of the comment -> manualcomment column rename.

commit 8ff134db82617263cf16b5bf08ecce9ca4c58349
Author: tjhunt <tjhunt>
Date:   Sat, 07 Oct 2006 01:20:37 +0800
Tag:    v1.7.0

Typo.

commit b20ea66988a0ec4959f4300bcfec43e3ea2699b1
Author: tjhunt <tjhunt>
Date:   Sat, 07 Oct 2006 00:48:54 +0800
Tag:    v1.7.0

Hopefully improve performance on site with lots of question categories Merged from MOODLE_16_STABLE.

commit ec467c69290c86be1eef668063d5e4f35f6d574b
Author: tjhunt <tjhunt>
Date:   Thu, 05 Oct 2006 23:58:08 +0800
Tag:    v1.7.0

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

commit ed586fb8638795b9b000a422ea3232708d9d78c7
Author: tjhunt <tjhunt>
Date:   Wed, 04 Oct 2006 19:45:48 +0800
Tag:    v1.7.0

Typo.

commit 834e58a9d218362ed2c4e1c53ba5131a24d80519
Author: tjhunt <tjhunt>
Date:   Wed, 04 Oct 2006 18:39:42 +0800
Tag:    v1.7.0

Fix indent.

commit b22fc9018282e5c0a6331a814fd1f2e5f7c75035
Author: tjhunt <tjhunt>
Date:   Wed, 04 Oct 2006 18:21:23 +0800
Tag:    v1.7.0

MDL-6814 - Can't change "maximum grade" value on a quiz. Now you can.

commit 158e545945fbca3604735b6112f71f0144498fb7
Author: tjhunt <tjhunt>
Date:   Wed, 04 Oct 2006 01:57:16 +0800
Tag:    v1.7.0

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. Merged from MOODLE_16_STABLE.

commit 54f306788a7da36868564c8b65162abe05d53fcb
Author: tjhunt <tjhunt>
Date:   Wed, 04 Oct 2006 01:32:22 +0800
Tag:    v1.7.0

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

commit 2da448161abf7525a1edd2d66b58a7a9f26f2b01
Author: tjhunt <tjhunt>
Date:   Tue, 03 Oct 2006 22:01:38 +0800
Tag:    v1.7.0

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

commit ec6adca0f43cbbc798d88676e229a3b4cb7c0821
Author: tjhunt <tjhunt>
Date:   Tue, 03 Oct 2006 01:04:12 +0800
Tag:    v1.7.0

MDL-6761 Edit qestion link gone from question preview popup. It was checking the wrong capability.

commit cc0809130008a9ff928c3c45a13b29b954200db0
Author: tjhunt <tjhunt>
Date:   Mon, 02 Oct 2006 04:32:12 +0800
Tag:    v1.7.0

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

commit e7d57d9e6cce4b20f08860076d077ec4bac273d3
Author: tjhunt <tjhunt>
Date:   Thu, 21 Sep 2006 01:22:38 +0800
Tag:    v1.7.0

MDL-6380 - added required include to make blocks work on the quiz pages.

commit 15995c4ab6a705b43d9883736e065d02f19b9d8f
Author: tjhunt <tjhunt>
Date:   Thu, 21 Sep 2006 01:01:19 +0800
Tag:    v1.7.0

Fix typos in string concatenation.

commit df44078448b07821dfff65c4b86312d160696492
Author: tjhunt <tjhunt>
Date:   Thu, 21 Sep 2006 00:36:40 +0800
Tag:    v1.7.0

Another typo.

commit 9fd73f0c268f8df8968bc62a0156e7bbb12e6b15
Author: tjhunt <tjhunt>
Date:   Thu, 21 Sep 2006 00:19:57 +0800
Tag:    v1.7.0

Fixed typo CONTEXT_COUSE -> CONTEXT_COURSE

commit 40cc892b6a36a7e19697f3b5e187b55da32414ef
Author: tjhunt <tjhunt>
Date:   Thu, 21 Sep 2006 00:17:27 +0800
Tag:    v1.7.0

Fix bug with getting the capability.

commit 1da5a3629460a9523ffd12355bf7ba741e9b142d
Author: tjhunt <tjhunt>
Date:   Wed, 20 Sep 2006 16:01:59 +0800
Tag:    v1.7.0

More capability name typos.

commit f3fb11f378183a325be1a3ee1c46bb63a9d8c89e
Author: tjhunt <tjhunt>
Date:   Wed, 20 Sep 2006 06:58:12 +0800
Tag:    v1.7.0

And another typo in capability name.

commit df5e4d3106a318333d747fd05aef833a0c7c4049
Author: tjhunt <tjhunt>
Date:   Wed, 20 Sep 2006 06:57:38 +0800
Tag:    v1.7.0

Another typo in capability name.

commit a8a7300accdf2f4cce8597b3ad2319ce1d03e247
Author: tjhunt <tjhunt>
Date:   Wed, 20 Sep 2006 06:57:17 +0800
Tag:    v1.7.0

In debug mode, warn people if they are asking for an unknown capability.

commit 8cd402f9004004eea42eeb7cc24ec3f9e14cc5b8
Author: tjhunt <tjhunt>
Date:   Wed, 20 Sep 2006 06:35:40 +0800
Tag:    v1.7.0

Typo in capability name.

commit 6fceebea95ee3024aaf829fc284567231df1b4b1
Author: tjhunt <tjhunt>
Date:   Wed, 20 Sep 2006 06:35:02 +0800
Tag:    v1.7.0

Always print the question list, so you can add questions to a quiz, even if you are not allowed to edit them.

commit 3fccd7fa8d311a355f97b5f9ae7d9f3168012970
Author: tjhunt <tjhunt>
Date:   Wed, 20 Sep 2006 06:31:13 +0800
Tag:    v1.7.0

Typo in capability names.

You do not want to know how long I had to stare at the code to spot that!

commit f866df1c4ff046e2c1fc73e00ce4b52f071824e3
Author: tjhunt <tjhunt>
Date:   Wed, 20 Sep 2006 05:53:37 +0800
Tag:    v1.7.0

allowassign.php was submitting to allowoverride.php

commit 15677ae4a52f8f057552adca4fd16934cf003b84
Author: tjhunt <tjhunt>
Date:   Wed, 20 Sep 2006 05:48:16 +0800
Tag:    v1.7.0

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

commit a4514d91de3b0dde2948e346c5a3681ac981c124
Author: tjhunt <tjhunt>
Date:   Tue, 19 Sep 2006 21:35:42 +0800
Tag:    v1.7.0

Renamed new commentary feature to 'general feedback'.

commit 717cfb0a7ba071d251e40b2a0d29f663ebc00270
Author: tjhunt <tjhunt>
Date:   Tue, 19 Sep 2006 18:56:00 +0800
Tag:    v1.7.0

Rename column question_dataset_items->number to itemnumber, to avoid reserved word.

commit 89d878671d697b0268b4eaf4f8a51259578edd1b
Author: tjhunt <tjhunt>
Date:   Mon, 18 Sep 2006 17:02:30 +0800
Tag:    v1.7.0

Remove duplicate call to print_header

commit 36075e092d619d659b832f7d949f608f8fdae177
Author: tjhunt <tjhunt>
Date:   Fri, 15 Sep 2006 22:32:35 +0800
Tag:    v1.7.0

MDL-6041 - Proper fix that eliminates the magic number 99999 when getting lists of studnets. Now, there is no arbitrary upper limit in the datalib functions, and sensible upper limits on pages that display lists of users. However, if you try to get all the site students, then get_students prints a warning in debug mode, telling you that you need to rethink your code.

commit f00b7f8d8eb58518b0c99c1ccdb376ce4598c481
Author: tjhunt <tjhunt>
Date:   Fri, 15 Sep 2006 22:00:30 +0800
Tag:    v1.7.0

The ISNULL() function is a nasty mysql-ism. The standard SQL syntax is "xxx IS NULL". Even mysql supports this, whereas noone else supports the mysql syntax.

commit 4e5a0168f89774872de528e4489cae1c1e820e21
Author: tjhunt <tjhunt>
Date:   Fri, 15 Sep 2006 21:18:28 +0800
Tag:    v1.7.0

Fix typo.

commit aa4f6af41a998ace8de73ed0420d7f4415ff39db
Author: tjhunt <tjhunt>
Date:   Thu, 14 Sep 2006 00:19:56 +0800
Tag:    v1.7.0

MDL-6542 - Don't run the unit tests until the user is ready.

commit 45f501a54bfb65bc09255cf77d0736462fccab97
Author: tjhunt <tjhunt>
Date:   Thu, 14 Sep 2006 00:16:39 +0800
Tag:    v1.7.0

Put the unit test styles in the standard theme, rather than using the previous nasty hack that had been broken by the admin page changes.

commit 404518eb8579b0a38fd12628d4e1e2453dff83e9
Author: tjhunt <tjhunt>
Date:   Wed, 13 Sep 2006 23:00:58 +0800
Tag:    v1.7.0

Fix ordering problem with question number column headings.

commit aedf2f0b85ea214cf21c1b9dfa276918af3591a9
Author: tjhunt <tjhunt>
Date:   Wed, 13 Sep 2006 22:54:51 +0800
Tag:    v1.7.0

Removing Eclipse .project file that Al committed by mistake.

commit 2ec9591c4bff6c9fde03488cad4f34d98743ffea
Author: tjhunt <tjhunt>
Date:   Wed, 13 Sep 2006 21:25:11 +0800
Tag:    v1.7.0

Fix typo.

commit 43e3febb23b2eeacb5c128a6e0aab9408780e63b
Author: tjhunt <tjhunt>
Date:   Wed, 13 Sep 2006 21:25:00 +0800
Tag:    v1.7.0

Delete what I assume is a bogus line.

commit 3542314884039932f861f755fec7e46d1756f8da
Author: tjhunt <tjhunt>
Date:   Tue, 12 Sep 2006 22:33:38 +0800
Tag:    v1.7.0

Update help file to match the changes in the code and on Moodle docs I made some time ago.

commit 6459b8fc8d6812ae10f8f95b98acc485f95c9a39
Author: tjhunt <tjhunt>
Date:   Fri, 01 Sep 2006 00:59:52 +0800
Tag:    v1.7.0

Give a bit more information to the subclasses.

commit d3b92b4ba587542a31330269e138f6ad89463c09
Author: tjhunt <tjhunt>
Date:   Fri, 01 Sep 2006 00:59:05 +0800
Tag:    v1.7.0

MDL-6418 - Grading of multiple choice questions broken

commit 73d4db845e28864ffa84beb0cdb5be45d56208d1
Author: tjhunt <tjhunt>
Date:   Fri, 01 Sep 2006 00:55:48 +0800
Tag:    v1.7.0

New function choose_from_menu_yesno

commit 695d225c6abe799b6492a49b2863c60be893c368
Author: tjhunt <tjhunt>
Date:   Thu, 31 Aug 2006 19:28:44 +0800
Tag:    v1.7.0

Clarified comment.

commit 1680ebe40be8b1dca817f4cff48f7659fda27507
Author: tjhunt <tjhunt>
Date:   Wed, 30 Aug 2006 23:52:11 +0800
Tag:    v1.7.0

Eliminate an isteacheredit

commit 32b0adfade0b10f5f3185a4d9b46b371ea280309
Author: tjhunt <tjhunt>
Date:   Tue, 29 Aug 2006 16:57:47 +0800
Tag:    v1.7.0

Better comments

commit f0a7247d0ed32dc6ca4aa75c79b63627e9edebf4
Author: tjhunt <tjhunt>
Date:   Tue, 29 Aug 2006 02:50:42 +0800
Tag:    v1.7.0

Fix typo.

commit cd06115fa768043ce0610db22bc6e6e2ca2a2250
Author: tjhunt <tjhunt>
Date:   Sat, 26 Aug 2006 00:03:54 +0800
Tag:    v1.7.0

Convert mod/quiz/view.php to roles, and further tidy up the code flow in there. This touches other files because I had to change a function in locallib that had an $isteacher parameter.

commit 6ac7a65d76966344ed5bd8ec769199f7d2b2d4e5
Author: tjhunt <tjhunt>
Date:   Fri, 25 Aug 2006 22:29:47 +0800
Tag:    v1.7.0

Missing language string.

commit 64d80923423ed5f928438e7e3e5273c807a52f85
Author: tjhunt <tjhunt>
Date:   Fri, 25 Aug 2006 19:23:00 +0800
Tag:    v1.7.0

Correct typo.

commit 3830553d47186e0b0290064b9e1de557aaa8293d
Author: tjhunt <tjhunt>
Date:   Fri, 25 Aug 2006 00:56:59 +0800
Tag:    v1.7.0

Avoid reserved words in dmllib unit tests.

commit 3e3e5a4030cfae8c2292140da79d313fc5f28cb9
Author: tjhunt <tjhunt>
Date:   Fri, 25 Aug 2006 00:44:15 +0800
Tag:    v1.7.0

Renamed column question_sessions->comment at Eloy's request since comment is a DB reserved word.

commit dd4a1bca2895c26c1a81ea454afe5f61014b9bda
Author: tjhunt <tjhunt>
Date:   Thu, 24 Aug 2006 23:37:03 +0800
Tag:    v1.7.0

During the conversion datalib -> ddllib, Eloy removed my comment that made it possible to understand how to use table_colum sad Adding it back.

commit 3ebdddf70fb58a4e3731fc3717a5db8afa1f92f6
Author: tjhunt <tjhunt>
Date:   Thu, 24 Aug 2006 19:37:10 +0800
Tag:    v1.7.0

MDL-4816 Fix silly error in my commit for this bug.

commit b2ba9f6ef3470013d3abf1dd18ecd27ff1061bf2
Author: tjhunt <tjhunt>
Date:   Thu, 24 Aug 2006 19:36:38 +0800
Tag:    v1.7.0

Fix Eclipse warnings.

commit 2fe0d172f8d1199099ea994d5be91544e5c7d695
Author: tjhunt <tjhunt>
Date:   Thu, 24 Aug 2006 19:22:24 +0800
Tag:    v1.7.0

Fix PHP syntax error. I wish more developers used Eclipse.

commit 307f045f0718da95d00faf38a630d4f3169f12e5
Author: tjhunt <tjhunt>
Date:   Thu, 24 Aug 2006 18:22:43 +0800
Tag:    v1.7.0

MDL-5969 Let multiple choice questions have feedback that does not depend on the chosen answer

commit 6e557c0806f4c552bd25a7e338d49f407ec2bde0
Author: tjhunt <tjhunt>
Date:   Thu, 24 Aug 2006 18:16:54 +0800
Tag:    v1.7.0

Fixed syntax error in a PHPdoc comments.

commit 2d30f53dcc693150d6a6c03f98ea2dd04149e1bd
Author: tjhunt <tjhunt>
Date:   Thu, 24 Aug 2006 18:12:15 +0800
Tag:    v1.7.0

Fixed syntax error in a PHPdoc comment.

commit c82f76d0502a9120314d8e764330bfec0742777e
Author: tjhunt <tjhunt>
Date:   Thu, 24 Aug 2006 05:17:23 +0800
Tag:    v1.7.0

MDL-4816 Short answer question type considers '100' and '100.' to be the same

Actually, this may have affected other question types too.

commit ac249da55ee2665d9bc26cfbc6a7eee19b92fabf
Author: tjhunt <tjhunt>
Date:   Thu, 24 Aug 2006 05:04:04 +0800
Tag:    v1.7.0

Clarified comment.

commit 9e8dba7960f0b9681926ab8ded3b8363c52536c9
Author: tjhunt <tjhunt>
Date:   Thu, 24 Aug 2006 03:04:24 +0800
Tag:    v1.7.0

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

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

commit 647bcd41299a215fe0c06ac65f6c6cd9854b74f7
Author: tjhunt <tjhunt>
Date:   Thu, 24 Aug 2006 02:37:38 +0800
Tag:    v1.7.0

Fix getting the context. It did not work during question preview from the question bank when there was no quiz in sight.

commit a18fa6d5bae16734c9d0833af5f4297af0c5a1a5
Author: tjhunt <tjhunt>
Date:   Wed, 23 Aug 2006 23:32:06 +0800
Tag:    v1.7.0

Get the contexts without referring to undefined variables.

commit 5cae12059651bdfea91cf9f45ff46ae8078934ed
Author: tjhunt <tjhunt>
Date:   Wed, 23 Aug 2006 23:12:52 +0800
Tag:    v1.7.0

Get the contexts without referring to undefined variables.

commit 78fd16a5fb5951fc3e7c1945efeacf499cdf56ac
Author: tjhunt <tjhunt>
Date:   Wed, 23 Aug 2006 17:23:56 +0800
Tag:    v1.7.0

Improved one language string. Thank Mitshiro Yoshida.

commit e9ad37edc27b11f7aec60ab0c00f1d3c52023785
Author: tjhunt <tjhunt>
Date:   Wed, 23 Aug 2006 05:33:54 +0800
Tag:    v1.7.0

SC 299. Merged from MOODLE_16_STABLE.

commit d758f1e2eb81ac5fba2b41f5438d691812979fc5
Author: tjhunt <tjhunt>
Date:   Wed, 23 Aug 2006 03:26:05 +0800
Tag:    v1.7.0

Fix an obvious typo in the roles and permissions code.

commit 07d8d530f5b64114d5ef05f3d2b31dbdb20b0191
Author: tjhunt <tjhunt>
Date:   Wed, 23 Aug 2006 03:09:52 +0800
Tag:    v1.7.0

Fix Eclipse warnings.

commit 080314b8bbecdcdd55ef0d68096f8e5b30139e51
Author: tjhunt <tjhunt>
Date:   Wed, 23 Aug 2006 03:09:07 +0800
Tag:    v1.7.0

Fix Eclipse warnings.

commit 20808266c815d6b0b92963ffe6a28b8034601d25
Author: tjhunt <tjhunt>
Date:   Wed, 23 Aug 2006 03:01:42 +0800
Tag:    v1.7.0

Work round Eclipse warning.

commit 199e43d470b86936dbb915ec8e381b0d22b26ac3
Author: tjhunt <tjhunt>
Date:   Wed, 23 Aug 2006 03:00:18 +0800
Tag:    v1.7.0

Fix Eclipse warnings.

commit 212b7b8cd9af682fc32c76d1bfd6172ead62a27c
Author: tjhunt <tjhunt>
Date:   Wed, 23 Aug 2006 01:31:26 +0800
Tag:    v1.7.0

MDL-5270 - give students a feeback comment for their performance in the entire quiz.

commit 75e84883cad7e3a9c9891596ef67821e34647ce0
Author: tjhunt <tjhunt>
Date:   Wed, 23 Aug 2006 00:18:11 +0800
Tag:    v1.7.0

Unbreak roles and permission on Postgres yet again.

commit 1751eebc69bba7d20c65ed0d21353b12f5258985
Author: tjhunt <tjhunt>
Date:   Tue, 22 Aug 2006 21:53:39 +0800
Tag:    v1.7.0

Reverting toyomoyo's conversion of mod/quiz/view.php to roles because his changes made no sense.

commit a4a6eb8a17d7b665a59faa24ed7acbf71cba9a0d
Author: tjhunt <tjhunt>
Date:   Tue, 22 Aug 2006 21:12:24 +0800
Tag:    v1.7.0

Fix toyomoyo's syntax errors.

commit dcc0a7e25f2f0faccf1d4af3811ff66516800634
Author: tjhunt <tjhunt>
Date:   Mon, 21 Aug 2006 04:11:05 +0800
Tag:    v1.7.0

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

commit 0f49e5655d25188515f1420071e436ed6383685f
Author: tjhunt <tjhunt>
Date:   Sun, 20 Aug 2006 23:37:42 +0800
Tag:    v1.7.0

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

commit 948bf30099664c94f1db61fec77365390546f4c5
Author: tjhunt <tjhunt>
Date:   Sun, 20 Aug 2006 23:30:31 +0800
Tag:    v1.7.0

Fix Eclipse warnings.

commit 707b5c9953f70534e079ff00a2a056f7b91337d7
Author: tjhunt <tjhunt>
Date:   Sat, 19 Aug 2006 15:47:41 +0800
Tag:    v1.7.0

Renamed unit tests to match Eloy's work.

commit ef82286874a823756861595d54f042ee2be134bd
Author: tjhunt <tjhunt>
Date:   Sat, 19 Aug 2006 06:34:54 +0800
Tag:    v1.7.0

Bug #6293 - Cannot regrade a question when a teacher has added a comment with a ' - Merged from MOODLE_16_STABLE.

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 865b753486b7b183ef66890bc61ca3db11ccee0d
Author: tjhunt <tjhunt>
Date:   Sat, 19 Aug 2006 06:26:04 +0800
Tag:    v1.7.0

Code cleanup. Merged from MOODLE_16_STABLE.

commit 4abc23b2ae721fd06b4c701102fde69403441036
Author: tjhunt <tjhunt>
Date:   Sat, 19 Aug 2006 05:23:15 +0800
Tag:    v1.7.0

Fix some Eclipse code warnings. Merged from MOODLE_16_STABLE.

commit 5553c2ec47982e16322595efe3dc83c90761ff98
Author: tjhunt <tjhunt>
Date:   Fri, 18 Aug 2006 19:28:30 +0800
Tag:    v1.7.0

New function record_exists_select with unit tests for all the record_exists_* functions.

commit bc2defd5f856729bf6d0d742bc16a8e28a81fdcd
Author: tjhunt <tjhunt>
Date:   Fri, 18 Aug 2006 18:29:34 +0800
Tag:    v1.7.0

Bug #3481 - wildcard problem in cloze question. Thanks to Joseph Rezeau. Merged from MOODLE_16_STABLE, not a straight merge becuase of other 1.7 changes.

commit 1780811d552ecd5c538bb0236a9083603bdba7b0
Author: tjhunt <tjhunt>
Date:   Fri, 18 Aug 2006 16:14:47 +0800
Tag:    v1.7.0

Added todo.

commit eb9189bc2f2d370b1ea1c41ee815e94b6f70e86f
Author: tjhunt <tjhunt>
Date:   Fri, 18 Aug 2006 01:38:31 +0800
Tag:    v1.7.0

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

commit 8d2054411cfc7a6265dc73ad78bce71fbda3c36b
Author: tjhunt <tjhunt>
Date:   Fri, 18 Aug 2006 01:30:56 +0800
Tag:    v1.7.0

Tweak to unbreak unit tests.

commit cfa27f44725a43e037c98f8a6a072b7c79f4fe52
Author: tjhunt <tjhunt>
Date:   Fri, 18 Aug 2006 00:28:29 +0800
Tag:    v1.7.0

Fix bug in new function get_field_select(), and this time add a unittest to see if the new function works!

commit b169c31e397a670152b01aa3aed4fd879a906bb7
Author: tjhunt <tjhunt>
Date:   Thu, 17 Aug 2006 00:54:20 +0800
Tag:    v1.7.0

Save two queries if we are not going to output anything.

commit 1d723a169a5f55cc780942a36bd2ec207c31ff69
Author: tjhunt <tjhunt>
Date:   Thu, 17 Aug 2006 00:17:18 +0800
Tag:    v1.7.0

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

commit 920b93d1e313e6fd068c7217dd306a4b9ce231fa
Author: tjhunt <tjhunt>
Date:   Wed, 16 Aug 2006 16:46:10 +0800
Tag:    v1.7.0

Remove horrific code duplication in mod/quiz/lib.php.

commit a21567892f1d0f73222af5b1754c9aa983288f9e
Author: tjhunt <tjhunt>
Date:   Wed, 16 Aug 2006 05:25:38 +0800
Tag:    v1.7.0

Refactor how question types register themselves with the question bank. This change makes it easier for 3rd party question types to control their destiny, but is also backwards compatible, in that old 3rd party plugins will still work.

See http://moodle.org/mod/forum/discuss.php?d=51796 for more details.

commit eeaeff8e0481ab3892d1ce754cb99a1393ae25fa
Author: tjhunt <tjhunt>
Date:   Wed, 16 Aug 2006 04:44:21 +0800
Tag:    v1.7.0

Corrected include.

commit 3c957efd2e43eec1baa4d1f8f5be472542809069
Author: tjhunt <tjhunt>
Date:   Wed, 16 Aug 2006 04:43:09 +0800
Tag:    v1.7.0

Correct comment.

commit d3eeba599b8da0ce1c38c88e1a65c7f0180e7969
Author: tjhunt <tjhunt>
Date:   Wed, 16 Aug 2006 00:53:24 +0800
Tag:    v1.7.0

Delete stray space.

commit 4e3487c59c4a43dfe2fd0acb33d863de4de01c7b
Author: tjhunt <tjhunt>
Date:   Tue, 15 Aug 2006 23:29:38 +0800
Tag:    v1.7.0

Remove horrific code duplication in mod/quiz/mod.html.

commit ab757152ec6874f4f9d3b152385a98c4b7cc0406
Author: tjhunt <tjhunt>
Date:   Tue, 15 Aug 2006 21:44:22 +0800
Tag:    v1.7.0

New function get_field_select().

commit c0974199860c2d318dc3942feb05c7e41e910a66
Author: tjhunt <tjhunt>
Date:   Mon, 14 Aug 2006 21:32:39 +0800
Tag:    v1.7.0

Reorder the table definitions in the file, to group them more logically.

commit a7c3953d1cb1ca278bea4522c7431166c13bb35b
Author: tjhunt <tjhunt>
Date:   Mon, 14 Aug 2006 04:39:21 +0800
Tag:    v1.7.0

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

commit 1b8a7434e28f5508a3f7ae116192a3ac7234543d
Author: tjhunt <tjhunt>
Date:   Fri, 11 Aug 2006 22:59:18 +0800
Tag:    v1.7.0

Bug 6239 - Allow questions to have some teacher-supplied commentary.

commit 712c25b10bf40b5bc17cc785fb3d4d7ded3930b8
Author: tjhunt <tjhunt>
Date:   Fri, 11 Aug 2006 18:33:29 +0800
Tag:    v1.7.0

Tidy up code flow in helpbutton.

commit 2c3968c407bba4aebac12c8a57cc21c91b35365a
Author: tjhunt <tjhunt>
Date:   Fri, 11 Aug 2006 05:52:07 +0800
Tag:    v1.7.0

Major code cleanup of this report (that started as a small code cleanup). None of the functionality should have changed - crosses fingers.

commit 93eb0ea33987648ab1826817da8c1d846e68f0a3
Author: tjhunt <tjhunt>
Date:   Fri, 11 Aug 2006 05:33:53 +0800
Tag:    v1.7.0

Fix comment.

commit 7003072a7fd0a8409a62ea3ced5333ff9653e2b6
Author: tjhunt <tjhunt>
Date:   Fri, 11 Aug 2006 02:58:26 +0800
Tag:    v1.7.0

Fix minor HTML validation issue.

commit 8c8cad45d9ecc7bcb9ecede023e9434687034c68
Author: tjhunt <tjhunt>
Date:   Fri, 11 Aug 2006 02:32:32 +0800
Tag:    v1.7.0

Convert tabs to spaces.

commit 2befe77859fef54a2c77b9b34d287c51587421cd
Author: tjhunt <tjhunt>
Date:   Fri, 11 Aug 2006 02:23:09 +0800
Tag:    v1.7.0

Convert tabs to spaces.

commit 78b26f761c019c27a7864aa8d189bceb86ae6c32
Author: tjhunt <tjhunt>
Date:   Thu, 10 Aug 2006 23:44:52 +0800
Tag:    v1.7.0

Typo in comment.

commit dba4e6da97a2470f359a5b462765f222f7347113
Author: tjhunt <tjhunt>
Date:   Thu, 10 Aug 2006 01:46:16 +0800
Tag:    v1.7.0

Document table_column.

commit 5a14d563b9a870bb5b1dd95efe4fb0b6de716f29
Author: tjhunt <tjhunt>
Date:   Sat, 05 Aug 2006 00:53:43 +0800
Tag:    v1.7.0

Bug #5972 - Some question types mark a blank answer inconsistently.

commit 00c300692fa599b8df0849e06d95a3dde20b83c5
Author: tjhunt <tjhunt>
Date:   Sat, 05 Aug 2006 00:47:57 +0800
Tag:    v1.7.0

Fix whitespace.

commit 0b4ce29d8da8c43267be6853c19a664a45fc76fe
Author: tjhunt <tjhunt>
Date:   Fri, 04 Aug 2006 20:28:39 +0800
Tag:    v1.7.0

Matching question would fill in the right answer after an incorrect attempt.

commit bc5694133aad0eb23df15edc429a0cd1bd192ff4
Author: tjhunt <tjhunt>
Date:   Fri, 04 Aug 2006 00:30:38 +0800
Tag:    v1.7.0

Bug #6206 - Quiz can't be created on some mysql configurations. Merged from MOODLE_1.6_STABLE.

commit 7d6af8ca5a9ef54d1199ed587505a46214264aaf
Author: tjhunt <tjhunt>
Date:   Fri, 28 Jul 2006 18:56:47 +0800
Tag:    v1.7.0

Bug #6185 - bug with matching questions.

commit bdfad57b831760126f3f2ff1bddf51f3534d5eed
Author: tjhunt <tjhunt>
Date:   Fri, 28 Jul 2006 18:55:37 +0800
Tag:    v1.7.0

Added information to a comment.

commit 9a1e5f0a5f26136a12cdb6aaf4bbffc24bc92964
Author: tjhunt <tjhunt>
Date:   Thu, 27 Jul 2006 18:43:14 +0800
Tag:    v1.7.0

Clarified unit test failure message.

commit fad28a74512fec9079de0ee96ee7a19ba351183c
Author: tjhunt <tjhunt>
Date:   Thu, 27 Jul 2006 16:32:50 +0800
Tag:    v1.7.0

More unit tests for numerical question type.

commit 22f2f418101322ec63485f9060660b68b22a8afa
Author: tjhunt <tjhunt>
Date:   Tue, 25 Jul 2006 15:08:21 +0800
Tag:    v1.7.0

Start of unit tests for numerical question type.

commit 3b48ba9dc146843026e2a0ddfddf175c45ca694c
Author: tjhunt <tjhunt>
Date:   Mon, 24 Jul 2006 22:40:48 +0800
Tag:    v1.7.0

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

commit 87ee4968e5617292213572478cac7fc7325c7705
Author: tjhunt <tjhunt>
Date:   Fri, 21 Jul 2006 21:58:00 +0800
Tag:    v1.7.0

Bug #4811 (and several dups!) - Matching questions should treat identical answers as the same.

commit 43595a337099440e5d948c945c4b55f279957b64
Author: tjhunt <tjhunt>
Date:   Fri, 21 Jul 2006 16:03:23 +0800
Tag:    v1.7.0

Replace a few odd tabs with spaces. Merged from MOODLE_16_STABLE.

commit 393c9d489afa9d2cf9a5c72a7a5d9f5aec85e333
Author: tjhunt <tjhunt>
Date:   Fri, 21 Jul 2006 15:21:45 +0800
Tag:    v1.7.0

Bug #5946 - matching question php notice. Merged from MOODLE_16_STABLE.

commit 45d5305e19d68acf1b02d6f73652fe72f9ac9e39
Author: tjhunt <tjhunt>
Date:   Wed, 19 Jul 2006 00:49:33 +0800
Tag:    v1.7.0

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

commit d7444d442fdcad8c4443b67d5d558d4dfb36902a
Author: tjhunt <tjhunt>
Date:   Tue, 18 Jul 2006 23:34:24 +0800
Tag:    v1.7.0

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

commit 1367cb8d6bb92742a87949a43a01a44ee471916e
Author: tjhunt <tjhunt>
Date:   Tue, 18 Jul 2006 21:33:45 +0800
Tag:    v1.7.0

SC#277. Merged from MOODLE_16_STABLE.

commit ee26dfd17b98b3c562563c0d2c49e10164057408
Author: tjhunt <tjhunt>
Date:   Tue, 18 Jul 2006 19:01:06 +0800
Tag:    v1.7.0

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

commit a92a796a6a2275183b80a8fb4cdb9a4c13fb72a3
Author: tjhunt <tjhunt>
Date:   Tue, 18 Jul 2006 00:35:34 +0800
Tag:    v1.7.0

Bug 6092 - Give quiz finish time as well as start time in the quiz overview report.

commit da298d8201c2c20a886fc7d66da99ab2770106c1
Author: tjhunt <tjhunt>
Date:   Mon, 17 Jul 2006 16:57:30 +0800
Tag:    v1.7.0

Bug 5840 - Image not displayed in Cloze question. Thanks to Joseph Rezeau for the fix. Merged from MOODLE_16_STABLE.

commit 062a7522c2fb1dcf8a4efd65a5297dc410421062
Author: tjhunt <tjhunt>
Date:   Fri, 14 Jul 2006 23:36:29 +0800
Tag:    v1.7.0

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

commit a36f058e53e204883e2c97c31fb62a3707e55a69
Author: tjhunt <tjhunt>
Date:   Thu, 13 Jul 2006 17:48:56 +0800
Tag:    v1.7.0

Bug 6101 - Automatically scroll to any errors when upgrading the database. JavaScript thanks to Andrew Walker. PHP changes are my fault.

commit bba6c85f24c86c9bb170dbd229c3c207c583f618
Author: tjhunt <tjhunt>
Date:   Thu, 13 Jul 2006 02:10:22 +0800
Tag:    v1.7.0

Bug 5968 - Improvements to the numerical question type. You can now display feedback for wrong answers. You can also award partial credit for different levels of accuracy.

commit fc05b7d1ca295d5705ec96cfe0718b3d351dcc4d
Author: tjhunt <tjhunt>
Date:   Thu, 13 Jul 2006 01:54:45 +0800
Tag:    v1.7.0

Doh! remove debug code. Sorry.

commit 1fe641f7b43b63cb5289b0ffa8b6c4e1f2ee61ff
Author: tjhunt <tjhunt>
Date:   Thu, 13 Jul 2006 01:49:14 +0800
Tag:    v1.7.0

Bug 5968 - Improvements to the numerical question type. You can now display feedback for wrong answers. You can also award partial credit for different levels of accuracy.

commit 78b9c960e9b6e6ef04a7ce663851afb20033d33b
Author: tjhunt <tjhunt>
Date:   Thu, 13 Jul 2006 01:37:36 +0800
Tag:    v1.7.0

Fixed notice when restoring a numerical question with no units.

commit 079aa26d7d48cd8657019e0227c3d51d358a3416
Author: tjhunt <tjhunt>
Date:   Wed, 12 Jul 2006 00:14:23 +0800
Tag:    v1.7.0

Bug #6077 - Teacher saving their grades destroys student essay! Merged from MOODLE_16_STABLE.

commit ec23db087cc794c2d3f0db1da94f3aba29100167
Author: tjhunt <tjhunt>
Date:   Thu, 06 Jul 2006 19:09:24 +0800
Tag:    v1.7.0

Bug 6031 - missing parameter for warningmissingtype in libquestionlib.php. Merged from MOODLE_16_STABLE.

commit 68d07f8b01082f63e397fac3b81641cee4915e03
Author: tjhunt <tjhunt>
Date:   Thu, 06 Jul 2006 18:07:26 +0800
Tag:    v1.7.0

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

commit 16750bcd852d9a5aa5222236e13206f1158769e5
Author: tjhunt <tjhunt>
Date:   Thu, 06 Jul 2006 17:45:02 +0800
Tag:    v1.7.0

File header cleanup.

commit df7d152e77e2964d26c58bba61e8a23be3be0206
Author: tjhunt <tjhunt>
Date:   Wed, 05 Jul 2006 23:39:27 +0800
Tag:    v1.7.0

Improved on-screen instructions for matching questions.

commit 9e452c0d7b92c7f8c58f77480037e7a80b062f5b
Author: tjhunt <tjhunt>
Date:   Wed, 05 Jul 2006 20:32:53 +0800
Tag:    v1.7.0

Layout similar question types more consistently.

commit 645d76103ba60ebf8899bb5686cbbeebd2bbb0a8
Author: tjhunt <tjhunt>
Date:   Wed, 05 Jul 2006 20:19:11 +0800
Tag:    v1.7.0

Bug 5971 - Allow matching questions to have extra wrong answers - supplimental. And another one.

commit 974383f976ba64937ca3098fd5bc00d8d5bea26a
Author: tjhunt <tjhunt>
Date:   Wed, 05 Jul 2006 20:00:23 +0800
Tag:    v1.7.0

Bug 5971 - Allow matching questions to have extra wrong answers - supplimental. And another one.

commit 0c24ee0fbfd29e2d7ba3d98100a4cc7fd5f11818
Author: tjhunt <tjhunt>
Date:   Wed, 05 Jul 2006 19:58:14 +0800
Tag:    v1.7.0

Bug 5971 - Allow matching questions to have extra wrong answers - supplimental. I missed a bit last time.

commit 00aeaec820b8e5e26782ec748fdc436767d40935
Author: tjhunt <tjhunt>
Date:   Wed, 05 Jul 2006 18:43:53 +0800
Tag:    v1.7.0

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

commit a58ffe3fe2526e04f21c1d95786cd027a82f4371
Author: tjhunt <tjhunt>
Date:   Wed, 05 Jul 2006 01:11:00 +0800
Tag:    v1.7.0

Bug 5971 - Allow matching questions to have extra wrong answers.

commit 4f9c6e279c123da5f02c211c3d2910c13b94ea3e
Author: tjhunt <tjhunt>
Date:   Mon, 03 Jul 2006 18:04:04 +0800
Tag:    v1.7.0

Rename lang file as per Martin's request.

commit 3ef8c9362dd245a3970a664124ef4334a6897710
Author: tjhunt <tjhunt>
Date:   Fri, 30 Jun 2006 22:59:05 +0800
Tag:    v1.7.0

Bug #5979 - Check in the OU's unit testing framework. Docs at http://docs.moodle.org/en/Unit_tests

commit c358d62055541aaed0629b152969b15af3b18285
Author: tjhunt <tjhunt>
Date:   Fri, 30 Jun 2006 18:31:44 +0800
Tag:    v1.7.0

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

commit 04a4cd2a0e554aeb901db0d486c5dda83f629b9d
Author: tjhunt <tjhunt>
Date:   Thu, 29 Jun 2006 01:21:53 +0800
Tag:    v1.7.0

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

commit 82b5d7cd8ee9e80a28da95aed9c40f8dc73a25d5
Author: tjhunt <tjhunt>
Date:   Wed, 28 Jun 2006 19:45:11 +0800
Tag:    v1.7.0

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

commit 5190eed81bde16304b669844955e78cab2cc6de1
Author: tjhunt <tjhunt>
Date:   Wed, 28 Jun 2006 18:13:40 +0800
Tag:    v1.7.0

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

commit 5e60643e1b2bac6751029210d17c90b5911b98b8
Author: tjhunt <tjhunt>
Date:   Mon, 26 Jun 2006 19:23:32 +0800
Tag:    v1.7.0

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

commit 1cc1fa2425189ef17e7d75e72ad31395386ebb59
Author: tjhunt <tjhunt>
Date:   Thu, 15 Jun 2006 18:12:17 +0800
Tag:    v1.7.0

Bug #5825 redonly attribute does not work on checkboxes, so using disabled instead when displaying quizzes read-only.

commit 0b3461641117fe3f486ac5f82b1c942a76119c79
Author: tjhunt <tjhunt>
Date:   Wed, 14 Jun 2006 23:35:27 +0800
Tag:    v1.7.0

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

commit ee800653e46cc427b22a272605ed0c7262c13cc7
Author: tjhunt <tjhunt>
Date:   Wed, 14 Jun 2006 23:32:55 +0800
Tag:    v1.7.0

Corrected reference to lang string and fixed a notice. Merged from MOODLE_16_STABLE.

commit 0d8b8f1777347c306f1adfee8c34046247b737df
Author: tjhunt <tjhunt>
Date:   Wed, 14 Jun 2006 02:59:41 +0800
Tag:    v1.7.0

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

commit 6f1991905de2f5164186f86f1c9ed75d4b2dec17
Author: tjhunt <tjhunt>
Date:   Wed, 14 Jun 2006 02:55:25 +0800
Tag:    v1.7.0

Bug #5812 - Standard theme font size CSS not sufficiently defensive. Merged from MOODLE_16_STABLE.

commit 3fae19dd9840b9a399f63baab9ae46483133fd80
Author: tjhunt <tjhunt>
Date:   Tue, 13 Jun 2006 22:37:45 +0800
Tag:    v1.7.0

Bug #5810 missing ' > 7' in debug test. Merged from MOODLE_16_STABLE.

commit ff1b2fadbe514f307c9cbe1ad4f4026739b89d04
Author: tjhunt <tjhunt>
Date:   Mon, 12 Jun 2006 23:37:05 +0800
Tag:    v1.7.0

Fix restore notice. Merged from MOODLE_16_STABLE.

commit f92cf442db218cdcef819c9b8f84ab2b2da638a5
Author: tjhunt <tjhunt>
Date:   Mon, 12 Jun 2006 21:54:01 +0800
Tag:    v1.7.0

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

commit 4f7eaab66147c42dde2030b9df7938a7a4338898
Author: tjhunt <tjhunt>
Date:   Mon, 12 Jun 2006 19:05:39 +0800
Tag:    v1.7.0

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

commit f801c7e0282ba570f05161e0632651737d13146c
Author: tjhunt <tjhunt>
Date:   Wed, 07 Jun 2006 01:27:15 +0800
Tag:    v1.7.0

Fix notices when you restore a course with no parent or child courses. Merged from MOODLE_16_STABLE.

commit c078b2527bda3a43a0174919dd0b7435804a7a6a
Author: tjhunt <tjhunt>
Date:   Wed, 07 Jun 2006 01:25:00 +0800
Tag:    v1.7.0

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

commit 37611ee17c40a7b6f35aa60757f78ba41234e6ff
Author: tjhunt <tjhunt>
Date:   Wed, 07 Jun 2006 01:10:04 +0800
Tag:    v1.7.0

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

commit 7d83bbc2bd3a20b90e2d310a0445e6526427d00c
Author: tjhunt <tjhunt>
Date:   Tue, 06 Jun 2006 22:29:05 +0800
Tag:    v1.7.0

Bug #5506: Fix for calculated questions where each one builds on the last. Merged from MOODLE_16_STABLE.

commit 4919564de9dab6cde05c4bce91f46e8e5f9211e2
Author: tjhunt <tjhunt>
Date:   Tue, 06 Jun 2006 22:15:48 +0800
Tag:    v1.7.0

Fix notices from the quiz module on backup and restore. Merged from MOODLE_16_STABLE.

commit 331ca29783a34964b7c6b62bb6345885af016e88
Author: tjhunt <tjhunt>
Date:   Tue, 06 Jun 2006 22:12:04 +0800
Tag:    v1.7.0

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

commit 9aafe70227abb36b4294f7a572fcba6ebb84dd2d
Author: tjhunt <tjhunt>
Date:   Tue, 06 Jun 2006 18:10:43 +0800
Tag:    v1.7.0

Fix notice. Merged from MOODLE_16_STABLE.

commit 3e734b607d8425f50d1a81481a7cc39f225733e6
Author: tjhunt <tjhunt>
Date:   Tue, 06 Jun 2006 00:59:58 +0800
Tag:    v1.7.0

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

commit 6d456aa2c1b7ac569d68f375b23b279850e138b1
Author: tjhunt <tjhunt>
Date:   Mon, 05 Jun 2006 22:24:13 +0800
Tag:    v1.7.0

Fixed reference to incorrect language string. Merged from MOODLE_16_STABLE.

commit 042e68477d3484e7ec986430157239e370d5ba0b
Author: tjhunt <tjhunt>
Date:   Fri, 02 Jun 2006 23:39:41 +0800
Tag:    v1.7.0

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

commit cd70aa32f2580d425df8de62aaf338d014926ca3
Author: tjhunt <tjhunt>
Date:   Thu, 01 Jun 2006 22:27:37 +0800
Tag:    v1.7.0

Bug 5247: stop people creating tests with a close date before the open date.

commit 7baff8aa1a76423820ecd697d744011100728c0e
Author: tjhunt <tjhunt>
Date:   Wed, 31 May 2006 23:58:39 +0800
Tag:    v1.7.0

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

commit ce687025b7b46809af8b7f435917527b87a81c1a
Author: tjhunt <tjhunt>
Date:   Wed, 31 May 2006 18:35:17 +0800
Tag:    v1.7.0

Fix some Eclipse code style warnings.

commit 1dd99728898af44267d1f56518be8dcf38956852
Author: tjhunt <tjhunt>
Date:   Wed, 31 May 2006 18:34:05 +0800
Tag:    v1.7.0

Check for errors before doing other processing. (Compare this with the add case.)

commit 5bbca3a4cb128ef116a03a7577e8f2f30591ef99
Author: tjhunt <tjhunt>
Date:   Mon, 22 May 2006 23:43:53 +0800
Tag:    v1.7.0

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

commit 971cd5082aab098010611dc8d2b44e3cf17c54d2
Author: tjhunt <tjhunt>
Date:   Mon, 22 May 2006 21:06:36 +0800
Tag:    v1.7.0

Fix an undefined variable notice. Merged from 1.6stable.

commit 656ee8c6a1d96e0222beccfb2441e825da6bab8b
Author: tjhunt <tjhunt>
Date:   Mon, 22 May 2006 19:20:51 +0800
Tag:    v1.7.0

Fix an undefined variable notice. Merged from 1.6stable.

commit 450a0a7db7e3e21fb239aa8d6ab0fa741c4a8a7d
Author: tjhunt <tjhunt>
Date:   Thu, 18 May 2006 00:47:44 +0800
Tag:    v1.7.0

Merge from stable branch: Convert tabs to spaces in files where there were only a few rogue tabs.

commit 9bd76b32f3a8cb43b99f1f8009aa45016391b2d2
Author: tjhunt <tjhunt>
Date:   Wed, 17 May 2006 19:40:37 +0800
Tag:    v1.7.0

Merge from 1.6 branch. Fix URL syntax error when slasharguments is off.

commit b1a308bee06b5cd059038b24990b03a885eb0493
Author: tjhunt <tjhunt>
Date:   Wed, 17 May 2006 19:38:34 +0800
Tag:    v1.7.0

Merge from 1.6 branch.