Commit Graph

350 Commits

Author SHA1 Message Date
tjhunt 694061adf4 Fix dangerous comment. (MDL-13536) 2008-02-19 17:14:12 +00:00
pichetp a0052d89ac cleaning // 2008-02-18 20:43:08 +00:00
pichetp 292a01dfa7 removing an echo diagnostic message MDL-12063 2008-02-18 17:00:23 +00:00
pichetp 814a96fa47 MDL-13419 removing space before input html element 2008-02-18 16:37:13 +00:00
pichetp fa0f94c085 MDL-12421 removing the change done and not correcting already saved values 2008-02-13 02:19:54 +00:00
pichetp 2dc8beafcf Adding returnurl element MDL-12388 to return to the quiz editing 2008-02-13 01:19:03 +00:00
tjhunt 8bb3fac17c MDL-13110 - Manually grading random questions does not work. Fix thanks to Ken Burres. 2008-01-30 18:18:36 +00:00
pichetp eb29fc2747 MDL-12255 Adding questiontext decoding and subquestions validation when editing, decodeverifyquestiontext string 2008-01-27 17:16:35 +00:00
pichetp b119a40f16 MDL-3274 further trimming 2008-01-26 15:21:44 +00:00
pichetp eba53585bd adjusting input display to answer length MDL-3274 2008-01-26 14:30:29 +00:00
scyrma aa68a7b0a2 MDL-13020 : deprecates make_table 2008-01-16 08:17:25 +00:00
pichetp fa1661c27c MDL12932 -Random Short-Answer Matching does not display correctly in Item analysis report 2008-01-11 14:24:10 +00:00
tjhunt 06e2b0de2a MDL-12771 - change multianswer quetsion type HTML to more closely match that of other question types, in order to fix a layout glitch in Moodle 1.9. 2008-01-08 18:37:46 +00:00
tjhunt a656e0de48 MDL-12785 - Partially correct tick icon not displayed for MULTICHOICE, single answer questions. Fix thanks to Joseph R?zeau. Merged from MOODLE_18_STABLE. 2008-01-08 18:29:20 +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
tjhunt c85aea03d3 Fix notice in numerical question. 2007-12-10 11:57:24 +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 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
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 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
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
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 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 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