Commit graph

186 commits

Author SHA1 Message Date
pichetp
a800639b62 MDL-20189 correcting for the value of correctanswerlength on calculated export 2009-09-04 02:09:23 +00:00
gbateson
50476da5c3 MDL-20184 use $this->error() to print error message if no questions found importing from a Hot Potatoes XML file into Moodle's question bank / Quiz module 2009-09-01 01:25:23 +00:00
gbateson
e564571835 MDL-20184 more efficient and accurate detection of missing nodes in xml tree when importing Hot Potatoes XML files to Moodle question bank / quiz module 2009-09-01 01:05:41 +00:00
gbateson
eb01b2e976 MDL-20184 when importing questions from Hot Potatoes files to Moodle question-bank / Quiz module, the readquestions() function wil return "false", to signify an error, if no questions are detected in the import file 2009-08-31 02:08:00 +00:00
gbateson
489a7b243f MDL-20185 detect zero, "0", as an answer for a gap in a JCloze when importing to the Moodle's question bank / Quiz module 2009-08-31 01:36:01 +00:00
pichetp
505f73421c MDL-19519 , MDL-1728 Adding database question_calculated_options 2009-08-22 15:38:51 +00:00
nicolasconnault
fef8f84e4b MDL-19822 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 05:19:00 +00:00
nicolasconnault
6dbcaceef1 MDL-19418 Replaced ereg* by preg* 2009-06-22 01:22:37 +00:00
pichetp
9c1c6c7f75 MDL-17366 allow calculatedsimple question type XML import and export 2009-06-02 17:12:27 +00:00
gbateson
8693dca9a0 MDL-18883: fix setting of absolute urls for images in subfolders of course files 2009-04-17 01:51:35 +00:00
mudrd8mz
0cd25539b9 MDL-18644 Bugs found by syntax checker, merged from MOODLE_19_STABLE 2009-03-23 10:25:52 +00:00
thepurpleblob
c95defa90b MDL-18555:
Adding better handling for unsupported question types.

Merged from STABLE_19
2009-03-16 14:25:30 +00:00
tjhunt
c32f2e5c64 gift import: MDL-18390 better way to get the question type name. 2009-03-12 06:00:55 +00:00
thepurpleblob
f040135da5 MDL-18390 - now correctly looks up name of questiontype from language pack
Merged from STABLE19
2009-03-11 13:16:54 +00:00
thepurpleblob
c05878500b MDL-18390:
Correctly report unhandled question types and get string from language pack.
2009-03-03 15:36:17 +00:00
tjhunt
47de80c701 Aiken question import: MDL-18423 Greater robustness when parsing. 2009-03-03 05:11:55 +00:00
tjhunt
64ead3edee Nuke irrelevant comment. 2009-02-11 07:24:29 +00:00
thepurpleblob
9843511764 MDL-17779
Add simple check that question at least has questiontext before allowing it.
2009-01-05 15:23:10 +00:00
dongsheng
9ee948813a "MDL-14129, fixed hardcoded print_error" 2008-09-25 08:03:54 +00:00
skodak
4313348e36 MDL-14679 fixed some more addslashes() 2008-09-23 21:22:04 +00:00
skodak
4370f063b3 MDL-16644 removing stripslahses() and friends 2008-09-23 21:15:41 +00:00
thepurpleblob
3695cfa93f MDL-16570
Use CDATA sections for text where required. More readable and less error
prone.

Merged from MOODLE_19_STABLE
2008-09-19 10:01:47 +00:00
thepurpleblob
73b7b195ed MDL-16198
Blackboard V6+ can now handle the .dat file directly as an option to the .zip file
Some changes needed to recover the original filename.

Merged from STABLE_19
2008-08-28 13:49:25 +00:00
thepurpleblob
33ed59a208 MDL-16252
Fixed some notices with essay questions when there is no feedback

Merged from STABLE_19
2008-08-28 10:59:22 +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
scyrma
c951bf6e29 Little bit of performance improvement. 2008-08-19 06:03:18 +00:00
tjhunt
bd379592df MDL-14431 - followup: after the rename qti2 -> qti_two, there were still some references to the old qti2 folder name. 2008-08-15 03:23:04 +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
tjhunt
5712be1c6f MDL-16056 - Aiken format should treat input as plain text, and so escape HTML special characters. 2008-08-15 03:13:24 +00:00
tjhunt
6e0ddb6b71 MDL-14431 - followup: after the rename qti2 -> qti_two, there were still some references to the old qti2 folder name. 2008-08-15 02:44:12 +00:00
thepurpleblob
6e01bf1535 MDL-15885
QTI fixes from Niall Barr

Merged from STABLE_19
2008-08-04 10:20:51 +00:00
dongsheng
ac93d63d2a MDL-14129, remove error() in question module 2008-07-24 04:20:44 +00:00
tjhunt
e6099294d5 MDL-14413 - Invalid function name - is_image_by_extentsion in QTI export 2008-07-15 09:18:36 +00:00
tjhunt
cdfaa8386e Removing calls to depricated stripslashes. It is no longer needed with dmllib 2.0. 2008-07-14 15:29:30 +00:00
thepurpleblob
fb2ce31bfc MDL-14431:
Moving qti2 to qti_two as numbers are not allowed in module names
2008-07-11 10:49:08 +00:00
thepurpleblob
fba84198e5 MDL-14431:
Changing name of qti2 format, as digits not allowed in module names
2008-07-11 10:47:19 +00:00
thepurpleblob
f94902db28 MDL-15008
Make question import/export formats fully pluggable, especially in respect of languages.
2008-07-10 15:06:19 +00:00
scyrma
5a254a2938 MDL-14279: use get_file_url instead of checking $CFG->slashargument manually (merge from 1.9) 2008-07-10 09:55:11 +00:00
thepurpleblob
e7ef42f531 MDL-15473
Fixed typo causing the image location to be ignored if the base_64 image is not included.

Mereged from STABLE_19
2008-07-07 11:54:39 +00:00
thepurpleblob
169d0efa6c MDL-MDL-15173
Remove obsolete coursetestmanager format to contrib
2008-06-16 14:39:44 +00:00
dongsheng
d9f30321da "MDL-14129, fix print_error" 2008-06-15 11:07:51 +00:00
skodak
294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
nicolasconnault
f34488b2e6 MDL-15102 Upgrade to DMLLIB 2.0. Needs further testing and bug-fixing. 2008-06-06 14:43:15 +00:00
tjhunt
c0ffeb3969 MDL-14764 - Imported multichoice questions may have a blank answernumbering value, which results in an "ERR" prefix to all answers' text. Thanks to Nate H for the fix. 2008-05-27 13:42:27 +00:00
dongsheng
0be2c85848 "MDL-14129, fix print_error call" 2008-05-21 07:53:23 +00:00
skodak
42519b5d7e MDL-14451 removed 1.4 compatibility code 2008-05-12 22:56:48 +00:00
thepurpleblob
3f5633df11 MDL-14406
Ensure 'length' field for description type questions is 0 and that
default for all questions is 0

Merged from STABLE_19
2008-05-01 12:21:55 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
thepurpleblob
fc22da99e2 Added check for <text> fields that contain markup (an error!)
Merged from STABLE_19
2008-02-12 11:57:39 +00:00