pichetp
34018d81aa
MDL-11867 setting real null when response is null in calculated question
2007-11-01 00:27:57 +00:00
pichetp
20bf2c1a3f
solving MDL-7496 for calculated
2007-10-31 02:31:33 +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
tjhunt
ebf83e2c6f
MDL-11708 - Zero answers are not allowed in Matching questions - sometimes I hate PHP. Merged from MOODLE_18_STABLE.
2007-10-22 16:57:19 +00:00
tjhunt
9b75adc2e3
MDL-11824 - Literal asterisk (\*) in shortanswer question not handled correctly by get_correct_responses + Unit tests. Merged from MOODLE_18_STABLE.
2007-10-22 15:37:31 +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
nicolasconnault
ed818bbdbf
MDL-10905 iterating correctly with readdir (as shown in php doc)
2007-10-15 05:18:58 +00:00
gbateson
2958e18586
where the correct responses on a JQuiz multiple choice question all have a score of 0%, the scores will be corrected to 100%
2007-10-15 01:00:38 +00:00
skodak
f2e4a0818a
preparation for 1.9 beta 2 - setting correct requires in mods and plugins
2007-10-10 16:09:17 +00:00
tjhunt
3270033ab8
MDL-11703 - escaped *'s in shortanswer answers were not matching properly. Merged from MOODLE_18_STABLE.
2007-10-10 15:26:45 +00:00
jamiesensei
6f9ce92696
fix for MDL-11692. There were notices about subquestions not being defined. This seems to indicate that there is a problem elsewhere that somehow matching questions without subquestions are in the site db. But suppressed the notice by testing to see if subquestions is set before looping through the questions.
2007-10-10 15:23:24 +00:00
skodak
03cedd6283
MDL-11432 eliminated majority of RecordCount uses, added several missing rs_close() - this should help improve perf on some platforms - Eloy says ;-)
2007-10-10 12:19:27 +00:00
iarenaza
0baafc173a
Fix MDL-11632: Multiple files with emtpy lines outside PHP open/close tags
...
There are multiple issues with Moodle files containing empty or blank lines
(lines consisting of white spaces or tabs only) and/or white space before or
after the PHP open and close tags, notably with config.php and theme files.
2007-10-09 21:43:28 +00:00
thepurpleblob
6f8481ec0a
MDL-11425:
...
Process the text properly for the category path.
Merged from STABLE_18.
2007-10-09 10:16:01 +00:00
pichetp
4bc4ca50a6
checking that there remain $oldwrappedids before deleting them lines 87-..
...
add if(is_array($oldwrappedids) && count($oldwrappedids)){
2007-10-06 20:51:28 +00:00
pichetp
aa78ab4cb3
missing global $CFG ; line 577
...
function save_dataset_items($question, $fromform){
global $CFG;
2007-10-06 19:02:26 +00:00
jamiesensei
be801b8b3a
MDL-11139 "Need to pass courseid or cmid to this script when moving questions between categories " added COURSE to globals in function that redirects browser to contextmoveq page.
2007-10-03 04:42:57 +00:00
jamiesensei
489984a7a2
fix for fatal error in tabs.php because of missing global var contexts.
2007-10-03 03:16:27 +00:00
skodak
446f9d888a
MDL-11516 removed Call-time pass-by-reference when using get_question_options()
2007-09-29 16:18:01 +00:00
skodak
42626376f3
MDL-11442 removed last instances of global $course
2007-09-27 08:18:28 +00:00
jamiesensei
11a6096775
fixed closing of popup on saving question which was broken and also added closing of popup on cancel.
2007-09-27 08:17:09 +00:00
jamiesensei
cb14dd6316
modifiedby and timemodified is now set when a question is created as well as createdby and timecreated instead of being left as zero
2007-09-27 07:41:58 +00:00
tjhunt
411efaee25
MDL-5327 - When making up a default question name from the question text, strip any HTML tags. Merged from MOODLE_18_STABLE.
2007-09-27 06:54:17 +00:00
tjhunt
f59dba8497
MDL-11398 - Random questions sometimes ended up with names different from the cateogry they were actually picking from. Also, the same random questoin could be used in more than one quiz, in which case editing that question would change two quizzes unexpectedly. The fix is:
...
* Don't let the user set the name for random questions.
* Instead force the name to be "Random (catname)" (localised) whever the question is created or saved.
* When a category is renamed, rename all the random questions in it.
* Remove the restriction that Jamie seems to have added in 1.9 that was preventing the category of random questions from being edited.
2007-09-26 16:10:38 +00:00
stronk7
126984a047
Second pass. Questions. Some more default comments are out. MDL-11385
2007-09-24 22:20:37 +00:00
tjhunt
b92ffdf9ac
Whitespace cleanup.
2007-09-24 15:45:29 +00:00
tjhunt
80fdc53efd
Related to MDL-10916 - saving Cloze questions in Moodle 1.9 generates Notices because of changes to questionstupe_base::save_question.
2007-09-24 14:18:47 +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
jamiesensei
87dfa4d26f
MDL-11423 removed a stray print_object call
2007-09-24 13:23:58 +00:00
tjhunt
ec2692a699
MDL-11316 - Extra slashes appearing in the correct answer of shortanswer questions when they contain a slash. Merged from MOODLE_18_STABLE.
2007-09-21 18:28:45 +00:00
tjhunt
8cf0f100b8
MDL-11392 - Stupid bloody requirement to call addslashes between loading data from the database and saving it back, because we don't use placeholder. Was breaking question bank upgrade.
2007-09-21 17:10:39 +00:00
tjhunt
095b599a7f
MDL-9952 - Cant escape # by using \ in a Cloze question. Merged from MOODLE_18_STABLE.
2007-09-21 16:18:06 +00:00
tjhunt
c033e37f16
Notices on restore.
2007-09-20 15:57:02 +00:00
tjhunt
c5ccb82c61
XHTML Strict in question state history table. Merged from MOODLE_18_STABLE.
2007-09-20 15:10:04 +00:00
tjhunt
314fc083d9
MDL-10824 - spaces in javascript URLs are not strictly valid. Merged from MOODLE_18_STABLE.
2007-09-19 17:44:52 +00:00
thepurpleblob
ad2cd664d7
Typo!
...
Merged from STABLE_18
2007-09-18 12:30:19 +00:00
tjhunt
c767d3b7d3
MDL-11317 - Slashes displayed in incorrect responses for short answer questions. Fix by adding stripslashes in the appropriate place. Merged from MOODLE_18_STABLE.
2007-09-18 12:15:22 +00:00
jamiesensei
8f0f605ddf
moved question_make_default_categories function to questionlib.php since it is needed by other modules outside the question bank editing interface.
2007-09-18 11:23:29 +00:00
tjhunt
4da81e7342
MDL-11310 - Multichoice edititing form should have space for 5 answers by default. Merged from MOODLE_18_STABLE.
2007-09-17 14:39:52 +00:00
thepurpleblob
8cc7d98a31
Forgot to take out duplicate question count check.
...
Merged from STABLE_18
2007-09-17 11:01:53 +00:00
thepurpleblob
2c6d2c888c
MDL-11279:
...
Code was not properly checking for empty category.
Check moved to right place and proper print_error() function called as appropriate
Merged from STABLE_18
2007-09-17 10:57:49 +00:00
tjhunt
83d22f7064
MDL-11271 - The closing bracket "}" can't be used in cloze question type. Now, you can excape a closing } with a backslash. Do feedback, as well as answer. Merged from MOODLE_18_STABLE.
2007-09-14 09:42:53 +00:00
tjhunt
9c61c44fc1
MDL-11271 - The closing bracket "}" can't be used in cloze question type. Now, you can excape a closing } with a backslash. Merged from MOODLE_18_STABLE.
2007-09-14 09:34:52 +00:00
tjhunt
ace1bf9d8e
MDL-11284 - Can't save edited questions
2007-09-14 09:33:30 +00:00
tjhunt
d9935f2985
MDL-11231 - Missing "correct" tick in Close question with answer '0'. Merged from MOODLE_18_STABLE.
2007-09-13 10:47:05 +00:00
jamiesensei
15822170d4
removing require that is not needed
2007-09-11 09:01:21 +00:00
jamiesensei
479cca8a1e
fix to make breadcrumbs module independent
2007-09-11 08:23:00 +00:00
jamiesensei
15b83581ce
test for has_capability before displaying choosecoursefile control as if user does not have permission then control is useless.
2007-09-10 13:28:18 +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
jamiesensei
9fc3100f27
fix for MDL-11106 Images not showing up in shared categories
2007-09-04 11:55:10 +00:00