Commit Graph

32 Commits

Author SHA1 Message Date
Tim Hunt 5df0a6b47e MDL-34841 error importing questions with long names.
The problem was with the non-UTF-8-safe way that a question name
was being constructed from the question text.

I have done a proper fix with methods in the base class to
carefully construct a question name that is reasonable, and
which will fit in the database column. Then I have changed all
importers to use the new methods.

I also remembered not to break the lesson in the process.
2012-09-12 17:38:40 +01:00
Jean-Michel Vedrine cc0188c21c MDL-25492 Blackboard V6+ question import is broken. 2012-08-24 13:52:05 +02:00
Jean-Michel Vedrine 9832fde1c0 MDL-34738 fix for the problem found during testing : dat files not accepted on some servers 2012-08-22 16:38:08 +02:00
Jean-Michel Vedrine 8a8dd7d8c8 MDL-34738 qformat blackboard: blackboard format is broken 2012-08-18 10:55:26 +02:00
Dan Poltawski 86cfd9966a MDL-32220 question import: readquestions arguments change
Removed the context parameter for blackboard and blackboard_six formats.

This parameter was removed in 4d188926
2012-04-04 14:46:54 +08:00
Petr Skoda e2bb3c9275 MDL-32094 some more E_STRICT fixes 2012-03-18 20:40:20 +01:00
Ankit Kumar Agarwal 9e07e9a782 MDL-30158 Questions Cleaning up blackboard/format.php 2011-11-07 11:11:04 +05:30
Tim Hunt 9c197f4445 MDL-20636 Fix some more codechecker issues. 2011-05-14 22:53:25 +01:00
Tim Hunt c7df5006b9 MDL-20636 Add lots of missing public/protected/private. 2011-03-23 16:22:25 +00:00
Tim Hunt a17b297d60 MDL-20636 Add missing defined('MOODLE_INTERNAL') || die(); 2011-02-23 16:00:20 +00:00
Tim Hunt d3603157bf MDL-20636 Add @package and GPL boiler-plate to files in /question. 2011-02-22 19:59:12 +00:00
Tim Hunt 49e2bba7cc MDL-20636 Merge import/export formats. XML is not finished (unit test failures). 2011-01-17 18:01:49 +00:00
Petr Skoda 672945b489 PHP4 not used any more 2010-09-18 11:42:02 +00:00
Petr Skoda 4454447d56 MDL-20700 whitespace terror returns 2009-12-16 22:14:17 +00:00
Petr Skoda aeb15530b8 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-04 11:57:52 +00:00
skodak 4313348e36 MDL-14679 fixed some more addslashes() 2008-09-23 21:22:04 +00:00
thepurpleblob b81d2dbee3 MDL-16250
Added support for Essay type questions

Merged from STABLE_19
2008-08-28 10:07:51 +00:00
thepurpleblob 4a5d721cd6 MDL-8130
Change html_entity_decode to PHP5 version and also fix problem with shortening question to derive name.
2008-08-19 10:46:27 +00:00
tjhunt 6d99cadd0f MDL-16057 - Blackboard import format relies on lib/tcpdf/html_entity_decode_php4.php, which no longer exists. This is not a fix. It just does enough so you can use other import formats. 2008-08-15 03:22:33 +00:00
skodak 294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
tjhunt 53a4d39f1c Clean up whitespace. 2007-04-24 23:26:48 +00:00
tjhunt 3509094e65 Remove blank line at start of file. 2007-04-13 16:25:10 +00:00
pichetp 41a89a0748 Give the question bank code sensible PHPdocumentor package names. 2007-03-20 02:10:26 +00:00
thepurpleblob 3bf7621121 Fixed true/false bug due to new 'correctanswer' field. 2007-03-14 15:16:20 +00:00
thepurpleblob 3d903fcbcc MDL-8342 PHP5 migration thing causing string offset fatal error when data not present in XML file. Added some checks. 2007-01-30 15:16:47 +00:00
thepurpleblob 2e15284e31 MDL-8130 Number of improvements to check name length and improve HTML Entity handling. Thanks to Paul Ortman. 2007-01-16 11:23:32 +00:00
thepurpleblob b0b95fe6fb Merged from STABLE. Fix for MDL-7703. Fixed scope problem by moving all
functions inside the class. Also fixed some notices.
2006-11-28 15:14:37 +00:00
tjhunt fdc8e778d5 MDL-6984 - Problem with Blackboard 5 import in PHP5. Fix based on a suggestion from Arthur Manning. Merged from MOODLE_16_STABLE. 2006-10-16 10:14:45 +00:00
tjhunt 2befe77859 Convert tabs to spaces. 2006-08-10 18:23:09 +00:00
thepurpleblob eaaf06f1ce Merged from STABLE 2006-07-05 11:51:08 +00:00
gustav_delius f5565b6969 Removing some more references to quiz from import/export code 2006-03-01 07:36:09 +00:00
thepurpleblob 84769fd8a8 Moving quiz import/export files to new question area. 2006-02-24 15:14:09 +00:00