Git commits in Moodle 1.6.x by gbateson

commit e260bf1c122737b07b7ca38a29483ec3505617da
Author: gbateson <gbateson>
Date:   Tue, 27 Jan 2009 17:37:54 +0900
Tag:    v1.6.9

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

commit 284f2e43ec3d4ba42b35773741ad4ce501022cf6
Author: gbateson <gbateson>
Date:   Sun, 21 Dec 2008 10:44:29 +0900
Tag:    v1.6.9

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

commit c1eea3935ad528f0ac6f458846043baca9883669
Author: gbateson <gbateson>
Date:   Thu, 30 Oct 2008 15:20:01 +0900
Tag:    v1.6.9

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

commit 249de4f53289d7b503d837aa8bd4682fb054ff40
Author: gbateson <gbateson>
Date:   Sun, 13 Jul 2008 20:12:41 +0800
Tag:    v1.6.8

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 4fc304ca828521fc5a4b0f6dab5ccf8aeb9120e4
Author: gbateson <gbateson>
Date:   Tue, 01 Jul 2008 18:44:23 +0800
Tag:    v1.6.7

MDL-15184: fix sql injection vulnerability

commit 97e2fee8d2af02fca2b65f77feb58f18296619aa
Author: gbateson <gbateson>
Date:   Sat, 21 Jun 2008 06:26:04 +0800
Tag:    v1.6.7

replace get_jmatch_items by set_jmatch_items

commit a9456360f93363d79bdbb712cd90d9f94b854345
Author: gbateson <gbateson>
Date:   Thu, 19 Jun 2008 13:55:46 +0800
Tag:    v1.6.7

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

commit 376a031f4c01495b5afd4a1981bbff6c9584491c
Author: gbateson <gbateson>
Date:   Sat, 07 Jun 2008 09:41:18 +0800
Tag:    v1.6.7

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

commit f452e874bcd8159494137a9d732365bbd6c9814e
Author: gbateson <gbateson>
Date:   Fri, 18 Apr 2008 08:57:49 +0800
Tag:    v1.6.7

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

commit df489b821750c7ed424500f7d98d8c2948ef7164
Author: gbateson <gbateson>
Date:   Mon, 10 Mar 2008 10:36:36 +0900
Tag:    v1.6.7

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

commit d37502617edc8a12d333ef813a29dc1505c6f49f
Author: gbateson <gbateson>
Date:   Thu, 07 Feb 2008 13:18:14 +0900
Tag:    v1.6.7

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

commit 0b2f6d13cf06d4a5b0fe20b68af6eef8b1e55813
Author: gbateson <gbateson>
Date:   Tue, 05 Feb 2008 15:00:10 +0900
Tag:    v1.6.7

fix odd escaping of quotes by "stripslashes()" on Windows server with MSSQL

commit 767e2923195d0b42fea9f605bed41dd40f755df2
Author: gbateson <gbateson>
Date:   Tue, 05 Feb 2008 13:22:27 +0900
Tag:    v1.6.7

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

commit 2c6041eb5af7c9b8670a8569172244bf1ca5c16c
Author: gbateson <gbateson>
Date:   Tue, 05 Feb 2008 13:08:54 +0900
Tag:    v1.6.7

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

commit 4b4b98156205f48cb05da34656e5501cca4b260a
Author: gbateson <gbateson>
Date:   Thu, 31 Jan 2008 16:24:44 +0900
Tag:    v1.6.7

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 5a66d54c0579a73e6f6abfdd3d99dc37fc2fb066
Author: gbateson <gbateson>
Date:   Sat, 26 Jan 2008 17:25:51 +0900
Tag:    v1.6.7

fix for MDL-13173: quotes in HotPot activity name

commit f1efb1f1c648f31237e8051967ca2a6a7e507f12
Author: gbateson <gbateson>
Date:   Wed, 21 Nov 2007 08:56:20 +0900
Tag:    v1.6.6

reinstated calls to hpInterceptFeedback/Hints/Clues (lines 2919-2921), which had been commented out during testing of an earlier bug.

commit da1aa1b461ceddb956973a09dd9983b9b697673b
Author: gbateson <gbateson>
Date:   Tue, 13 Nov 2007 12:53:06 +0900
Tag:    v1.6.6

replace CFG->dbfamily with CFG->dbtype, because CFG->dbfamily is not available on Moodle 1.7 and less

commit 2e47a8968e72f8993ebcb7bf237405ed28b97821
Author: gbateson <gbateson>
Date:   Mon, 12 Nov 2007 17:52:16 +0900
Tag:    v1.6.6

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 9ec94a86238d20a17861cd434aa8297c5f1cbdc8
Author: gbateson <gbateson>
Date:   Mon, 15 Oct 2007 09:05:05 +0800
Tag:    v1.6.6

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

commit a3a940c7fb56525c10af00e00ac79874ea1fdfeb
Author: gbateson <gbateson>
Date:   Mon, 08 Oct 2007 14:39:23 +0800
Tag:    v1.6.6

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

commit 8acecdb821eec7ec398c3b56ba4f6396c1a2f582
Author: gbateson <gbateson>
Date:   Tue, 26 Jun 2007 20:05:49 +0800
Tag:    v1.6.6

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

commit e29a752173ca45cab364f6f64b14be682955fecd
Author: gbateson <gbateson>
Date:   Tue, 26 Jun 2007 12:59:56 +0800
Tag:    v1.6.6

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

commit a0001e3a6d3e65e7b7ea8521a15a662b0c3e34a5
Author: gbateson <gbateson>
Date:   Tue, 26 Jun 2007 10:39:30 +0800
Tag:    v1.6.6

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

commit afccfe875211ce45aefed6f035710ff01e8afc90
Author: gbateson <gbateson>
Date:   Fri, 11 May 2007 13:11:55 +0800
Tag:    v1.6.6

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

commit b4af3c2f481cb1bb4c21f0c39893f45bec8f3820
Author: gbateson <gbateson>
Date:   Mon, 07 May 2007 10:46:03 +0800
Tag:    v1.6.6

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

commit b3f9b5c1c29c54fa84c44d3a02f3b0fd9b4434ac
Author: gbateson <gbateson>
Date:   Fri, 04 May 2007 10:40:44 +0800
Tag:    v1.6.6

remove duplicate id attribute from body tag; microincrement version to 2006082902 (release 2.1.25)

commit 81ee42cb0f5a04b5dd782225f4327e942ea61949
Author: gbateson <gbateson>
Date:   Thu, 03 May 2007 08:57:16 +0800
Tag:    v1.6.6

set default body font-size to "small"

commit f7fe32525afbcf530a069ae43fe6ccb20c2f6ce3
Author: gbateson <gbateson>
Date:   Tue, 01 May 2007 11:19:09 +0800
Tag:    v1.6.6

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

commit eaf134b1bb0549c7c3bfd3fc213810323e5211eb
Author: gbateson <gbateson>
Date:   Fri, 30 Mar 2007 11:47:29 +0800
Tag:    v1.6.5

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

commit f5a13d3f08dd43fb70a11d9570c56cdbfdd7bdb4
Author: gbateson <gbateson>
Date:   Sun, 04 Mar 2007 10:18:07 +0900
Tag:    v1.6.5

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

commit f733b58e83841b3c5c5ef38bbc10ba26fc6215ed
Author: gbateson <gbateson>
Date:   Sat, 03 Feb 2007 10:11:39 +0900
Tag:    v1.6.5

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

commit 3f4df7071b6015aa899d9b92d437a0f659e0ffea
Author: gbateson <gbateson>
Date:   Sat, 03 Feb 2007 09:35:31 +0900
Tag:    v1.6.5

omit empty answers from JQuiz import

commit 8bc93dfa68ade4e88ade604ba81f5932a8251fc5
Author: gbateson <gbateson>
Date:   Sun, 28 Jan 2007 09:11:06 +0900
Tag:    v1.6.5

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

commit b15b35f6e60dc46b38db3016e479e7027f130949
Author: gbateson <gbateson>
Date:   Thu, 04 Jan 2007 20:59:05 +0900
Tag:    v1.6.4

fix import of Hot Potatoes quizzes using two-byte characters

commit 3bdb864d500cf379fd2cc54db826a8427d9fabb7
Author: gbateson <gbateson>
Date:   Fri, 08 Dec 2006 13:16:59 +0900
Tag:    v1.6.4

abandoned attempts are now included in all reports. Added new help file regarding columns in "Click Trail Report" table

commit 24644d6a569b9572b59bdb641a1808c09679bbdb
Author: gbateson <gbateson>
Date:   Fri, 08 Dec 2006 11:38:49 +0900
Tag:    v1.6.4

fix undefined property "cr_timefinish", when viewing clickreport

commit 7cdd2a596f18772489a50de25a0443638b2d36da
Author: gbateson <gbateson>
Date:   Sat, 18 Nov 2006 16:52:14 +0800
Tag:    v1.6.4

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

commit 2456a9fbf6fc910fc6c0267a783e00e73cf59e49
Author: gbateson <gbateson>
Date:   Mon, 30 Oct 2006 16:52:40 +0800
Tag:    v1.6.4

corrected the settiing of fixed flag in JMatch quizzes

commit 7b6c589a5040a5f9dd6d327072b74c93974ab222
Author: gbateson <gbateson>
Date:   Fri, 27 Oct 2006 08:41:28 +0800
Tag:    v1.6.4

corrected the detection and display of fixed JMatch items (jmt files)

commit 64d92486a5fa2c3a40d0868741fb64a281b72a0b
Author: gbateson <gbateson>
Date:   Fri, 13 Oct 2006 05:46:03 +0800
Tag:    v1.6.4

removed a debug line which showed up in Rottmeier DropDown quizzes

commit c049c12abfcd29f59b09c8283df2598eb50848bc
Author: gbateson <gbateson>
Date:   Thu, 12 Oct 2006 15:56:29 +0800
Tag:    v1.6.4

add "Group Mode" and "Visible to students" as per other standard modules

commit fef4937cb1585288f8a72945ff780d308e8a83e3
Author: gbateson <gbateson>
Date:   Thu, 12 Oct 2006 15:50:23 +0800
Tag:    v1.6.4

fixed the reporting of results from Rottmeier DropDown 2.4 quizzes

commit d4f098178a442f9da1e62fe6d371724794634b8e
Author: gbateson <gbateson>
Date:   Wed, 11 Oct 2006 09:46:44 +0800
Tag:    v1.6.4

removed "Selecting courses" section and modfied "Selecting users" section

commit 268ab771b6222f3f8726ece07dd57bfb20c2319a
Author: gbateson <gbateson>
Date:   Wed, 11 Oct 2006 09:41:26 +0800
Tag:    v1.6.4

use "noattemptstoshow" instead of "noattempts"

commit cb94fd11d5724414d684a6d318eb2a5edeffecdd
Author: gbateson <gbateson>
Date:   Wed, 11 Oct 2006 09:29:51 +0800
Tag:    v1.6.4

allow selection of groups in reports

commit 8ec2d86edf15aa63ed09b271f652f8b65ed40ed3
Author: gbateson <gbateson>
Date:   Wed, 11 Oct 2006 07:54:14 +0800
Tag:    v1.6.4

removed "Select course" drop-down menu, because it is unusable, and separated enrolled and unenrolled students in "Select users" drop-down list

commit 509f5d23e02689a66c578b9cea6987fd36099ceb
Author: gbateson <gbateson>
Date:   Fri, 06 Oct 2006 11:41:03 +0800
Tag:    v1.6.3

change default setting for reportusers to "allusers" (was "all")

commit ffd7d3d7c255d7078cb3425518c7b941513a7bcd
Author: gbateson <gbateson>
Date:   Fri, 06 Oct 2006 11:19:33 +0800
Tag:    v1.6.3

replace indent tabs with 4 spaces

commit 49ebbad5fa7ae13e3d97e22db86c2fc31118c2b9
Author: gbateson <gbateson>
Date:   Thu, 05 Oct 2006 15:12:15 +0800
Tag:    v1.6.3

as per other mods, use "strip_slashes" and "format_string" when printing HotPot name to browser

commit e8737871687e1015eb557b29c80797babc98a71b
Author: gbateson <gbateson>
Date:   Thu, 05 Oct 2006 14:43:32 +0800
Tag:    v1.6.3

added names of unenrolled students to drop-down list of users names for which a report can be generated

commit fb4990ca391af9c44aa32047fc4914cff24dc548
Author: gbateson <gbateson>
Date:   Thu, 05 Oct 2006 14:21:26 +0800
Tag:    v1.6.3

In the "Selecting Users" section, "All users" was added and "All participants" was modified.

commit 7032c917e398e330990fbf8e2c1729a338ab3d5b
Author: gbateson <gbateson>
Date:   Thu, 05 Oct 2006 14:19:27 +0800
Tag:    v1.6.3

In the "Selecting users" section, "All Users" has been added and "All participants" has been modified.

commit a4a6aafe48caf05c93254baad3c64b35d1927250
Author: gbateson <gbateson>
Date:   Thu, 05 Oct 2006 14:02:47 +0800
Tag:    v1.6.3

enabled display of attempts by students who are no longer enrolled in the course

commit 2da3d6983bf1281f54cbb71f6d7d14ad9d50912d
Author: gbateson <gbateson>
Date:   Tue, 03 Oct 2006 07:57:37 +0800
Tag:    v1.6.3

version number of final HotPot v1 (2005050900) was beyond version number of initial HotPot v2 (2004122000), added code to adjust $oldversion to trigger correct upgrade of tables for HotPot v1

commit a8fdaa5c38e4194cb47eba52778fb8178b393f4d
Author: gbateson <gbateson>
Date:   Mon, 02 Oct 2006 08:30:32 +0800
Tag:    v1.6.3

corrected display of best grade on "index.php" when maximum grade for the HotPot is not 100

commit 1387c879d508f2a4247327ca2e7a6242a175f5ee
Author: gbateson <gbateson>
Date:   Mon, 02 Oct 2006 07:59:51 +0800
Tag:    v1.6.3

removed a leftover debug print "SELECT ... GROUP BY ..."

commit 164c865fc7f4fcd1f5d79f9dfb55829a66bb224c
Author: gbateson <gbateson>
Date:   Sun, 01 Oct 2006 14:22:12 +0800
Tag:    v1.6.3

calendar events are now added/deleted when hotpots are added/updated/deleted

commit 1dfae875f22ed849f588479b9ab54742e3077e04
Author: gbateson <gbateson>
Date:   Sun, 01 Oct 2006 14:20:58 +0800
Tag:    v1.6.3

added "hotpotopens" and "hotpotcloses" for calendar events

commit ff5d1865c4eb2d6774d9b6a930842bd57ac85bd7
Author: gbateson <gbateson>
Date:   Sun, 01 Oct 2006 06:40:59 +0800
Tag:    v1.6.3

do not join attempts and details tables when select attempts details. This may speed up display of hotpot/index.php where there are many, many hotpots

commit 3fc2c3c26613207b3e2679efeeab02534673561c
Author: gbateson <gbateson>
Date:   Thu, 28 Sep 2006 20:41:49 +0800
Tag:    v1.6.3

added PARAM types when calling "required_param" and "optional_param" functions

commit 158210e49fa2476250cc6ea60b43ec44838b8d42
Author: gbateson <gbateson>
Date:   Tue, 26 Sep 2006 20:21:38 +0800
Tag:    v1.6.3

added functions for participation report: hotpot_get_view_actions + hotpot_get_post_actions

commit 0e448ae3c02acd98b0deabb590338e3d795026a9
Author: gbateson <gbateson>
Date:   Thu, 14 Sep 2006 08:24:31 +0800
Tag:    v1.6.3

removed unnecessary $db declaration

commit 79fc4a67265ff9433cd13ba01a01e6d996750516
Author: gbateson <gbateson>
Date:   Thu, 14 Sep 2006 07:27:21 +0800
Tag:    v1.6.3

copied code from "hotpot/db/postgres.php" to detect hotpot_attempts.details field

commit 0d3b042fecaac2e07a4eb63cde95436efa7014a5
Author: gbateson <gbateson>
Date:   Thu, 14 Sep 2006 05:25:58 +0800
Tag:    v1.6.3

fix bug 6538, in which $db->MetaColumns was not defined in some PG sites

commit 22c633e8b7c4b623e73b2e37e6a23780069e01c5
Author: gbateson <gbateson>
Date:   Wed, 13 Sep 2006 16:26:16 +0800
Tag:    v1.6.3

when updating, if the version number indicates this could be an early HotPot v2.1 (Moodle 1.6) then check this is not HotPot v2.0 (Moodle 1.5) with an overly advanced version number. Also, added backwards compatability back to Moodle 1.1.1 New release is HotPot v2.1.23, version is 2006082900

commit 664f80662ed40df50bbdd78568f2fe020743c7db
Author: gbateson <gbateson>
Date:   Wed, 13 Sep 2006 16:19:26 +0800
Tag:    v1.6.3

don't show &nbsp; in empty grades cells in Excel format

commit ac63de90c689357bf1d20cc7245fb568c67a8e29
Author: gbateson <gbateson>
Date:   Wed, 13 Sep 2006 16:17:50 +0800
Tag:    v1.6.3

add get_coursemodule functions for Moodle <1.5.4

commit 5f4a37b5b27c4ab900c6a4dcb63f91746f1f2a01
Author: gbateson <gbateson>
Date:   Wed, 13 Sep 2006 16:16:00 +0800
Tag:    v1.6.3

limit worksheet length to 31 chars on Moodle 1.5: prevents fatal error lib/excel/workbook.php

commit f03e81eb0338227f6670569a3d359e7c438635e5
Author: gbateson <gbateson>
Date:   Sun, 10 Sep 2006 13:27:41 +0800
Tag:    v1.6.2

removed reportselector.html as it was unused and has been replaced by reportcontent.html and reportformat.html

commit 75e59b1a22d103b7ad378ad345996024f5205bf7
Author: gbateson <gbateson>
Date:   Sun, 10 Sep 2006 13:25:13 +0800
Tag:    v1.6.2

correct a small formatting error in "Show Legend" -> "No" explanation

commit 5ab3937c6eb26c2204e5c2c0cc935c3ee602ba80
Author: gbateson <gbateson>
Date:   Fri, 01 Sep 2006 11:58:09 +0800
Tag:    v1.6.2

correct the detection of HotPot 2.0 backups (from Moodle 1.5)

commit 0679583490cdc28aa6b6b04457462fdb5fd2b3ad
Author: gbateson <gbateson>
Date:   Wed, 30 Aug 2006 15:54:48 +0800
Tag:    v1.6.2

convert relative URLs to absolute URLs in quiz questions and answers

commit 889d2b5eadf6e014a80bdda78c1c40648477d097
Author: gbateson <gbateson>
Date:   Fri, 21 Jul 2006 08:10:29 +0800
Tag:    v1.6.2

microincrement version to 2.1.21

commit 08a1da2bb93e8cd9e9ab48324730755eaa457ea8
Author: gbateson <gbateson>
Date:   Sun, 16 Jul 2006 14:54:53 +0800
Tag:    v1.6.1

micro-increment version number to v2.1.21

commit 9b2f93bcf355dc9591bde7ac6b0e2c4b51e360f9
Author: gbateson <gbateson>
Date:   Sun, 16 Jul 2006 14:53:41 +0800
Tag:    v1.6.1

add double quotes to index fields to avoid reserved words errors in pg7. correct setting of default values in HotPot 2006050201 which was incompatible with pg7.3

commit 6ce20e4d58ab544a0d05b432b36b26de466753d7
Author: gbateson <gbateson>
Date:   Sat, 15 Jul 2006 22:28:22 +0800
Tag:    v1.6.1

initialized objects using new stdClass() and adjusted use use of empty() and isset() in hotpot_restore_records() function

commit e48bc9eb252cd308a23f8024b3208ceab86202dd
Author: gbateson <gbateson>
Date:   Sat, 15 Jul 2006 21:47:09 +0800
Tag:    v1.6.1

fixed setting of empty secondary fields during restore (bug 6113)

commit 670cced63a07928d9d822de28490293c1450cfa6
Author: gbateson <gbateson>
Date:   Thu, 25 May 2006 13:14:49 +0800
Tag:    v1.6.0

added blank lines for to improve readability

commit 7c8304a6c99ea835a33931552e66aa696013dc00
Author: gbateson <gbateson>
Date:   Thu, 25 May 2006 08:00:34 +0800
Tag:    v1.6.0

clarified the wording in point (5) of the "TO USE" section

commit 331c6f4620736348eed7f63b2cc3906313d37a34
Author: gbateson <gbateson>
Date:   Wed, 24 May 2006 19:22:07 +0800
Tag:    v1.6.0

fixed typos in $string['configshowtimes']

commit 6428434a5fd352b070e301789eeda06073b28a47
Author: gbateson <gbateson>
Date:   Mon, 22 May 2006 08:21:00 +0800
Tag:    v1.6.0

fixed typo: clck -> click

commit 9bb14972afc31731c56b38ab24061c31b9b84d33
Author: gbateson <gbateson>
Date:   Mon, 22 May 2006 08:19:51 +0800
Tag:    v1.6.0

modified CVS URLs to start http://moodle.cvs.sourceforge.net

commit 01f31282645d102c9d442a5fbcaf69b02028079e
Author: gbateson <gbateson>
Date:   Mon, 22 May 2006 08:07:33 +0800
Tag:    v1.6.0

Give Up button modified to send results and set status to abandoned. Microincrement version to 2006052200 (release = v2.1.20)

commit 00fe4b804590ebdd6a1a25491cf1cffe39559f63
Author: gbateson <gbateson>
Date:   Sun, 14 May 2006 16:34:23 +0800
Tag:    v1.6.0

microincrement version number to v2.1.19

commit 2cea2a74b4a683ac26a9ed0fb4023e0493e4c17e
Author: gbateson <gbateson>
Date:   Tue, 02 May 2006 13:18:01 +0800
Tag:    v1.6.0

fixed handling of square brackets in JCloze on older PHP sites. Micro-increment version to 2006050200 (v2.1.19)

commit e5d1941db7d689379f68d88f23b7e59dc7825527
Author: gbateson <gbateson>
Date:   Fri, 28 Apr 2006 10:11:52 +0800
Tag:    v1.6.0

set negative values to 0, on unsigned numeric fields

commit c9441e34ca6a3453d572e471f6dd512d9c7aebc9
Author: gbateson <gbateson>
Date:   Fri, 28 Apr 2006 10:06:58 +0800
Tag:    v1.6.0

allow negative score and weighting in hotpot_responses table

commit 8955d22ac627f8b5aede7af79532193d4b366afa
Author: gbateson <gbateson>
Date:   Fri, 28 Apr 2006 09:37:17 +0800
Tag:    v1.6.0

optimization fo the removal of orphan records

commit 9f02edcad856c8e4e56058591a6579e0d6d39efe
Author: gbateson <gbateson>
Date:   Fri, 28 Apr 2006 09:20:05 +0800
Tag:    v1.6.0

small fix for the removal of orphan records

commit 340a5808e977606aad73bd8910e0d25291aeda1c
Author: gbateson <gbateson>
Date:   Fri, 28 Apr 2006 08:59:57 +0800
Tag:    v1.6.0

fix undefined variable $db

commit 192e8f665045fc3d06d0b2568b0fc46edf8ce165
Author: gbateson <gbateson>
Date:   Fri, 28 Apr 2006 08:56:14 +0800
Tag:    v1.6.0

remove orphans records, if any, from hotpot tables, reduce size of "score" and "weighting" fields in "hotpot_responses" table, and set default value on ALL string fields in HotPot tables. New version number is 2006042800 (v2.1.18)

commit 55b2126228de83355dcee318ca8410784b9328b7
Author: gbateson <gbateson>
Date:   Fri, 28 Apr 2006 05:22:43 +0800
Tag:    v1.6.0

force remaining NULL fields into NOT NULL '0'/''

commit 530cd21dc2f96e058a395b645bd4202fb712df37
Author: gbateson <gbateson>
Date:   Thu, 27 Apr 2006 16:45:34 +0800
Tag:    v1.6.0

Fix "data truncated errors" by setting set NULL values in int field to 0 before changing to NOT NULL DEFAULT 0

commit 2e2a27a9bc195067a17c73390d29bda20ef8701b
Author: gbateson <gbateson>
Date:   Wed, 26 Apr 2006 11:26:12 +0800
Tag:    v1.6.0

changed line 10 to: 	$index = "{$table}_{$field}_idx"; (bug 5315)

commit 4f6a57d173892f921553d6a09c95f868c482d462
Author: gbateson <gbateson>
Date:   Wed, 26 Apr 2006 11:07:38 +0800
Tag:    v1.6.0

change single quotes to double quotes. Probable fix for bug 5315

commit da6bacb7e259963304033c0f8f38694bc382d45c
Author: gbateson <gbateson>
Date:   Mon, 24 Apr 2006 14:54:44 +0800
Tag:    v1.6.0

fix bug 5304

commit 6774380b24d9fa5241afa8bab4108aa11022b67a
Author: gbateson <gbateson>
Date:   Mon, 24 Apr 2006 09:44:08 +0800
Tag:    v1.6.0

set default value for varchar 255 fields, to fix "truncated" errors in utf8 migration. Fields affected: hotpot.studentfeedbackurl, hotpot_responses.correct/wrong/ignored

commit 3da3e957f94aa724309d616ce41bb85fba4a9e2c
Author: gbateson <gbateson>
Date:   Sun, 23 Apr 2006 19:55:02 +0800
Tag:    v1.6.0

micro-increment version number to 2006042101 (release = v2.1.16)

commit df795ee9508f865f90d03b294232faca53e30a1e
Author: gbateson <gbateson>
Date:   Sun, 23 Apr 2006 19:53:38 +0800
Tag:    v1.6.0

two fixes connected with UTF migration:  (i) remove $CFG->prefix from all index names, (ii) force type of "name" field in "hotpot_questions" table to "text"

commit ec161357c94d1d1bb7d503a5e8798724f5e12d9e
Author: gbateson <gbateson>
Date:   Sun, 23 Apr 2006 19:51:17 +0800
Tag:    v1.6.0

set $result even when $fromenc=="utf-8", to fix "unassigned variable" errors

commit 5320d678e9b505f4f1f2ef45e96f61bbc1a0a680
Author: gbateson <gbateson>
Date:   Sun, 23 Apr 2006 19:48:58 +0800
Tag:    v1.6.0

type of "name" field in "hotpot_questions" table should be "text" after migrate

commit 30b8cc87e10f366407a02f926a42397a8baecdb9
Author: gbateson <gbateson>
Date:   Wed, 19 Apr 2006 14:20:37 +0800
Tag:    v1.6.0

fixed bug which prevented display of JCross clues on PHP 5.1.2

commit 1872962d5cb8d8c2ec3b1dd0d4f7d1e7b67cd967
Author: gbateson <gbateson>
Date:   Tue, 18 Apr 2006 20:20:18 +0800
Tag:    v1.6.0

corrected handling of tables within JCloze text (a lot of vertical space was being added)

commit 23efbfa15e70c68d10e5411da8721a0e8415dd1a
Author: gbateson <gbateson>
Date:   Sun, 16 Apr 2006 10:10:14 +0800
Tag:    v1.6.0

improved readability of reg. exp. in adjust_media_urls function

commit 0e6e81a4a80001b7ad5d650a2cf98cde52ed2c85
Author: gbateson <gbateson>
Date:   Sat, 15 Apr 2006 16:17:30 +0800
Tag:    v1.6.0

fix "Force Plugins" behavior to correctly detect media players in JavaScript

commit 498695122a067721d224cc3fc6dc73e8f5af80fa
Author: gbateson <gbateson>
Date:   Fri, 14 Apr 2006 15:34:59 +0800
Tag:    v1.6.0

modified instructions for uploading to "lang" directory, to reflect the fact that the default Moodle 1.6 location for the "lang" directory is now within $CFG->dataroot

commit a3d40ea8ae06a16d746f5a0338b64e1c2bad9bb2
Author: gbateson <gbateson>
Date:   Wed, 05 Apr 2006 09:28:12 +0800
Tag:    v1.6.0

define PARAM_SAFEDIR (constant) and clean_param (function) if required for compatibility with Moodle 1.3 or earlier

commit c20b62380495dfa39a82fcfd8a9e36a12cc1dee5
Author: gbateson <gbateson>
Date:   Thu, 30 Mar 2006 11:17:51 +0800
Tag:    v1.6.0

make compatible with PHP 5.1.2 by removing variable assignments in calls to functions e.g. myfunction($a=1); Micro-incremented version number to 2.1.15

commit a83f9d2264950c16ec7593c0e35d3ac1936d0ad5
Author: gbateson <gbateson>
Date:   Wed, 29 Mar 2006 13:14:49 +0800
Tag:    v1.6.0

fix SQL query that didn't work in PG (bug 4989)

commit 887df2db79377490dc25d6a4558806e2fb2df852
Author: gbateson <gbateson>
Date:   Mon, 27 Mar 2006 13:18:50 +0800
Tag:    v1.6.0

modified newlines for Windows (perhaps?)

commit d80aef713afc8d4359d814dee6b1579506a04af0
Author: gbateson <gbateson>
Date:   Mon, 27 Mar 2006 13:16:15 +0800
Tag:    v1.6.0

modified README.txt to download zip, lang and question/format files from CVS

commit d95bcfff8dc89c8874d99916a6977b1b5297c485
Author: gbateson <gbateson>
Date:   Sun, 19 Mar 2006 07:47:56 +0800
Tag:    v1.6.0

increase gap size for long answers in JCloze

commit 330388c3acb9f25a15c964c85218eb99283bb150
Author: gbateson <gbateson>
Date:   Thu, 09 Mar 2006 01:54:11 +0800
Tag:    v1.6.0

JCloze improvements: allow gap at start of cloze and allow "0" for a gap value

commit e7801d39dc45513a0c0373ef85c42be36c0fecab
Author: gbateson <gbateson>
Date:   Fri, 24 Feb 2006 17:57:25 +0800
Tag:    v1.6.0

improved handling of relative URLs for media files in jqz files

commit 4a2360ac71d50f91fdea841e2523b28f5c8bf5e1
Author: gbateson <gbateson>
Date:   Fri, 24 Feb 2006 05:24:25 +0800
Tag:    v1.6.0

improved conversion of relative URLs for some Flash players

commit bb54c1c756f368cf6b2cec9880b930ad7fda03cd
Author: gbateson <gbateson>
Date:   Tue, 21 Feb 2006 08:19:15 +0800
Tag:    v1.6.0

do not show JCloze clue button, if there is no clue

commit 8faa855d37fda52bfb83df43e28ef4b1799fa466
Author: gbateson <gbateson>
Date:   Mon, 20 Feb 2006 13:49:53 +0800
Tag:    v1.6.0

encapsulate all functions within class; rename "get_hotpotatoes_xxx" functions to "hotpot_get_xxx"; rename "seed_hotpotatoes_RNG" function to "hotpot_seed_RNG"; initialize all $question objects using $this->defaultquestion (if possible); fix decoding of ampersands in HP quiz readings

commit 84f037e086ea1483173f3fd215eb4be45d729a2d
Author: gbateson <gbateson>
Date:   Thu, 16 Feb 2006 18:18:54 +0800
Tag:    v1.6.0

micro increment version to 2.1.13

commit e5be91b770adac27c0e96088a47bd62ab6da2e90
Author: gbateson <gbateson>
Date:   Thu, 16 Feb 2006 18:17:48 +0800
Tag:    v1.6.0

correctly handle HTML entities in readings

commit cfbaea0056c6dc3e4c5d679499ddb4d9c5675128
Author: gbateson <gbateson>
Date:   Wed, 08 Feb 2006 10:47:22 +0800
Tag:    v1.6.0

small change to get CSS background images displayed on site where PHP's server API is "CGI". Micro increment version number to 2.1.12

commit abbd2c40baa2611a03fb173f45cd462e907865c5
Author: gbateson <gbateson>
Date:   Wed, 01 Feb 2006 21:25:06 +0800
Tag:    v1.6.0

if old "v6" folder cannot be deleted, update will WARN but will not fail

commit fee4328c6bda72b469351655ed074b3396c21bbc
Author: gbateson <gbateson>
Date:   Thu, 26 Jan 2006 20:11:36 +0800
Tag:    v1.6.0

Further improvement to generation alternative matches in JMatch

commit 27e4e81f1b373c04e29198d8f31baa2e02dd459b
Author: gbateson <gbateson>
Date:   Wed, 25 Jan 2006 15:31:37 +0800
Tag:    v1.6.0

micro increment version to 2.1.11

commit ea2cf995996eaab76eaaa454fcf7225fb5afe45b
Author: gbateson <gbateson>
Date:   Wed, 25 Jan 2006 15:20:13 +0800
Tag:    v1.6.0

added backup/restore compatibility for Moodle 1.5 (and earlier)

commit db5170674c0c39ce990b42379cfb472fc3a88ac4
Author: gbateson <gbateson>
Date:   Sun, 22 Jan 2006 12:40:27 +0800
Tag:    v1.6.0

removed some extraneous white space

commit fb1b789fd6a5b91fbbf46153e94f46cf90aa6845
Author: gbateson <gbateson>
Date:   Sun, 22 Jan 2006 12:39:37 +0800
Tag:    v1.6.0

standardized line endings, so that README.TXT is readable on Windows machines

commit 2266fc893e19f6119fabb8eac27852a435228128
Author: gbateson <gbateson>
Date:   Sat, 21 Jan 2006 14:48:23 +0800
Tag:    v1.6.0

fix typo: "get_user_preference" => "set_user_preference"

commit b74d3407625b2467dc07f1e65c8255108056af07
Author: gbateson <gbateson>
Date:   Sat, 21 Jan 2006 14:46:48 +0800
Tag:    v1.6.0

only display "Excel" option, if an Excel library is available

commit 05b88e80dfbd2b8ae041df738a215e0364d582fc
Author: gbateson <gbateson>
Date:   Fri, 20 Jan 2006 19:27:52 +0800
Tag:    v1.6.0

addslashes to "name" and "summary" when they are set from the HP quiz file; increment version to v2.1.10

commit 79050beed7682d0338742de7b51ecf020e81a5f1
Author: gbateson <gbateson>
Date:   Fri, 20 Jan 2006 09:05:13 +0800
Tag:    v1.6.0

micro-increment version number to v2.1.9

commit 9ddda2cef37870fd3737dee8edb4b50aae6febbe
Author: gbateson <gbateson>
Date:   Fri, 20 Jan 2006 08:59:50 +0800
Tag:    v1.6.0

allow duplicate segments on JMatch

commit c5e66883ed1a8ed91369f23c9f08de4cd8c1d32b
Author: gbateson <gbateson>
Date:   Tue, 17 Jan 2006 21:24:13 +0800
Tag:    v1.6.0

use clean_filename for filename of text file download

commit 47edd30ca7e48d8b60fc6b17b99b1c1b59bc288d
Author: gbateson <gbateson>
Date:   Tue, 17 Jan 2006 21:15:16 +0800
Tag:    v1.6.0

uses 4-spaces (Moodle standard) instead of tabs for code indenting

commit 43b4804860ef5c741de0f9e9f7c81f3d3e833209
Author: gbateson <gbateson>
Date:   Tue, 17 Jan 2006 20:49:25 +0800
Tag:    v1.6.0

micro increment version number to 2.1.8

commit 6ed5989c4afe8316d0b8a31e4c9395e48230b34d
Author: gbateson <gbateson>
Date:   Tue, 17 Jan 2006 20:48:37 +0800
Tag:    v1.6.0

in "hotpot" table, rename "microreporting" field to "clickreporting" (PostgreSQL only)

commit 8d4632772ae901e7afca5f857dbedd5b6aef7087
Author: gbateson <gbateson>
Date:   Tue, 17 Jan 2006 20:46:26 +0800
Tag:    v1.6.0

mysql does not need to call "hotpot_update_to_v2_1_6()" or "hotpot_update_to_v2_1_8()" functions

commit 20870c450b463af4f8966531766305830dc4f980
Author: gbateson <gbateson>
Date:   Tue, 17 Jan 2006 13:45:01 +0800
Tag:    v1.6.0

allow user to set encoding when "lib/excellib.class.php" is not available

commit 747c22c5e894f15a876fa4ca5a1770d9f81a93d6
Author: gbateson <gbateson>
Date:   Tue, 17 Jan 2006 12:31:08 +0800
Tag:    v1.6.0

microincrement version number to 2.1.7

commit f78640f467d9405c6e691ccd202474934e23baa5
Author: gbateson <gbateson>
Date:   Tue, 17 Jan 2006 12:16:37 +0800
Tag:    v1.6.0

fixed Excel reports to work with new "excellib.class.php" and fixed Excel and Text reports to handle multicolumn and multirow cells

commit ff4fad27017e01d30174b436b38f286aba69c55f
Author: gbateson <gbateson>
Date:   Sun, 15 Jan 2006 10:08:34 +0800
Tag:    v1.6.0

improved readability of "foreign key could not be updated" error message

commit 249daa5d3c209ae8bd2135ef35e2e13acd861a23
Author: gbateson <gbateson>
Date:   Sun, 15 Jan 2006 09:47:08 +0800
Tag:    v1.6.0

if foreign keys are missing, backup will not abort, but record will not be restored

commit 1a4969431c754b1824ce012c156d51e873a2af3a
Author: gbateson <gbateson>
Date:   Sat, 14 Jan 2006 12:04:57 +0800
Tag:    v1.6.0

optimzed SQL query in hotpot_get_participants to return only user ids (not whole user record)

commit b84defd2ad36ac8ed6736572a0f8f52fb29bb68d
Author: gbateson <gbateson>
Date:   Sat, 14 Jan 2006 07:07:47 +0800
Tag:    v1.6.0

corrected spelling of "Potatatoes" to "Potatoes" on some table comments

commit 49b67b7be1f8b93aa02ef477cc84770cefb4e3c9
Author: gbateson <gbateson>
Date:   Fri, 13 Jan 2006 16:44:40 +0800
Tag:    v1.6.0

corrected the spelling of "Potatatoes" to "Potatoes" in the comments of several tables

commit e42fa8c5da1c3e7730c5e1d075745e4e83a6c2f8
Author: gbateson <gbateson>
Date:   Fri, 13 Jan 2006 16:37:10 +0800
Tag:    v1.6.0

add questions_name_idx and strings_stirng _idx

commit abe2308eabd34cc837c3395495fc3e9239e03d12
Author: gbateson <gbateson>
Date:   Fri, 13 Jan 2006 15:57:50 +0800
Tag:    v1.6.0

if starttime and endtime are empty, set them to zero

commit 729b2dfad291955badcfc44a6c335f75e7122628
Author: gbateson <gbateson>
Date:   Fri, 13 Jan 2006 15:56:33 +0800
Tag:    v1.6.0

remove unused microreportid field from postgre7 database

commit 85e537d4f9d87dd6d6b5ee343b0375d2d54a8fbb
Author: gbateson <gbateson>
Date:   Fri, 13 Jan 2006 14:08:27 +0800
Tag:    v1.6.0

add, delete and rename certain fields and indexes that were not correctly setup by postgres7.sql

commit 3ebf4ea79e6cabfa1fad89f30d22dea0ea0d0601
Author: gbateson <gbateson>
Date:   Tue, 10 Jan 2006 12:06:38 +0800
Tag:    v1.6.0

change relative URLs in stylsheets to absolute URLs

commit c5295983e6b423bcb89c65a40b3cd04e4a274364
Author: gbateson <gbateson>
Date:   Sun, 08 Jan 2006 13:53:49 +0800
Tag:    v1.6.0

removed unnecessary tabs at end of lines

commit 6166591d01801e21530702ae8ca2ebb8e33afd24
Author: gbateson <gbateson>
Date:   Sun, 08 Jan 2006 13:43:03 +0800
Tag:    v1.6.0

changes to allow JQuiz in mobile format

commit eab7bfe21542ed846a6686a0599e1d72ee0d558c
Author: gbateson <gbateson>
Date:   Sun, 08 Jan 2006 13:34:31 +0800
Tag:    v1.6.0

defined PARAM_CLEAN if necessary (for mobile template on Moodle<=1.4)

commit 69407d9549613bda0947959772d11bf87177e279
Author: gbateson <gbateson>
Date:   Mon, 02 Jan 2006 22:33:29 +0800
Tag:    v1.6.0

allow import from HP5 quizzes (including JBC and old JQuiz)

commit b18fd5ca39fb9bed0bd5e297a285594ba8f31627
Author: gbateson <gbateson>
Date:   Sun, 01 Jan 2006 20:03:51 +0800
Tag:    v1.6.0

added unicode support (all Hot Potatoes quiz types)

commit 2072cc710079251cb733ef075c0b5cb23b30c609
Author: gbateson <gbateson>
Date:   Sat, 31 Dec 2005 22:52:18 +0800
Tag:    v1.6.0

for JCloze import, defaultgrade (per gap)= 1,  and defaultgrade (per exercise) = number of gaps

commit 2ccf56f90db981a373d09fb2fd306f8d09b25f85
Author: gbateson <gbateson>
Date:   Sat, 31 Dec 2005 18:38:57 +0800
Tag:    v1.6.0

fixed import of JCloze into quiz module as a MULTIANSWER question

commit d4ef3c5aafad286304b006ddc0b1b25fee9a5712
Author: gbateson <gbateson>
Date:   Sat, 26 Nov 2005 07:01:15 +0800
Tag:    v1.6.0

JMatch: allow extra, unused RHS items

commit 01a8d9bd6f3b85137b294d06d585e755398122f1
Author: gbateson <gbateson>
Date:   Fri, 25 Nov 2005 21:04:38 +0800
Tag:    v1.6.0

corrected scoring and finishing of JMatch with unused RHS items

commit 39fe163a3281d64769a3fb10f1bd292f811ff30a
Author: gbateson <gbateson>
Date:   Fri, 25 Nov 2005 11:59:44 +0800
Tag:    v1.6.0

replaced <DL> with <DIV class="indent"> and removed bad-newlines which caused double spacing in HTML source

commit 71a10ef2ada3b356498517a96ba4b61486d53eb3
Author: gbateson <gbateson>
Date:   Thu, 24 Nov 2005 15:00:33 +0800
Tag:    v1.6.0

removed bad newlines (\r\r\n) which caused double-spacing in HTML/JS/CSS source

commit 02aff07d3b67746a53c8f8ca694fe04f9f1c6c49
Author: gbateson <gbateson>
Date:   Thu, 24 Nov 2005 14:44:25 +0800
Tag:    v1.6.0

removed bad newlines (\r\r\n) which caused double-spacing in PHP source

commit 64b4e0f155c2c9a1f27dc41f018a910bd5853a99
Author: gbateson <gbateson>
Date:   Thu, 24 Nov 2005 13:40:36 +0800
Tag:    v1.6.0

removed bad newlines, which caused double-spacing in PHP source

commit 2cc57707a8934a63d359ff3f969bc488dbad3443
Author: gbateson <gbateson>
Date:   Thu, 24 Nov 2005 13:16:19 +0800
Tag:    v1.6.0

fix bad newlines which caused double spacing

commit de0eca74b08dc33a1d6a18c4267d27d303cedc5f
Author: gbateson <gbateson>
Date:   Sun, 20 Nov 2005 00:23:47 +0800
Tag:    v1.6.0

Sequitur improvments: corrected score and added counts for number of correct and wrong clicks

commit 14f793ba98ea972d08f181fd0a162e68ce74b6df
Author: gbateson <gbateson>
Date:   Sat, 19 Nov 2005 10:10:15 +0800
Tag:    v1.6.0

micro-incremented version number to 2.1.5

commit 72e5f837c82c8b77cf4ef54db7f0de059dc3ad8b
Author: gbateson <gbateson>
Date:   Sat, 19 Nov 2005 10:09:26 +0800
Tag:    v1.6.0

incremented version number and added one more sponsor

commit 7ba55121e722a22534d4c892b982a31fb760d388
Author: gbateson <gbateson>
Date:   Sat, 19 Nov 2005 10:02:13 +0800
Tag:    v1.6.0

corrected JMatch reporting and added intermediate reporting of TexToys Rhubarb quizzes

commit 0e143b35149df579bb2bc449089c04c217297d16
Author: gbateson <gbateson>
Date:   Fri, 18 Nov 2005 14:07:02 +0800
Tag:    v1.6.0

allow "penalties" to be returned from Rottmeier Find-It quizzes

commit daa08c4e4c70247b98ff5fa1ea3d3a5b1a1039f1
Author: gbateson <gbateson>
Date:   Fri, 18 Nov 2005 09:13:31 +0800
Tag:    v1.6.0

remove [] from clue button text in JCloze (HP default is [?], so additional [] are not needed)

commit 72e0b1f5344cda4af5ab73d2a2589f8925f9d550
Author: gbateson <gbateson>
Date:   Mon, 14 Nov 2005 19:32:40 +0800
Tag:    v1.6.0

correct score calculation in TexToys Rhubarb

commit e791e20949beffdba14afa91ff0a25b87a84edd2
Author: gbateson <gbateson>
Date:   Fri, 11 Nov 2005 14:34:51 +0800
Tag:    v1.6.0

get clue button text from quiz XML file (hitherto, it was always been set to "?")

commit 7867d9dbce768b805cd271885481eeea8a281eda
Author: gbateson <gbateson>
Date:   Thu, 10 Nov 2005 17:00:17 +0800
Tag:    v1.6.0

fix error on line 700 when student displays hotpot/index.php

commit f07576b09c74d25747c133e3540599517b92552a
Author: gbateson <gbateson>
Date:   Wed, 09 Nov 2005 08:44:42 +0800
Tag:    v1.6.0

new help file explaining "clickreport" setting (added in HotPot v2.1)

commit 29781718a6c40ce30efa9364dc8469c69666758f
Author: gbateson <gbateson>
Date:   Tue, 08 Nov 2005 15:48:10 +0800
Tag:    v1.6.0

changes to allow quizzes in tail of HotPot chains to be visible

commit d4817b731790114c258bafe08ae4a20bb16232c6
Author: gbateson <gbateson>
Date:   Fri, 04 Nov 2005 10:16:40 +0800
Tag:    v1.6.0

fixed undefined index line 147 in "remove_column" function

commit 30288760688d0f97b7b4d051b558299cf0228896
Author: gbateson <gbateson>
Date:   Mon, 31 Oct 2005 07:37:39 +0800
Tag:    v1.6.0

added message for "error_invalidquiztype" (used in mod/hotpot/attempt.php)

commit 1e2b83183963c10f495d1074ae54445541967d95
Author: gbateson <gbateson>
Date:   Mon, 31 Oct 2005 07:32:07 +0800
Tag:    v1.6.0

add PARAM_ALPHANUM for Moodle 1.4 and less

commit b24a1f7fe5c9880bada14591770ab826db8b02fd
Author: gbateson <gbateson>
Date:   Mon, 31 Oct 2005 07:31:33 +0800
Tag:    v1.6.0

improved detection of $quiztype for "mobile" output format

commit efc49e0f657ba4decb5890ba10f5eeb1699d0e74
Author: gbateson <gbateson>
Date:   Sun, 23 Oct 2005 19:41:40 +0800
Tag:    v1.6.0

replace relative URLs in <embed> tags

commit 730b36aa313c13161403ae010229c0054945f7c9
Author: gbateson <gbateson>
Date:   Wed, 19 Oct 2005 17:56:39 +0800
Tag:    v1.6.0

allow student to review results (if teacher allows it)

commit f74a8cc6ce6497b4c2abd8b73d9668d0e47cf77b
Author: gbateson <gbateson>
Date:   Thu, 13 Oct 2005 06:00:54 +0800
Tag:    v1.6.0

corrected spelling in sponsor details

commit 0c4d3fd7f2d52c370680048e53043a55897dbff8
Author: gbateson <gbateson>
Date:   Wed, 12 Oct 2005 20:20:58 +0800
Tag:    v1.6.0

micro version increase to 2.1.4

commit a9919f5460b84b3ae530bb4aa696e0b428247db8
Author: gbateson <gbateson>
Date:   Wed, 12 Oct 2005 20:19:55 +0800
Tag:    v1.6.0

added list of (two) sponsors

commit 7957e323ff23e7fc03c36155448c0d9ccfc61d81
Author: gbateson <gbateson>
Date:   Wed, 12 Oct 2005 15:11:14 +0800
Tag:    v1.6.0

corrected the setting of "ignored" fields on mobile output format

commit 6d8ddde3f32692af8280fb69e431a01e296dfeb9
Author: gbateson <gbateson>
Date:   Wed, 12 Oct 2005 15:08:54 +0800
Tag:    v1.6.0

insert modified submission form for mobile phone output

commit 1ebc0e62388f7fbe603d66027b0330d6e7b38bb7
Author: gbateson <gbateson>
Date:   Wed, 12 Oct 2005 15:07:30 +0800
Tag:    v1.6.0

allow non alphanumeric chars in filenames when searching for relative URLs, and added $HOTPOT_QUIZTYPE array to map numeric quiz type to text description

commit 4af510f604908221a2651e9cdf7b9093cf786b7e
Author: gbateson <gbateson>
Date:   Fri, 07 Oct 2005 13:31:11 +0800
Tag:    v1.6.0

detect mobile phone browsers and use mobile format if required and available

commit b1db3c901802e15ff76512805d992cc7e9b4c9ad
Author: gbateson <gbateson>
Date:   Fri, 07 Oct 2005 09:56:33 +0800
Tag:    v1.6.0

add get_file_contents for php<4.2, use get_file_contents($filepath) instead of fread($fp, filesize($filepath))

commit 2116866547f0967ce249b6c53f0f74cb0756071f
Author: gbateson <gbateson>
Date:   Fri, 07 Oct 2005 09:52:19 +0800
Tag:    v1.6.0

use get_file_contents($filepath) instead of fread($fp, filesize($filepath))

commit 1d0bbc406eb1a0a8e8f41ded91e55dcf4717fbc9
Author: gbateson <gbateson>
Date:   Fri, 07 Oct 2005 07:59:08 +0800
Tag:    v1.6.0

fixed setting of name+summary from quiz when adding all files in a folder as a chain

commit 6cadcaf0773ee1b298f3de8c8631b3cd866a0f70
Author: gbateson <gbateson>
Date:   Wed, 05 Oct 2005 21:00:42 +0800
Tag:    v1.6.0

attempt.php now includes view.php for "mobile" outputformat; added checks, hints and score for "mobile" outputformat

commit 4fcd13b2b4716189da51c25a442113b08e8969bb
Author: gbateson <gbateson>
Date:   Wed, 05 Oct 2005 11:49:35 +0800
Tag:    v1.6.0

simplified logic which handles passing of invalid (non-numeric) atrtemptid

commit 5ceaebac4f2fa7ed16ccae56b99363d9c2caa123
Author: gbateson <gbateson>
Date:   Wed, 05 Oct 2005 11:47:50 +0800
Tag:    v1.6.0

modified handling of JCross question numbers in hotpot_add_attempt_details()

commit 5237207862290e6950c71339743289f4d2d5f4d3
Author: gbateson <gbateson>
Date:   Mon, 03 Oct 2005 08:06:45 +0800
Tag:    v1.6.0

added some reporting for HP5 (v5 and v6) quizzes; improved reporting on JCross and JQuiz multichoice; some modifications to prepare for upcoming "mobile" output format; corrected positioning bug when IE displays feedback box on long reading

commit b045850b401fda5b98c40cfb60a09ac014ab829a
Author: gbateson <gbateson>
Date:   Wed, 28 Sep 2005 11:14:54 +0800
Tag:    v1.6.0

improved the display of "Give Up" button and <IFRAME> navigation buttons (however <IFRAME> still does not resize on FireFox)

commit 76a72c55b8387181370b80d497358533579106af
Author: gbateson <gbateson>
Date:   Tue, 27 Sep 2005 12:46:28 +0800
Tag:    v1.6.0

use while loop instead of foreach loop during regrade, to allow for the possibility of splitting a regrade and so avoid "maximum execution time exceeded" errors

commit e2f9f968cc1a9cdf7592be876d06d51f603b0f2a
Author: gbateson <gbateson>
Date:   Mon, 26 Sep 2005 19:33:53 +0800
Tag:    v1.6.0

slight modificaition to the function which updates from v1.2.0 or v1.2.1 to v1.2.2, so as to catch all incorrectly labelled "in progress" attempts

commit 4e31156d03e9bb6d9d423c11ba0e7a1a8c506d60
Author: gbateson <gbateson>
Date:   Mon, 26 Sep 2005 09:27:31 +0800
Tag:    v1.6.0

when updating from v2.1.0 or 2.1.1, check there is no more than one "in progress" attempt per user for each quiz, and if there is such an attempt, it must be the most recent attempt on the quiz by that user

commit 51b2d9910b36c65957d96533e40de079ef4e7cd5
Author: gbateson <gbateson>
Date:   Mon, 26 Sep 2005 08:44:52 +0800
Tag:    v1.6.0

switch output_formats v3, v4, v5 and moved "hotpot_flush" function to "db/update_to_v2.php"

commit 77cf1e9060396fe0dc39171a3669d7cb5a9452a8
Author: gbateson <gbateson>
Date:   Thu, 22 Sep 2005 15:32:56 +0800
Tag:    v1.6.0

ensure %-signs in "reportpercentscore" are doubled for sprintf (only applies to Moodle 1.4 and less)

commit 75efc0a090b95d59dcef697de6379dafbdcad6bd
Author: gbateson <gbateson>
Date:   Thu, 22 Sep 2005 14:41:33 +0800
Tag:    v1.6.0

added explanation of the new "Single Student" report content option

commit 1e5a7649c309681df7a0d17ca7596cedec3a3a1c
Author: gbateson <gbateson>
Date:   Thu, 22 Sep 2005 14:38:41 +0800
Tag:    v1.6.0

allow teacher to select reports on single students

commit bb380677cdcd4052d16f07ee2e21aaa4e1e0a107
Author: gbateson <gbateson>
Date:   Thu, 22 Sep 2005 12:40:45 +0800
Tag:    v1.6.0

modified reports to allow rowspan and colspan settings to work with "remove_column" function

commit 0c59601c11dd5fcb25c77aa04c9545096aabefb3
Author: gbateson <gbateson>
Date:   Thu, 22 Sep 2005 09:19:00 +0800
Tag:    v1.6.0

changed some variable names to improve readability:  $i, $ii, $iii => $str_start, $cdata_start, $cdata_end,  $hp->files => $hp->references

commit d4e351cd8b882144d874325a71d31bdf9a70fdcc
Author: gbateson <gbateson>
Date:   Wed, 21 Sep 2005 19:53:04 +0800
Tag:    v1.6.0

SQL to update clickreportid must be done one statement at a time

commit 1ee38bed4178024a9bd46eaddf3cfe4d4219b4de
Author: gbateson <gbateson>
Date:   Wed, 21 Sep 2005 19:51:07 +0800
Tag:    v1.6.0

when adding a "chain" of HotPots, check quiz specified in "Next" button has not already been added

commit 2393e715d6c4ac3708c518d9e535fcfe4e0c38f8
Author: gbateson <gbateson>
Date:   Wed, 21 Sep 2005 08:25:51 +0800
Tag:    v1.6.0

renumbered steps 1,2,3,3,4 => 1,2,3,4,5 signalled steps 3 and 4 as not required for Moodle 1.5 and later

commit 6241666438d077cdd2e1fe22c15b91a7b185d31f
Author: gbateson <gbateson>
Date:   Tue, 20 Sep 2005 19:48:50 +0800
Tag:    v1.6.0

removed XSS hole caused by urldecode

commit 4b83220717204dc4d8b64506d76231198e076f78
Author: gbateson <gbateson>
Date:   Tue, 20 Sep 2005 15:12:00 +0800
Tag:    v1.6.0

Improved the setting of quiz name and summary for quiz chains

commit 7882cdaf79639838957b477181d3664fe4fd271a
Author: gbateson <gbateson>
Date:   Mon, 19 Sep 2005 14:29:14 +0800
Tag:    v1.6.0

improved handling of Hot Potatoes navigation buttons

commit 4b4a28824726fd4a019f4359fec60548fea9c7c3
Author: gbateson <gbateson>
Date:   Fri, 16 Sep 2005 19:57:25 +0800
Tag:    v1.6.0

Fixed bug for student view of index.php Replaced use of DIRECTORY_SEPARATOR constant with '/'

commit cdf4e4066876e7072566118f2d7a38b3de39c075
Author: gbateson <gbateson>
Date:   Fri, 16 Sep 2005 15:57:56 +0800
Tag:    v1.6.0

some changes to hellp files for HotPot v2.1

commit 3b47d3b69fa3f9a43b236d309fbb4dd27269e6a4
Author: gbateson <gbateson>
Date:   Fri, 16 Sep 2005 15:55:58 +0800
Tag:    v1.6.0

New text messages for HotPot v2.1

commit ab45e35e906a6196422184e99730b6ddd2ac5775
Author: gbateson <gbateson>
Date:   Fri, 16 Sep 2005 15:48:16 +0800
Tag:    v1.6.0

the v6 folder has been moved into the "templates" folder for HotPot v2.1

commit 57f35d211ef53fb231257991bcea060745b7f6fb
Author: gbateson <gbateson>
Date:   Fri, 16 Sep 2005 15:24:12 +0800
Tag:    v1.6.0

changes to database and most scripts to allow enhancements for HotPot v2.1   - click-by-click reporting   - manipulate "chains" of hotpot activities   - standardized reporting across all quiz types   - several smaller features

commit 410229b6047f7cd45fd002c85f13ab8709c6a439
Author: gbateson <gbateson>
Date:   Fri, 16 Sep 2005 10:55:56 +0800
Tag:    v1.6.0

changes to database and most scripts to allow enhancements for HotPot v2.1   - click-by-click reporting   - manipulate "chains" of hotpot activities   - standardized reporting across all quiz types   - several smaller features

commit 856624f9774fb28d8f10667bae351275f2a4a786
Author: gbateson <gbateson>
Date:   Fri, 09 Sep 2005 09:19:30 +0800
Tag:    v1.6.0

added "$question->usecase = 0;" for JMatch and JQuiz quizzes (other quizzes already set this property)

commit 53ed0d14c8b162d7774d1488f49403c87aa3f52b
Author: gbateson <gbateson>
Date:   Tue, 31 May 2005 07:13:56 +0800
Tag:    v1.6.0

size of top frame, if any,  set using $CFG->resource_framesize

commit 96a4f85bd3bdb20d565de0e13126f1b1e448bed2
Author: gbateson <gbateson>
Date:   Tue, 31 May 2005 07:06:05 +0800
Tag:    v1.6.0

Additional explanation for quiz module add-in in Moodle 1.4.5

commit 88e899dcf9b99879d15e6392ee79e933df8c775e
Author: gbateson <gbateson>
Date:   Tue, 17 May 2005 15:45:39 +0800
Tag:    v1.6.0

use class="helplink" instead of inline styles

commit 5439ac0e0744de9fb16257e640179c20df829e78
Author: gbateson <gbateson>
Date:   Tue, 17 May 2005 15:44:56 +0800
Tag:    v1.6.0

correct wording on point 2, to "Install the messages and help files of the hotpot module"

commit c1d439b594bb4c710f984c717c5f23bdba92b223
Author: gbateson <gbateson>
Date:   Tue, 17 May 2005 15:43:40 +0800
Tag:    v1.6.0

use class="helplink" instead of inline styles get_recent_mod_activity to initialize $activity in loop

commit 99d6674487b4bb17709fd8c051c438561a6e818d
Author: gbateson <gbateson>
Date:   Tue, 17 May 2005 11:13:17 +0800
Tag:    v1.6.0

moved hard-coded text messages (about clipboard) to lang/en/hotpot.php

commit baa58947c35f76e9a71fbd922bf303fd6784d1c0
Author: gbateson <gbateson>
Date:   Tue, 17 May 2005 11:11:01 +0800
Tag:    v1.6.0

removed several (all?) XHTML incompatabilities

commit 01406b38f36f542678ddbb651d96d0b83c17660a
Author: gbateson <gbateson>
Date:   Tue, 17 May 2005 11:09:42 +0800
Tag:    v1.6.0

javascript messages for Copy to Clipboard in show.php

commit fcf0a80b37b4263976d33fc730c150d77fded3c2
Author: gbateson <gbateson>
Date:   Tue, 17 May 2005 10:15:04 +0800
Tag:    v1.6.0

access to $_GET parameters now done using required_param() HTML tags made XHTML compatible

commit ae3d1aa42b1665e592976bc448d6acd65d6c9866
Author: gbateson <gbateson>
Date:   Mon, 16 May 2005 16:59:40 +0800
Tag:    v1.6.0

Updated version number to 2.0.8

commit dde7cceda0ae98b2ac58c99b85cb76e48fd4c4c9
Author: gbateson <gbateson>
Date:   Sat, 14 May 2005 10:43:36 +0800
Tag:    v1.6.0

modified $moodle->requires to 2003091111 (Moodle v1.1.1)

commit 1fb986d10cc64d5d94c1aa4d7b17a06e77e56b25
Author: gbateson <gbateson>
Date:   Fri, 13 May 2005 20:39:47 +0800
Tag:    v1.6.0

setting of path templates directory no longer depends on strings "v6", "v5", etc in language pack

commit c3d987648ad7da262676d9d61101f71aea09cd49
Author: gbateson <gbateson>
Date:   Fri, 13 May 2005 10:39:02 +0800
Tag:    v1.6.0

removed install.php script because it is non-standard and not required in Moodle 1.5

commit a38b77368d9e080fa0d2e9a05e2973372b33ba60
Author: gbateson <gbateson>
Date:   Mon, 09 May 2005 19:57:20 +0800
Tag:    v1.6.0

corrected spelling of "supprot forum" to "support forum"

commit a06ade94b4e1c19710ad216ecc197b57d9598f0d
Author: gbateson <gbateson>
Date:   Mon, 09 May 2005 19:52:47 +0800
Tag:    v1.6.0

corrected version number to 2.0.7

commit 9736716d4a10953251b34d9614b6e8fa3e789695
Author: gbateson <gbateson>
Date:   Mon, 09 May 2005 19:48:42 +0800
Tag:    v1.6.0

removed reference to install.php from README.TXT

commit 299716a66457aea3c9262996492b16a9a9519ae2
Author: gbateson <gbateson>
Date:   Sun, 08 May 2005 10:36:53 +0800
Tag:    v1.6.0

added hotpot/install.php to simplify installation and upgrade modified README.TXT explaining how to use install.php

commit c1da52882c93651690ad6122a1f9f995bf5ff271
Author: gbateson <gbateson>
Date:   Sat, 07 May 2005 13:14:19 +0800
Tag:    v1.6.0

Standardized table headings to Proper Case

commit b37d31ea68ad08bb5f079ae0bffa04fc67fb14b6
Author: gbateson <gbateson>
Date:   Wed, 04 May 2005 19:42:19 +0800
Tag:    v1.6.0

removed "?" from "Show next quiz"

commit 77e743607e49cfbd70b3c618cf782684eec79bfc
Author: gbateson <gbateson>
Date:   Wed, 04 May 2005 19:28:14 +0800
Tag:    v1.6.0

changed "module=hotpotatoes" to "module=hotpot" in links to other hotpot help files

commit 9545981a3f57faf8bbb5a45787a7daea454d15ca
Author: gbateson <gbateson>
Date:   Wed, 04 May 2005 19:26:36 +0800
Tag:    v1.6.0

changed "module=hotpotatoes" to "module=hotpot" in lang/en/help/hotpot/index.html. "index.html" for other languages may also need to be changed

commit 53fc076c194850ad973021adbd3f72cc145f139a
Author: gbateson <gbateson>
Date:   Wed, 04 May 2005 19:19:45 +0800
Tag:    v1.6.0

two changes to "hotpot_db_update_field_type" to correct bugs when updating PostgreSQL database - declare $db as global variable (line 760) - curly brackets around $field when assigning $tmpfield (line 852)