470 Commits

Author SHA1 Message Date
tjhunt
b63c5b5905 MDL-9094 - Penalty factor is meaningless for Essay questions, so remove it from the editing form. Manual merge of the corresponding change from MOODLE_17_STABLE. 2007-03-29 23:00:48 +00:00
pichetp
c9e4ba362d integrate the new $question->export_process parameter for export 2007-03-29 09:09:16 +00:00
thepurpleblob
fccf96bdeb Mmm... bit of comment oddness crept in. Don't know if it was a slip of an
editor key by yours truly!
2007-03-28 12:04:08 +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
pichetp
cb0245556f creating correctly a new shared dataset on import 2007-03-28 04:51:50 +00:00
pichetp
3f76dd525f adding import and export datasets functions 2007-03-28 04:03:07 +00:00
tjhunt
88495aa8d2 Followup to MDL-8994 - validate the category id we got from the form. Merged from MOODLE_18_STABLE. 2007-03-22 22:02:14 +00:00
tjhunt
6a5e9a8506 MDL-9004 - Breadcrumb trail is wrong when editing a quiz question. Merged from MOODLE_18_STABLE. 2007-03-22 11:46:15 +00:00
tjhunt
6000365ee4 MDL-8994 - Question category selector on the question type editing forms is ignored. Merged from MOODLE_18_STABLE. 2007-03-22 00:10:47 +00:00
tjhunt
c2f8c4be5f Improve string handling in the question type base class. Merged from MOODLE_18_STABLE. 2007-03-21 17:12:50 +00:00
thepurpleblob
1710226966 Check for empty text strings. Thanks to Quedoc. 2007-03-21 11:18:28 +00:00
tjhunt
d187f66046 MDL-8946 - Fix a regression that broke question export. Also, partially clean up the way that question bank navigation tabs are printed, so the code is not duplicated in the quiz. Some other miscellaneous code cleaning too. Merged from MOODLE_18_STABLE. 2007-03-21 10:41:28 +00:00
pichetp
830e47a817 Give the question bank code sensible PHPdocumentor package names. 2007-03-21 02:04:53 +00:00
tjhunt
77fa3a0dad MDL-8978 - Regression from MDL-6386. Merged from MOODLE_16_STABLE. 2007-03-21 00:19:24 +00:00
tjhunt
93c80e1c0e MDL-8140 Other units disappear from the editing form when there is no unit with multiplier 1. Merged from MOODLE_18_STABLE. 2007-03-20 22:23:56 +00:00
tjhunt
1f8db78091 MDL-6386/MDL-6462 - yet more special character issues with multianswer. I think I have got them all this time. 2007-03-20 14:30:44 +00:00
tjhunt
b25486fc72 Matching qestion type was failing to correctly determine wheterh the student had changed their answer. 2007-03-20 14:06:56 +00:00
pichetp
9e20fbc2f4 Give the question bank code sensible PHPdocumentor package names. 2007-03-20 14:05:10 +00:00
pichetp
41a89a0748 Give the question bank code sensible PHPdocumentor package names. 2007-03-20 02:10:26 +00:00
pichetp
bd2b6ad362 Give the question bank code sensible PHPdocumentor package names. 2007-03-20 02:03:18 +00:00
pichetp
1976496e38 Give the question bank code sensible PHPdocumentor package names. 2007-03-19 22:04:30 +00:00
tjhunt
4323d02959 Give the question bank code sensible PHPdocumentor package names. 2007-03-19 17:22:46 +00:00
poltawski
76a2edc8fd MDL-6386 - Regression from MDL-6462, lost stripslashes in CLOZE question,
thanks to Joseph Joseph Rézeau  for his attention to this issue. Merged
from MOODLE_18_STABLE
2007-03-17 22:55:05 +00:00
tjhunt
e51efd7ea7 MDL-6462 - Cloze (multianswer) question special character issues. Merged from MOODLE_16_STABLE. 2007-03-15 12:59:10 +00:00
skodak
b4c46a8b0f MDL-8913 use proper returned reference assignment for forms elements (PHP4 trouble); merged from MOODLE_18_STABLE 2007-03-15 12:42:39 +00:00
tjhunt
277e551b88 Oops, reverting. Eloy had already fixed it. 2007-03-14 21:10:55 +00:00
tjhunt
2099d05dec MDL-8232 - can't use = on TEXT colums with MSSQL - was breaking numerical question type upgrade. 2007-03-14 21:07:37 +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
tjhunt
5b0dc681ad Use the right string processing when outputting question text on import/export. 2007-03-13 16:24:13 +00:00
tjhunt
70ed76670e Use the right string processing functions when outputting question names. 2007-03-13 16:20:41 +00:00
thepurpleblob
55c548682f MDL-8857
Make numerical and essay question formats more consistent.
2007-03-12 16:32:52 +00:00
pichetp
92e2ed8f16 merge from 18_STABLE 2007-03-10 10:31:49 +00:00
tjhunt
5dba65907b MDL-8177 - Random questions selected deleted questions. Merged from MOODLE_18_STABLE. 2007-03-10 00:34:05 +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
toyomoyo
377314aee5 forgot to check this in 2007-03-09 02:59:52 +00:00
pichetp
38a2212c8f merge from 18 STABLE MDL-8809 2007-03-08 07:10:12 +00:00
pichetp
a7b696ef38 merge from 18 STABLE MDL-8809 2007-03-08 07:02:53 +00:00
pichetp
fd0973ccaa merging form 18 STABLE MDL-8809 2007-03-08 06:57:33 +00:00
pichetp
f6232d583e merge from 18-STABLE MDL-8809 2007-03-08 06:53:36 +00:00
pichetp
0f22fa4157 merge from 18 (adding null) MDL-8806 2007-03-07 19:44:55 +00:00
pichetp
f0ee68f738 first modifications MDL-5650 2007-03-07 16:31:58 +00:00
tjhunt
08eef20df4 MDL-8349 - responses not being filtered in history display. Merged from MOODLE_18_STABLE. 2007-03-06 18:00:23 +00:00
tjhunt
b030a630c0 MDL-8764 - In menus, show question categories from this course first, then published categories from other courses. Merged from MOODLE_18_STABLE. 2007-03-05 18:05:51 +00:00
pichetp
30917ac041 merge from 18-STABLE MDL-8389 2007-03-05 08:14:40 +00:00