tjhunt
c0ffeb3969
MDL-14764 - Imported multichoice questions may have a blank answernumbering value, which results in an "ERR" prefix to all answers' text. Thanks to Nate H for the fix.
2008-05-27 13:42:27 +00:00
tjhunt
5412cd289a
MDL-14593 - delete icons in the question bank do not work. This was a regression caused by part of the fix for MDL-13982. I hvae reverted that bit for now, pending a better solution.
2008-05-27 10:35:13 +00:00
jamiesensei
720be6f2c3
MDL-5241 "When manually grading, identity questions by their number within the quiz as well as by question name"
...
Also added a drop down box to select question to mark instead of the viewquestions table. The drop down box is available at the top of every page, but only if there is more than one manually gradeable question in the quiz. If there is only one question it is automatically selected for marking.
Also added a new constant QUESTION_EVENTS_GRADED during a general refactoring of UI code in grading report and some improvements to efficiency of SQL in report.
Merged from Moodle 1.9 branch
2008-05-26 11:39:51 +00:00
dongsheng
0be2c85848
"MDL-14129, fix print_error call"
2008-05-21 07:53:23 +00:00
dongsheng
64e71d27b6
"MDL-14129, fix print_error"
2008-05-21 06:04:30 +00:00
dongsheng
0b4f4187a2
"MDL-14129, fix print_error"
2008-05-21 05:07:37 +00:00
tjhunt
949c59ace0
MDL-14928 - Adding random questions from a category with an apostrophe in the name does not work. Stupid bloody addslashes. Roll on dmllib 2.0.
2008-05-20 17:09:40 +00:00
dongsheng
2471ef8650
"MDL-14129, fix print_error"
2008-05-20 03:09:35 +00:00
pichetp
907a375942
MDL-14054 Display of correct answers in the popup window already use for feedback
2008-05-18 17:22:41 +00:00
pichetp
df79079f49
MDL-1625 Make multianswer questions more tolerant if one of the subquestions is missing
2008-05-18 15:23:17 +00:00
tjhunt
ed5ba2df55
MDL-14750 - followup - make the code robust in the case their are broken questions in the DB.
2008-05-15 16:05:47 +00:00
skodak
6751698058
MDL-14451 removed pre 1.9 upgrade code
2008-05-14 23:35:00 +00:00
skodak
42519b5d7e
MDL-14451 removed 1.4 compatibility code
2008-05-12 22:56:48 +00:00
tjhunt
e4cdf3fb2c
MDL-10899 - followup - need to move random questions too.
2008-05-12 15:59:05 +00:00
skodak
dd1e295528
MDL-14451 removed pre 1.9 upgrade code - question upgrade related
2008-05-11 19:03:24 +00:00
tjhunt
e2134c5ddc
Following the fixes for MDL-14750 and MDL-10899, do a database upgrade that fixes any bogus values in the parent or category columns of multianswer questions' subquestions.
2008-05-09 15:50:44 +00:00
tjhunt
9ade28e57e
MDL-14750 - Multianswer questions get broken by backup and restore becuase question->parent is not recoded properly in the database. This commit also fixes a regression introduced by the fix for MDL-5482.
2008-05-09 15:10:39 +00:00
tjhunt
7fb1b88dc7
MDL-10899 - There is some data associated with some questons that needs to be udpated when moving questions between categories. This commit deals with subquestions, and lays the foundation for fixing the other problem - datasets - which is files as bug 14767.
2008-05-09 15:05:36 +00:00
tjhunt
08121fadcb
Problem when editing calculated questions when installed on Postgres.
2008-05-09 15:02:24 +00:00
tjhunt
a588d813cb
MDL-14762 - find and update links to files in answer->feedback when moving questions between contexts.
2008-05-09 13:13:43 +00:00
tjhunt
994fbaabc9
MDL-14727 - Do a database update to fix random questions with the wrong parent (there may be some of these floating around in people's databases becuase of MDL-5482.)
2008-05-07 13:34:54 +00:00
tjhunt
3ff8a1877a
MDL-5482 - Backup and restore problems for match, random and truefalse question types.
...
All the credit goes to Paulo Matos who carefully worked out and tested this fix, and updated the patch several times over more than a year while I very slowly got around to reviewing it and checking it in.
2008-05-07 12:32:03 +00:00
tjhunt
0c9822268f
MDL-14681 - Fix package name of question/update.php.
2008-05-06 07:34:46 +00:00
thepurpleblob
3f5633df11
MDL-14406
...
Ensure 'length' field for description type questions is 0 and that
default for all questions is 0
Merged from STABLE_19
2008-05-01 12:21:55 +00:00
scyrma
fca9088244
MDL-14588 - Prevent error message when calling function with null variable (merge from 1.9)
2008-04-29 03:30:01 +00:00
tjhunt
8e77884c4e
MDL-13982 - Performance problem when deleting questions from large question banks. Thanks to Michael Spall for this fix. Merged from MOODLE_18_STABLE.
...
At the same time, remove direct references to $_REQUEST and $_POST in this code.
2008-04-23 13:45:38 +00:00
tjhunt
92a95034ff
Revert bogus error -> print_error changes that were stopping my patch from merging.
2008-04-23 13:42:50 +00:00
tjhunt
e31a98a6e1
MDL-14352 - General feedback for descriptions not showing up on the review page, as it should.
2008-04-22 16:17:01 +00:00
tjhunt
5389648d0b
MDL-14467 - qtype_multichoice help file in the wrong place - merged from 1.8/1.9 stable.
...
In addition, move the other multichoice help file to the correct location, and update all references.
2008-04-22 14:40:09 +00:00
tjhunt
a56d98597e
MDL-14407 - supplimental - Deal with another way the category id can be in the URL after it is deleted.
2008-04-22 14:06:58 +00:00
tjhunt
84857f8ccd
Minor improvement to a subtle edge case of question preview that probably only affects Opaque questions.
...
Also, revert dongshen's bad error -> print_error changes in this file.
2008-04-17 17:56:41 +00:00
tjhunt
767fac2902
MDL-14407
...
1. After deleting a question category, it redirects you back to a question bank URL. In some circumstances, this URL will contain a cat=nnn parameter of the category you have just deleted, which naturally leads to an error. This parameter needs to be removed.
2. When there are questions in the category that need to be moved, the category id we are moving to is not exploded on ','.
2008-04-17 15:59:49 +00:00
tjhunt
096d42f47e
MDL-14392 - Notice from description question types when you don't have edit permission
2008-04-16 16:56:33 +00:00
dongsheng
1e7386c9ad
MDL-14129, cannot use a full string in the param
2008-04-09 03:10:26 +00:00
dongsheng
5a2a53316f
MDL-14129, remove all the other error() call
2008-04-04 02:54:20 +00:00
tjhunt
375ba6e52b
MDL-13968 - Use h2 tag for the question number, as it is better for accessibility
2008-03-18 18:58:29 +00:00
pichetp
d650e1a315
nextpageparam["forceregeneration"] was not implemented correctly line 582
2008-03-10 10:53:41 +00:00
tjhunt
e2ae84a298
MDL-13189 - replace the $QTYPE_MENU global with a function call, so that we can set up the language strings later, after $COURSE is initialised. This ensures that the quesion names appear in the right language.
2008-02-28 12:53:02 +00:00
pichetp
c958ac9301
MDL-13457 Validation when moving to another category
2008-02-20 09:19:03 +00:00
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
thepurpleblob
fc22da99e2
Added check for <text> fields that contain markup (an error!)
...
Merged from STABLE_19
2008-02-12 11:57:39 +00:00
jamiesensei
a18fbcfb50
MDL-13298 "Question bank displays always page 1 after adding new question" this was caused because the question creation page was redirecting back to the question back edit page and telling it to change to the category of the question that was just saved. This was causing the edit page to go back to page 0 of the new category. Now we only go back to page 0 if the category has actually changed. Merged from MOODLE_19_STABLE
2008-02-05 12:14:46 +00:00
jamiesensei
5111051663
MDL-13005 When trying to restore a course when you have more then one quiz and you choose only one quiz, the restore fails when trying to create categories and questions. Fixed this by ignoring module context level q categories in backup when the course module has not already been restored. merged from MOODLE_19_STABLE
2008-02-05 11:27:02 +00:00
jamiesensei
9aa2d50136
this function should work for all modules but forgot to remove 'quiz' from sql.
2008-02-05 09:23:51 +00:00
gbateson
7433742566
MDL-13048 fix indefined course id when importing a Hot Potatoes quiz into the Lesson module
2008-02-05 04:13:51 +00:00