Commit Graph

51 Commits

Author SHA1 Message Date
Tim Hunt 0519420f59 MDL-28349 error when GIFT-importing essay questions. 2011-08-15 16:17:16 +01:00
Tim Hunt 3c78184552 MDL-27974 problems with gift question import/export.
Double-escapeing in match export and not initialising combined feedback on import.

Also remove a lot of redundant breaks.
2011-06-22 15:26:34 +01:00
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 d649fb0221 MDL-20636 Remove all references to global $QTYPES.
Except in the question types that have not yet been converted to the new question engine.
2011-02-24 15:29:07 +00:00
Tim Hunt 5e8a85aa64 MDL-20636 Massively reduce the number of references to quiz in the question code.
This mostly involves moving lang strings around, but I don't have time to do an AMOS script now.
2011-02-23 18:53:50 +00:00
Tim Hunt f7970e3ca7 MDL-20636 Eliminate integer and boolean in PHPdoc comments. should be int and bool. 2011-02-23 16:25: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 74c479f212 MDL-20636 Merge branch 'master' into qe2_wip
Conflicts:
	lib/questionlib.php
	question/type/calculated/lang/en/qtype_calculated.php
	question/type/questiontype.php
2011-02-03 11:18:40 +00:00
Tim Hunt 2c00fa161e qformat_gift MDL-26059 fails to import truefalse questions with answer true. 2011-01-18 21:38:34 +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
Tim Hunt d1b7e03d5d MDL-20636 Current work-in-progress converting the question engine to Moodle 2.0 2011-01-13 18:35:29 +00:00
Tim Hunt b80d424c50 question export MDL-25324 Better file names for question exports. 2010-11-19 11:02:28 +00:00
Tim Hunt 5b744492a6 gift import/export MDL-25088 another attempt at fixing it, this time with unit tests. 2010-11-19 10:27:29 +00:00
Tim Hunt 13bb604ed5 question export MDL-25088 this is the first part. I think question export is now working for all types.
Import to follow soon.
2010-11-12 12:06:48 +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
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
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
skodak 294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +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
toyomoyo 3ea69b8d43 MDL-12346, lesson module GIFT import fails 2007-11-29 04:31:57 +00:00
tjhunt 0d4c63d7fb MDL-11825 - Force penaltyfactor to 1 for truefalse questions on GIFT import, as is done on the editing form. Merged from MOODLE_18_STABLE. 2007-10-25 09:43:06 +00:00
thepurpleblob 0db7823cf9 MDL-11769:
question name is properly truncated to less than 255 characters tom
stop PostGRES choking.
2007-10-15 13:50:57 +00:00
thepurpleblob 13e88db4a2 MDL-10819:
GIFT now exports grade fractions for numeric questions

Merged from STABLE_18
2007-08-20 10:36:30 +00:00
thepurpleblob d510ec64b6 MDL-10902:
Whoops! Overwrote question object. Variable name changed
Thanks to Adriane Boyd for spotting that one.

Merged from STABLE_18
2007-08-18 09:33:45 +00:00
thepurpleblob 4433fff5a8 Moved check for plugin import/export to the start rather than the end
Merged from STABLE_18
2007-08-17 09:47:51 +00:00
thepurpleblob 64de04fb09 Added hooks to qtype import/export 2007-08-09 14:12:12 +00:00
thepurpleblob e8825e724b MDL-10531:
GIFT now handles Essay and Description type questions. See help/docs.

Merged from STABLE_18
2007-07-21 07:39:22 +00:00
pichetp 41a89a0748 Give the question bank code sensible PHPdocumentor package names. 2007-03-20 02:10:26 +00:00
thepurpleblob 532344b2cc Fixed some hardcoded strings in GIFT format. 2007-03-14 14:09:57 +00:00
thepurpleblob f37015613c MDL-8898
Improvements to error handling in question bank import/export.
2007-03-14 13:03:57 +00:00
thepurpleblob 7939a4a0cb MDL-8563
$question->answer was swapped for $question->correctanswer in questiontype
for some reason! Compensated for in format type.
2007-02-21 14:20:46 +00:00
thepurpleblob f1abd39fe5 MDL-8450 Added support for including question categories in a quiz export. Also a bit of format tidy up and fix a misshandled sesskey. 2007-02-07 10:29:53 +00:00
thepurpleblob 5363b5551b MDL-7913 Improved category detection (again) to extract all characters. 2007-01-05 10:35:13 +00:00
tjhunt 09db6da231 MDL-7972 - improve GIFT import export for truefalse questions.
Also clean up whitespace in question/format/gift/format.php.
MDL-7928 - Numerical question type should use * for the match anything answer - GIFT format part. - Merged from MOODLE_17_STABLE.
2006-12-18 16:38:58 +00:00
thepurpleblob 6575b04f25 Improved regep for category switching 2006-12-01 16:06:06 +00:00
thepurpleblob b39c7aada6 Added ability to specify destination category within GIFT file.
MDL-4163
2006-11-29 13:34:32 +00:00
thepurpleblob dfdce7fba9 Merged from stable - colons can now be escaped
Resolves MDL-6915
2006-11-24 12:03:42 +00:00
tjhunt 172f6d95e1 Fix bugs with GIFT import. Merged from MOODLE_17_STABLE. 2006-10-17 10:56:35 +00:00
thepurpleblob 8daaaafcf0 Merged from STABLE 2006-08-15 14:39:47 +00:00
tjhunt 2befe77859 Convert tabs to spaces. 2006-08-10 18:23:09 +00:00
tjhunt 87ee4968e5 Bug #4811 (and several dups!) - Matching questions should treat identical answers as the same. 2006-07-21 13:58:00 +00:00
tjhunt fc05b7d1ca Doh! remove debug code. Sorry. 2006-07-12 17:54:45 +00:00
tjhunt 1fe641f7b4 Bug 5968 - Improvements to the numerical question type. You can now display feedback for wrong answers. You can also award partial credit for different levels of accuracy. 2006-07-12 17:49:14 +00:00
thepurpleblob 36e2232e27 Merged from STABLE. 2006-05-13 08:49:46 +00:00
gustav_delius f5565b6969 Removing some more references to quiz from import/export code 2006-03-01 07:36:09 +00:00