171 Commits

Author SHA1 Message Date
moodler
acfc768e3e COnverted from DOS format 2006-05-02 06:00:35 +00:00
gbateson
2cea2a74b4 fixed handling of square brackets in JCloze on older PHP sites. Micro-increment version to 2006050200 (v2.1.19) 2006-05-02 05:18:01 +00:00
gbateson
e5d1941db7 set negative values to 0, on unsigned numeric fields 2006-04-28 02:11:52 +00:00
gbateson
c9441e34ca allow negative score and weighting in hotpot_responses table 2006-04-28 02:06:58 +00:00
gbateson
8955d22ac6 optimization fo the removal of orphan records 2006-04-28 01:37:17 +00:00
gbateson
9f02edcad8 small fix for the removal of orphan records 2006-04-28 01:20:05 +00:00
gbateson
340a5808e9 fix undefined variable $db 2006-04-28 00:59:57 +00:00
gbateson
192e8f6650 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) 2006-04-28 00:56:14 +00:00
gbateson
55b2126228 force remaining NULL fields into NOT NULL '0'/'' 2006-04-27 21:22:43 +00:00
gbateson
530cd21dc2 Fix "data truncated errors" by setting set NULL values in int field to 0 before changing to NOT NULL DEFAULT 0 2006-04-27 08:45:34 +00:00
toyomoyo
cb24115c8e trying to change all the default NULL fields to NOT NULL default '0'/'', hope i didn't mess up. Please report any bugs asap! 2006-04-26 05:48:04 +00:00
gbateson
2e2a27a9bc changed line 10 to: $index = "{$table}_{$field}_idx"; (bug 5315) 2006-04-26 03:26:12 +00:00
gbateson
4f6a57d173 change single quotes to double quotes. Probable fix for bug 5315 2006-04-26 03:07:38 +00:00
gbateson
da6bacb7e2 fix bug 5304 2006-04-24 06:54:44 +00:00
gbateson
6774380b24 set default value for varchar 255 fields, to fix "truncated" errors in utf8 migration. Fields affected: hotpot.studentfeedbackurl, hotpot_responses.correct/wrong/ignored 2006-04-24 01:44:08 +00:00
gbateson
3da3e957f9 micro-increment version number to 2006042101 (release = v2.1.16) 2006-04-23 11:55:02 +00:00
gbateson
df795ee950 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" 2006-04-23 11:53:38 +00:00
gbateson
ec161357c9 set $result even when $fromenc=="utf-8", to fix "unassigned variable" errors 2006-04-23 11:51:17 +00:00
gbateson
5320d678e9 type of "name" field in "hotpot_questions" table should be "text" after migrate 2006-04-23 11:48:58 +00:00
skodak
d850b4e621 typo in switch 2006-04-22 13:38:24 +00:00
toyomoyo
2712ac665c fix for 5205 2006-04-21 07:55:57 +00:00
gbateson
30b8cc87e1 fixed bug which prevented display of JCross clues on PHP 5.1.2 2006-04-19 06:20:37 +00:00
gbateson
1872962d5c corrected handling of tables within JCloze text (a lot of vertical space was being added) 2006-04-18 12:20:18 +00:00
gbateson
23efbfa15e improved readability of reg. exp. in adjust_media_urls function 2006-04-16 02:10:14 +00:00
gbateson
0e6e81a4a8 fix "Force Plugins" behavior to correctly detect media players in JavaScript 2006-04-15 08:17:30 +00:00
skodak
354d3295d4 removed outdated xxx_param() functions 2006-04-14 15:57:59 +00:00
gbateson
498695122a 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 2006-04-14 07:34:59 +00:00
gbateson
a3d40ea8ae define PARAM_SAFEDIR (constant) and clean_param (function) if required for compatibility with Moodle 1.3 or earlier 2006-04-05 01:28:12 +00:00
gbateson
c20b623804 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 2006-03-30 03:17:51 +00:00
gbateson
a83f9d2264 fix SQL query that didn't work in PG (bug 4989) 2006-03-29 05:14:49 +00:00
stronk7
107919b0d6 Only decode from utf8 if we aren't running under utf8.
Please, test it. Thanks!
2006-03-28 19:18:38 +00:00
stronk7
ef138cea77 Only convert to UTF8 if we aren't running under UTF8.
Please, test this is correct, thanks!
2006-03-28 18:53:16 +00:00
gbateson
887df2db79 modified newlines for Windows (perhaps?) 2006-03-27 05:18:50 +00:00
gbateson
d80aef713a modified README.txt to download zip, lang and question/format files from CVS 2006-03-27 05:16:15 +00:00
gbateson
d95bcfff8d increase gap size for long answers in JCloze 2006-03-18 23:47:56 +00:00
patrickslee
cb8229d0a8 UTF8 migration - now supporting PostgreSQL 2006-03-10 03:43:33 +00:00
gbateson
330388c3ac JCloze improvements: allow gap at start of cloze and allow "0" for a gap value 2006-03-08 17:54:11 +00:00
skodak
107e7612b5 short php tags once more 2006-03-07 21:46:34 +00:00
skodak
38b7336ed1 short php tags 2006-03-07 21:35:13 +00:00
skodak
1b1d34225b incorrect usage of clean_filename() replaced with clean_param($text, PARAM_SAFEDIR) 2006-03-04 12:37:29 +00:00
gbateson
e7801d39dc improved handling of relative URLs for media files in jqz files 2006-02-24 09:57:25 +00:00
toyomoyo
f841494c62 see changes for admin/utfdbmigrate.php 2006-02-24 08:20:13 +00:00
gbateson
4a2360ac71 improved conversion of relative URLs for some Flash players 2006-02-23 21:24:25 +00:00
gbateson
bb54c1c756 do not show JCloze clue button, if there is no clue 2006-02-21 00:19:15 +00:00
gbateson
84f037e086 micro increment version to 2.1.13 2006-02-16 10:18:54 +00:00
gbateson
e5be91b770 correctly handle HTML entities in readings 2006-02-16 10:17:48 +00:00
gbateson
cfbaea0056 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 2006-02-08 02:47:22 +00:00
gbateson
abbd2c40ba if old "v6" folder cannot be deleted, update will WARN but will not fail 2006-02-01 13:25:06 +00:00
moodler
136b6ab33f changed to use utfconvert function 2006-01-31 02:15:21 +00:00
moodler
112d84a3f9 fixing typo =( 2006-01-27 04:27:08 +00:00