Commit graph

144 commits

Author SHA1 Message Date
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
gbateson
fee4328c6b Further improvement to generation alternative matches in JMatch 2006-01-26 12:11:36 +00:00
gbateson
27e4e81f1b micro increment version to 2.1.11 2006-01-25 07:31:37 +00:00
gbateson
ea2cf99599 added backup/restore compatibility for Moodle 1.5 (and earlier) 2006-01-25 07:20:13 +00:00
moodler
0c25b4534e bug fixes 2006-01-23 03:15:45 +00:00
gbateson
db5170674c removed some extraneous white space 2006-01-22 04:40:27 +00:00
gbateson
fb1b789fd6 standardized line endings, so that README.TXT is readable on Windows machines 2006-01-22 04:39:37 +00:00
gbateson
2266fc893e fix typo: "get_user_preference" => "set_user_preference" 2006-01-21 06:48:23 +00:00
gbateson
b74d340762 only display "Excel" option, if an Excel library is available 2006-01-21 06:46:48 +00:00
gbateson
05b88e80df addslashes to "name" and "summary" when they are set from the HP quiz file;
increment version to v2.1.10
2006-01-20 11:27:52 +00:00
gbateson
79050beed7 micro-increment version number to v2.1.9 2006-01-20 01:05:13 +00:00
gbateson
9ddda2cef3 allow duplicate segments on JMatch 2006-01-20 00:59:50 +00:00
gbateson
c5e66883ed use clean_filename for filename of text file download 2006-01-17 13:24:13 +00:00
gbateson
47edd30ca7 uses 4-spaces (Moodle standard) instead of tabs for code indenting 2006-01-17 13:15:16 +00:00
gbateson
43b4804860 micro increment version number to 2.1.8 2006-01-17 12:49:25 +00:00
gbateson
6ed5989c4a in "hotpot" table, rename "microreporting" field to "clickreporting" (PostgreSQL only) 2006-01-17 12:48:37 +00:00
gbateson
8d4632772a mysql does not need to call "hotpot_update_to_v2_1_6()" or "hotpot_update_to_v2_1_8()" functions 2006-01-17 12:46:26 +00:00
moodler
f6691427d9 Added default values where needed for columns in the MySQL creation script mysql.sql.
Added default values to migrate2utf8.xml, for any varchar and text field types, if the default values for these fields were not defined as '' in the MySQL table creation script.

Committed by vyshane
2006-01-17 07:37:29 +00:00
gbateson
20870c450b allow user to set encoding when "lib/excellib.class.php" is not available 2006-01-17 05:45:01 +00:00
gbateson
747c22c5e8 microincrement version number to 2.1.7 2006-01-17 04:31:08 +00:00
gbateson
f78640f467 fixed Excel reports to work with new "excellib.class.php" and fixed Excel and Text reports to handle multicolumn and multirow cells 2006-01-17 04:16:37 +00:00
mjollnir_
f90666aa5c Abstracted a bit of the restore procedure to allow for silent restoring.
Added new function, import_backup_file_silently
Changed everything that prints stuff to check for a constant first.
Backup_flush checks a different constant, this is so that output can still
get flushed to the browser when necessary but not print <li>s everywhere.
Please test this!
2006-01-15 21:09:13 +00:00
gbateson
ff4fad2701 improved readability of "foreign key could not be updated" error message 2006-01-15 02:08:34 +00:00
gbateson
249daa5d3c if foreign keys are missing, backup will not abort, but record will not be restored 2006-01-15 01:47:08 +00:00
gbateson
1a4969431c optimzed SQL query in hotpot_get_participants to return only user ids (not whole user record) 2006-01-14 04:04:57 +00:00
gbateson
b84defd2ad corrected spelling of "Potatatoes" to "Potatoes" on some table comments 2006-01-13 23:07:47 +00:00
gbateson
49b67b7be1 corrected the spelling of "Potatatoes" to "Potatoes" in the comments of several tables 2006-01-13 08:44:40 +00:00
gbateson
e42fa8c5da add questions_name_idx and strings_stirng _idx 2006-01-13 08:37:10 +00:00