725 Commits

Author SHA1 Message Date
tjhunt
cb29abc508 MDL-12666 - When moving questions between categories, we should default to copying amy linked files. Merged from MOODLE_19_STABLE. 2007-12-20 11:28:18 +00:00
tjhunt
9088c6e2e4 MDL-12647 - Moving multiple_choice questions between contexts breaks them.
There was a subtle interaction between get_question_options  and replace_file_links for this question type.

Merged from MOODLE_19_STABLE.
2007-12-19 12:11:03 +00:00
tjhunt
46a5a85b58 MDL-12616 - Improve layout so you can distinguish the student's response to an essay question from the feedback. Merged from MOODLE_19_STABLE. 2007-12-17 12:28:14 +00:00
tjhunt
27cabbe626 MDL-12575 - Backup and restore problems with the new question bank. Merged from MOODLE_19_STABLE. 2007-12-13 18:48:30 +00:00
tjhunt
df06c4bb88 Improve error messages. 2007-12-13 17:24:54 +00:00
tjhunt
d3879eafec Fix Javascript error from essay questions on the review page. 2007-12-12 18:10:48 +00:00
pichetp
4efa376ffb MDL-12421 rounding 2007-12-11 09:13:17 +00:00
pichetp
87cd4f5469 MDL-12503 Loguniform and MDL-12421 rounding 2007-12-11 08:56:24 +00:00
jamiesensei
2c44a3d393 MDL-12410 - a way to select which questions to export, includes debug messages 2007-12-11 03:24:35 +00:00
tjhunt
c85aea03d3 Fix notice in numerical question. 2007-12-10 11:57:24 +00:00
tjhunt
6e4ca69ad7 MDL-12393 - Layout tweaks on question category editing page. Merged from MOODLE_19_STABLE. 2007-11-30 11:00:48 +00:00
toyomoyo
3ea69b8d43 MDL-12346, lesson module GIFT import fails 2007-11-29 04:31:57 +00:00
tjhunt
e049dee30a MDL-12330 - moving a question that uses an image in a subfolder of course files, where the same subfolder does not exist at the destination, fails. Merged from MOODLE_19_STABLE. 2007-11-28 16:43:20 +00:00
tjhunt
556be2831b MDL-12369 - get_actual_response should not truncate the student's response. Merged from MOODLE_19_STABLE. 2007-11-28 12:45:57 +00:00
scyrma
d417533252 Fix for par of the missing strings, as reported in MDL-12294 2007-11-26 04:10:08 +00:00
skodak
a78890d593 MDL-12133 validate() method tidying up; merged from MOODLE_19_STABLE 2007-11-23 22:15:07 +00:00
tjhunt
3a513ba4df MDL-12282 - fix typo in previous commit. Sorry. 2007-11-22 11:51:16 +00:00
tjhunt
75082bdd89 MDL-12286 - 'Save as new question' button ignores the setting in the 'Save in category' dropdown. Merged from MOODLE_19_STABLE. 2007-11-20 17:52:16 +00:00
tjhunt
b4d7d27cea MDL-12282 - Numerical question type - the units are displayed on the editing form with a stupidly large number of decimal places. Merged from MOODLE_18_STABLE. 2007-11-20 16:57:22 +00:00
tjhunt
987c5893ac MDL-12280 - Question bank forgets sort order when adding multiple questions to a quiz. Merged from MOODLE_19_STABLE. 2007-11-20 15:54:34 +00:00
tjhunt
ea16c547ee Remove a developer debug notice and save a database query. Merged from MOODLE_19_STABLE. 2007-11-20 14:46:50 +00:00
tjhunt
fe93ba838b MDL-12133 - Errors calling parent::validation in a moodle form subclass because the base class method signature was changed. This patch fixes all calls to parent::validation in the question editing forms. Merged from MOODLE_19_STABLE. 2007-11-20 12:41:04 +00:00
pichetp
705b5874ce MDL-12255 Adding questiontext decoding and subquestions validation when editing 2007-11-20 03:50:28 +00:00
pichetp
e9028ffc87 Solving MDL-12063 qtype_questions where left orphans when questions whe deleted or
qtype change
2007-11-20 03:48:29 +00:00
mchurch
488eaca44a MDL-12016 Category text not being sent to 'create_category_path'. 2007-11-15 14:05:17 +00:00
mchurch
ce2df2884a MDL-12015 Import question count was wrong. 2007-11-15 13:43:51 +00:00
skodak
3f24c39700 MDL-12079 fixed use of clean_param() 2007-11-10 14:54:39 +00:00
skodak
9bd7f37de1 MDL-12079 fixed use of clean_param() 2007-11-10 14:49:56 +00:00
tjhunt
1061756d8e Minor whitespace fixup. 2007-11-07 15:41:20 +00:00
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