Git commits in Moodle 1.8.x 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 d5c0dec1cda413b24c6c2ac04f87dd33f97f9cfc
Author: tjhunt <tjhunt>
Date:   Mon, 23 Mar 2009 10:59:24 +0900
Tag:    v1.8.9

quiz: MDL-18635 log every single hit to mod/quiz/attempts.php

commit d20f688bbb50df8fec03c28d9dc5d3620a7cf23d
Author: tjhunt <tjhunt>
Date:   Mon, 16 Mar 2009 10:53:05 +0900
Tag:    v1.8.9

qtypes: MDL-18559 questions showing penalty information when they shouldn't.

commit 7731eb7005880c1e5f0c105494c6a6f4355eae86
Author: tjhunt <tjhunt>
Date:   Wed, 04 Feb 2009 15:54:30 +0900
Tag:    v1.8.9

quiz overview report: MDL-18122 stray AS kills Oracle

commit 1e3d1148a355d982d7b8ab9c430437baea018fe3
Author: tjhunt <tjhunt>
Date:   Mon, 15 Dec 2008 11:53:44 +0900
Tag:    v1.8.8

Flatfile enrolment: MDL-11418 SQL error. Thanks to Patrick Pollet.

commit a1f52001048ed1d833ecdb4f042dc5eddcdfb58a
Author: tjhunt <tjhunt>
Date:   Fri, 12 Dec 2008 15:45:19 +0900
Tag:    v1.8.8

match qtype: MDL-17326 backup and restore problems

commit d8301555cdc6d34f0939ec71fa658d7ff2a6dd6f
Author: tjhunt <tjhunt>
Date:   Fri, 12 Dec 2008 13:39:18 +0900
Tag:    v1.8.8

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

commit 4914c939c66808d6f853f4d2e6d258d0bf9796b8
Author: tjhunt <tjhunt>
Date:   Fri, 12 Dec 2008 12:48:26 +0900
Tag:    v1.8.8

numerical and shortanswer question types: problems with compare_responses and test_response.

commit 3d0f39ea9642751b0fba3558e624c78c0482f6d0
Author: tjhunt <tjhunt>
Date:   Wed, 10 Dec 2008 09:54:38 +0900
Tag:    v1.8.8

truefalse qtype: MDL-12027 remove spurious alt attribute from truefalse qtype radio buttons.

commit 713324b8c48477b0c3d86c20c9c7034dbd5d4023
Author: tjhunt <tjhunt>
Date:   Fri, 05 Dec 2008 13:20:13 +0900
Tag:    v1.8.8

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

commit 8b28857e692d182c70cc3f8b44e5beefa8256e97
Author: tjhunt <tjhunt>
Date:   Thu, 27 Nov 2008 14:07:36 +0900
Tag:    v1.8.8

fix notices: MDL-15974 Some systems that were upgraded have nullable columns, leading to notices

commit 4baced6731c8cb099834e7eafbe933f5ffb5af91
Author: tjhunt <tjhunt>
Date:   Thu, 27 Nov 2008 13:48:05 +0900
Tag:    v1.8.8

quiz item analysis report: MDL-13427 <br> tags in the headers of some columns.

commit f5661d4525f6199a0679e95c5833591dc1ca8bbf
Author: tjhunt <tjhunt>
Date:   Thu, 27 Nov 2008 13:11:45 +0900
Tag:    v1.8.8

quiz overview report: MDL-17235 SQL error was breaking 'Show all students' in quizzes with feedback.

commit c72e019be42e56aad9e31641b952194a51de5397
Author: tjhunt <tjhunt>
Date:   Fri, 24 Oct 2008 10:53:40 +0800
Tag:    v1.8.8

moodlelib iprange checks: MDL-16986 If the user makes a mistake and types something like 172.16.1.143/148, with something greater than 32 after the slash, treat it as /32.

commit c26c2062760205eb4a12da61da04e9ad0dd293ef
Author: tjhunt <tjhunt>
Date:   Sun, 28 Sep 2008 16:59:43 +0800
Tag:    v1.8.7

MDL-16720 The edit icon in the quiz preview screen pops up the edit form in a window that is too small

commit 50a8e2b90c71070715c1c77eba95d6be1ed6d1e5
Author: tjhunt <tjhunt>
Date:   Mon, 01 Sep 2008 12:18:03 +0800
Tag:    v1.8.7

MDL-15655 - address_in_subnet does not work on 64 bit architectures. Also, we found some other issues with this funtion while diagnosing the problem.

commit 3835cc29f39cf411c0020354574f06a28500666f
Author: tjhunt <tjhunt>
Date:   Thu, 28 Aug 2008 13:06:26 +0800
Tag:    v1.8.7

MDL-16243 Implement a health-centre check that the question categories are arranged properly in tree structures.

commit 9300321849159f32755142e678e52501dca20b9c
Author: tjhunt <tjhunt>
Date:   Thu, 28 Aug 2008 09:46:26 +0800
Tag:    v1.8.7

MDL-8475 - Better handling of blank answer - further changes to make it even more robust. Also, make the same changes to the shortanswer question type that were already made to the numerical question type.

commit 240363ac493e8466a3e37e9462856059c5f0e24d
Author: tjhunt <tjhunt>
Date:   Wed, 20 Aug 2008 17:46:10 +0800
Tag:    v1.8.7

MDL-15654 Incorrect escaping of HTML in the history table on the review quiz attempt page.

commit c68631a272aed3a9afa9e23c8de2f9b3d2fe3d2d
Author: tjhunt <tjhunt>
Date:   Wed, 20 Aug 2008 16:53:00 +0800
Tag:    v1.8.7

MDL-15605 Convert question bank consistency checks described in MoodleDocs (http://docs.moodle.org/en/Development:Question_bank_consistency_check) to health centre checks.

commit e5b7520dce69c9dd72fc624a66c8036cfc428b60
Author: tjhunt <tjhunt>
Date:   Wed, 20 Aug 2008 16:51:19 +0800
Tag:    v1.8.7

MDL-16141 Need an sql_position function to do POSITION(needle IN haystack) on crappy databases. Backported from HEAD.

commit 242f42a49fbac154325c6dcf7248f6caf73cfd3f
Author: tjhunt <tjhunt>
Date:   Tue, 19 Aug 2008 14:59:29 +0800
Tag:    v1.8.7

SCORM module XHTML strict fixes.

commit fb7e6a9a0d1080467a5977f89e66b930327207af
Author: tjhunt <tjhunt>
Date:   Fri, 15 Aug 2008 11:13:57 +0800
Tag:    v1.8.7

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

commit 7fa260c83cd7162cf21f582087fb5c15769ccd3d
Author: tjhunt <tjhunt>
Date:   Thu, 14 Aug 2008 10:09:14 +0800
Tag:    v1.8.7

Oops! RISK_DATALOSS did not exist before 1.9.

commit 2e13c2864fc49e85cb53355bb4ad6fe063a488a1
Author: tjhunt <tjhunt>
Date:   Wed, 13 Aug 2008 15:06:43 +0800
Tag:    v1.8.7

MDL-15819 - Review the RISK_XXX flags on all quiz and question capabilites.

commit 847bb2fd19c10b0679e8e64a7400a48291ba3d67
Author: tjhunt <tjhunt>
Date:   Wed, 13 Aug 2008 11:18:11 +0800
Tag:    v1.8.7

MDL-12797 - Site-wide quiz default time-limit was not working. The default was being used, but the enabled state was not being initialised correctly for the form field.

commit 9db58d015fe764af6da8dbec18666697e8bfc0c6
Author: tjhunt <tjhunt>
Date:   Thu, 17 Jul 2008 20:49:28 +0800
Tag:    v1.8.7

MDL-15693 - print_question_icon does not cope with missing question types

commit 1be35acd876fbf80d26cf017667302a57f175250
Author: tjhunt <tjhunt>
Date:   Thu, 17 Jul 2008 20:39:45 +0800
Tag:    v1.8.7

MDL-15692 - Quiz attempt paging bar screws up in IE7 when you zoom the page. Normal Moodle paging bar doesn't, so I've changed the HTML the quiz generates to be closer the the output of weblib. Fortunately, this is irrelevant in 2.0.

commit 0df32c07c717fe20beccd09794e5afe1f2d6a447
Author: tjhunt <tjhunt>
Date:   Tue, 15 Jul 2008 17:18:35 +0800
Tag:    v1.8.7

MDL-14413 - Invalid function name - is_image_by_extentsion in QTI export

commit ce6d939f26b21d7f65408e9545911db26041909d
Author: tjhunt <tjhunt>
Date:   Wed, 25 Jun 2008 00:24:21 +0800
Tag:    v1.8.6

MDL-15315 / MDL-15332 merge problem. Sorry.

commit 139fa3dee6ea89fb600b1729bacfa13261172056
Author: tjhunt <tjhunt>
Date:   Tue, 24 Jun 2008 01:02:16 +0800
Tag:    v1.8.6

MDL-15372 - Links in course summary and section summaries not recoded on restore. Petr thinks it is a bad idea to recode links in course summaries, becuase he thinks there should not be links there at all, but I disagree, and as long as links are there, and we have the code to stop them breaking on backup and restore, we should fix the bug.

commit 3f35d9da9d919cca48548341cb8fb1748c55d95b
Author: tjhunt <tjhunt>
Date:   Mon, 23 Jun 2008 22:34:55 +0800
Tag:    v1.8.6

MDL-13229 - Cannot export group events - now make it export group events if 'all' is selected - Oops, allow for course without groups.

commit 61faff2eecbfbb78e71058a3332551cf3f92b5d5
Author: tjhunt <tjhunt>
Date:   Mon, 23 Jun 2008 22:28:52 +0800
Tag:    v1.8.6

MDL-13229 - Cannot export group events - now make it export group events if 'all' is selected - Oops, allow for course without groups.

commit 1170f42f3ad0d6358977157524bc885e5ff9b867
Author: tjhunt <tjhunt>
Date:   Sat, 21 Jun 2008 01:22:57 +0800
Tag:    v1.8.6

MDL-15315 - Error in Item analysis report for short aswer questions that use wildcards

commit 205409604144b191fd68dfb5fe23264678e6df4b
Author: tjhunt <tjhunt>
Date:   Sat, 21 Jun 2008 00:30:35 +0800
Tag:    v1.8.6

MDL-15332 - Item analysis links to the question edit form even for users without an appropriate capability.

commit f733a88518ebf5caf73c3c2039cb38c46887db91
Author: tjhunt <tjhunt>
Date:   Fri, 20 Jun 2008 01:57:58 +0800
Tag:    v1.8.6

MDL-13229 - Cannot export group events - now make it export group events if 'all' is selected.

commit 9f18286f316e995807a2fcdfb252da6a22e98a34
Author: tjhunt <tjhunt>
Date:   Thu, 19 Jun 2008 22:24:10 +0800
Tag:    v1.8.6

MDL-15318 - url is a reserved word in JavaScript in IE, so the Gen Calendar URL button does not work there

commit 2888dc67e133e713777ae9be51f5699b7b72a7b5
Author: tjhunt <tjhunt>
Date:   Wed, 18 Jun 2008 22:29:34 +0800
Tag:    v1.8.6

MDL-15290 - Missing question types not handled properly on backup.

commit b2a7f16b296342f3766d17324f35a2181ae82007
Author: tjhunt <tjhunt>
Date:   Tue, 27 May 2008 21:42:26 +0800
Tag:    v1.8.6

MDL-14764 - Imported multichoice questions may have a blank answernumbering value, which results in an "ERR" prefix to all answers' text. Thanks to Nate H for the fix.

commit d54f58e74543d44aa4e02a9b57023bf9cd2495a3
Author: tjhunt <tjhunt>
Date:   Wed, 21 May 2008 01:09:39 +0800
Tag:    v1.8.6

MDL-14928 - Adding random questions from a category with an apostrophe in the name does not work. Stupid bloody addslashes. Roll on dmllib 2.0.

commit 698945eb18fba4afd22be6f63bbda0a4e9d1df69
Author: tjhunt <tjhunt>
Date:   Tue, 13 May 2008 01:29:50 +0800
Tag:    v1.8.6

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 45efd8efade865370378c5cd6e2d05f775d269c0
Author: tjhunt <tjhunt>
Date:   Mon, 12 May 2008 18:44:40 +0800
Tag:    v1.8.6

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

commit 3816ad3b256f292cb173b2ca465a87bde3cddc57
Author: tjhunt <tjhunt>
Date:   Mon, 12 May 2008 16:21:02 +0800
Tag:    v1.8.6

MDL-14406 - backport fix to this branch, which seems to have been missed.

commit a5ba72c655a62efeec0626a48a51e9dd8091413b
Author: tjhunt <tjhunt>
Date:   Fri, 09 May 2008 23:22:48 +0800
Tag:    v1.8.6

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

commit 931d8ad7c1640d41f69bcfe1947f1cd5d8d2f02e
Author: tjhunt <tjhunt>
Date:   Wed, 07 May 2008 21:04:42 +0800
Tag:    v1.8.6

MDL-14726 - rcache bit wrong in set_field

commit 7bab64e4373eb5c407ffd03b994b8f4f0dac2070
Author: tjhunt <tjhunt>
Date:   Wed, 07 May 2008 20:31:56 +0800
Tag:    v1.8.6

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

commit 97578db41214abfa3dbaac1133900b3e0d6f631f
Author: tjhunt <tjhunt>
Date:   Wed, 23 Apr 2008 21:44:31 +0800
Tag:    v1.8.6

MDL-13982 - Performance problem when deleting questions from large question banks. Thanks to Michael Spall for this fix.

commit 80f7917245d8e3338f209fb0c07c9e7533f69c7a
Author: tjhunt <tjhunt>
Date:   Wed, 23 Apr 2008 18:57:52 +0800
Tag:    v1.8.6

MDL-14063 - Backport notice fix and whitespace cleanups from 1.9.

commit 14bb4c1ad9823a034e8b91df98f77ba4c1147ae9
Author: tjhunt <tjhunt>
Date:   Wed, 23 Apr 2008 18:38:10 +0800
Tag:    v1.8.6

MDL-11978 - Backport admin notification from MDL-11061 about bogus $CFG->wwwroot from 1.9 to 1.8 and 1.7.

commit 5c3a8f26548f70fa77783d4795b91e4f83553aaa
Author: tjhunt <tjhunt>
Date:   Wed, 23 Apr 2008 00:17:00 +0800
Tag:    v1.8.6

MDL-14352 - General feedback for descriptions not showing up on the review page, as it should.

commit 85becf954985bcc84594846c42a6d4c322484d53
Author: tjhunt <tjhunt>
Date:   Tue, 22 Apr 2008 22:34:19 +0800
Tag:    v1.8.6

MDL-14467 - qtype_multichoice help file in the wrong place.

commit 8218ad778c4cefd376e908b33ba3dcc0a512e6bd
Author: tjhunt <tjhunt>
Date:   Tue, 22 Apr 2008 22:34:18 +0800
Tag:    v1.8.6

file multichoice.html was added on branch MOODLE_18_STABLE on 2008-04-22 14:34:19 +0000

commit 42fd1a8187f9be0af65f5a688a95e54a74e3abe3
Author: tjhunt <tjhunt>
Date:   Thu, 17 Apr 2008 21:07:37 +0800
Tag:    v1.8.6

MDL-8682 - yet another followup. The javascript still was not quite right. you cannot rely on the case of element.nodeName.

commit 8db9017fd8d473a49c8fc8d5c2460fe35904a480
Author: tjhunt <tjhunt>
Date:   Wed, 02 Apr 2008 00:51:03 +0800
Tag:    v1.8.5

MDL-8682 - once again. It won't work all the time if the javascript is inside an if statement.

commit c612c32231ab9464eb1817fdc1e2d9afe5ca8615
Author: tjhunt <tjhunt>
Date:   Mon, 31 Mar 2008 23:09:41 +0800
Tag:    v1.8.5

Backport JS improvements from MDL-8682.

commit 1ba41a5caf0baed2c7b698b544cd68a76613f66a
Author: tjhunt <tjhunt>
Date:   Fri, 29 Feb 2008 07:09:40 +0900
Tag:    v1.8.5

MDL-12695 - Symantec Norton internet security pop up blocker seems to be stopping user starting a quiz attempt. Backport Jamie's fix from 1.9 now that it has had a time to cook and hasn't thrown up any problems.

commit 7f761c27eb80eab827c1676a57ff942e87f12e96
Author: tjhunt <tjhunt>
Date:   Thu, 28 Feb 2008 21:53:05 +0900
Tag:    v1.8.5

MDL-13189 - replace the $QTYPE_MENU global with a function call, so that we can set up the language strings later, after $COURSE is initialised. This ensures that the quesion names appear in the right language.

commit 33cc11661bfbf0b7169a3e259ba2b1a24d21f80c
Author: tjhunt <tjhunt>
Date:   Fri, 22 Feb 2008 07:34:45 +0900
Tag:    v1.8.5

MDL-13551 - preview question capability wrongly denied to student who has moodle/question:manage capability - This was already fixed in 1.9.

commit cda98581a5d0c2000b6651e633c023bd50a40ea2
Author: tjhunt <tjhunt>
Date:   Wed, 20 Feb 2008 02:14:13 +0900
Tag:    v1.8.5

Fix dangerous comment. (MDL-13536)

commit df6447ef653243b48931954fd1fa914d917a547f
Author: tjhunt <tjhunt>
Date:   Thu, 31 Jan 2008 03:18:38 +0900
Tag:    v1.8.5

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

commit e3d41efc04a934f7677b8b26bb58e1320e63022f
Author: tjhunt <tjhunt>
Date:   Fri, 25 Jan 2008 00:26:58 +0900
Tag:    v1.8.5

MDL-13096 - Student can view all text for all questions in a course.

commit 1b3fa338bb5062743cb7b499028338a0060f6d8e
Author: tjhunt <tjhunt>
Date:   Fri, 25 Jan 2008 00:06:46 +0900
Tag:    v1.8.5

MDL-13150 - Remove extra <br /> tag for XHTML strict validation - Thanks to Joseph Rzeau

commit 51f90f88393678e5dbecb7c969b45b4b41d9c002
Author: tjhunt <tjhunt>
Date:   Wed, 09 Jan 2008 03:28:51 +0900
Tag:    v1.8.4

MDL-12785 - Partially correct tick icon not displayed for MULTICHOICE, single answer questions. Fix thanks to Joseph Rzeau.

commit b12c6f2b1c4747eb85456eec136bb347f50a631f
Author: tjhunt <tjhunt>
Date:   Wed, 19 Dec 2007 01:12:27 +0900
Tag:    v1.8.4

MDL-12635 - Manual grading report does not check capabilites - also, only show the tabs for the reports people can access. Backported from MOODLE_19_STABLE.

commit bbe0467bff58c7eeb8e60a5889498b2239e06ee9
Author: tjhunt <tjhunt>
Date:   Thu, 13 Dec 2007 03:10:47 +0900
Tag:    v1.8.4

Fix Javascript error from essay questions on the review page.

commit b2744afe617eca5ad73084f2eb618ae8dd69869a
Author: tjhunt <tjhunt>
Date:   Wed, 12 Dec 2007 00:55:42 +0900
Tag:    v1.8.4

MDL-12542 - backup_todb not called on restore on date before it is inserted into mdl_user. This would cause a backup from a pre 1.7 site (or a pre 1.7 that has been upgraded to 1.9) to a 1.9 fresh install, to fail sometimes. Backported from MOODLE_19_STABLE.

commit 3b37251a8ae586ec3cb7057e77a385cb97a9d782
Author: tjhunt <tjhunt>
Date:   Wed, 21 Nov 2007 01:56:53 +0900
Tag:    v1.8.4

MDL-12282 - Numerical question type - the units are displayed on the editing form with a stupidly large number of decimal places.

commit 3a041e458c71448bef58e12a96201364e0b44392
Author: tjhunt <tjhunt>
Date:   Wed, 14 Nov 2007 23:48:13 +0900
Tag:    v1.8.4

Delete commented-out code that was actually not commented out properly, and so caused warnings.

commit c28f197deb88fb6fbd1bf56fa318b12208423dc6
Author: tjhunt <tjhunt>
Date:   Thu, 01 Nov 2007 02:08:38 +0900
Tag:    v1.8.4

MDL-10284 - wrong language string used on the quiz view page to inform students of the quiz deadline. I took the opportunity to strip out an unnecessary HTML table, and reviewing uses of the string /quiz(open|close)s?/ found one other inconsistency on the quiz editing form.

commit b63b4c2c1993c5453c3adac2b93578ede9bac33e
Author: tjhunt <tjhunt>
Date:   Thu, 01 Nov 2007 01:41:42 +0900
Tag:    v1.8.4

MDL-11624 - /mod/quiz/index.php too dependant on individual course format names. I basically changed it to do the same as the forum module.

commit cc701ed0214d9704d54eef33d0f1ec2fd7828ad4
Author: tjhunt <tjhunt>
Date:   Wed, 31 Oct 2007 03:22:28 +0900
Tag:    v1.8.4

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 06ff2489ae2aaaf793d57319a12b30e92b4b989f
Author: tjhunt <tjhunt>
Date:   Wed, 31 Oct 2007 02:52:43 +0900
Tag:    v1.8.4

Fix notice.

commit aac7fcb6fe770b74b5c86544e0b4e0b991e30f7a
Author: tjhunt <tjhunt>
Date:   Tue, 30 Oct 2007 19:46:01 +0900
Tag:    v1.8.4

Unit tests for MDL-9295 - clean_param with PARAM_URL/PARAM_LOCALURL.

commit 9f34d8341a591714224516787767abfb5e7ee1e5
Author: tjhunt <tjhunt>
Date:   Tue, 30 Oct 2007 19:15:02 +0900
Tag:    v1.8.4

MDL-9295 - PARAM_URL/PARAM_LOCALURL does not accept http://localhost/ or other hosts on lans.

commit 921899fc203edec9cf0c3b89c55bcccd9e70b0ce
Author: tjhunt <tjhunt>
Date:   Tue, 30 Oct 2007 19:11:24 +0900
Tag:    v1.8.4

MDL-11462 fixed PARAM_URL inline focs, uncommented old regex in URL validation library - official TLD not required anymore. Backported from MOODLE_19_STABLE.

commit 2628f0bc161fc2b93caaea29f65a182a27dbafb6
Author: tjhunt <tjhunt>
Date:   Tue, 30 Oct 2007 00:25:09 +0900
Tag:    v1.8.4

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

commit f312622c4e28e3a7f659ebedbadd27e68f9e16c7
Author: tjhunt <tjhunt>
Date:   Thu, 25 Oct 2007 17:42:19 +0800
Tag:    v1.8.4

MDL-11825 - Force penaltyfactor to 1 for truefalse questions on GIFT import, as is done on the editing form.

commit dc99997eac63b9976f0b9f008a8537ca2e2f7ab0
Author: tjhunt <tjhunt>
Date:   Tue, 23 Oct 2007 00:56:24 +0800
Tag:    v1.8.4

MDL-11708 - Zero answers are not allowed in Matching questions - sometimes I hate PHP.

commit 32a6bb301e90c0f70e235bdd5821b2b69cd471b3
Author: tjhunt <tjhunt>
Date:   Mon, 22 Oct 2007 23:36:50 +0800
Tag:    v1.8.4

MDL-11824 - Literal asterisk (\*) in shortanswer question not handled correctly by get_correct_responses + Unit tests.

commit 3c7d829b2236f5429b793aa9068ddfeffd69d420
Author: tjhunt <tjhunt>
Date:   Wed, 17 Oct 2007 05:26:38 +0800
Tag:    v1.8.4

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 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.

commit a80094eff3c4c8ea356364611aa56e65b312f94b
Author: tjhunt <tjhunt>
Date:   Tue, 26 Jun 2007 19:50:19 +0800
Tag:    v1.8.2

Error getting the context in old gradebook. Merged from OU moodle.

commit b207f15ca29aa5626655db52b784d9b6a484d7f4
Author: tjhunt <tjhunt>
Date:   Tue, 26 Jun 2007 01:13:17 +0800
Tag:    v1.8.2

Clean up whitespace.

commit 1cbf76c5fb037e001a9ed75d1b8fa8c6d2dee6d1
Author: tjhunt <tjhunt>
Date:   Sun, 24 Jun 2007 19:52:52 +0800
Tag:    v1.8.2

MDL-10237 - Improve wording on true/false edit form.

commit 357d918295cab4e1d3631e9d0c543b2df9d3916d
Author: tjhunt <tjhunt>
Date:   Fri, 22 Jun 2007 21:45:24 +0800
Tag:    v1.8.2

MDL-10213 - layuout problem for question in IE in Moodle 1.7. I'm taking the opportunity to clean up the CSS in 1.8 and HEAD to match what I did in 1.7.

commit e1e9407acb2cbf1237d41f6821d60521f0a5af46
Author: tjhunt <tjhunt>
Date:   Fri, 22 Jun 2007 00:14:32 +0800
Tag:    v1.8.2

MDL-7772 - improve the SQL for showing users without attemtps.

commit e1e7d03480c2a4af969a3c12a2e9d6adc0e45142
Author: tjhunt <tjhunt>
Date:   Wed, 20 Jun 2007 00:35:58 +0800
Tag:    v1.8.2

Notices from T/F question is you submit without answering in adaptive mode. Merged from OU Moodle.

commit 7ee50b87b8dc052c1594837c3a450b4da489266f
Author: tjhunt <tjhunt>
Date:   Wed, 20 Jun 2007 00:32:54 +0800
Tag:    v1.8.2

XHTML Strict.

commit ee4848432cfed66b2cf78c5e23869a8950ee62db
Author: tjhunt <tjhunt>
Date:   Thu, 14 Jun 2007 18:58:23 +0800
Tag:    v1.8.2

XHTML strict!

commit d3d4f4936e07726c5b5c13c4c838b1e553d6a837
Author: tjhunt <tjhunt>
Date:   Thu, 14 Jun 2007 18:58:12 +0800
Tag:    v1.8.2

Whitespace cleanup in workshop help files.

commit e796e306f8d4ab270fd1431378de8785cc9a62fb
Author: tjhunt <tjhunt>
Date:   Thu, 14 Jun 2007 00:39:53 +0800
Tag:    v1.8.2

Fix lang file sorting.

commit 7ba648a011c3880816fcea057ce1a66e9aa87788
Author: tjhunt <tjhunt>
Date:   Tue, 12 Jun 2007 21:47:14 +0800
Tag:    v1.8.2

Fix typo spotted by Eclipse.

commit 19798dc28d46fb0467b47b99d15ce0a43f95bf4a
Author: tjhunt <tjhunt>
Date:   Tue, 12 Jun 2007 19:11:34 +0800
Tag:    v1.8.2

Improve doc comments on get_context_* funcitions.

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.

commit 696b50fff2aac139310fe59477bff0800f4f0003
Author: tjhunt <tjhunt>
Date:   Fri, 30 Mar 2007 18:17:20 +0800
Tag:    v1.8.0

Small code cleanup to fix an obscure warning. If you got an error in the middle of creating a quiz attempt, you could get an attempt with no states. Then that caused an error when the attempt was deleted. Merged from MOODLE_17_STABLE.

commit 3849917982cbe2d539e0b468bc859c4e9c4b2a57
Author: tjhunt <tjhunt>
Date:   Fri, 30 Mar 2007 17:34:11 +0800
Tag:    v1.8.0

Fix notice. Merged from MOODLE_17_STABLE.

commit c9666935af52f5e126de82fc3d1a97c6eac2fdf1
Author: tjhunt <tjhunt>
Date:   Fri, 30 Mar 2007 07:11:47 +0800
Tag:    v1.8.0

MDL-9107 (regression from) MDL-8994 - adding random questions to a quiz was broken.

commit f81b4b1a1b08e8e46698069db265ce20939fd145
Author: tjhunt <tjhunt>
Date:   Fri, 30 Mar 2007 07:00:44 +0800
Tag:    v1.8.0

MDL-9094 - Penalty factor is meaningless for Essay questions, so remove it from the editing form. Manual merge of the corresponding change from MOODLE_17_STABLE.

commit 989f2ccd472c89a338a29c7291883ce9fbd2510d
Author: tjhunt <tjhunt>
Date:   Fri, 30 Mar 2007 06:09:35 +0800
Tag:    v1.8.0

Putting back print_box in 1.8.

I know, I cocked up and committed a print_box in 1.7 when I backported something. In 1.7, that function does not exist. Thanks toAndrea Bicciolo for fixing it. But in 1.8, print_simple_box has been deprecated.

commit fa62c456eb0a235b225368aae7985cea82479d5e
Author: tjhunt <tjhunt>
Date:   Fri, 30 Mar 2007 00:35:55 +0800
Tag:    v1.8.0

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

commit cca01e1519629c4f1a1f52f8ca1b2023981e7ff9
Author: tjhunt <tjhunt>
Date:   Fri, 30 Mar 2007 00:06:13 +0800
Tag:    v1.8.0

Add developer debugging to something that should not happen, and fix one instance of it. Backported from HEAD.

commit 6df629681210912777a7b2cd8a897e5937c83178
Author: tjhunt <tjhunt>
Date:   Thu, 29 Mar 2007 00:57:05 +0800
Tag:    v1.8.0

MDL-9061 - Only show global assign roles warning if you are assigning roles in the global context! Also, change name of admin menu entry to reduce confusion.

commit 9e6f284ae67b68fa0f228844b49a5b9bfae516bb
Author: tjhunt <tjhunt>
Date:   Fri, 23 Mar 2007 07:01:45 +0900
Tag:    v1.8.0

Followup to MDL-8994 - validate the category id we got from the form.

commit 3c8c7ad245816bac23cb98ea996a08946408385b
Author: tjhunt <tjhunt>
Date:   Fri, 23 Mar 2007 06:31:33 +0900
Tag:    v1.8.0

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

commit acccc0148bd2df00f24ae187aa182e8465b0e862
Author: tjhunt <tjhunt>
Date:   Fri, 23 Mar 2007 01:43:56 +0900
Tag:    v1.8.0

Make debugging more helpful by printing a full stack trace.

commit 79dc9d16bedf85263c8a315bc6a7eb9ae0830bc7
Author: tjhunt <tjhunt>
Date:   Thu, 22 Mar 2007 20:46:03 +0900
Tag:    v1.8.0

MDL-9004 - Breadcrumb trail is wrong when editing a quiz question.

commit 66adefcbf613c61a3bedb77d68dd1b7d8b0a0fb8
Author: tjhunt <tjhunt>
Date:   Thu, 22 Mar 2007 09:10:32 +0900
Tag:    v1.8.0

MDL-8994 - Question category selector on the question type editing forms is ignored.

commit c01c3954af211159f6118501ac00851ce7d54bf7
Author: tjhunt <tjhunt>
Date:   Thu, 22 Mar 2007 08:25:27 +0900
Tag:    v1.8.0

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

commit c48ca9308f846bf83c3c286766eec2fb3640ca82
Author: tjhunt <tjhunt>
Date:   Thu, 22 Mar 2007 08:04:35 +0900
Tag:    v1.8.0

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

commit fe4acc87a00c1c129fbc015f7753c9320fa4fb1a
Author: tjhunt <tjhunt>
Date:   Thu, 22 Mar 2007 02:12:38 +0900
Tag:    v1.8.0

Improve string handling in the question type base class.

commit aff7b7bd00c775ed1989d07de8f393d37e6f54b8
Author: tjhunt <tjhunt>
Date:   Wed, 21 Mar 2007 19:40:35 +0900
Tag:    v1.8.0

MDL-8946 - Fix a regression that broke question export.

Also, partially clean up the way that question bank navigation tabs are printed, so the code is not duplicated in the quiz.

Some other miscellaneous code cleaning too.

commit 1d3301fc3df01d112129d7638b8609e2eacbce3e
Author: tjhunt <tjhunt>
Date:   Wed, 21 Mar 2007 09:16:55 +0900
Tag:    v1.8.0

MDL-8978 - Regression from MDL-6386. Merged from MOODLE_16_STABLE.

commit 52742e6f055c383a9d9022f80cf19144e54695ef
Author: tjhunt <tjhunt>
Date:   Wed, 21 Mar 2007 07:45:04 +0900
Tag:    v1.8.0

MDL-8299 - Wrong capability on review.php. Merged from MOODLE_17_STABLE.

commit f9cecaf2f152c66e7af2bd174d75d816fa1f240c
Author: tjhunt <tjhunt>
Date:   Wed, 21 Mar 2007 07:23:50 +0900
Tag:    v1.8.0

MDL-8140 Other units disappear from the editing form when there is no unit with multiplier 1. Effectively the same fix as just applied to MOODLE_1.7_STABLE.

commit 7f1908567b4a26a4b1931f302b32f177a0bba8b7
Author: tjhunt <tjhunt>
Date:   Wed, 21 Mar 2007 00:06:33 +0900
Tag:    v1.8.0

MDL-4084 Backup all question categories in a course, not just the ones from which questions are used in a quiz.

commit 1043fa2dffb24c4648c4b8eceef9ba2dbeaab300
Author: tjhunt <tjhunt>
Date:   Tue, 20 Mar 2007 23:31:16 +0900
Tag:    v1.8.0

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

commit 900022293b5aba307a1b57863af0e5b12aa15182
Author: tjhunt <tjhunt>
Date:   Tue, 20 Mar 2007 23:07:00 +0900
Tag:    v1.8.0

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

commit 81cdbf08e903c98cf847ca81c1f967500efdc922
Author: tjhunt <tjhunt>
Date:   Thu, 15 Mar 2007 21:59:15 +0900
Tag:    v1.8.0

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

commit a2b74a93004045d15f19402826a5906c820d90f2
Author: tjhunt <tjhunt>
Date:   Thu, 15 Mar 2007 21:53:03 +0900
Tag:    v1.8.0

Fix notice.

commit 5dc53c6b7b817cd43ee6e5207e1b3ab00bc06175
Author: tjhunt <tjhunt>
Date:   Thu, 15 Mar 2007 06:24:04 +0900
Tag:    v1.8.0

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

commit f0d2d9ae0c27d0c7dfdbed037adfa19ed9bfee6b
Author: tjhunt <tjhunt>
Date:   Thu, 15 Mar 2007 06:10:49 +0900
Tag:    v1.8.0

Oops, reverting. Eloy had already fixed it.

commit 7a43fb909ba5063066b540f37aaa6c1904703069
Author: tjhunt <tjhunt>
Date:   Thu, 15 Mar 2007 06:08:04 +0900
Tag:    v1.8.0

MDL-8232 - can't use = on TEXT colums with MSSQL - was breaking numerical question type upgrade. Merged from MOODLE_17_STABLE.

commit 77f814a368f11d5b610850f5c9d7cae3f77b3b85
Author: tjhunt <tjhunt>
Date:   Thu, 15 Mar 2007 05:14:48 +0900
Tag:    v1.8.0

MDL-8772 - Use the same list of places to search in get_string and help.php.

commit 04bfc2247d8aa4211ec34bf8128c3986e456c92b
Author: tjhunt <tjhunt>
Date:   Thu, 15 Mar 2007 00:29:22 +0900
Tag:    v1.8.0

Notice when a student attempts a quiz, because there are no tabs to display.

commit c2f3c09b3b689735584eee235f86cf9cbaa2dcfd
Author: tjhunt <tjhunt>
Date:   Wed, 14 Mar 2007 20:33:01 +0900
Tag:    v1.8.0

Fix typo

commit 4f510e2ec82c2b83d001cf9c26f87e4eaa95f14a
Author: tjhunt <tjhunt>
Date:   Wed, 14 Mar 2007 02:43:03 +0900
Tag:    v1.8.0

Eliminate bizarre use of function_exists.

commit 803b4bf64c22f2cb7d2cadaf332c45455545073e
Author: tjhunt <tjhunt>
Date:   Wed, 14 Mar 2007 01:27:56 +0900
Tag:    v1.8.0

Entity decoding only done the right number of times on import, not once too often. Also, fix a notice and and Eclipse warning. Backported from HEAD.

commit 775db8e809cf9c1a64ea0e66764bd46e6668dba0
Author: tjhunt <tjhunt>
Date:   Wed, 14 Mar 2007 01:24:42 +0900
Tag:    v1.8.0

Use the right string processing when outputting question text on import/export. Backported from HEAD

commit 758594946630506631741084057b5c83fa64cac2
Author: tjhunt <tjhunt>
Date:   Wed, 14 Mar 2007 01:20:58 +0900
Tag:    v1.8.0

Use the right string processing functions when outputting question names. Backported from HEAD

commit 6365af1cf6d77b57301e8975642978f83834cbdd
Author: tjhunt <tjhunt>
Date:   Sat, 10 Mar 2007 09:33:34 +0900
Tag:    v1.8.0

MDL-8177 - Random questions selected deleted questions.

commit b978bf3a875fb9be7d7eaecffdd6c5929b9c2439
Author: tjhunt <tjhunt>
Date:   Fri, 09 Mar 2007 23:33:43 +0900
Tag:    v1.8.0

Groups upgrade fails if you have groups defined, but none of them contain any members.

commit 3b563f5893b33a0797fb51c7ae1e012ad4e00709
Author: tjhunt <tjhunt>
Date:   Wed, 07 Mar 2007 03:00:13 +0900
Tag:    v1.8.0

MDL-8349 - responses not being filtered in history display.

commit b332877b9663d7a7eafaf13ec667b1ebcdac50da
Author: tjhunt <tjhunt>
Date:   Tue, 06 Mar 2007 16:57:13 +0900
Tag:    v1.8.0

Add a couple more plugin types to get_string that Martin missed yesterday.

commit 196b6f391808f429b0e6526ab71752cc7633acf8
Author: tjhunt <tjhunt>
Date:   Tue, 06 Mar 2007 03:05:39 +0900
Tag:    v1.8.0

MDL-8764 - In menus, show question categories from this course first, then published categories from other courses.

commit c34b9b9c9785fa7cf56c24aa970b50754ec56b28
Author: tjhunt <tjhunt>
Date:   Fri, 02 Mar 2007 01:41:50 +0900
Tag:    v1.8.0

Make error messages non-ambiguous.

commit 3ee2c02ec3288a415e71d1ec369ff1eef34e7fba
Author: tjhunt <tjhunt>
Date:   Fri, 02 Mar 2007 01:41:43 +0900
Tag:    v1.8.0

Make error messages non-ambiguous.

commit 7c1fb231562f449925e03e5add838c74aacfd25d
Author: tjhunt <tjhunt>
Date:   Thu, 01 Mar 2007 18:45:19 +0900
Tag:    v1.8.0

MDL-6773 - eliminate duplicate code for getting a list of question categories.

commit 28e9a6e43c4cee4f39e37203d9d022a6daf87a25
Author: tjhunt <tjhunt>
Date:   Thu, 01 Mar 2007 02:18:14 +0900
Tag:    v1.8.0

When restoring numerical questions, don't create duplicate unit definitions.

commit 1d0a5c8ff536f164c24297c0216f06c6757ae7d2
Author: tjhunt <tjhunt>
Date:   Thu, 01 Mar 2007 02:16:44 +0900
Tag:    v1.8.0

Improve validation code to match the recent improvements in shortanswer validation.

commit 19623c973c33027d83b30cd5eb4477b42eef52a2
Author: tjhunt <tjhunt>
Date:   Thu, 01 Mar 2007 02:15:23 +0900
Tag:    v1.8.0

Minor improvement to validation code.

commit 76b58ae598cc50cb4950050a9d21f063784d47bf
Author: tjhunt <tjhunt>
Date:   Thu, 01 Mar 2007 00:35:02 +0900
Tag:    v1.8.0

XHTML Strrrrrrict!

commit 6fce318ec5d01a9d45a2a90bc8ef361e2e339b4d
Author: tjhunt <tjhunt>
Date:   Thu, 01 Mar 2007 00:21:41 +0900
Tag:    v1.8.0

Bug with editing essay questions.

commit e3455f160aaf218fcf1e4a549075871c74b64a87
Author: tjhunt <tjhunt>
Date:   Thu, 01 Mar 2007 00:16:12 +0900
Tag:    v1.8.0

Remove CVS conflict markers.

commit 95e5c19295bb2bd35fa3dae7532905b986a36094
Author: tjhunt <tjhunt>
Date:   Thu, 01 Mar 2007 00:11:54 +0900
Tag:    v1.8.0

Remove CVS confilt markers.

commit 34949d8dcb3dbfa751342e75cc787e7b7a0dec40
Author: tjhunt <tjhunt>
Date:   Wed, 28 Feb 2007 21:24:39 +0900
Tag:    v1.8.0

XHTML Strrrrrrict! on quiz module config page.

commit 1589c98c56403edf68931dc877c52cdf612b1562
Author: tjhunt <tjhunt>
Date:   Wed, 28 Feb 2007 20:34:36 +0900
Tag:    v1.8.0

Correct logic for stopping people using guest access from doing quizzes.

commit 41d7faf891d67c1132420b32f4b10d36265af3bb
Author: tjhunt <tjhunt>
Date:   Wed, 28 Feb 2007 01:20:14 +0900
Tag:    v1.8.0

MDL-8671 - better checking when creating short answer questions. Fix thanks to Joseph Rzeau.

commit ecec5caee80a1125db40225b930b064a8842ec31
Author: tjhunt <tjhunt>
Date:   Wed, 28 Feb 2007 01:20:11 +0900
Tag:    v1.8.0

MDL-8671 - better checking when creating short answer questions. Fix thanks to Joseph Rzeau.

commit 7a201b247ec855cc90066a6c9aece6dcf455b77c
Author: tjhunt <tjhunt>
Date:   Tue, 27 Feb 2007 22:59:10 +0900
Tag:    v1.8.0

Improve quiz editing screen layout a little bit based on a usability suggestion in the forums.

commit 1c63d8955ddd87f410156d2ef5e1e4ed7dfb0b14
Author: tjhunt <tjhunt>
Date:   Wed, 21 Feb 2007 00:18:22 +0900
Tag:    v1.8.0

Another wretched adslashes problem. Roll on placeholder. Thanks to Howard Miller. Merged from MOODLE_17_STABLE.

commit 56e1965f4ff75c7aecc12beff81840b368a8d678
Author: tjhunt <tjhunt>
Date:   Tue, 20 Feb 2007 10:46:01 +0900
Tag:    v1.8.0

MDL-4793 - Option to show question text in the question bank.

Also, fix layout problems on the quiz editing screen.

commit 872964f14047f4c56ccc67aba8b5908a72c3efa0
Author: tjhunt <tjhunt>
Date:   Mon, 19 Feb 2007 13:24:02 +0900
Tag:    v1.8.0

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

commit 3ca50b0dd3bc09c5140d3107c30e9f8d476bbf3e
Author: tjhunt <tjhunt>
Date:   Sun, 18 Feb 2007 02:16:50 +0900
Tag:    v1.8.0

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

commit a95cd8a650edd5ae64ebd42e88bd12b267eea679
Author: tjhunt <tjhunt>
Date:   Tue, 30 Jan 2007 20:09:32 +0900
Tag:    v1.8.0

Get the alt text for the question type icon in a better way.

commit f07d1d319716a0b381ece29435c72999a798f778
Author: tjhunt <tjhunt>
Date:   Mon, 29 Jan 2007 21:35:29 +0900
Tag:    v1.8.0

When editing some question types, the options get jumbled up.

commit 09f7fa1183edc3756eff2fde1a03a307df37b618
Author: tjhunt <tjhunt>
Date:   Sat, 27 Jan 2007 02:52:23 +0900
Tag:    v1.8.0

Missing serf_default on decimal points field.

commit 627c9eae47875c6762c44b716171e4cba336cb88
Author: tjhunt <tjhunt>
Date:   Fri, 19 Jan 2007 19:07:05 +0900
Tag:    v1.8.0

Missing space.

commit 7f60ca5ec5a77825e586ee847671b3e5c2d6241e
Author: tjhunt <tjhunt>
Date:   Fri, 19 Jan 2007 18:59:13 +0900
Tag:    v1.8.0

correct icon path to use $CFG->pixpath.

commit 901011fd4d1539475b883ba10f3473a63661a419
Author: tjhunt <tjhunt>
Date:   Fri, 19 Jan 2007 02:38:51 +0900
Tag:    v1.8.0

MDL-8205 - Layout of quiz editing screen not right

commit bb006c95cc57f6a9425d778ac46418b812076f86
Author: tjhunt <tjhunt>
Date:   Thu, 18 Jan 2007 21:55:46 +0900
Tag:    v1.8.0

Fix broken JS.

commit 4f390427d58d4e9ce5cdc4fba1e2bdb04f33ff26
Author: tjhunt <tjhunt>
Date:   Thu, 18 Jan 2007 02:29:08 +0900
Tag:    v1.8.0

Minor problem with restoring numerical questions.

commit 7ca455cd56990931db2f7cdcd9a75720689e1579
Author: tjhunt <tjhunt>
Date:   Wed, 17 Jan 2007 23:54:55 +0900
Tag:    v1.8.0

The way mulit-response questoins show the right answer is a bit confusing.

commit 069a820a7e0a07e0600b443563c77c7ffa6590e1
Author: tjhunt <tjhunt>
Date:   Wed, 17 Jan 2007 19:31:36 +0900
Tag:    v1.8.0

Matching question rigth/wrong answer indication is broken.

commit ab6803a97c8d63795bbe622e50fbbe2f2065b27c
Author: tjhunt <tjhunt>
Date:   Wed, 17 Jan 2007 03:01:02 +0900
Tag:    v1.8.0

missed defaults_reprocessing to data_preprocessing

commit f38ceee677376699f29c9780e8cda70cd20e7597
Author: tjhunt <tjhunt>
Date:   Wed, 17 Jan 2007 02:51:05 +0900
Tag:    v1.8.0

Fix multiple-choice multiple-answer grading code. Merged from MOODLE_17_STABLE.

commit d7933a55c8c057b07589cd4c32b78324bba554d6
Author: tjhunt <tjhunt>
Date:   Sat, 13 Jan 2007 03:30:27 +0900
Tag:    v1.8.0

Fix notices from admin_setting_configmultiselect when no options are selected.

commit b3170072129d93cf3427b08ae1019decf2465d0e
Author: tjhunt <tjhunt>
Date:   Sat, 13 Jan 2007 03:03:36 +0900
Tag:    v1.8.0

MDL-8165 - Admin setting to control which roles are synced to metacourses

commit a840456731e41b1fc9e2745d9a65d203be3b816b
Author: tjhunt <tjhunt>
Date:   Fri, 12 Jan 2007 21:20:21 +0900
Tag:    v1.8.0

MDL-7496 - for numerical and short answer questions, the student was being told they were 'incorrect' before they had even had a chance to enter an answer!

commit 47cdbd1f6487acf23b8bd973e6fb67dc559aa735
Author: tjhunt <tjhunt>
Date:   Thu, 11 Jan 2007 21:18:10 +0900
Tag:    v1.8.0

Question session state logic improvement - if students have not yet entered an answer, don't do an EVENT_SAVE.

commit 9e93222df27db6cf72efa677271a1667ce9a418b
Author: tjhunt <tjhunt>
Date:   Sat, 06 Jan 2007 01:46:28 +0900
Tag:    v1.8.0

questioncategory formslib.php form control.

commit 36703ed7253c9633c4db06df569bcfd849c6a821
Author: tjhunt <tjhunt>
Date:   Sat, 23 Dec 2006 00:39:40 +0900
Tag:    v1.8.0

MDL-8003 - part - Use formslib for question editing forms

commit 9dae915acbbc4896b4d98e03dc8a37e92f572a48
Author: tjhunt <tjhunt>
Date:   Fri, 22 Dec 2006 22:29:20 +0900
Tag:    v1.8.0

New param type: PARAM_NUMBER, for floating point numbers.

commit 77ed3ba5fd5a177ded1659019c15f0ba20c38a05
Author: tjhunt <tjhunt>
Date:   Fri, 22 Dec 2006 21:52:13 +0900
Tag:    v1.8.0

MDL-8002 - Don't show overall feedback for incomplete quiz attempts. Also, cleanup of mod/quiz/index.php

commit 3246ed335d2a9125f43f995807103bf9e9477d8c
Author: tjhunt <tjhunt>
Date:   Tue, 19 Dec 2006 03:07:49 +0900
Tag:    v1.8.0

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

commit 09db6da231412e446984075bfd3da83ebd8127fe
Author: tjhunt <tjhunt>
Date:   Tue, 19 Dec 2006 01:38:58 +0900
Tag:    v1.8.0

MDL-7972 - improve GIFT import export for truefalse questions. Also clean up whitespace in question/format/gift/format.php. MDL-7928 - Numerical question type should use * for the match anything answer - GIFT format part. - Merged from MOODLE_17_STABLE.

commit 55894a4205c73d10a3a3df69140833c7cee01d65
Author: tjhunt <tjhunt>
Date:   Sat, 16 Dec 2006 03:30:39 +0900
Tag:    v1.8.0

MDL-7928 - Numerical question type should use * for the match anything answer. Merged from MOODLE_17_STABLE.

commit 0dae5d33a76f37581205ec5f03bfcda1f5f895ae
Author: tjhunt <tjhunt>
Date:   Sat, 16 Dec 2006 03:23:31 +0900
Tag:    v1.8.0

MDL-7926 - set_field_select function. Merged from MOODLE_17_STABLE.

commit 828df720a25189fea0b8b30d126309778da67321
Author: tjhunt <tjhunt>
Date:   Sat, 16 Dec 2006 00:41:56 +0900
Tag:    v1.8.0

MDL-7925 - description question types were being created with defaultgrade = 1. It should be zero, so fix the bug, and reset any wrong ones in the database. Merged from MOODLE_17_STABLE.

commit 9016b062e71fe757d6de1b701a1cde07e31ecb87
Author: tjhunt <tjhunt>
Date:   Tue, 12 Dec 2006 17:58:53 +0900
Tag:    v1.8.0

MDL-7602 - Multianswer question type only works with invalid HTML. Merged from MOODLE_17_STABLE.

commit bb080d2046f42aa5770bd19bdb044cd09ade4633
Author: tjhunt <tjhunt>
Date:   Tue, 12 Dec 2006 08:46:15 +0900
Tag:    v1.8.0

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

commit f4b7d5a3f9e60e10710e120a9a421d248345c8c7
Author: tjhunt <tjhunt>
Date:   Tue, 12 Dec 2006 02:12:04 +0900
Tag:    v1.8.0

Restore notices.

commit 1ff4cfaf6a0fc2ddc50458c64fc3f9499cf9ae18
Author: tjhunt <tjhunt>
Date:   Mon, 11 Dec 2006 23:03:01 +0900
Tag:    v1.8.0

MDL-7886 - typo in overview report javascript.

commit fb6179a16cfa81d7fc6728b7548d2a65e7a48567
Author: tjhunt <tjhunt>
Date:   Wed, 06 Dec 2006 03:47:40 +0900
Tag:    v1.8.0

MDL-7804 - Essay questions do not backup properly. Merged from MOODLE_16_STABLE.

commit 2e0ed03e5ed4180de4a6091a8ec3c9e9ee386b00
Author: tjhunt <tjhunt>
Date:   Wed, 06 Dec 2006 03:42:39 +0900
Tag:    v1.8.0

Fix error when restoring into a newly created course. The course files folder may not exist yet, so need to do a recursive directory create.

commit 89475b805d644e3b56e96cc1b88a5ce99d28eecd
Author: tjhunt <tjhunt>
Date:   Wed, 06 Dec 2006 03:38:56 +0900
Tag:    v1.8.0

Fixed notice when restoring a backup file that was created with Users: none.

commit b036f941e3e3f8eb2508f519d2ae8d7832509787
Author: tjhunt <tjhunt>
Date:   Wed, 06 Dec 2006 03:34:29 +0900
Tag:    v1.8.0

There was some random code between two functions definitions that was giving errors on restore. I assume it was just a copy and paste error, so I have deleted the offending lines so that restore works.

commit edea4db46b8d83b3102e672c76c25a4691e5af66
Author: tjhunt <tjhunt>
Date:   Wed, 06 Dec 2006 03:14:57 +0900
Tag:    v1.8.0

Add $level parameters to each backup method. Merged from MOODLE_17_STABLE.

commit f60774823f02f4a9808f44b51d96a89ef256c408
Author: tjhunt <tjhunt>
Date:   Tue, 05 Dec 2006 01:21:40 +0900
Tag:    v1.8.0

MDL-7719. Merged from MOODLE_17_STABLE.

commit 6542b1ecfe0ec3bfc42e184f07ee6e8f02b3c762
Author: tjhunt <tjhunt>
Date:   Tue, 05 Dec 2006 01:08:00 +0900
Tag:    v1.8.0

Typo in help. Thanks to Ken Wilson.

commit f725489c9a353c9f25b2a7aa770f2352dfbbfd7d
Author: tjhunt <tjhunt>
Date:   Mon, 04 Dec 2006 20:54:48 +0900
Tag:    v1.8.0

Typo. Merged from MOODLE_17_STABLE.

commit 485349ddf29758d10d517af4dc0403c40c887399
Author: tjhunt <tjhunt>
Date:   Wed, 29 Nov 2006 02:44:18 +0800
Tag:    v1.8.0

MDL-7720 - non-unicode-safe case-insensitive string comparison in shortanswer question type. Merged from MOODLE_17_STABLE.

commit 2962ad61e4a2b474bcb12889b2dfae0a4873a9f4
Author: tjhunt <tjhunt>
Date:   Wed, 29 Nov 2006 02:42:18 +0800
Tag:    v1.8.0

Put back spaces in code that Martin Dougiamass stripped out of the lang strings without thinking about the consequences. Merged from MOODLE_17_STABLE.

commit 536a64021875b908d743a0c00866229a895f4ba2
Author: tjhunt <tjhunt>
Date:   Sat, 25 Nov 2006 02:52:16 +0800
Tag:    v1.8.0

Minor tweak to fieldset styles.

commit 115faa2f7bd22729f9b53cbdf53573c90cb9299d
Author: tjhunt <tjhunt>
Date:   Tue, 21 Nov 2006 01:47:30 +0800
Tag:    v1.8.0

Fix column names.

commit 123545bc4fe2c0f30aed035fd2786458d01981d7
Author: tjhunt <tjhunt>
Date:   Tue, 21 Nov 2006 00:45:24 +0800
Tag:    v1.8.0

MDL-7607 - sync_metacourse is unnecessarily slow

commit 6a126d3c3fee9ebec2885748cd4cfff9c3b6720c
Author: tjhunt <tjhunt>
Date:   Mon, 20 Nov 2006 05:28:15 +0800
Tag:    v1.8.0

Fix function arguments.

commit bdf84aca924c26a58c193da03a595f725d003c3b
Author: tjhunt <tjhunt>
Date:   Fri, 17 Nov 2006 00:46:11 +0800
Tag:    v1.8.0

Typo in function name. Merged from MOODLE_17_STABLE.

commit f2603dcc8987bc17d611501fb049cff528d133e7
Author: tjhunt <tjhunt>
Date:   Thu, 16 Nov 2006 20:43:10 +0800
Tag:    v1.8.0

MDL-7576 - review link does not work after attempt is closed. Thanks to Chad Badiyan for the fix. Merged from MOODLE_17_STABLE.

commit 84bf852c1b4aa50fac2ee13437f933280167e9bf
Author: tjhunt <tjhunt>
Date:   Thu, 16 Nov 2006 01:32:49 +0800
Tag:    v1.8.0

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

commit a4d79b0eb5a9e1cbf257fb38232bc3d8f4988171
Author: tjhunt <tjhunt>
Date:   Thu, 16 Nov 2006 00:58:44 +0800
Tag:    v1.8.0

MDL-7567 Numerical questions occasionally mix up the order of their answers. Merged from MOODLE_16_STABLE.

commit 1492a48f3cb6f02a07818428f259d68f7b645c34
Author: tjhunt <tjhunt>
Date:   Wed, 15 Nov 2006 20:59:49 +0800
Tag:    v1.8.0

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

commit f9c92efef365b5a3d2e68775196fac022814e15a
Author: tjhunt <tjhunt>
Date:   Tue, 14 Nov 2006 23:41:20 +0800
Tag:    v1.8.0

MDL-7531 Fix SQL that does not work in Oracle. Thanks to Mark Hetherington for the fix. Merged from MOODLE_17_STABLE.

commit 9c23d3e8d6422b6630f4645a0cd1ddfd52f401e0
Author: tjhunt <tjhunt>
Date:   Tue, 31 Oct 2006 23:13:47 +0800
Tag:    v1.8.0

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

commit ee6c93555f5029f0367988e7f0611617de745c43
Author: tjhunt <tjhunt>
Date:   Tue, 31 Oct 2006 20:06:52 +0800
Tag:    v1.8.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. Merged from MOODLE_17_STABLE.

commit dfa924cc99f45b1553ec6c5643d46a79e515df85
Author: tjhunt <tjhunt>
Date:   Tue, 31 Oct 2006 19:59:54 +0800
Tag:    v1.8.0

Make the close_window function better. Merged from MOODLE_17_STABLE.

commit d84d379e97ff54fa826d8c7c6d69d496904f9247
Author: tjhunt <tjhunt>
Date:   Tue, 31 Oct 2006 18:47:34 +0800
Tag:    v1.8.0

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

commit d48b2c3f329e7116b74d7fe57b66ba2e4323938a
Author: tjhunt <tjhunt>
Date:   Tue, 31 Oct 2006 18:47:26 +0800
Tag:    v1.8.0

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

commit 99aa18808fd7f88cb8e97ec9a74ca6a0b2b4922f
Author: tjhunt <tjhunt>
Date:   Tue, 31 Oct 2006 00:35:53 +0800
Tag:    v1.8.0

Make General feedback more tolerant of whitespace. Merged from MOODLE_17_STABLE.

commit ef95c65ed113b91f6b5823e034f6eebb445d6404
Author: tjhunt <tjhunt>
Date:   Thu, 19 Oct 2006 19:54:17 +0800
Tag:    v1.8.0

Fix problem with multichoice question grading. Merged from MOODLE_17_STABLE.

commit f6bde593c7f9168b2d252e276e05bfd1f91b75ca
Author: tjhunt <tjhunt>
Date:   Thu, 19 Oct 2006 18:24:04 +0800
Tag:    v1.8.0

Missing addslashes. Merged from MOODLE_17_STABLE.

commit 95ac8a4039e91f842ac90e4ec94a5810532f4c39
Author: tjhunt <tjhunt>
Date:   Wed, 18 Oct 2006 07:23:18 +0800
Tag:    v1.8.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 9a8b42c981081005932bc4ecbb3d945fac59b030
Author: tjhunt <tjhunt>
Date:   Wed, 18 Oct 2006 06:17:17 +0800
Tag:    v1.8.0

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

commit 6a00f57926b2f56a8ea92f54c8cd0bd98d65fd5b
Author: tjhunt <tjhunt>
Date:   Wed, 18 Oct 2006 06:01:23 +0800
Tag:    v1.8.0

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

commit bc649d80d5f94054150849adb7890c51b74e9534
Author: tjhunt <tjhunt>
Date:   Wed, 18 Oct 2006 05:45:19 +0800
Tag:    v1.8.0

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

commit ad6e05238f01dd05774ed8dedf537caa017268f9
Author: tjhunt <tjhunt>
Date:   Tue, 17 Oct 2006 23:58:09 +0800
Tag:    v1.8.0

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

commit 026bec73b8a8f5c9ace5b1a4f27941e5b2368881
Author: tjhunt <tjhunt>
Date:   Tue, 17 Oct 2006 23:56:52 +0800
Tag:    v1.8.0

Fix bug with numerical questions with multiple answers. Merged from MOODLE_17_STABLE.

commit 172f6d95e14591dc43016448f17e7dc6873b41f7
Author: tjhunt <tjhunt>
Date:   Tue, 17 Oct 2006 18:56:35 +0800
Tag:    v1.8.0

Fix bugs with GIFT import. Merged from MOODLE_17_STABLE.

commit 879caa5172a7cc093e450dfae38cc42c33d2a975
Author: tjhunt <tjhunt>
Date:   Mon, 16 Oct 2006 23:23:54 +0800
Tag:    v1.8.0

Make things a bit more robust. Sorry, I can't remember exactly what the problem was that this fixed any more. It has been sitting around for a couple of weeks and I had forgotten to commit it.

commit 255940908163b47eb9f6ee89c7e300bcbf4e1b7f
Author: tjhunt <tjhunt>
Date:   Mon, 16 Oct 2006 22:54:55 +0800
Tag:    v1.8.0

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

commit 7c9d46c96eb04723e17d1713916c1551a96ffcd2
Author: tjhunt <tjhunt>
Date:   Mon, 16 Oct 2006 21:40:26 +0800
Tag:    v1.8.0

Related to MDL-6249 - unit tests for address_in_subnet. Merged from MOODLE_17_STABLE.

commit df90796155338021cf502da8c8f54047c00d2d75
Author: tjhunt <tjhunt>
Date:   Mon, 16 Oct 2006 21:38:36 +0800
Tag:    v1.8.0

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

commit 3a3771d2b931b4da800bd43d3af9b5ff2376c181
Author: tjhunt <tjhunt>
Date:   Mon, 16 Oct 2006 19:05:45 +0800
Tag:    v1.8.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. Merged from MOODLE_17_STABLE.

commit fdc8e778d593cdcc400b0e0c9f88f6539650d501
Author: tjhunt <tjhunt>
Date:   Mon, 16 Oct 2006 18:14:45 +0800
Tag:    v1.8.0

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

commit 014094c42decfef764349c71a079d30df613d826
Author: tjhunt <tjhunt>
Date:   Thu, 12 Oct 2006 00:30:51 +0800
Tag:    v1.8.0

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