Git commits in Moodle 1.9.3 by tjhunt

commit 587397becfaae9492f27e0e4675d4fe0b0a42161
Author: tjhunt <tjhunt>
Date:   Thu, 02 Oct 2008 10:45:25 +0800
Tag:    v1.9.3

MDL-8547 Time remaining covers question text in the quiz when using secure mode.

commit e42effaa672432fa8f5967e8c8a8d562021dd6bb
Author: tjhunt <tjhunt>
Date:   Sun, 28 Sep 2008 17:00:05 +0800
Tag:    v1.9.3

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

commit 6a96e586d606649395fa3347c0bca3149de38a9f
Author: tjhunt <tjhunt>
Date:   Fri, 26 Sep 2008 13:55:37 +0800
Tag:    v1.9.3

Correct comment.

commit 1c2c8b09469ac27a3829e7267f399356a05b9810
Author: tjhunt <tjhunt>
Date:   Fri, 26 Sep 2008 13:49:06 +0800
Tag:    v1.9.3

MDL-16600 forcedownload broken for file resources.

commit 6852263fc2bc11eafcc90b8028ab54d03685dd52
Author: tjhunt <tjhunt>
Date:   Fri, 26 Sep 2008 13:15:45 +0800
Tag:    v1.9.3

XHTML strict.

commit 72737be23675c9b9831f30dc47fd8a894ef54834
Author: tjhunt <tjhunt>
Date:   Fri, 26 Sep 2008 12:49:32 +0800
Tag:    v1.9.3

Fix whitespace.

commit d25bee61872b333c9d2ec2cb52705cdc78aa5203
Author: tjhunt <tjhunt>
Date:   Fri, 26 Sep 2008 11:13:30 +0800
Tag:    v1.9.3

MDL-16683 - add 5/6 as a grading option.

commit 3177a65e62615ada33da7ec070c75052e4c7cd8f
Author: tjhunt <tjhunt>
Date:   Tue, 23 Sep 2008 13:18:03 +0800
Tag:    v1.9.3

MDL-13894 Impoved fix with less duplicated code, no notices displayed before you get to the 'New settings' screen, and named constants instead of magic numbers.

commit 9c6389efc5fc17b1e5560623cff9bda0ff039a70
Author: tjhunt <tjhunt>
Date:   Fri, 12 Sep 2008 13:18:40 +0800
Tag:    v1.9.3

MDL-15632 Wrong permission in the admin tree defininition mean that people with moodle/role:manage could not define role, and people with moodle/role:assign could not assign system roles.

commit d37b5e0f44a9eb65f4568862e2e322719cc009db
Author: tjhunt <tjhunt>
Date:   Tue, 09 Sep 2008 10:49:01 +0800
Tag:    v1.9.3

XHTML Strict!

commit a16f9c67fbfc91a37f8b4524e21e3c928a1ad43d
Author: tjhunt <tjhunt>
Date:   Fri, 05 Sep 2008 12:05:16 +0800
Tag:    v1.9.3

MDL-12336 Inconsistent naming of the Front page area of the question bank, and the front page context more generally.

commit 67d8f801276f44b1f080a52103672edb6d11fdd4
Author: tjhunt <tjhunt>
Date:   Fri, 05 Sep 2008 11:38:17 +0800
Tag:    v1.9.3

MDL-12814 typo in CSS class name.

commit 5c6522115b9d1bead40430462bb1cadea80069fd
Author: tjhunt <tjhunt>
Date:   Tue, 02 Sep 2008 14:55:40 +0800
Tag:    v1.9.3

MDL-14160 SQL in get_categories_for_contexts does not work on Oracle. Thanks to Adrian Smith and Francois Marier for the fix.

commit a7faad25595d55a31228453a16cb24e827ac0084
Author: tjhunt <tjhunt>
Date:   Mon, 01 Sep 2008 13:29:32 +0800
Tag:    v1.9.3

MDL-15605 - Fix solution SQL syntax for the "question categories must belong to a context that exists" check.

commit 1bc9815601515922c76160a83f92789b30276514
Author: tjhunt <tjhunt>
Date:   Mon, 01 Sep 2008 12:17:52 +0800
Tag:    v1.9.3

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 1dcdf87bccdfa9ede18d2d39bf23c6d66b527807
Author: tjhunt <tjhunt>
Date:   Thu, 28 Aug 2008 15:52:17 +0800
Tag:    v1.9.3

MDL-16202 formslib show/hide advanced button does not work with strict XML headers

commit 791a2be3806129e6e6d601c50e0e9813c54f4b49
Author: tjhunt <tjhunt>
Date:   Thu, 28 Aug 2008 13:06:39 +0800
Tag:    v1.9.3

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

commit 5fb836fdc09e77a318a43029786ae5015da7692d
Author: tjhunt <tjhunt>
Date:   Thu, 28 Aug 2008 11:24:04 +0800
Tag:    v1.9.3

MDL-16204 - On an old site, there were question categories where category->parent went round in a loop. This crashed the upgrade. Change the upgrade code to make it more robust.

commit 568dfa5f064f503840fe3b46bf81e60e3747bb42
Author: tjhunt <tjhunt>
Date:   Thu, 28 Aug 2008 10:15:24 +0800
Tag:    v1.9.3

MDL-16219 - mod/quiz/reviewquestion.php does not call questiontype::get_html_head_contributions. This was missed when implementing MDL-6368.

commit f863bed701a356805c39452b82b6576e97d1aefb
Author: tjhunt <tjhunt>
Date:   Thu, 28 Aug 2008 09:46:47 +0800
Tag:    v1.9.3

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 5877f527ac44f086ba800375ea26892209dfe03a
Author: tjhunt <tjhunt>
Date:   Tue, 26 Aug 2008 10:32:23 +0800
Tag:    v1.9.3

MDL-16201 - The logic in mod/quiz/view.php for when to display a link to the review page was not consistent with the logic in mod/quiz/review.php for when students are allowed to see the review.

commit 9aa1607364d4ca7188040cebcc274395d5dadc99
Author: tjhunt <tjhunt>
Date:   Wed, 20 Aug 2008 17:46:03 +0800
Tag:    v1.9.3

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

commit 3ac08fe98648fd993de11833d0484e4a3da336b8
Author: tjhunt <tjhunt>
Date:   Wed, 20 Aug 2008 16:52:54 +0800
Tag:    v1.9.3

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 0af8b572e4160525753051d43a4814eff49224c7
Author: tjhunt <tjhunt>
Date:   Wed, 20 Aug 2008 16:51:11 +0800
Tag:    v1.9.3

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

commit 40da47484d20330faf626c3ca941352ab6ad7ea4
Author: tjhunt <tjhunt>
Date:   Tue, 19 Aug 2008 14:59:23 +0800
Tag:    v1.9.3

SCORM module XHTML strict fixes.

commit faa479918cf5d3fe981877fd40ebd572e4accf1f
Author: tjhunt <tjhunt>
Date:   Tue, 19 Aug 2008 13:17:14 +0800
Tag:    v1.9.3

Fix up XHTML strick breakage introduce during the fix for MDL-13478.

commit ab1efe34429f2617b8c85a58bd2150213547d761
Author: tjhunt <tjhunt>
Date:   Tue, 19 Aug 2008 10:34:16 +0800
Tag:    v1.9.3

MDL-14643 - Revert the hugely umpopular change from MDL-10841.

commit 865d83b3ca42a7cd83e977dcb60210a0f8b24282
Author: tjhunt <tjhunt>
Date:   Fri, 15 Aug 2008 19:09:51 +0800
Tag:    v1.9.3

DEVELOPER_DEBUG messages to help you diagnose broken prev/next links in XMDBD files.

commit 37cd57495b76783a9c7bdcf3d34d82467ccfd013
Author: tjhunt <tjhunt>
Date:   Fri, 15 Aug 2008 11:13:39 +0800
Tag:    v1.9.3

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

commit 1c45f77669be2840d26fab043f50b8515454cbca
Author: tjhunt <tjhunt>
Date:   Thu, 14 Aug 2008 11:48:12 +0800
Tag:    v1.9.3

MDL-14979 - Remove the obsolete quizfile.php and associated code. This has not been used since Moodle 1.5.

commit 20d50e975cc8b118328ed54ea49d095ebe88b8e5
Author: tjhunt <tjhunt>
Date:   Wed, 13 Aug 2008 15:05:58 +0800
Tag:    v1.9.3

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

commit 9ef749413f58f2510f3582eafe8d42e3b1d55983
Author: tjhunt <tjhunt>
Date:   Wed, 13 Aug 2008 14:21:49 +0800
Tag:    v1.9.3

Remove broken unit test.

commit 5929f17c0e17460a195b25c9d23a7c7557a8c296
Author: tjhunt <tjhunt>
Date:   Wed, 13 Aug 2008 13:27:51 +0800
Tag:    v1.9.3

Correct a URL in a comment.

commit 930fbd3b5db5ab250fa0ea9aa5ccf96b49d82952
Author: tjhunt <tjhunt>
Date:   Wed, 13 Aug 2008 11:17:59 +0800
Tag:    v1.9.3

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 9e724aa8ed23388baf0de91ff6097dabae9aa5e2
Author: tjhunt <tjhunt>
Date:   Tue, 12 Aug 2008 15:27:50 +0800
Tag:    v1.9.3

MDL-15973 - Errors from manual grading report on Postgres. Actually, this was already fixed in HEAD, so I am just backporting an already-working fix.

commit b0d5723c11c8b05e4db6b2050fec9ef4166ac4b3
Author: tjhunt <tjhunt>
Date:   Tue, 12 Aug 2008 14:07:13 +0800
Tag:    v1.9.3

Found while testing MDL-12392 - it should not be considered an error if a quiz does not contain any essay questions. Packporting this return true from HEAD.

commit 1f64775a99838468dd196523193253b8a0a6c633
Author: tjhunt <tjhunt>
Date:   Tue, 12 Aug 2008 12:11:56 +0800
Tag:    v1.9.3

XHTML strrrict!

commit 0c5c51bdc505d7bac0847c6406717140aed2a660
Author: tjhunt <tjhunt>
Date:   Wed, 06 Aug 2008 01:45:50 +0800
Tag:    v1.9.3

MDL-15583 - Broken link in Item analysis report. Fix thanks to John T. Macklin in MDL-15940.

commit b2ece40a6b4a20bb2fad8b5ca027bd717f1652e1
Author: tjhunt <tjhunt>
Date:   Wed, 23 Jul 2008 18:32:33 +0800
Tag:    v1.9.3

MDL-15792 - Images in question don't display. This is a regression from MDL-14279. Fix thanks to Yolanda Ordez Rufat.

commit 9b3e993a987917e42b438294c7c1f1d74c127da2
Author: tjhunt <tjhunt>
Date:   Thu, 17 Jul 2008 20:49:22 +0800
Tag:    v1.9.3

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

commit a1f418fb08b157542a3ada41fe2362cd80f5a53c
Author: tjhunt <tjhunt>
Date:   Thu, 17 Jul 2008 20:39:43 +0800
Tag:    v1.9.3

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 cdd3f7f3eaa3c21f88b5808b3a76e493a3e9b137
Author: tjhunt <tjhunt>
Date:   Tue, 15 Jul 2008 17:18:38 +0800
Tag:    v1.9.3

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