Git commits in Moodle 1.8.x by Gordon Bateson

commit 5c784cd971c94b6afe7e29e56e0f976a05dc8c80
Author: Gordon Bateson <gordon@kanazawa-gu.ac.jp>
Date:   Thu, 21 Oct 2010 11:17:49 +0800
Tag:    v1.8.14

MDL-24779 mod/hotpot tidy up calls to js_value() method which escapes and encodes unicode strings for javascript

commit ed83409b01776a291b6a28016d7266e760fb0f8a
Author: Gordon Bateson <gordon@kanazawa-gu.ac.jp>
Date:   Fri, 11 Jun 2010 07:40:27 +0800
Tag:    v1.8.14

mod/hotpot MDL-22726 fix importing of intructions from a Hot Potatoes quiz file into the Moodle question bank

commit 973a31aa344f602c0b72f2e52a71661d3e29f9bc
Author: Gordon Bateson <gordon@kanazawa-gu.ac.jp>
Date:   Thu, 11 Feb 2010 10:53:28 +0800
Tag:    v1.8.12

fix student access to HotPots in tail of a HotPot quiz chain

commit f439b040d41addae12425060cc3bd8e7c2e80198
Author: Gordon Bateson <gordon@kanazawa-gu.ac.jp>
Date:   Mon, 25 Jan 2010 15:16:10 +0800
Tag:    v1.8.12

do not treat https absolute urls as relative urls

commit e8c35867b7a431c9bb7bc0886d6821ddebc51286
Author: Gordon Bateson <gordon@kanazawa-gu.ac.jp>
Date:   Mon, 09 Nov 2009 09:26:36 +0800
Tag:    v1.8.11

ensure user has_capability('mod/hotpot:attempt', $module) when viewing a HotPot or submitting results

commit 668bcd59ed2e96ece240fd3d945e73efd3740977
Author: gbateson <gbateson>
Date:   Fri, 25 Sep 2009 14:24:23 +0800
Tag:    v1.8.10

stricter checking of null fields when restoring HotPots in order to avoid unwanted chars being inserted into empty char fields on PostgreSQL sites

commit 6e500ea9701b3133c1c2efe5a73af0a5a18e4986
Author: gbateson <gbateson>
Date:   Tue, 01 Sep 2009 09:23:16 +0800
Tag:    v1.8.10

MDL-20184 use $this->error() to print error message if no questions found importing from a Hot Potatoes XML file into Moodle's question bank / Quiz module

commit 840f10cca4c48ab8863032dd33f0e3669b8837c6
Author: gbateson <gbateson>
Date:   Tue, 01 Sep 2009 09:03:43 +0800
Tag:    v1.8.10

MDL-20184 more efficient and accurate detection of missing nodes in xml tree when importing Hot Potatoes XML files to Moodle question bank / quiz module

commit 698092d1916d7817dbf495caf5b68c4107e9ab26
Author: gbateson <gbateson>
Date:   Mon, 31 Aug 2009 10:06:02 +0800
Tag:    v1.8.10

MDL-20184 when importing questions from Hot Potatoes files to Moodle question-bank / Quiz module, the readquestions() function wil return "false", to signify an error, if no questions are detected in the import file

commit 613064589168257875494d1269f9d0aaacb227d0
Author: gbateson <gbateson>
Date:   Mon, 31 Aug 2009 09:34:18 +0800
Tag:    v1.8.10

MDL-20185 detect zero, "0", as an answer for a gap in a JCloze when importing to the Moodle's question bank / Quiz module

commit 8b32c9da258bf78915b858bffd9f87f67a8d3e74
Author: gbateson <gbateson>
Date:   Fri, 28 Aug 2009 16:04:17 +0800
Tag:    v1.8.10

HotPot module: differentiate between "guesses-correct" (JCloze) and "guess-correct" (JCross, JMatch, JMix, JQuiz) in HotPot xml files and fix PreloadImages function for multiple images

commit ff2294aa8ca41deafbe6b8c9e2a371d7ab94866f
Author: gbateson <gbateson>
Date:   Tue, 25 Aug 2009 09:22:02 +0800
Tag:    v1.8.10

add hotpot_encode_content_links() and hotpot_decode_content_links() to HotPot's backuplib.php and restorelib.php respectively

commit cb1951452207e38f474ca6bec19208a07aca3167
Author: gbateson <gbateson>
Date:   Sun, 24 May 2009 18:20:46 +0800
Tag:    v1.8.10

fixes for XHTML strict: add <fieldset> arround hidden form fields, use "id" instead of "name" to locate forms, use HTML entities in button captions <= and =>

commit ffe7588d45f04d55c22b47770d7245f8c67615b0
Author: gbateson <gbateson>
Date:   Fri, 08 May 2009 07:01:19 +0800
Tag:    v1.8.9

when searhcing for urls of next quiz, remove requirement for navigation buttons to have class="NavButton"

commit 30ca2004f64b66416fddea4d85b5aebbbdf89f67
Author: gbateson <gbateson>
Date:   Mon, 20 Apr 2009 07:51:09 +0800
Tag:    v1.8.9

MDL-18880: only insert media players for swf URLs if $CFG->filter_mediaplugin_enable_swf is set

commit 2cc212c4fd49ea0476ddda38986549618eb333f1
Author: gbateson <gbateson>
Date:   Fri, 17 Apr 2009 10:24:03 +0800
Tag:    v1.8.9

MDL-17426: removing superflous link to "Selecting a report"

commit 2da979b64dab98051ff634ad8893db7d8757b5d8
Author: gbateson <gbateson>
Date:   Fri, 17 Apr 2009 09:44:37 +0800
Tag:    v1.8.9

MDL-18883: fix setting of absolute urls for images in subfolders of course files

commit e45cfdec20f0b8358b5bc5385106796a052763f3
Author: gbateson <gbateson>
Date:   Mon, 30 Mar 2009 15:11:51 +0800
Tag:    v1.8.9

when search for media players, remove requirment for <object> tag to contain a space, and make closing </A> tag lowercase

commit 96ff52548d811f36609ccc0db30a06f3c8de427e
Author: gbateson <gbateson>
Date:   Tue, 27 Jan 2009 17:29:55 +0900
Tag:    v1.8.8

MDL-17679: implement course reset for HotPot module (thanks to Albert Gasset)

commit 3d9e194de69dd602c7079f8004d6f5968623e588
Author: gbateson <gbateson>
Date:   Sun, 21 Dec 2008 10:47:06 +0900
Tag:    v1.8.8

MDL-6467 add "swf" and "flv" to the list of files for which relative urls are converted to absolute urls

commit 062b672983ac2bbd0befa4f1d058505ea87d9c4a
Author: gbateson <gbateson>
Date:   Thu, 30 Oct 2008 16:22:26 +0900
Tag:    v1.8.8

MDL-16300: small fix to handle case when no users with hotpot attempts are found

commit 87ca8583aad3dfd1a01dd98f21d321f9579ac08d
Author: gbateson <gbateson>
Date:   Thu, 30 Oct 2008 16:13:11 +0900
Tag:    v1.8.8

MDL-16300: use cache to minimize use of get_users_by_capability()

commit a4b1ac3b0ddaf9535a478d48d6c5350ed9c71f04
Author: gbateson <gbateson>
Date:   Thu, 30 Oct 2008 15:22:30 +0900
Tag:    v1.8.8

use "md5key" as secondary key on hotpot_strings table; allow for non-unique secondary keys on hotpot tables (can happen on hotpot_strings)

commit 6792aa17f65c4eb144e8d22ea9636b5587177c61
Author: gbateson <gbateson>
Date:   Sun, 03 Aug 2008 05:30:59 +0800
Tag:    v1.8.7

MDL-15811 fix quotes: width=240" -> width="240"

commit c251af9516de6b7833637fe3a7eedb41b653c577
Author: gbateson <gbateson>
Date:   Sun, 13 Jul 2008 20:18:42 +0800
Tag:    v1.8.7

improvements to generation of html from xml: JCloze: set textbox size allowing for minimum gap size setting and longest answer; JMatch: allow for duplicates and distractors in RHS items; JQuiz: set textbox size allowing for longest answer, and use textarea if answer longer than 29 chars;

commit b0e7781eb8900c49f14100240f7ab38e685f4a13
Author: gbateson <gbateson>
Date:   Tue, 01 Jul 2008 18:48:16 +0800
Tag:    v1.8.6

MDL-15184: fix sql injection vulnerability

commit 986f2bc8845469fc3d6d1c9c6c917dba959c4937
Author: gbateson <gbateson>
Date:   Sat, 21 Jun 2008 06:27:40 +0800
Tag:    v1.8.6

replace get_jmatch_items by set_jmatch_items

commit d23e60ad43e1c7af396724cb6b42bcfe27cd0a1f
Author: gbateson <gbateson>
Date:   Thu, 19 Jun 2008 13:49:45 +0800
Tag:    v1.8.6

removed get_jmatch_items_old

commit 3c6a14ee1206efae380d9eb3d2d8f5546a6ebb19
Author: gbateson <gbateson>
Date:   Thu, 19 Jun 2008 13:13:34 +0800
Tag:    v1.8.6

allow <img> and other tags in LHS of JMatch when outputformat is "v6"

commit 557ab204c0ca21985c4e70a834faff2636e725d9
Author: gbateson <gbateson>
Date:   Sat, 07 Jun 2008 09:38:03 +0800
Tag:    v1.8.6

fix conversion of relative URLs in Hot Potatoes "<=" and "=>" buttons on sites where slasharguments as disabled (Site Admin -> Server -> HTTP -> Use slash arguments)

commit cb856ad0779de008cb53dce7c490b84f721e2ad0
Author: gbateson <gbateson>
Date:   Fri, 18 Apr 2008 08:58:26 +0800
Tag:    v1.8.6

removed setting of timeclose and timeopen when course format == "weeks"

commit 116c28e0e9144813315e334885c8b497fc090b30
Author: gbateson <gbateson>
Date:   Fri, 11 Apr 2008 13:12:14 +0800
Tag:    v1.8.6

do not show hidden HotPots on mod/hotpot/index.php

commit 7c3f0706a0ff18854588b8db1e310e6f9f092f08
Author: gbateson <gbateson>
Date:   Mon, 10 Mar 2008 10:35:51 +0900
Tag:    v1.8.5

add "mp3" (used by DewPlayer) to the list of query string parameters to search for when converting relative urls to absolute urls

commit 87042d573191f78faa84862af310621c0be3ddde
Author: gbateson <gbateson>
Date:   Thu, 06 Mar 2008 16:39:21 +0900
Tag:    v1.8.5

remove trailing whitespace on every line and standardize line endings

commit efcbd12a39d671256c3ca4cb3e98c00a70770e20
Author: gbateson <gbateson>
Date:   Thu, 06 Mar 2008 16:24:44 +0900
Tag:    v1.8.5

fix for Moodle 1.8 and 1.9 to allow students to access hidden hotpots which form part of a hotpot chain - see http://moodle.org/mod/forum/discuss.php?d=91861. In Moodle 1.8 and later the "require_login" function (lib/moodlelib.php)  is stricter than in earlier versions of Moodle and checks a module's visibility and groupings access. From Moodle 2.0 on, this HotPot module does not need this fix.

commit c814ba2c1e09d67ef6e79e3dcbfe9c6e810a9ea6
Author: gbateson <gbateson>
Date:   Thu, 07 Feb 2008 13:18:47 +0900
Tag:    v1.8.5

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

commit 98e8766b5bf96bc76d6a3196f822dc1e974a9590
Author: gbateson <gbateson>
Date:   Tue, 05 Feb 2008 13:20:47 +0900
Tag:    v1.8.5

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

commit 5d5f22570f573795a91db6a801a8ee93c7954ae4
Author: gbateson <gbateson>
Date:   Tue, 05 Feb 2008 13:09:38 +0900
Tag:    v1.8.5

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

commit 8297db894e42e1df86e781bf7390be36e18e6290
Author: gbateson <gbateson>
Date:   Thu, 31 Jan 2008 16:25:47 +0900
Tag:    v1.8.5

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 c447099bda5b716ad4d8f5771fc1b3f7d5c3becf
Author: gbateson <gbateson>
Date:   Sat, 26 Jan 2008 17:26:38 +0900
Tag:    v1.8.5

fix for MDL-13173: quotes in HotPot activity name

commit 0ee8a5280e015c1e9a0a82854805b0ced2276e32
Author: gbateson <gbateson>
Date:   Mon, 21 Jan 2008 17:21:22 +0900
Tag:    v1.8.5

fix MDL-13047 in which an invalid SQL was generated when the were no attempts which match the conditions for the required HotPot report

commit 4855134e63764debf14d0d5a1d2ceeb622a2289b
Author: gbateson <gbateson>
Date:   Mon, 21 Jan 2008 16:17:08 +0900
Tag:    v1.8.5

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

commit 1cd4d9dffe329957bdb3082ab6e93d7ed7ed2c69
Author: gbateson <gbateson>
Date:   Mon, 26 Nov 2007 09:14:54 +0900
Tag:    v1.8.4

fix MDL-12318: from Moodle 1.8 onward, the HotPot module has its own mediaplugin filter, because teh standard Moodle "filter/mediaplugin" can no longer insert media players into Javascript.

commit f548abb84c6592ab053c3cc3011af563d07ce63b
Author: gbateson <gbateson>
Date:   Mon, 26 Nov 2007 09:12:56 +0900
Tag:    v1.8.4

added new mediaplayer filter, because standard Moodle mediaplugin filter can no longer insert players into JavaScript. "mod/hotpot/mediaplayers/moodle/filter.php" mimics the behavior or the "filter/mediaplugin/filter.php" in Moodle 1.7

commit fec02d75b9697f953f320bf670b4f602714c19de
Author: gbateson <gbateson>
Date:   Mon, 12 Nov 2007 17:49:41 +0900
Tag:    v1.8.4

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 b1062ec3623a4c1fef100de77df8ab4386a786ee
Author: gbateson <gbateson>
Date:   Mon, 22 Oct 2007 09:36:20 +0800
Tag:    v1.8.4

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

commit a78a688961e3b5f69add410b7c05e3b83bfb5997
Author: gbateson <gbateson>
Date:   Sun, 21 Oct 2007 10:33:10 +0800
Tag:    v1.8.4

improvements to XHTML compatability in index.php: (1) remove unnecessary quote in <form "; (2) change </A> to lowercase; (3) correctly terminate <input .. /> and <img /> tags; (4) change & to &amp; in URLs

commit 661b8d9dec4fdd420d0af88295e061e1883ad33b
Author: gbateson <gbateson>
Date:   Sun, 21 Oct 2007 10:09:28 +0800
Tag:    v1.8.4

improvements to XHTML compatability: (1) lib.php: change "&" to "&amp;" in URLs in "hotpot_print_show_links" function; (2) mod.html: change size=40 to size="40", remove obselete </span>, change nowrap to nowrap="true", change "&" to "&amp;" in URLs; (3) view.php: add closing </div> tags for "page" and "content" divs, change "&" to "&amp;" in URLs; (4) template/v6.php: change "<=" to "&lt;="in strLastQCaption, change  "=>" to "=&gt;" in strNextQCaption

commit 4ad794c52403d86593160b03e27dccc4e6751d31
Author: gbateson <gbateson>
Date:   Mon, 15 Oct 2007 08:55:51 +0800
Tag:    v1.8.4

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

commit 5a1920568c2322fdf1bfcc9bc00800311756d975
Author: gbateson <gbateson>
Date:   Mon, 08 Oct 2007 14:32:05 +0800
Tag:    v1.8.3

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

commit b0e29954aee81465e4366b25ef2a86c1c6e03f85
Author: gbateson <gbateson>
Date:   Thu, 04 Oct 2007 13:29:12 +0800
Tag:    v1.8.3

slight adjustment to the previous modification so that Hot Potatoes navigation buttons are removed when navigation is set to "Moodle navigation frame"

commit efedb7089509466e209b1ba0156ef5a3aebc5246
Author: gbateson <gbateson>
Date:   Thu, 04 Oct 2007 13:11:07 +0800
Tag:    v1.8.3

in order to allow hotpots to appear in a frame when navigation is set to "Moodle navigation frame", it is necessary to use target="$CFG->framename" instead of CFG->frametarget

commit f0bcc27f905b8c5e6a887af73d47d32598809465
Author: gbateson <gbateson>
Date:   Tue, 02 Oct 2007 15:39:11 +0800
Tag:    v1.8.3

removed duplicate declaration of "hotpot_stripslashes" function

commit b1b4cdb7d8e5c4336740fa1eeac25414f90c17a2
Author: gbateson <gbateson>
Date:   Sun, 30 Sep 2007 12:15:50 +0800
Tag:    v1.8.3

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 36d38823c05daa1ff9f20f6d154f46c663e80d62
Author: gbateson <gbateson>
Date:   Wed, 26 Sep 2007 15:19:51 +0800
Tag:    v1.8.3

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 697463d8682d6e0b0bb4e374fbb1228587443ce9
Author: gbateson <gbateson>
Date:   Sun, 09 Sep 2007 07:30:37 +0800
Tag:    v1.8.3

added "Enable" label to open/close time checkboxes

commit ee0875740d88dd878830b39a59c05573032a7516
Author: gbateson <gbateson>
Date:   Sat, 25 Aug 2007 09:44:39 +0800
Tag:    v1.8.3

fixed results not being sent caused by commenting out of "interceptFeedback" (probably left over from debugging)

commit 964b1bb8c51ab1668029cfba6104a86c1d304619
Author: gbateson <gbateson>
Date:   Wed, 01 Aug 2007 13:23:35 +0800
Tag:    v1.8.3

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

commit 81f99d24f7fd1f6b61df580f75746fc7c4633919
Author: gbateson <gbateson>
Date:   Tue, 26 Jun 2007 20:04:00 +0800
Tag:    v1.8.2

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

commit 226c671af7770d63f76b1138ad15f2446dbd5f67
Author: gbateson <gbateson>
Date:   Tue, 26 Jun 2007 13:03:38 +0800
Tag:    v1.8.2

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

commit ca8c7dbc5203547995e9c78c464e995adadda697
Author: gbateson <gbateson>
Date:   Tue, 26 Jun 2007 10:45:40 +0800
Tag:    v1.8.2

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

commit b72135d360ced0d8c423eba0e24585b3f383f697
Author: gbateson <gbateson>
Date:   Tue, 22 May 2007 12:27:55 +0800
Tag:    v1.8.1

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

commit 8e4b3a8cd8bfa76b690fb698048a9f2c1dccf79e
Author: gbateson <gbateson>
Date:   Fri, 11 May 2007 13:18:23 +0800
Tag:    v1.8.1

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

commit fc711515be42ea1640621c79b75795e3dccd5e52
Author: gbateson <gbateson>
Date:   Mon, 07 May 2007 10:47:56 +0800
Tag:    v1.8.1

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

commit 3cb6bd2c35635a7da1bec9433e8b792f4fdb313c
Author: gbateson <gbateson>
Date:   Fri, 04 May 2007 10:50:18 +0800
Tag:    v1.8.1

remove duplicate id attribute from body tag; microincrement version to 2007020202 (release 2.3.2)

commit 66eefc5b2639f6fb2e166860a14d4b04c650868e
Author: gbateson <gbateson>
Date:   Thu, 03 May 2007 09:00:09 +0800
Tag:    v1.8.1

set default body font-size to "small"

commit 616f3a0584827de91333c322fdd330f478b9cc28
Author: gbateson <gbateson>
Date:   Thu, 03 May 2007 08:04:06 +0800
Tag:    v1.8.1

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

commit dab8b4662a9bd617eccbf25ccb64700a089344cc
Author: gbateson <gbateson>
Date:   Fri, 30 Mar 2007 11:42:10 +0800
Tag:    v1.8.0

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

commit 843808a9d8935c881420ceec26ddc349de99eb81
Author: gbateson <gbateson>
Date:   Sat, 17 Mar 2007 22:28:34 +0900
Tag:    v1.8.0

fix hotpot reports to handle new group structure in Moodle 1.8 (MDL-8944)

commit 09182fa82dcf375af69824458910fbcb1356205b
Author: gbateson <gbateson>
Date:   Sun, 04 Mar 2007 10:22:19 +0900
Tag:    v1.8.0

set JQuiz[7]=false, to fix checking answers for JQuiz Hybrid questions when in ShortAnswer mode

commit e696821ea4f21e02ef23afa60252d2a729089804
Author: gbateson <gbateson>
Date:   Wed, 28 Feb 2007 14:15:13 +0900
Tag:    v1.8.0

redo changes for 8062: replace "document.form" with "document.getELementById('form')"

commit cb8e73e2c776ad2a63a22e9cb7bcde92a6b4e165
Author: gbateson <gbateson>
Date:   Wed, 28 Feb 2007 14:05:42 +0900
Tag:    v1.8.0

redo change for MDL-8675: remove superfluous double-quote

commit 104189c1f4b1b7cf9e18fff06412247a518cfb31
Author: gbateson <gbateson>
Date:   Wed, 28 Feb 2007 13:41:46 +0900
Tag:    v1.8.0

cogmitting merged changes for lib.php (MDL-8675) and mod.html(MDL-8062)

commit 083dad4922b448aef467b8940a973bc8e3da008e
Author: gbateson <gbateson>
Date:   Wed, 28 Feb 2007 12:29:29 +0900
Tag:    v1.8.0

corrected typo (superfluous double-quote) when inserting $CFG->frametarget (see MDL-8675)

commit 9f60b599b9184acd6ca462bec5a872addfa3768e
Author: gbateson <gbateson>
Date:   Wed, 28 Feb 2007 12:26:33 +0900
Tag:    v1.8.0

replace document.form with document.forms[form], because <form> now uses an "id" instead of a "name" attribute. (see MDL-8062)

commit 8e1e849480973722623de27bb7f5ccc25ad16282
Author: gbateson <gbateson>
Date:   Tue, 27 Feb 2007 21:54:11 +0900
Tag:    v1.8.0

removed invalid use of $CFG->frametarget, and restored the original $CFG->framename.(see MDL-8675)

commit 980f8d92befa806c12c4be82da21a05844871cf1
Author: gbateson <gbateson>
Date:   Sat, 03 Feb 2007 10:12:30 +0900
Tag:    v1.8.0

allow empty JQuiz questions (which have at least one answer)

commit 9d45b55ad0e14d89147d9eb719bad7808a9a4acd
Author: gbateson <gbateson>
Date:   Sat, 03 Feb 2007 09:36:18 +0900
Tag:    v1.8.0

omit empty answers from JQuiz import

commit 845f45ec19a92d3f09c942a5c330f59da8383d06
Author: gbateson <gbateson>
Date:   Sun, 28 Jan 2007 09:25:57 +0900
Tag:    v1.8.0

correct the display of the "Update this Hot Potatoes Quiz" button in Danish (da_utf8) and German (de_utf8) - see mdl-8322

commit 4e9e64230f5b43000520c1eb54d45eea9d44dd94
Author: gbateson <gbateson>
Date:   Sat, 13 Jan 2007 20:46:33 +0900
Tag:    v1.8.0

fixed typo in SQL query when starting a new HotPot attempt

commit 923aefe7a1b4aea7c29f3f306845e7ce1f721a45
Author: gbateson <gbateson>
Date:   Sat, 13 Jan 2007 11:39:04 +0900
Tag:    v1.8.0

removed db specific conditional clauses from SQL to get grades (see Moodle Tracker - mdl-8169)

commit 6385429d24f5562e455d57a3bc713c0b53d8e7b0
Author: gbateson <gbateson>
Date:   Sun, 07 Jan 2007 21:37:06 +0900
Tag:    v1.8.0

prevent backslashes being inserted before #-sign in HTML entities by converting html-entities to UTF-8 when importing from Hot Potatoes quizzes into Moodle 's standard Quiz module

commit 244299a374df810a53447aebc80f664ca6fdd380
Author: gbateson <gbateson>
Date:   Sun, 17 Dec 2006 11:27:40 +0900
Tag:    v1.8.0

increased release number to v2.3.0, to differentiate this version fo the module from v2.2.0, which is used on Moodle 1.7

commit 54021a6f353d629bc82daccb77c1736ad84e9bfc
Author: gbateson <gbateson>
Date:   Sun, 17 Dec 2006 11:22:38 +0900
Tag:    v1.8.0

Modified README.TXT to reflect the fact that this version fo the module, v2.3.0, is not compatitble with Moodle 1.7 and eariler.

commit 76fcbbcb49abc896769ab884991e7c8df6d95211
Author: gbateson <gbateson>
Date:   Sun, 17 Dec 2006 10:15:05 +0900
Tag:    v1.8.0

Modifications to reflect the fact that this version of the module, v2.2.0, only works with Moodle 1.7

commit 30a281d3c1988aef0c4e146751557a66664653f9
Author: gbateson <gbateson>
Date:   Fri, 08 Dec 2006 13:22:57 +0900
Tag:    v1.8.0

Add information about columns in "ClickTrail Report" table

commit 070f9c8707d019d76487859811c3eb7373166d09
Author: gbateson <gbateson>
Date:   Fri, 08 Dec 2006 13:18:54 +0900
Tag:    v1.8.0

abandoned attempts are now included in all reports

commit 4db2e65f9d4dd1efde775cd66dc2563077e0fdea
Author: gbateson <gbateson>
Date:   Fri, 08 Dec 2006 11:44:23 +0900
Tag:    v1.8.0

fix undefined property "cr_timefinish", when viewing click report

commit dce744cc05c776f7ed81efefbfcbd388744863ac
Author: gbateson <gbateson>
Date:   Sat, 18 Nov 2006 16:55:11 +0800
Tag:    v1.8.0

fix sort order of questions in legend, which caused mismatch between question numbers used in Detailed Statistics report and those used in the legend

commit 97a313023dcfcbedbda4e8b03946c1ebf428ec3f
Author: gbateson <gbateson>
Date:   Mon, 30 Oct 2006 16:55:35 +0800
Tag:    v1.8.0

correct the setting the fixed flag in JMatch quizzes

commit c81aa39f921a9755428b72f0f398040f942ad58d
Author: gbateson <gbateson>
Date:   Fri, 27 Oct 2006 08:53:24 +0800
Tag:    v1.8.0

fix detection and display of fixed items in JMatch (jmt file)

commit 29c7c23082f1bc13ac8bb0ba72d9d1c5de627707
Author: gbateson <gbateson>
Date:   Fri, 13 Oct 2006 05:48:20 +0800
Tag:    v1.8.0

removed a debug line which showed up in Rottmeier DropDown quizzes

commit b4c2849e215130a7c195d6e8016c7b96d3910467
Author: gbateson <gbateson>
Date:   Thu, 12 Oct 2006 16:08:52 +0800
Tag:    v1.8.0

correct handling of correct, wrong and ignored answers in Rottmeier DropDown 2.4 quizzes

commit 247ed91b7f3094d6bd2f865dd7acb01344b7abbf
Author: gbateson <gbateson>
Date:   Thu, 12 Oct 2006 16:06:58 +0800
Tag:    v1.8.0

remove unnecessary <br /> before summary textbox when in edit mode (as opposed to add mode)

commit 97782e0c0760f89758f6adecd07705d80d5cbe25
Author: gbateson <gbateson>
Date:   Thu, 12 Oct 2006 16:01:22 +0800
Tag:    v1.8.0

add global $CFG to hotpot_restore_dates function

commit 25d13710edabc61b79f9f498e4da163fa78cd48f
Author: gbateson <gbateson>
Date:   Wed, 11 Oct 2006 16:34:52 +0800
Tag:    v1.8.0

standardized lock/unlock of dates (also name and feedbackurl); added standard "Groups" and "Show" settings at end of form.

commit 29651b84a57f436337837df018db5902a1cd7569
Author: gbateson <gbateson>
Date:   Wed, 11 Oct 2006 09:40:48 +0800
Tag:    v1.8.0

use "noattemptstoshow" message instead of "noattempts"

commit 2ddc00d2230ba7402cb08163d559106ef246cddd
Author: gbateson <gbateson>
Date:   Wed, 11 Oct 2006 09:32:40 +0800
Tag:    v1.8.0

move restore dates in a HotPot record to a separate function

commit 2267e61012c286ffafbf346bcae769a7a51abdc7
Author: gbateson <gbateson>
Date:   Wed, 11 Oct 2006 09:30:27 +0800
Tag:    v1.8.0

allow selection of groups in reports