Tim Hunt
ed7e30fa5c
MDL-62411 qtype_ddmarker: further improvements following code review
2018-10-20 15:18:17 +01:00
John Beedell
5d4b342107
MDL-62411 qtype_ddmarker: graphical editing of drop zones
...
Also, all the JavaScript in this plugin has been updated from YUI to
jQuery.
2018-10-20 15:15:28 +01:00
Eric Merrill
1ddf3b6a0f
MDL-63456 qtype_multichoice: Return a default options object if missing
2018-10-08 15:50:02 -04:00
Eric Merrill
efea324715
MDL-63456 question: Improve Aiken error handling and multichoice errors
2018-10-08 15:50:02 -04:00
Simey Lameze
73aefa6bfc
MDL-62610 mod_quiz: fix CiBoT issues
2018-10-01 08:27:28 +08:00
Shamim Rezaie
0ce3fef70a
MDL-63390 quiz_statistics: Remove Min/Median/Maximum rows
...
Part of MDL-62610
2018-10-01 07:53:10 +08:00
Shamim Rezaie
84140b9137
MDL-63390 quiz_statistics, question: Handling variants as well
...
Variants should also be treated like random questions in the sense that
a summary row
should be displayed for them as well.
This commit deals with handling variants.
Also the name of the calculated_random_question_summary class has
changed to
calculated_question_summary to be more generic as the summary row is not
specific to random questions only.
Also removed the protected function too_many_subq_and_or_variant_rows
and the const SUBQ_AND_VARIANT_ROW_LIMIT as they were not being used
anymore.
Part of MDL-62610
2018-10-01 07:52:31 +08:00
Shamim Rezaie
f4bc55871c
MDL_63390 question: Fixed get_min_max_of and get_min_max_of_sd
...
Fixed calculated_random_question_summary:get_min_max_of and calculated_random_question_summary:get_min_max_of_sd
functions and added unit tests
Part of MDL-62610
2018-10-01 07:52:18 +08:00
Tim Hunt
c5499edaef
MDL-63185 mod_quiz: more fixes to new behat code
...
Part of MDL-62610
2018-09-28 11:07:21 +08:00
Simey Lameze
9b1fc262d8
MDL-63185 mod_quiz: make CiBoT happy again
...
Part of MDL-62610
2018-09-28 11:07:21 +08:00
Simey Lameze
71fc74cee5
MDL-63185 core_question: add callback to some question types
...
Part of MDL-62610
2018-09-28 11:07:21 +08:00
Simey Lameze
5c0654d7ff
MDL-63185 mod_quiz: change APIs to handle attempts on behat
...
Thanks to Tim Hunt for all the help.
Part of MDL-62610
2018-09-28 11:07:21 +08:00
Shamim Rezaie
d79fef2ab5
MDL-63186 question: Calculate extremums of summarised questions
...
Modified calculated_random_question_summary class so that it can return minimum and maximum
of each attribute of the sub questions it is summarising.
Part of MDL-62610
2018-09-28 11:07:21 +08:00
Shamim Rezaie
6ee2b972c9
MDL-63186 quiz_statistics: Remove q number from the summary row
...
Part of MDL-62610
2018-09-28 11:07:21 +08:00
Ryan Wyllie
29cc55079a
MDL-63186 question: include random questions in statistics calculator
...
Part of MDL-62610
2018-09-28 11:07:21 +08:00
John Beedell
dfa85ad002
MDL-62708 qformat_xml: phpunit test correction.
2018-09-24 09:37:12 +01:00
John Beedell
6189fda47f
MDL-62708 question: Add idnumbers to question and question category
2018-09-21 12:26:24 +01:00
Eloy Lafuente (stronk7)
5bd0dc6483
MDL-23545 question: fix remaining sizes leading to failures
2018-09-19 23:07:20 +02:00
Eloy Lafuente (stronk7)
881f451bf0
Merge branch 'MDL-23545-phpunit-fixes' of https://github.com/timhunt/moodle
2018-09-19 18:10:37 +02:00
Tim Hunt
59ffae414c
MDL-23545 qformat_xml: fix another Behat test
2018-09-19 12:18:59 +01:00
Eloy Lafuente (stronk7)
61367994bd
Merge branch 'MDL-23545-phpunit-fixes' of https://github.com/timhunt/moodle
2018-09-19 00:26:25 +02:00
Tim Hunt
f19c6f60cd
MDL-23545 qformat_xml: don't allow irrelevant DB differences to break tests
...
Also slightly improve formatting of the exported file.
2018-09-18 13:52:51 +01:00
Jun Pataleta
73311d3157
MDL-23545 question_format: Replace tabs with spaces in upgrade.txt
2018-09-18 10:04:03 +08:00
Jun Pataleta
3d2659097e
Merge branch 'wip-MDL-23545-master' of https://github.com/Beedell/moodle
2018-09-18 09:47:38 +08:00
John Beedell
1dab8faafd
MDL-23545 question: XML import/export add category description
2018-09-14 16:54:25 +01:00
Tim Hunt
802ff4c933
MDL-63371 question: USE_RAW_DATA case in check_qt_var_name_restrictions
2018-09-14 16:43:41 +01:00
Tim Hunt
cb8aefa658
MDL-62880 qtype_ddwtos: drop support for legacy import format
...
It was more than 8 years since we wrote in that format.
2018-09-04 22:44:45 +02:00
Eloy Lafuente (stronk7)
12ef47cd99
MDL-63165 question: Bump expected size of question exports (take II)
2018-08-29 14:38:40 +02:00
Andrew Nicols
dab0f9aae7
MDL-63165 question: Bump expected size of question exports
2018-08-29 10:43:21 +08:00
John Beedell
d0a60444a1
MDL-63165 Question: xml import of question categories
2018-08-24 15:20:18 +01:00
Andrew Nicols
67984597fb
MDL-57281 question: Correct path to Quiz admin in test
2018-08-23 15:44:23 +08:00
Víctor Déniz Falcón
02fda279ed
MDL-57281 behat: deprecated step definition I navigate to node in
...
Definition step deprecated and affected tests modified.
2018-08-20 12:53:26 +01:00
Andrew Nicols
89763f5226
Merge branch 'MDL-62945-master' of https://github.com/HuongNV13/moodle
2018-08-07 08:08:18 +08:00
Huong Nguyen
4889d6ac23
MDL-62945 Quiz: Increase max group of Question type Gap Select
2018-08-03 14:26:45 +07:00
Shamim Rezaie
32338e7bda
MDL-62931 Questions: Escaping lang strings properly
2018-07-23 14:24:29 +10:00
Jun Pataleta
a766f5dc00
Merge branch 'MDL-62811' of git://github.com/timhunt/moodle
2018-07-19 08:46:51 +08:00
Jun Pataleta
76ca5c61d0
Merge branch 'MDL-62781-master' of git://github.com/junpataleta/moodle
2018-07-19 08:46:49 +08:00
David Monllao
3ffb8d2317
Merge branch 'MDL-59447-master' of https://github.com/nwp90/moodle
2018-07-19 08:46:48 +08:00
Jun Pataleta
061e9f4b11
MDL-62781 core_question: Remove unnecessary assertion
2018-07-18 09:57:49 +08:00
Tim Hunt
7ca1b32808
MDL-62781 question/privacy: fix tests with CodeRunner is installed
...
The tests were assuming that no plugin ever created questions on
install.
Also change the tests to do the counting in the DB. That is more
efficient.
2018-07-18 09:57:49 +08:00
Nick Phillips
b6efeb4730
MDL-59447 question: GIFT import to respect multichoice defaults
...
Fix GIFT import to respect default answernumbering for new multichoice
questions (introduced in MDL-50011). Default for shuffleanswers is still
ignored, as this is a rather coarse-grained way to do it, and the wrong
setting for shuffleanswers would irreversibly alter the meaning of some
questions.
This is not an ideal long-term fix, but will save significant effort
for anyone who needs to be able to set answernumbering style for
questions imported in GIFT format.
2018-07-13 13:33:33 +12:00
David Monllao
debbed03ed
Merge branch 'MDL-62814-master' of https://github.com/HuongNV13/moodle
2018-07-10 07:50:45 +02:00
Huong Nguyen
9d7ccae2d5
MDL-62814 Question: Improve column base display_header
...
Column base does not support custom tip if sortable is an array
2018-07-06 10:56:34 +07:00
Tim Hunt
b116f8b9ad
MDL-62811 question bank: rendering shouldn't load individual questions
2018-07-05 17:00:45 +01:00
Tim Hunt
0b18d0c960
MDL-62820 question import: properly escape output
2018-07-04 15:40:50 +08:00
Eloy Lafuente (stronk7)
01911b9f1f
Merge branch 'MDL-59047-master' of git://github.com/bmbrands/moodle
2018-06-26 03:04:35 +02:00
Bas Brands
7605e3899f
MDL-59047 question type: short answer boost styles
2018-06-19 14:32:35 +02:00
Huong Nguyen
628b4c86af
MDL-62358 Question: Improve number function
...
Support all 'question numbers' that might be needed
2018-06-14 19:43:55 +07:00
Bas Brands
f2b71ab281
MDL-62594 question type: cloze question theme boost
2018-06-07 13:58:43 +02:00
David Monllao
8cb2821928
Merge branch 'MDL-62532-master' of git://github.com/rezaies/moodle
2018-05-30 10:20:02 +02:00