Tim Hunt
9994233477
MDL-37845 multichoice qtype: Fix some display issues.
...
1. Better handling of multi-line choices in the correct answer display.
2. Remove dangerous CSS that is no longer needed.
2013-04-26 11:53:20 +01:00
Dan Poltawski
ba26ed9cac
Merge branch 'MDL-39283' of git://github.com/jmvedrine/moodle
2013-04-24 14:33:00 +01:00
Dan Poltawski
89275dcf80
Merge branch 'MDL-37784' of git://github.com/jmvedrine/moodle
2013-04-23 13:00:30 +01:00
Jean-Michel Vedrine
b31d6664e6
MDL-39283 GIFT and XML question export broken for unsupported qtypes
...
Do no write any data to the export for unsupported qtypes
2013-04-23 09:42:53 +02:00
Jean-Michel Vedrine
dc5133edca
MDL-37784 Adaptive no penalty display wrong penalty info
...
Adaptive Mode tells students they have been penalized even when set to no penalties
2013-04-23 08:30:42 +02:00
Sam Hemelryk
c26f34baf1
Merge branch 'MDL-39172' of git://github.com/jmvedrine/moodle
2013-04-22 11:02:39 +12:00
Jean-Michel Vedrine
b48193383f
MDL-39172 Import of .dat files is broken in blackboard_six import format
2013-04-18 17:39:13 +02:00
Jean-Michel Vedrine
cdcda6a0b4
MDL-39164 GIFT, Blackboard and Examview import of essay questions broken
2013-04-18 17:36:18 +02:00
Eloy Lafuente (stronk7)
b279f33410
Merge branch 'MDL-38956_master' of git://github.com/dmonllao/moodle
2013-04-17 12:50:50 +02:00
Dan Poltawski
9aae7551ec
Merge branch 'MDL-38880' of git://github.com/jmvedrine/moodle
2013-04-15 16:25:06 +01:00
David Monllao
242a27b180
MDL-38956 behat: New test
...
According to MDLQA-92, a teacher can preview
questions in the question bank.
2013-04-15 14:14:31 +08:00
Jean-Michel Vedrine
c80fb6d95e
MDL-38880 Imported Cloze questions lose embedded images or other media
2013-04-11 16:22:20 +02:00
David Monllao
d72a183645
MDL-38957 behat: New test
...
According to MDLQA-94, a teacher can
sort questions in the question bank.
2013-04-11 17:24:12 +08:00
David Monllao
a97d274c92
MDL-38958 behat: New test
...
According to MDLQA-91, a teacher can
edit questions in the question bank.
2013-04-11 17:23:08 +08:00
David Monllao
336b5b5914
MDL-38958 behat: Step definition to add questions
2013-04-11 11:47:03 +08:00
Dan Poltawski
95cd4369bb
Merge branch 'MDL-19072' of git://github.com/jmvedrine/moodle
2013-04-10 14:10:37 +08:00
Eloy Lafuente (stronk7)
f57832826b
Merge branch 'MDL-38792' of https://github.com/ppichet/moodle
2013-04-09 14:33:31 +02:00
Dan Poltawski
224db0e83b
Merge branch 'MDL-38981' of git://github.com/jmvedrine/moodle
2013-04-09 13:19:10 +08:00
ppichet
3d9645ae6e
MDL-38792 Update question/type in-line comments to codechecker standards
...
Correct bad formated infiles in question/type directories
2013-04-08 19:59:51 -04:00
Damyon Wiese
a6c215ab1f
Merge branch 'MDL-38741-master' of git://github.com/danpoltawski/moodle
2013-04-08 12:00:52 +08:00
Jean-Michel Vedrine
552e36a6a3
MDL-38981 Wrong responsetemplateformat restoring 1.9 essay questions
...
During restore of 1.9 backups, missing responsetemplateformat and
graderinfoformat values should be set to FORMAT_HTML.
2013-04-06 11:19:34 +02:00
Eloy Lafuente (stronk7)
c001c51a26
Merge branch 'MDL-36570' of git://github.com/colchambers/moodle
2013-04-04 16:59:34 +02:00
Tim Hunt
c7fbfe46f9
MDL-38538 question autosave: fix sequencecheck handling.
2013-04-04 15:32:32 +01:00
Colin Chambers
11a66e2c5a
MDL-36570 Grouped question type answer fields now display errors
2013-04-04 15:29:39 +01:00
Colin Chambers
c3f21ec516
MDL-36570 Added missing calculatedmulti fields
2013-04-04 11:17:33 +01:00
Dan Poltawski
8971ddd5a9
MDL-38741 qtype_truefalse: fix missing setType call
2013-04-04 16:32:46 +08:00
Dan Poltawski
ce5bb3a912
MDL-38741 qtype_calculatesimple: missing setType call
2013-04-04 11:57:46 +08:00
Dan Poltawski
dfd89b0bb9
MDL-38741 qtype_calculatedmulti: fix missing setType
2013-04-04 11:49:19 +08:00
Dan Poltawski
1e988d262b
MDL-38741 qtype_calculate: fix missing setType
2013-04-04 11:45:11 +08:00
Eloy Lafuente (stronk7)
1ca5ce1b33
Merge branch 'MDL-36570' of git://github.com/timhunt/moodle
2013-04-03 23:09:19 +02:00
Dan Poltawski
998c5996e0
Merge branch 'MDL-38808' of git://github.com/jmvedrine/moodle
2013-04-03 14:46:58 +08:00
Damyon Wiese
6fb437b2bb
Merge branch 'MDL-38705' of git://github.com/jonof/moodle
2013-04-03 14:35:12 +08:00
Dan Poltawski
ac8bc0f947
Merge branch 'MDL-34640' of git://github.com/timhunt/moodle
2013-04-03 13:57:02 +08:00
Damyon Wiese
178652e9eb
MDL-10516 Question Type - Fix upgrade code so new install matches upgrade.
2013-04-03 12:21:04 +08:00
Damyon Wiese
25f6019128
MDL-10516 Question Type - Essay - Whitespace fix
2013-04-03 11:30:42 +08:00
Jean-Michel Vedrine
60527d0c34
MDL-10516 Pre-populated answer (template) in essay questions
2013-04-03 11:30:42 +08:00
Dan Poltawski
89cc9816dc
Merge branch 'MDL-38538_clean' of git://github.com/timhunt/moodle
2013-04-03 09:55:21 +08:00
Tim Hunt
d122fe3245
MDL-38538 question autosave: fix missing method.
...
Also change the unit tests to detect this problem.
2013-04-02 16:53:25 +01:00
Damyon Wiese
cc067484a8
Merge branch 'MDL-38711-master' of git://github.com/danpoltawski/moodle
2013-04-02 16:17:25 +08:00
Jean-Michel Vedrine
9219089a72
MDL-38808 Remove deprecated unzip_file from qformat blackboard_six
2013-04-01 09:34:07 +02:00
Jean-Michel Vedrine
1e8f4e54c7
MDL-19072 XHTML export for match questions fix for distractors
2013-03-31 15:13:44 +02:00
Jonathon Fowler
c8845ca917
MDL-38705 qformat_blackboard_six: use qti title as category name
...
Specifically, the title on the 'assessment' element is used.
2013-03-31 14:00:01 +10:00
Tim Hunt
dc1ee5cb29
MDL-34640 question repsponse files: remaining tidy up of this code.
2013-03-30 21:16:18 +00:00
Mathieu Petit-Clair
d0782585c8
MDL-34640: adding code to pass contextid and question type to question_file_loader.
2013-03-30 19:57:03 +00:00
Tim Hunt
8a1e7b7756
MDL-34640 quesion reponse files: PARTIAL SOLUTION to allowing resonse files to be graded automatically.
2013-03-30 19:53:15 +00:00
Colin Chambers
c7218aef8d
MDL-36570 question editing: group answer/choice fields better.
2013-03-28 17:25:45 +00:00
Tim Hunt
0a606a2be2
MDL-38538 question auto-save back end.
...
1. Autosave works in some ways just like a normal save. We ultimately
call $behaviour->process_save() to do the work, and create a new step to
hold the data.
2. However, we come in through a completely different route through the
API, starting with separate auto-save methods. This keeps the auto-save
changes mostly separate, and so reduced the chance of breaking existing
working code.
3. When the time comes to store the auto-save step in the database, we
save it using a negative sequence number.
This is a clever trick that not only distinguises these steps, but also
avoids unique key errors when an auto-save and a real action happen
simultaneously. (There are unit tests for these tricky edge cases.)
4. When we load the data back from the database, most of the time the
auto-save steps are loaded back as if they were a real save, and so the
auto-saved data is used when the question is then rendered.
5. However, before we process another action, we remove the auto-saved
step, so it does not appear in the final history.
2013-03-28 16:51:59 +00:00
Tim Hunt
eca230b521
MDL-38538 question unit tests: improve things a bit.
...
1. Split the question_attempt tests into one class per file.
2. Imporve the API to give tests more control, and to test more of the
important code. Some of this is not used here, but it is about to be.
2013-03-28 16:05:34 +00:00
Eloy Lafuente (stronk7)
cf20e809aa
Merge branch 'MDL-38582' of git://github.com/timhunt/moodle
2013-03-26 16:03:37 +01:00
Dan Poltawski
e380d57fb6
MDL-38711 qtype_multianswer: missing setType param
2013-03-26 16:57:01 +08:00