Commit graph

1494 commits

Author SHA1 Message Date
David Mudrak
c0e3796e1b MDL-27626 calculated qtype conversion support
uff...
2011-06-03 21:57:00 +02:00
David Mudrak
aaf88d2cb2 MDL-27626 numerical_options are written only if there are some numerical_units available
This reflects the logic of the backup 2.0. Previously, the new
numerical_options structure was written always, even if there were no
numerical_units.
2011-06-03 21:56:59 +02:00
David Mudrak
0a562bafd1 MDL-27626 matching question type conversion handler 2011-06-03 21:56:59 +02:00
David Mudrak
a4158f8d93 MDL-27626 Make sure that the <answers> structure is present before converting it
This corresponds the logic of question_backup_answers()
2011-06-03 18:54:57 +02:00
David Mudrak
7cfff0ccfb MDL-27626 multianswer (embedded, cloze) question type conversion handler 2011-06-03 18:54:57 +02:00
David Mudrak
589475665e MDL-27626 numerical question type conversion handler 2011-06-03 18:54:56 +02:00
David Mudrak
afa08aeb15 MDL-27626 essay question type conversion handler 2011-06-03 18:06:34 +02:00
David Mudrak
2b129b4cb6 MDL-27626 truefalse question type conversion handler 2011-06-03 18:06:29 +02:00
David Mudrak
2554f389d4 MDL-27626 shortanswer question type conversion handler 2011-06-03 18:06:28 +02:00
David Mudrak
7ffc82df8b MDL-27626 multichoice question type conversion handler 2011-06-03 18:06:28 +02:00
Tim Hunt
7bbe96dc16 MDL-27394 Moodle 2.0 backup and restore may randomise the order of multichoice/numerical/shortanswer answers 2011-05-05 19:17:41 +01:00
Eloy Lafuente (stronk7)
c0977cccd1 Merge branch 'MDL-26714_master' of git://github.com/timhunt/moodle 2011-05-02 11:46:10 +02:00
Tim Hunt
64d5c1c376 MDL-27155 qtype_numerical problem with GIFT import. 2011-04-29 14:14:55 +01:00
Tim Hunt
4c51e56d98 MDL-26714 qtype_multianswer regression from the previous commit for numerical subquestions. 2011-04-28 23:31:07 +01:00
Petr Skoda
cf717dc26b MDL-27148 use new get_in_or_equal() param prefix instead of start 2011-04-14 15:15:01 +02:00
Eloy Lafuente (stronk7)
d47070248f Merge branch 'MDL-26748' of git://github.com/timhunt/moodle 2011-03-14 00:53:28 +01:00
Eloy Lafuente (stronk7)
6bfddc2e38 Merge branch 'MDL-26773' of git://github.com/timhunt/moodle 2011-03-14 00:49:11 +01:00
Eloy Lafuente (stronk7)
7e0579cb8c Merge branch 'MDL-26714' of git://github.com/timhunt/moodle 2011-03-14 00:43:58 +01:00
Eloy Lafuente (stronk7)
4f7fd61a7a Merge branch 'MDL-26724' of git://github.com/timhunt/moodle 2011-03-13 22:57:06 +01:00
Tim Hunt
74a43c7487 MDL-26773 PHP error notice when editing multianswer question
$course was removed from the save question methods in 2.0, but this occurrence was missed.
Thanks to Joseph Rezeau for the fix
2011-03-11 08:51:47 +00:00
Tim Hunt
c5169f4e78 MDL-26748 file links in qtype essay feedback broken.
Fix thanks to Respondus Inc.
2011-03-10 21:40:00 +00:00
Tim Hunt
9316d66121 MDL-26714 qtype_multianswer needs an implementation of compare_responses.
The main problem lack of this was causing is if you click through a quiz without answering any questions, mulitanswer questions would get marked as answered.
2011-03-09 18:08:18 +00:00
Tim Hunt
7e0218e79f MDL-26724 notice from numerical qtype when no answer is given. 2011-03-08 10:43:48 +00:00
Eloy Lafuente (stronk7)
97b4297e13 Merge branch 'MDL-26517' of git://github.com/timhunt/moodle 2011-03-07 14:49:17 +01:00
Tim Hunt
71575a152c MDL-26517 display responses in reports by converting to plain text.
Following Eloy's testing, that seems to be the only safe way. It is also consistent with what has been done in Moodle 2.1.
2011-03-07 11:57:38 +00:00
Eloy Lafuente (stronk7)
34e30d9bce Merge branch 'MDL-26445' of git://github.com/timhunt/moodle 2011-03-07 01:12:55 +01:00
ppichet
8f63ab1f44 MDL-26445 question -fix numerical unit grade
fix unit penalty grading and display


Signed-off-by: ppichet <pichet.pierre@uqam.ca>
2011-03-05 20:13:50 +00:00
Tim Hunt
209442ce24 MDL-26517 HTML tags visible in the response history table and quiz reports. 2011-03-05 19:51:38 +00:00
Tim Hunt
231ec77323 MDL-26520 random tf questions that had not been answered were shown as answered on the summary page.
This was a regression from MDL-26236 thanks to some brain-dead PHP behaviour.
2011-03-05 16:33:42 +00:00
Petr Skoda
431ac39634 MDL-26623 fix file permissions
The permissions are now going to be verified as part of the weekly release process.
2011-03-01 12:26:49 +01:00
Eloy Lafuente (stronk7)
303c04f7d0 MDL-26442 restore - missing new in qtype match exception 2011-02-24 02:24:18 +01:00
Eloy Lafuente (stronk7)
b180a11998 Merge branch 'MDL-26236' of git://github.com/timhunt/moodle 2011-02-15 01:16:33 +01:00
Eloy Lafuente (stronk7)
bcbb590227 Merge branch 'MDL-26365' of git://github.com/timhunt/moodle 2011-02-15 01:03:23 +01:00
Eloy Lafuente (stronk7)
1ae279b448 Merge branch 'MDL-26356' of git://github.com/ppichet/moodle 2011-02-14 18:29:46 +01:00
Eloy Lafuente (stronk7)
68e05ea6e6 Merge branch 'MDL-26332' of git://github.com/timhunt/moodle 2011-02-14 18:26:33 +01:00
Tim Hunt
5ec3e4a8eb MDL-26365 New GIFT unit test. 2011-02-11 10:15:26 +00:00
ppichet
ff6b824e6d MDL-26356:Correcting the texts of Numerical Units grading select element
Signed-off-by: ppichet <pichet.pierre@uqam.ca>
2011-02-10 23:50:30 -05:00
Tim Hunt
c991ecb49d MDL-26236 random essay questions do not work due to bad regex.
Essays can have multi-line answers that start with a newline, which breaks the regex here.
2011-02-10 23:06:22 +00:00
Tim Hunt
b729648032 MDL-26332 cannot type Enter into a textarea in a quiz.
This was breaking the essay question type.
2011-02-09 14:52:30 +00:00
Charles Fulton
7038944105 MDL-26299: missing break causes incorrect value for unitrole 2011-02-07 09:53:31 -08:00
Petr Skoda
b6f3e4f8f0 Merge branch 'MDL-26098' of git://github.com/timhunt/moodle 2011-01-31 19:25:41 +01:00
Sam Hemelryk
3721781dfe Merge branch 'MDL-26168' of git://github.com/timhunt/moodle 2011-01-31 13:50:21 +08:00
Tim Hunt
3fa5724a1f javascript MDL-26098 manual grading was not working when quiz_attempts.id and question_attempts.id were out of synch. 2011-01-29 14:03:02 +00:00
Tim Hunt
3708abd0f2 javascript MDL-26098 make the review this question in a previous state popup work. 2011-01-29 13:59:51 +00:00
Tim Hunt
5bb96cf618 qtype_multianswer MDL-26168 fix invalid HTML from the editing form.
Fix by Tony Levi. Thanks.
2011-01-28 12:20:01 +00:00
Helen Foster
82b15e2811 MDL-21250 capital letters removal
Also some spotted leading and trailing whitespace was removed from some
strings.
2011-01-27 16:24:30 +01:00
Sam Hemelryk
912d099cc9 Merge branch 'MDL-25637' 2011-01-24 16:20:51 +08:00
Aparup Banerjee
b692e4aa29 Performance MDL-25637 moved static count/sizeof functions out of for loop conditions 2011-01-24 14:51:21 +08:00
Sam Hemelryk
e53a87dcb5 Merge branch 'MDL-25841' of git://github.com/timhunt/moodle 2011-01-24 10:31:34 +08:00
Tim Hunt
90c2f51031 qtype_multianswer MDL-25841 feedback pop-up was appearing in the wrong place.
It seems that overlib was getting confused by its div being inside another positioned div. The simplest solution is to not create the div at all. Then the overlib JS creates it when needed, and that works.
2011-01-18 23:30:40 +00:00