Git commits in Moodle 1.9.0 by gbateson

commit a6a781458ecd277b318bb4b47e30cf32e5895bb3
Author: gbateson <gbateson>
Date:   Thu, 07 Feb 2008 13:14:21 +0900
Tag:    v1.9.0

MDL-13328 correct the counting of attempts when clickreporting has been enabled

commit aad4873cc6c21c0ee8af982d006a41c17cc60db8
Author: gbateson <gbateson>
Date:   Tue, 05 Feb 2008 13:24:24 +0900
Tag:    v1.9.0

MDL-10451 remove extraneous closing </b> tag from lang/en_utf8/help/hotpot/outputformat.html

commit 369865830c37fda2fe32a4c6182c86c5d69e90ae
Author: gbateson <gbateson>
Date:   Tue, 05 Feb 2008 13:09:58 +0900
Tag:    v1.9.0

MDL-13048 fix undefined course id when importing a Hot Potatoes quiz into the Lesson module

commit cfce2efbf325ef963d97448d3bfe3c87fcb54bd2
Author: gbateson <gbateson>
Date:   Thu, 31 Jan 2008 16:26:08 +0900
Tag:    v1.9.0

fix for MDL-13174 : replace calls to html_entity_decode() with hotpot_charcode_to_utf8() because html_entity_decode is broken in PHP 4

commit 04d1cad3bf82de25b0a38284a92ac8831ad3c6e7
Author: gbateson <gbateson>
Date:   Mon, 28 Jan 2008 08:55:29 +0900
Tag:    v1.9.0

Fix Undefined property:  stdClass::$displaynext in mod\hotpot\lib.php on line 356

commit b09b58f0521de4e0459b9312afa28ff57a8c3623
Author: gbateson <gbateson>
Date:   Mon, 28 Jan 2008 08:47:17 +0900
Tag:    v1.9.0

fix Undefined index:  studentfeedbackurl in mod\hotpot\mod_form.php on line 305

commit 9455d7c9209a02ad19c627367fca462250c7ad26
Author: gbateson <gbateson>
Date:   Mon, 21 Jan 2008 16:33:33 +0900
Tag:    v1.9.0

fix Undefined property:  stdClass::$studentfeedbackurl (line 282) and Undefined property:  stdClass::$cellcontent2 (line 1081) in mod/hotpot/lib.php

commit 5fffec5d492102302f34adb389c6dc4f67ae8767
Author: gbateson <gbateson>
Date:   Mon, 21 Jan 2008 16:00:21 +0900
Tag:    v1.9.0

fix for MDL-13047 where no attempts were found for a particular HotPot

commit 9275a2bae5d404d8a7c541209a27c9fbb92a9ff0
Author: gbateson <gbateson>
Date:   Mon, 21 Jan 2008 15:42:40 +0900
Tag:    v1.9.0

fix for: Error in call to helpbutton function: at least one of $title and $linktext is required

commit 4761566c54b6351d077b15d551d27fe00345b849
Author: gbateson <gbateson>
Date:   Tue, 27 Nov 2007 17:41:00 +0900
Tag:    v1.9.0

MDL-12318 filter/mediaplugins/filter.php can no longer insert mediaplayers into javascript, so hotpot module now requires its own filter to mimic behavior of multimedia filter in Moodle 1.7

commit 393150a99692b036d567f0268c04f656e3a0b49e
Author: gbateson <gbateson>
Date:   Mon, 12 Nov 2007 17:53:54 +0900
Tag:    v1.9.0

fix for MDL-9713 : use XMLDB functions to create tables when mod/hotpot/db/mysql.sql is not found. This allows upgrade direct from Moodle 1.5 (or earlier) to Moodle 1.8 (or later)

commit cde191082aa8bb51798d0279836011c49d452999
Author: gbateson <gbateson>
Date:   Mon, 22 Oct 2007 09:43:19 +0800
Tag:    v1.9.0

improve XHTML compatability of HotPot reports; fix termination of <input> tags in JCloze and JQuiz

commit 08461503805280b4e5d9b7e9cbf8b55c0e07ade3
Author: gbateson <gbateson>
Date:   Sun, 21 Oct 2007 10:52:49 +0800
Tag:    v1.9.0

improvements to XHTML compatability: (1) change & to &amp; in URLs; (2) correctly terminate <input ... /> and <img ... /> tags; (3) add closing tag for "page" and "content" divs when not using print_footer() (4) change "<" and ">" to html entities in open text

commit 8ee76d1ffe0f2fc27b6cf39c40297ea7c41debbc
Author: gbateson <gbateson>
Date:   Mon, 15 Oct 2007 08:59:03 +0800
Tag:    v1.9.0

where the correct responses on a JQuiz multiple choice question all have a score of 0%, the scores will be corrected to 100%

commit 68a5a1244d76becdb7d22358cd56100d3171bc9a
Author: gbateson <gbateson>
Date:   Mon, 08 Oct 2007 14:45:27 +0800
Tag:    v1.9.0

added escaping of quotes in TimesUp message, so that apostrophes do not cause Javascript errors

commit b3687f28f12f54707435eaa45c2002d2b00f57dd
Author: gbateson <gbateson>
Date:   Thu, 04 Oct 2007 13:32:27 +0800
Tag:    v1.9.0

use target="$CFG->framename" instead of $CFG->frametarget when HotPot navigation is set to "Moodle navigation frame"so that Moodle does not get stuck in sub frame

commit caf971045ab3104e4fcf41aa4669aa92d577197b
Author: gbateson <gbateson>
Date:   Tue, 02 Oct 2007 15:46:49 +0800
Tag:    v1.9.0

added 4 new functions for Moodle 1.9 gradebook: "hotpot_get_user_grades", "hotpot_update_grades", "hotpot_grade_item_update" and "hotpot_grade_item_delete"

commit b2ae61320bb162180ba3ec306dcd1e58701dce46
Author: gbateson <gbateson>
Date:   Sun, 30 Sep 2007 12:21:52 +0800
Tag:    v1.9.0

use new function "hotpot_stripslashes()" instead of PHP's "stripslashes()" to remove slashes after preg_replace with "e" modifier, because when MSSQL Server is installed, PHP's "stripslashes()" does not remove slashes, even if the Moodle database is not MSSQL

commit 88fe6acf9edd2a93ebc72df27fa335adc7cf5813
Author: gbateson <gbateson>
Date:   Wed, 26 Sep 2007 15:22:06 +0800
Tag:    v1.9.0

change CONTEXT_MODULE to CONTEXT_COURSE in order to fix "Invalid context creation for level 50 instance" error on "mod/hotpot/index.php" caused by get_context_instance(CONTEXT_MODULE, $course->id) in "mod/hotpot/lib.php"

commit b64748eb5487ae523b808da637adc91df2aec995
Author: gbateson <gbateson>
Date:   Wed, 26 Sep 2007 05:43:39 +0800
Tag:    v1.9.0

corrected include path for "moodleform_mod.php"; changed $course->id to $COURSE->id;

commit c8e1555d63e5cfaf98b2d221cab264e5f4967408
Author: gbateson <gbateson>
Date:   Sat, 25 Aug 2007 09:54:30 +0800
Tag:    v1.9.0

fixed results not being because of commented out "interceptFeedback" (probably left over from debugging)

commit b9cb227378e1af37ef3b3df3c695a43701865c44
Author: gbateson <gbateson>
Date:   Fri, 03 Aug 2007 13:06:30 +0800
Tag:    v1.9.0

changes to add new mod_form.php script to add/update hotpots

commit 1094f0637f0e12940b8def32b8f663e39e08c4b3
Author: gbateson <gbateson>
Date:   Wed, 01 Aug 2007 13:35:29 +0800
Tag:    v1.9.0

add extra parameter to "hotpot_print_show_links" function so that links can be printed (the default action) or returned to the calling function as a string

commit 620aca0ac2390b27fb3919396408bd50cb3beb7c
Author: gbateson <gbateson>
Date:   Wed, 01 Aug 2007 13:33:49 +0800
Tag:    v1.9.0

set"reportusers" to PARAM_ALPHANUM, so that it can accept userids and group names

commit b2909a8e18a9c50ecbb1691a3a4f8bbfdc2a3f9c
Author: gbateson <gbateson>
Date:   Wed, 01 Aug 2007 13:29:01 +0800
Tag:    v1.9.0

further fix for javascript errors: getElementById -> document.getElementById

commit 33934912cc27b6f50a5a54c1f831a3117dc2adf4
Author: gbateson <gbateson>
Date:   Wed, 01 Aug 2007 13:20:46 +0800
Tag:    v1.9.0

correct 2 javascript errors: "getELementById not defined" and "parseint not defined"

commit 7048c7198473912027f4d1e5b07a7b2adfa3576c
Author: gbateson <gbateson>
Date:   Tue, 26 Jun 2007 20:10:12 +0800
Tag:    v1.9.0

make sure $hotpot->id is set when adding calendar events for new HotPot

commit bb7c8ac7976d60ddac41e0bf6c269270e08d64ee
Author: gbateson <gbateson>
Date:   Tue, 26 Jun 2007 13:05:06 +0800
Tag:    v1.9.0

in XML source files of HP quizzes, convert relative URLs to absolute URLs in links using window.open(...)

commit 53b733c427af3cb77d15b0b3f1390612a944f523
Author: gbateson <gbateson>
Date:   Tue, 26 Jun 2007 10:48:19 +0800
Tag:    v1.9.0

change relative URLs to absolute URLs in window.open(...)

commit 34f2a964f9b695386ab83339d37e4595987a7f14
Author: gbateson <gbateson>
Date:   Tue, 22 May 2007 12:28:27 +0800
Tag:    v1.9.0

use PARAM_ALPHANUM on "section" parameter so that "section=all" is allowed

commit 34caf003e055c83a93c82909ca17d1bd9067e8af
Author: gbateson <gbateson>
Date:   Fri, 11 May 2007 13:28:28 +0800
Tag:    v1.9.0

when inserting 'Give Up' button, if site encoding is not iso-8859-1, then set page encoding to get_string('thischarset')

commit f503b2e6b4743fa93e53201acfd7281e58c9a0fd
Author: gbateson <gbateson>
Date:   Mon, 07 May 2007 10:49:56 +0800
Tag:    v1.9.0

modified "hpNewFunction" to allow Rottmeier quizze (Find-It, Dropdown) s to run on Safari (Mac)

commit 111a18ebf33939a54a953a1e8688262bc537ed84
Author: gbateson <gbateson>
Date:   Fri, 04 May 2007 10:53:52 +0800
Tag:    v1.9.0

remove duplicate id attribute from body tag; microincrement version to 2007040200 (release 2.4.2)

commit 14c6e7e0eed4e638b1fa644e2362da9a27ea4a31
Author: gbateson <gbateson>
Date:   Thu, 03 May 2007 09:02:06 +0800
Tag:    v1.9.0

set default body font-size to "small"

commit 3b494b543cf6538c09028abbeb3e8e7a50013070
Author: gbateson <gbateson>
Date:   Thu, 03 May 2007 08:22:50 +0800
Tag:    v1.9.0

add HP 6.2 templates; add compatability with Safari (Mac browser); microincrement version to 2007020201 (release 2.4.1)

commit 3ce4a4d12a00ef97cfabfb914365d66911ba5916
Author: gbateson <gbateson>
Date:   Fri, 30 Mar 2007 11:43:00 +0800
Tag:    v1.9.0

fix the display of the special chars keypad (in JCloze and JQuiz)

commit 6dc323a7ba259b397cd1ae38f0c015c2886b4ce9
Author: gbateson <gbateson>
Date:   Sat, 17 Mar 2007 22:42:47 +0900
Tag:    v1.9.0

fix HotPot reports for groups (MDL-8944)

commit 6b1d898f1cb024bd65170d39670babf7feb363a7
Author: gbateson <gbateson>
Date:   Wed, 14 Mar 2007 10:22:54 +0900
Tag:    v1.9.0

fix superfluous double-quote causing malformed FORM tag (MDL-8675)

commit e5ea6227e69dde82f8950082ddc443c263faacdf
Author: gbateson <gbateson>
Date:   Wed, 28 Feb 2007 14:28:53 +0900
Tag:    v1.9.0

removed unnecessary setting of NULL string fields to '', in hotpot_update_to_v2_1_21.