Git commits in Moodle 1.7.x by tjhunt

commit b54a4b0d76092dd64a131bc2f8aa31d5d49fd7c1
Author: tjhunt <tjhunt>
Date:   Mon, 15 Dec 2008 11:53:33 +0900
Tag:    v1.7.7

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

commit f4fca14fe607aff87353ed1349198b52d78fbebd
Author: tjhunt <tjhunt>
Date:   Fri, 12 Dec 2008 15:44:54 +0900
Tag:    v1.7.7

match qtype: MDL-17326 backup and restore problems

commit 92e387abbc4f92e075c7527b7ad42002934d3865
Author: tjhunt <tjhunt>
Date:   Fri, 12 Dec 2008 13:39:44 +0900
Tag:    v1.7.7

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

commit 3330322360648a07210527018427b70d4fd35f87
Author: tjhunt <tjhunt>
Date:   Fri, 05 Dec 2008 13:20:07 +0900
Tag:    v1.7.7

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

commit 3ac1efe7fc4cc3dad6c9cbc30e727d1e2faf0a40
Author: tjhunt <tjhunt>
Date:   Thu, 27 Nov 2008 14:11:53 +0900
Tag:    v1.7.7

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

commit 2207d52d32f1cd4fab39deb9cfed1b3bf3a84af2
Author: tjhunt <tjhunt>
Date:   Thu, 27 Nov 2008 13:47:58 +0900
Tag:    v1.7.7

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

commit 4ca712272c2ad1a73f2b83c907c04bd778a691c2
Author: tjhunt <tjhunt>
Date:   Fri, 24 Oct 2008 10:54:03 +0800
Tag:    v1.7.7

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 b959c6e3677d0e70739e25920b91518c23dc6d4b
Author: tjhunt <tjhunt>
Date:   Sun, 28 Sep 2008 16:59:57 +0800
Tag:    v1.7.6

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

commit 4c01616d7e2ec05f8b1e9d8432b801f4e061e2bf
Author: tjhunt <tjhunt>
Date:   Mon, 01 Sep 2008 12:17:01 +0800
Tag:    v1.7.6

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 16cebcc326f35c69e33601224296f3f93a53d758
Author: tjhunt <tjhunt>
Date:   Thu, 28 Aug 2008 13:06:20 +0800
Tag:    v1.7.6

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

commit 2abc0d001d73c930644d0514ca3ba51857dfd6db
Author: tjhunt <tjhunt>
Date:   Wed, 20 Aug 2008 16:56:38 +0800
Tag:    v1.7.6

MDL-15605 merge problem.

commit f285be0eaffbfe2ada1a6d746ec62de547528282
Author: tjhunt <tjhunt>
Date:   Wed, 20 Aug 2008 16:52:47 +0800
Tag:    v1.7.6

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 55954755f42b60f6b696dd17451602ab00c42e25
Author: tjhunt <tjhunt>
Date:   Wed, 20 Aug 2008 16:51:03 +0800
Tag:    v1.7.6

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

commit ef40013c24d5603131d6ef4be5bc70586c7621ac
Author: tjhunt <tjhunt>
Date:   Fri, 15 Aug 2008 11:13:31 +0800
Tag:    v1.7.6

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

commit 9ed313978a853621fe69a9e4759f81b5a4dccada
Author: tjhunt <tjhunt>
Date:   Fri, 15 Aug 2008 11:08:12 +0800
Tag:    v1.7.6

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

commit 2caa535789a090b5a7be2ed8598f8ede3ec338d5
Author: tjhunt <tjhunt>
Date:   Thu, 14 Aug 2008 10:09:19 +0800
Tag:    v1.7.6

Oops! RISK_DATALOSS did not exist before 1.9.

commit e38099e42d0861436a92b10b0a4502ebe13636af
Author: tjhunt <tjhunt>
Date:   Wed, 13 Aug 2008 15:05:27 +0800
Tag:    v1.7.6

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

commit 886ef74dff4b72b7b5e3b90f16134ecff628078b
Author: tjhunt <tjhunt>
Date:   Tue, 24 Jun 2008 01:02:24 +0800
Tag:    v1.7.5

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 70484742a95956d99c55b36c5610cf7a14c94656
Author: tjhunt <tjhunt>
Date:   Wed, 18 Jun 2008 22:29:38 +0800
Tag:    v1.7.5

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

commit dfd00d9d327db80a616a8267dc9aca61cc799c2c
Author: tjhunt <tjhunt>
Date:   Wed, 21 May 2008 01:09:42 +0800
Tag:    v1.7.5

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 d02317b6dabd4d8c691e5fb55f989a66e1bc80ea
Author: tjhunt <tjhunt>
Date:   Tue, 13 May 2008 01:29:54 +0800
Tag:    v1.7.5

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 9ba3aacb99f0b1fbb3ebd922d221cc6c16e7a1ae
Author: tjhunt <tjhunt>
Date:   Mon, 12 May 2008 18:44:46 +0800
Tag:    v1.7.5

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

commit 34710324e5944275171752ddb5eda0473a5379ea
Author: tjhunt <tjhunt>
Date:   Fri, 09 May 2008 23:22:45 +0800
Tag:    v1.7.5

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

commit 4340e07b2ceca62d01c4f8952275132b1068d479
Author: tjhunt <tjhunt>
Date:   Wed, 07 May 2008 20:31:49 +0800
Tag:    v1.7.5

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

commit 443fd25436612548a7a2ea98ee8527f12716fa42
Author: tjhunt <tjhunt>
Date:   Wed, 23 Apr 2008 21:44:29 +0800
Tag:    v1.7.5

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

commit 3c956dbd607e8c5c2a47819a0a98dc9148ecfcad
Author: tjhunt <tjhunt>
Date:   Wed, 23 Apr 2008 18:38:13 +0800
Tag:    v1.7.5

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

commit bdda301ebfd2fd3a3470c011e533d3f4bb36a777
Author: tjhunt <tjhunt>
Date:   Wed, 23 Apr 2008 00:17:03 +0800
Tag:    v1.7.5

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

commit f4f3ac35a51acfc9f0536333274b1fee4ef6fa01
Author: tjhunt <tjhunt>
Date:   Fri, 22 Feb 2008 07:34:47 +0900
Tag:    v1.7.5

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

commit 7e555c8958a77d488ea6fb15373f7c88d65e5c0c
Author: tjhunt <tjhunt>
Date:   Thu, 31 Jan 2008 03:18:40 +0900
Tag:    v1.7.5

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

commit ff073582cfe2f468ec63e74499d742470455da55
Author: tjhunt <tjhunt>
Date:   Fri, 25 Jan 2008 00:26:56 +0900
Tag:    v1.7.5

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

commit 3e2d9e95675c764248cc7b89fab2131489d49741
Author: tjhunt <tjhunt>
Date:   Wed, 19 Dec 2007 01:12:36 +0900
Tag:    v1.7.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 1bc05922bc72ec582be9f984c2275a0586011d58
Author: tjhunt <tjhunt>
Date:   Thu, 13 Dec 2007 03:10:46 +0900
Tag:    v1.7.4

Fix Javascript error from essay questions on the review page.

commit fb18d9cab72309ac22db4fa46d36ec58bb0d77d4
Author: tjhunt <tjhunt>
Date:   Wed, 12 Dec 2007 00:55:38 +0900
Tag:    v1.7.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 8d9e5477a48b213c888d157e9738aff415f0c93c
Author: tjhunt <tjhunt>
Date:   Wed, 31 Oct 2007 03:22:21 +0900
Tag:    v1.7.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 ce26bd19ea2cc546620d75d8a7c4316240fdc24b
Author: tjhunt <tjhunt>
Date:   Tue, 30 Oct 2007 00:25:05 +0900
Tag:    v1.7.4

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

commit 40cc3341ad19f0287abf84f3ee6110c6379af38f
Author: tjhunt <tjhunt>
Date:   Mon, 22 Oct 2007 23:38:10 +0800
Tag:    v1.7.4

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

commit d7414e9068c7e80c0f198c059b5ab9704778adf5
Author: tjhunt <tjhunt>
Date:   Mon, 22 Oct 2007 23:37:32 +0800
Tag:    v1.7.4

file testquestiontype.php was added on branch MOODLE_17_STABLE on 2007-10-22 15:38:10 +0000

commit d01b47381b79eef698a7a050cf5d060ac552a45f
Author: tjhunt <tjhunt>
Date:   Wed, 17 Oct 2007 05:26:46 +0800
Tag:    v1.7.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 676dbd72854a103a8324d9143025b4809ec4204f
Author: tjhunt <tjhunt>
Date:   Mon, 24 Sep 2007 22:16:58 +0800
Tag:    v1.7.3

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

commit 3cc55cab9eb78453ccd3896f2c19c4362c8705f3
Author: tjhunt <tjhunt>
Date:   Fri, 14 Sep 2007 01:29:02 +0800
Tag:    v1.7.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 3742f86ac1d193d651cbb44e479fe3ad359ba6cd
Author: tjhunt <tjhunt>
Date:   Mon, 10 Sep 2007 19:06:12 +0800
Tag:    v1.7.3

Take out duplicate $Id$ CVS tags.

commit 10fc5f6e226aa3f6bb65603ab5db18a0e1c06daf
Author: tjhunt <tjhunt>
Date:   Tue, 14 Aug 2007 21:33:09 +0800
Tag:    v1.7.3

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

commit c0ea84fbf3890a978c373c0c0d1e1e1c589dbe62
Author: tjhunt <tjhunt>
Date:   Fri, 10 Aug 2007 18:36:35 +0800
Tag:    v1.7.3

Accessign wrong field of $mod from course.modinfo.

commit 3a6b6c0d742d05c367c1cb09cb94feb8f7aabeb0
Author: tjhunt <tjhunt>
Date:   Wed, 08 Aug 2007 19:30:16 +0800
Tag:    v1.7.3

MDL-10759 - Bogus get_context_instance call in quiz_print_recent_mod_activity

commit 9b4327c71db08da8cf1b580f80ea4c8bbde24d07
Author: tjhunt <tjhunt>
Date:   Fri, 13 Jul 2007 23:57:29 +0800
Tag:    v1.7.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.

commit ae4dc90cb743fb78726b2851034dbb55368121e3
Author: tjhunt <tjhunt>
Date:   Fri, 22 Jun 2007 21:46:32 +0800
Tag:    v1.7.3

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. Fix and CSS cleanup back-ported from MOODLE_18_STABLE.

commit 6e2284138b20e6cb3deff149e9a01035e7c45f1e
Author: tjhunt <tjhunt>
Date:   Tue, 22 May 2007 22:11:16 +0800
Tag:    v1.7.3

MDL-9878 - fix call-time pass by references. Backported from HEAD.

commit 1bde9b823c71938f9cabca883518a4dd5aff8f52
Author: tjhunt <tjhunt>
Date:   Wed, 25 Apr 2007 05:16:10 +0800
Tag:    v1.7.3

Fix comedy require_once. Merged from MOODLE_16_STABLE.

commit f359daab58d728615140d66e3e7002c12f260ecc
Author: tjhunt <tjhunt>
Date:   Fri, 20 Apr 2007 01:37:20 +0800
Tag:    v1.7.3

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

commit b33888d124bc10c00734b4bc8c4cdae5fc0496f0
Author: tjhunt <tjhunt>
Date:   Fri, 20 Apr 2007 01:16:29 +0800
Tag:    v1.7.3

Fix error message to say the right thing.

commit 0dd1becdc731fe6aa4bb0bc55aa489ec2d8894cc
Author: tjhunt <tjhunt>
Date:   Wed, 18 Apr 2007 23:56:30 +0800
Tag:    v1.7.3

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

commit 1e066cbf2948fde0d7ee2f29714e8753074894ef
Author: tjhunt <tjhunt>
Date:   Fri, 13 Apr 2007 04:10:47 +0800
Tag:    v1.7.3

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

commit 8539018ed44ae7b08c421cd5be0c6618ce6ed60c
Author: tjhunt <tjhunt>
Date:   Thu, 12 Apr 2007 04:37:36 +0800
Tag:    v1.7.3

MDL-9079 - Paging broken in quiz overview report.

commit 245de1a597e10739d6ef24b8d4b00d035621bbb4
Author: tjhunt <tjhunt>
Date:   Thu, 12 Apr 2007 03:03:34 +0800
Tag:    v1.7.3

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

commit a065fdd6f9a41157f03dc221292d5194daa34eb2
Author: tjhunt <tjhunt>
Date:   Fri, 30 Mar 2007 21:50:47 +0800
Tag:    v1.7.3

Backporting a layout fix from Moodle 1.8

commit e0ddea8b8f11e19a544eb424ae7414ffae3ebf9e
Author: tjhunt <tjhunt>
Date:   Fri, 30 Mar 2007 18:17:06 +0800
Tag:    v1.7.3

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.

commit d7df2382049365d2af7e1e057e4fe0ec33496a35
Author: tjhunt <tjhunt>
Date:   Fri, 30 Mar 2007 17:33:37 +0800
Tag:    v1.7.3

Fix notice.

commit d7378d19ec1ebb686953c1a6c5e9d83f8ee7f69f
Author: tjhunt <tjhunt>
Date:   Fri, 30 Mar 2007 06:59:09 +0800
Tag:    v1.7.2

MDL-9094 - Penalty factor is meaningless for Essay questions, so remove it from the editing form.

commit ea790c7db16b1d687fd71b6ddcb39d7e13dfd540
Author: tjhunt <tjhunt>
Date:   Fri, 30 Mar 2007 00:35:14 +0800
Tag:    v1.7.2

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

commit 7cb4fb6a887131ce26f48e4a560a80082b4e8a7a
Author: tjhunt <tjhunt>
Date:   Thu, 29 Mar 2007 00:57:45 +0800
Tag:    v1.7.2

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. Backported from MOODLE_18_STABLE.

commit ff7253c2c178a189fb8165ac84586bee82e67d62
Author: tjhunt <tjhunt>
Date:   Fri, 23 Mar 2007 06:31:27 +0900
Tag:    v1.7.2

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

commit 48a2b5ad4273771e40312af4484df7ec020f885f
Author: tjhunt <tjhunt>
Date:   Thu, 22 Mar 2007 08:25:23 +0900
Tag:    v1.7.2

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

commit 9e8cabd7eb9dff32989d488a661d48ee2fece910
Author: tjhunt <tjhunt>
Date:   Thu, 22 Mar 2007 08:04:27 +0900
Tag:    v1.7.2

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

commit 9022696d6dcc84afb1c16a3c894a68fc319dd385
Author: tjhunt <tjhunt>
Date:   Wed, 21 Mar 2007 09:13:33 +0900
Tag:    v1.7.2

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

commit 418cc2032b60445117bf54056883061cc93348f9
Author: tjhunt <tjhunt>
Date:   Wed, 21 Mar 2007 07:44:32 +0900
Tag:    v1.7.2

MDL-8299 - Wrong capability on review.php.

commit 25769ccd61ac767db0a9d0edbbb023db20c2a5f1
Author: tjhunt <tjhunt>
Date:   Wed, 21 Mar 2007 07:22:00 +0900
Tag:    v1.7.2

MDL-8140 Other units disappear from the editing form when there is no unit with multiplier 1.

commit ec9f7c117e47ae73b49827dbd9b4e0ceb9a9512e
Author: tjhunt <tjhunt>
Date:   Tue, 20 Mar 2007 23:31:26 +0900
Tag:    v1.7.2

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

commit 97feab527ebc6f8b00c776daec9eefe72da507d6
Author: tjhunt <tjhunt>
Date:   Thu, 15 Mar 2007 21:59:20 +0900
Tag:    v1.7.2

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

commit 903f3f54edc7b203f200e85363e3de273a1715b1
Author: tjhunt <tjhunt>
Date:   Thu, 15 Mar 2007 21:53:07 +0900
Tag:    v1.7.2

Fix notice.

commit cb6281b339843d2dc0424f5e890df45ecd4ddb41
Author: tjhunt <tjhunt>
Date:   Thu, 15 Mar 2007 06:24:54 +0900
Tag:    v1.7.2

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 3696a3723ed9bccd09c213ee69dac76ae08ae3cb
Author: tjhunt <tjhunt>
Date:   Thu, 15 Mar 2007 06:10:59 +0900
Tag:    v1.7.2

Oops, reverting. Eloy had already fixed it.

commit 8fa821d514e710db3a8e0251afc8df5f077d6879
Author: tjhunt <tjhunt>
Date:   Thu, 15 Mar 2007 06:08:23 +0900
Tag:    v1.7.2

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

commit 0b17d072cf6d9da2aa42ac8ad2909810a20b87dc
Author: tjhunt <tjhunt>
Date:   Wed, 14 Mar 2007 02:42:51 +0900
Tag:    v1.7.2

Eliminate bizarre use of function_exists.

commit cd4469af52850f0e7c463acaeb2553f13780554a
Author: tjhunt <tjhunt>
Date:   Wed, 14 Mar 2007 01:27:52 +0900
Tag:    v1.7.2

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 01d0a4f289fa4a3f9f0ab23b477523d333e905a6
Author: tjhunt <tjhunt>
Date:   Wed, 14 Mar 2007 01:24:36 +0900
Tag:    v1.7.2

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

commit 8f8f6e7c92f28c94f68d2b3dcc99be4ada017b1d
Author: tjhunt <tjhunt>
Date:   Wed, 14 Mar 2007 01:21:07 +0900
Tag:    v1.7.2

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

commit 4b1f48e2ae2e97f07df9941b8294c69f748d2e43
Author: tjhunt <tjhunt>
Date:   Sat, 10 Mar 2007 09:34:35 +0900
Tag:    v1.7.2

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

commit 837588a772148f1c8710c020476b001dba679037
Author: tjhunt <tjhunt>
Date:   Wed, 07 Mar 2007 03:00:39 +0900
Tag:    v1.7.2

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

commit 61e6471fce586e0df7673c23983fdeb04446ec51
Author: tjhunt <tjhunt>
Date:   Wed, 21 Feb 2007 00:17:45 +0900
Tag:    v1.7.2

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

commit 85a430d5bebd164d2e80796771170da7e4e94ddf
Author: tjhunt <tjhunt>
Date:   Mon, 19 Feb 2007 13:24:09 +0900
Tag:    v1.7.2

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

commit b430f84c4c3b3d2d918570f49efd5d5397a3e49f
Author: tjhunt <tjhunt>
Date:   Sun, 18 Feb 2007 02:16:41 +0900
Tag:    v1.7.2

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

commit f08318d7fbc0a94aa81477292cfebb8ed8e36a90
Author: tjhunt <tjhunt>
Date:   Tue, 30 Jan 2007 01:22:29 +0900
Tag:    v1.7.2

Fix type on close tag.

commit f470cf47b77488a707e26296a861019aa6bc331e
Author: tjhunt <tjhunt>
Date:   Wed, 17 Jan 2007 02:50:18 +0900
Tag:    v1.7.1

Fix multiple-choice multiple-answer grading code.

commit f3f60456ff82b2cf39b50208a159a9cbf76104b8
Author: tjhunt <tjhunt>
Date:   Tue, 19 Dec 2006 03:06:56 +0900
Tag:    v1.7.1

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

commit e0e1d29889258e0f47a17ee438f540d244a8f588
Author: tjhunt <tjhunt>
Date:   Tue, 19 Dec 2006 01:38:02 +0900
Tag:    v1.7.1

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

commit 62a29aa8e0a69081e01049d6f1c1e47a01e5b31c
Author: tjhunt <tjhunt>
Date:   Sat, 16 Dec 2006 03:30:14 +0900
Tag:    v1.7.1

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

commit 93727c9b8ee7d0dfa9d8396cffd34e5408fa2996
Author: tjhunt <tjhunt>
Date:   Sat, 16 Dec 2006 03:23:15 +0900
Tag:    v1.7.1

MDL-7926 - set_field_select function

commit b2681766d7392fe5d082e6614bd7937e568bcc11
Author: tjhunt <tjhunt>
Date:   Sat, 16 Dec 2006 00:41:32 +0900
Tag:    v1.7.1

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.

commit 6b6691398205868dbc6f4b30dcb735afffb9cbcf
Author: tjhunt <tjhunt>
Date:   Thu, 14 Dec 2006 20:45:28 +0900
Tag:    v1.7.1

Correct comment punctuation.

commit 3c4e7ea962ab2402a46222be7833a74867bcc21a
Author: tjhunt <tjhunt>
Date:   Tue, 12 Dec 2006 17:58:25 +0900
Tag:    v1.7.1

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

commit 3d83f4255a680bc558271d6e4cb3b59d6ec0a7ed
Author: tjhunt <tjhunt>
Date:   Tue, 12 Dec 2006 08:46:01 +0900
Tag:    v1.7.1

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

commit 9b6b1f3afa1e3f7a67742499e48726088b4cb653
Author: tjhunt <tjhunt>
Date:   Mon, 11 Dec 2006 23:03:09 +0900
Tag:    v1.7.1

MDL-7886 - typo in overview report javascript.

commit d2ae521e177749a8e649ecd787cdd2c347e06aeb
Author: tjhunt <tjhunt>
Date:   Wed, 06 Dec 2006 03:47:12 +0900
Tag:    v1.7.1

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

commit 11f0eb99795446e2e43165415a716fb3e3d0dd5a
Author: tjhunt <tjhunt>
Date:   Wed, 06 Dec 2006 03:14:32 +0900
Tag:    v1.7.1

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

commit 257343b354e4338fc28114adfb4b18dd0e1423a7
Author: tjhunt <tjhunt>
Date:   Tue, 05 Dec 2006 01:21:31 +0900
Tag:    v1.7.1

MDL-7719 - Essay question feedback box too small.

commit 7989c3edc611f0d1ba21b6c381b62a179ac0b577
Author: tjhunt <tjhunt>
Date:   Tue, 05 Dec 2006 01:07:52 +0900
Tag:    v1.7.1

Typo in help. Thanks to Ken Wilson.

commit accaf2e9f651ed7d6f149d65049590dc757c3d55
Author: tjhunt <tjhunt>
Date:   Mon, 04 Dec 2006 20:54:35 +0900
Tag:    v1.7.1

Typo.

commit 3b117ede45ed7771a4832260da45f68066b41c4a
Author: tjhunt <tjhunt>
Date:   Wed, 29 Nov 2006 02:43:44 +0800
Tag:    v1.7.1

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

commit af5f09db42af0e26f593cade0939b2725c95946f
Author: tjhunt <tjhunt>
Date:   Wed, 29 Nov 2006 02:38:59 +0800
Tag:    v1.7.1

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

commit d086c991ee437bc2f69786892c2c333837e3c46c
Author: tjhunt <tjhunt>
Date:   Tue, 21 Nov 2006 02:04:24 +0800
Tag:    v1.7.1

Fix column names - backported from head.

commit b49beecf63194e42ee167680fa7b091bf70a6b69
Author: tjhunt <tjhunt>
Date:   Mon, 20 Nov 2006 05:28:11 +0800
Tag:    v1.7.1

Fix function arguments.

commit b51bfdd111d00f0d2c31405fe3fc1a191a188e5a
Author: tjhunt <tjhunt>
Date:   Fri, 17 Nov 2006 00:45:55 +0800
Tag:    v1.7.1

Typo in function name.

commit ceab443d08ce3bbe58f48141fbc6b450a12da490
Author: tjhunt <tjhunt>
Date:   Thu, 16 Nov 2006 20:43:00 +0800
Tag:    v1.7.1

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

commit 101fb762f1be594c17c5ac2b7df4b44996063362
Author: tjhunt <tjhunt>
Date:   Thu, 16 Nov 2006 01:32:54 +0800
Tag:    v1.7.1

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

commit 368cc39e7e8c2bd9987726e48c00095832a147b5
Author: tjhunt <tjhunt>
Date:   Thu, 16 Nov 2006 00:56:02 +0800
Tag:    v1.7.1

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

commit 806b78fd120503a6bc6c1f763cab9662f0c8f77d
Author: tjhunt <tjhunt>
Date:   Wed, 15 Nov 2006 20:58:00 +0800
Tag:    v1.7.1

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 6c9ac19b6f262756b8e61049c0a88a97ae1a812e
Author: tjhunt <tjhunt>
Date:   Tue, 14 Nov 2006 23:40:29 +0800
Tag:    v1.7.1

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

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.