skodak
42626376f3
MDL-11442 removed last instances of global $course
2007-09-27 08:18:28 +00:00
tjhunt
4ab4dcb27a
MDL-10916 - Import and Export of Cloze question misses out "generalfeedback" column. Merged from MOODLE_17_STABLE.
2007-09-24 14:17:23 +00:00
thepurpleblob
ad2cd664d7
Typo!
...
Merged from STABLE_18
2007-09-18 12:30:19 +00:00
pichetp
7ba1111637
Correcting a little error: datesetitem = array(); instead of datasetitem = array();
...
line +-550 $question->dataset[$datasetname]->datasetitem = array();
2007-09-07 02:38:02 +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
228b6f6b1d
MDL-10785:
...
empty() changed to !isset()
Merged from STABLE_18
2007-08-10 07:17:46 +00:00
jamiesensei
271e6decda
merging MOODLE_19_QUESTIONS with HEAD
2007-08-09 21:51:09 +00:00
thepurpleblob
64de04fb09
Added hooks to qtype import/export
2007-08-09 14:12:12 +00:00
thepurpleblob
392238d626
Was not checking error return from plugin export properly
2007-08-08 15:23:11 +00:00
thepurpleblob
a41e328736
MDL-6367:
...
First shot at import/export support in plugins.
2007-08-08 10:45:09 +00:00
thepurpleblob
c56abad900
MDL-10680:
...
subquestions/subanswers needed swapped for matching questions
Merged from STABLE_18
2007-08-01 13:44:35 +00:00
thepurpleblob
1b36a58597
MDL-10239:
...
Improper check for correct answer in true/false questions
2007-07-26 15:08:16 +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
thepurpleblob
e53ff7f60a
MDL-10380:
...
Check for randeredmatch plugin done using array_key_exists() for PHP4
compatibility
MDL-10317:
Question name is now the question ID, rather than the question text.
2007-07-13 08:36:14 +00:00
thepurpleblob
1d1e8f2bab
MDL-10380:
...
Modified check for existence of renderedmatch plugin so that it sees it properly.
Bodged weird parameter passing issue so that correct answer choices are found.
2007-07-11 13:57:59 +00:00
thepurpleblob
f0c1799e43
MDL-10415:
...
Aiken format returns/
2007-07-11 09:18:32 +00:00
thepurpleblob
3e60818b91
MDL-10240:
...
Added Bb Short Response as a Moodle Essay type question.
Found quite a lot of stuff that could do to be checked and improved
in this code, so this should be considered an intermediate step.
2007-06-29 14:32:20 +00:00
tjhunt
eedb2494ed
Fix whitespace.
2007-06-15 10:24:29 +00:00
thepurpleblob
d022bf655e
MDL-9265:
...
'correctanswer' field missing for true/false.
2007-06-01 08:25:18 +00:00
thepurpleblob
caa99ee735
Fixed typo stopping image importing working
2007-05-31 08:32:07 +00:00
thepurpleblob
2377f8dcd4
MDL-9716
...
'answernumbering' field now supported
2007-05-29 15:19:12 +00:00
thepurpleblob
81a7a02b8f
Progress with making the code a bit more resilient.
...
Added XML tidy up if tidy extension is available.
2007-05-23 12:52:33 +00:00
thepurpleblob
6af98025d7
merged from STABLE18
2007-05-21 13:11:06 +00:00
pichetp
6e8f63c6d4
removing $qo->generalfeedback = ''; line 640 as generalfeedback is already set in
...
import_headers().
2007-05-13 15:07:07 +00:00
pichetp
d1c432e207
adding more validation and a dummy subquestion in MATCH if there is only 2 subquestions.
2007-05-08 19:19:09 +00:00
poltawski
a044c05ddb
MDL-9742 - changed tabs to spaces in a few places where there are one
...
or two
2007-05-08 15:07:25 +00:00
thepurpleblob
460135234c
MDL-9700:
...
Added more comprehensive checks for missing fields not exported in
previous versions.
More could be done, but this covers the basics and works for 1.6 (and
probably 1.5) exports.
2007-05-08 14:24:13 +00:00
pichetp
eeea21878d
adding calculated question import MDL-5650
2007-05-07 04:01:20 +00:00
thepurpleblob
fa5cb18b74
MDL-9577:
...
Fixing change of name (answer => correctanswer) for true/false questions.
2007-04-25 09:43:37 +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
c9e4ba362d
integrate the new $question->export_process parameter for export
2007-03-29 09:09:16 +00:00
thepurpleblob
5fd8f999d3
A couple of changes to Pierre's calculated question import/export
...
export_process and import_process flags now apply to all questions
and what looked like a development print_r has been commented out.
2007-03-28 11:58:44 +00:00
pichetp
725ba2a062
first version of calculated question import, MDL-8673, somme echos left to diagnostics
...
possible bugs
2007-03-28 05:00:36 +00:00
thepurpleblob
1710226966
Check for empty text strings. Thanks to Quedoc.
2007-03-21 11:18:28 +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
532344b2cc
Fixed some hardcoded strings in GIFT format.
2007-03-14 14:09:57 +00:00
thepurpleblob
4089729b66
Use $this->error for only error report
2007-03-14 13:14:37 +00:00
thepurpleblob
f37015613c
MDL-8898
...
Improvements to error handling in question bank import/export.
2007-03-14 13:03:57 +00:00
tjhunt
0c6b4d2e81
Entity decoding only done the right number of times on import, not once too often.
...
Also, fix a notice and and Eclipse warning.
2007-03-13 16:27:24 +00:00
thepurpleblob
55c548682f
MDL-8857
...
Make numerical and essay question formats more consistent.
2007-03-12 16:32:52 +00:00
pichetp
fde0ef3922
merging from 18 STABLE
2007-03-09 05:50:55 +00:00
pichetp
46551466d8
modifs MDL-5650
2007-03-09 05:28:40 +00:00
pichetp
f0ee68f738
first modifications MDL-5650
2007-03-07 16:31:58 +00:00
toyomoyo
602b17e715
merged fixing indenting
2007-03-02 01:59:19 +00:00
tjhunt
3ed998f343
MDL-6773 - eliminate duplicate code for getting a list of question categories. Merged from MOODLE_18_STABLE.
2007-03-01 09:45:53 +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