Commit graph

3558 commits

Author SHA1 Message Date
Colin Chambers
4c489e0e44 MDL-47494 gapselect: expand choices by default 2013-06-27 15:10:38 +01:00
Eloy Lafuente (stronk7)
293aba00b7 Merge branch 'MDL-40264-essay-zero' of git://github.com/ktemkin/moodle 2013-06-24 21:24:00 +02:00
Kyle Temkin
efe677970a MDL-40264 fix essay handling of zero-string response
Fixes an inappropriate behavior of the is_complete_response() function
for the Essay question type, which caused the string "0" to be
inappropriately marked as an incomplete response.

Also adds a set of unit tests for the Essay question type's
is_complete_response.
2013-06-20 19:10:12 -04:00
Dan Poltawski
e64e28d715 Revert "MDL-33105 flexible apply_units() function"
This reverts commit bf766d43f9.
2013-06-20 21:09:36 +08:00
Dan Poltawski
83b8e822f1 Merge branch 'MDL-33105' of https://github.com/ppichet/moodle 2013-06-18 10:35:47 +08:00
Dan Poltawski
877bb8294c Merge branch 'MDL-31680' of https://github.com/ppichet/moodle 2013-06-17 14:53:19 +08:00
Sam Hemelryk
ee4e6c04e2 Merge branch 'MDL-30320' of git://github.com/timhunt/moodle 2013-06-12 09:38:38 +12:00
Dan Poltawski
a3f92b2e0e Revert "MDL-26511 Images in Cloze multichoice"
This reverts commit feec4f8941.
2013-06-11 11:38:34 +08:00
Dan Poltawski
bb179ab9b4 Merge branch 'MDL-40013_master' of git://github.com/oasychev/moodle 2013-06-10 14:57:48 +08:00
ppichet
feec4f8941 MDL-26511 Images in Cloze multichoice
vertical and horizontal answer and in feedback of all qtype answers
2013-06-10 11:28:46 +08:00
Sam Hemelryk
018fc94211 Merge branch 'MDL-39978' of git://github.com/timhunt/moodle 2013-06-10 14:48:21 +12:00
Oleg Sychev
0b287dd2e8 MDL-40013 Easier to override saving question hints
This adds 3 new methods, called from question_type::save_hints,
to make it easier for different question types to overload this
functionality without duplicating code.

Question types that will benefit from this change include
oumultiresponse, ddmarker, preg and correctwriting.
2013-06-06 19:58:42 +03:00
Tim Hunt
6ffa80e528 MDL-47494 ddmarker: Merge pull request #21 from colchambers/wip6859.1
merge multiple tries and hints. Group hints visually
2013-06-06 07:56:03 -07:00
Colin Chambers
80f0299310 MDL-47494 ddmarker: merge multiple tries and hints. Group hints visually 2013-06-06 15:47:35 +01:00
ppichet
9ddb8a56a3 MDL-31680 Correcting the format of calculated types correct response 2013-06-05 23:44:39 -04:00
ppichet
bf766d43f9 MDL-33105 flexible apply_units() function
Allow use of thousands separator as long as the decimal separator
is used in the number.
2013-06-02 20:16:19 -04:00
Tim Hunt
ea07b2d622 MDL-39978 Essays with files break each attempt builds on last 2013-05-31 20:47:26 +01:00
Jamie Pratt
ad1b0ae9c7 MDL-47494 ddmarker: change index of form element we refer to
changes in form base class broke the code to
refer to the marker label input field.
2013-05-31 17:39:19 +07:00
Jamie Pratt
e1f5f60197 MDL-47494 ddmarker: allow for 2,3,4,5,6 drags not just 1 or infinite 2013-05-31 15:18:32 +07:00
Tim Hunt
f593a6414c MDL-39945 qtype multichoice was not comparing blank responses correctly. 2013-05-30 19:19:32 +01:00
Tim Hunt
09e43f0a68 MDL-47494 ddimageortext: Fix failing unit tests. 2013-05-22 14:05:26 +01:00
Tim Hunt
e9a2711b85 MDL-47494 ddimageortext: Final form improvement tweaks. #6614 2013-05-22 14:02:38 +01:00
Tim Hunt
7baa445fbe MDL-47494 ddmarker: Minor coding style clean-up. #6859 2013-05-22 14:01:13 +01:00
Colin Chambers
4139151f75 MDL-47494 ddimageortext: Update OU Qtype ddimageortext for simplified forms #6614 2013-05-22 12:41:33 +01:00
Colin Chambers
26492f707c MDL-47494 ddmarker: Update OU Qtype ddmarker for simplified forms #6859 2013-05-21 14:49:07 +01:00
Eloy Lafuente (stronk7)
c9e54743ec MDL-39753 Add 2.5.0 upgrade line 2013-05-20 15:33:19 +02:00
Dan Poltawski
d6aec96dd5 Merge branch 'MDL-27748' of git://github.com/timhunt/moodle 2013-05-20 15:46:49 +08:00
Tim Hunt
0a5aa9c610 MDL-27748 question: grade options should be localised.
question_bank::fraction_options should use format_float to display
decimal pionts correctly.
2013-05-19 23:39:23 +01:00
Tim Hunt
06616f4b70 MDL-30320 question engine: remove API deprectaed in Moodle 2.2. 2013-05-19 23:38:19 +01:00
Tim Hunt
d4a666029d MDL-39728 List all the classes in question/type/questionbase.php
This should make it easier for people to understand the type hierarchy.
2013-05-18 09:16:05 +01:00
Colin Chambers
35e3fc1018 MDL-47494 gapselect: Qtype gapselect showing Did you remember to call setType() errors on editing form #6846 2013-05-17 14:57:04 +01:00
Jamie Pratt
05091b6de3 MDL-47494 gapselect: moved lang strings for combinable sub questions to
their question type directories
2013-05-14 19:48:15 +07:00
Jamie Pratt
458700d833 MDL-47494 gapselect: fixing @package and removing @subpackage 2013-05-14 19:34:17 +07:00
Jamie Pratt
220982f898 MDL-47494 gapselect: move combinable hooks out of combined qtype plug in
and into their respective question type plug ins.
2013-05-14 18:41:05 +07:00
Frederic Massart
7d1904de1d MDL-39606 question: Fix missing setType warnings 2013-05-13 09:08:05 +08:00
Eloy Lafuente (stronk7)
05bf4b17e8 Merge branch 'MDL-29758' of git://github.com/jmvedrine/moodle 2013-05-10 02:53:49 +02:00
Jean-Michel Vedrine
d56ab3b992 MDL-29758 make Cloze question feedback display more informative
as it was in Moodle 1.9
2013-05-09 07:55:43 +02:00
Damyon Wiese
a04e97ef0c MDL-39412 Prevent developer warnings on upgrade from 24 to master 2013-05-09 11:26:25 +08:00
Tim Hunt
cbdb09a9ef MDL-39412 disabling manual graded behaviour refinements
1. Change behaviour admin settings so you can only select enabled
behaviours.
2. During the upgrade, change admin settings that might be currently set
to manual graded, so that instead they are set to deferredfeedback (if
that is available. If not, we just take the first alphabetically.)
2013-05-09 11:24:43 +08:00
Dan Poltawski
c892205617 Merge branch 'MDL-39446' of git://github.com/timhunt/moodle 2013-05-06 14:47:58 +01:00
Damyon Wiese
9fbf1dfb6e Merge branch 'MDL-39412' of git://github.com/timhunt/moodle 2013-05-06 12:27:19 +08:00
David Monllao
00ea74cb54 MDL-39348 behat: Chaining strings instead of splitting strings in lines 2013-05-03 10:16:44 +08:00
Tim Hunt
103928da0b MDL-39412 question behaviours: hide manual graded option
The ability to set all your quiz questions to require manual grading is
an interesting possibility, but practically almost useless.

If you set that accidentally, then you are badly stuck. There is no way
to fix it after the students have answered the quiz.

Therefore, we should set the config option to hide that option from the
UI. We do this for all Moodle sites as part of the upgrade, not just for
new installs.

If any admin wants to re-enable this, they can later.
2013-05-02 17:02:46 +01:00
Tim Hunt
f16d5f979b MDL-39446 calculated qtype: make answer formula input bigger
This makes it easier for teachers editing questions.
2013-05-02 16:37:52 +01:00
Eloy Lafuente (stronk7)
cedb0aab5a MDL-39434 Bump all versions near 2.5 release 2013-05-01 18:03:29 +02:00
Eloy Lafuente (stronk7)
6a222aa127 Merge branch 'MDL-39232_master' of git://github.com/dmonllao/moodle 2013-05-01 00:47:32 +02:00
David Monllao
550d842e3c MDL-39232 behat Normalize feature tags according to component names 2013-04-30 11:54:47 +08:00
Damyon Wiese
de079cffbf Merge branch 'wip_MDL_39230_2_5' of http://github.com/jamiepratt/moodle.git 2013-04-30 11:39:56 +08:00
Jamie Pratt
397acdfda2 MDL-39230 Question bank - refactor xml import
Allow for reuse of code to read xml questions.
2013-04-30 11:38:26 +08:00
Tim Hunt
7ab3615a00 MDL-47494 gapselect: Bump version number for the 2.5-compatible release. 2013-04-29 16:41:08 +01:00