Git commits in Moodle 1.6.0 by gbateson

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)