David Monllao
2fb8dbad77
Merge branch 'MDL-53938_30' of git://github.com/timhunt/moodle into MOODLE_30_STABLE
2016-05-31 11:43:27 +08:00
David Monllao
086b3f25a0
Merge branch 'MDL-29905-30' of git://github.com/FMCorz/moodle into MOODLE_30_STABLE
2016-05-30 15:41:29 +08:00
Frederic Massart
5bc25db29c
MDL-29905 question: Auto remove stale questions upon category deletion
2016-05-30 12:26:31 +08:00
Eric Merrill
04e9b8e614
MDL-29905 question: Try to delete unused hidden/random questions
...
Before going to display the warning about moving in use questions,
try to delete unused Random qtype questions, as well as 'hidden'
questions (these are questions that were deleted from the category),
but were in use at the time.
2016-05-30 12:26:30 +08:00
Frederic Massart
f80ab4d427
MDL-35987 qtype_multianswer: Prevent restore failure due to bad sequence
2016-05-25 12:24:14 +08:00
Rajesh Taneja
0f24b0ae06
MDL-54543 behat: Increase file download range
...
with different db's, the id and defaultgrade
might be different, so increasing the range
to avoid such failures
2016-05-12 16:02:03 +08:00
Tim Hunt
a4079c3c74
MDL-53938 qformat_gift: handle multi-choice MR with one 100% choice
2016-05-11 18:07:46 +01:00
Tim Hunt
7d82cbc6bb
MDL-53728 question import/export: improve form structure
2016-04-06 15:36:01 +01:00
Eloy Lafuente (stronk7)
eb7715d16f
Merge branch 'MDL-53369_30' of git://github.com/timhunt/moodle into MOODLE_30_STABLE
2016-03-09 18:59:45 +01:00
David Monllao
61ba63d516
Merge branch 'MDL-53350_30' of git://github.com/timhunt/moodle into MOODLE_30_STABLE
2016-03-08 09:05:05 +08:00
Tim Hunt
0c5c778ae7
MDL-53369 qtype_ddwtos: prevent boxes on consecutive lines touching
2016-03-07 15:24:03 +00:00
Tim Hunt
7f81a8388a
MDL-53353 drag-drop marker quetions: fix edit form jitter
2016-03-04 17:42:16 +00:00
Tim Hunt
76dad4b0a2
MDL-53350 drag-drop to text: layout problem on reivew
2016-03-04 17:12:24 +00:00
Tim Hunt
51089c2079
MDL-53065 quiz redo question: avoid PHP notice in edge case
...
When selecting the variant of the new question, we need to add the
new question to the usage before trying to select a variant.
Also, we need to acutally use the selected variant number!
2016-02-19 12:11:08 +00:00
Eloy Lafuente (stronk7)
7080a26ecc
MDL-52964 Qtype: Small fixes to behat tests
...
This applies some small changes to proposed behat tests:
- Geting rid of the @javascript tag when it's not needed.
- Adding some missing @_switch_window tags.
- Fixing some scenario names, previously duplicated.
- Fixing some typos and whitespace.
2016-02-18 02:31:44 +01:00
M Kassaei
56b8a5c80c
MDL-52964 Qtype: Add behat tests to core question types
2016-02-18 02:31:40 +01:00
Eloy Lafuente (stronk7)
29e70c0ffa
Merge branch 'MDL-52814_30' of git://github.com/timhunt/moodle into MOODLE_30_STABLE
2016-02-16 16:48:59 +01:00
Tim Hunt
4b3f09c081
MDL-52814 questions: Show extra info in the outcomes area not info
...
Currently the only use is the quiz Redo question button, and that would
be much better placed in the feedback area, not least for langages where
the button label needs to be longer.
2016-02-10 08:47:40 +00:00
David Monllao
80e7dc9740
Merge branch 'MDL-52927_30' of https://github.com/mkassaei/moodle into MOODLE_30_STABLE
2016-02-09 16:40:19 +08:00
Andrew Nicols
db80cf54a6
MDL-52339 question: Fix question attempt removal for MySQL
...
Derived table support was altered in MySQL 5.7 changing the way in which
DELETE FROM works in some cases.
This change modifies the way in which deletion occurs by selecting all IDs
and batching them into groups of 1000.
2016-02-09 00:45:50 +01:00
M Kassaei
39396934da
MDL-52927 qtype ddwtos and ddimageortext focus using keyboard
2016-02-01 14:50:55 +00:00
Dan Poltawski
ac56855bbc
Merge branch 'MDL-52365_30_new' of git://github.com/mkassaei/moodle into MOODLE_30_STABLE
2015-12-22 13:14:48 +00:00
M Kassaei
79d202c36d
MDL-52365 qtype ddwtos & ddimageortext: 20 drag items IE11/Edge
2015-12-22 12:13:23 +00:00
Andrew Nicols
73d2934ba5
Merge branch 'MDL-52363_30' of git://github.com/mkassaei/moodle into MOODLE_30_STABLE
2015-12-22 12:34:21 +08:00
Rajesh Taneja
6fccd1fe35
MDL-52427 behat: Fixed question selectors
...
As class is changed, we need to convert selector
to check if class is contained, rather then checking
selecting with specific class.
2015-12-22 10:43:18 +08:00
Dan Poltawski
8dd7e73294
Merge branch 'MDL-52427_30' of git://github.com/timhunt/moodle into MOODLE_30_STABLE
2015-12-21 13:27:40 +00:00
Dan Poltawski
c3183cb6fe
Merge branch 'MDL-52542_30' of git://github.com/timhunt/moodle into MOODLE_30_STABLE
2015-12-21 11:07:23 +00:00
Dan Poltawski
abde041907
Merge branch 'MDL-52553_30' of git://github.com/dmonllao/moodle into MOODLE_30_STABLE
2015-12-18 10:56:31 +00:00
David Monllao
bba453b9ed
MDL-52553 question: Adding missing required constants
2015-12-18 14:43:31 +08:00
Eloy Lafuente (stronk7)
9149eaae18
Merge branch 'wip-mdl-52540-m30' of https://github.com/rajeshtaneja/moodle into MOODLE_30_STABLE
2015-12-17 10:18:58 +01:00
Tim Hunt
b35e24e254
MDL-52542 qtype_multianswer: field names must match string placeholders
2015-12-17 08:36:34 +00:00
Rajesh Taneja
8a0c8192c8
MDL-52540 behat: mouse events are not handled well with phantomjs
2015-12-17 12:06:06 +08:00
M Kassaei
9611df0f92
MDL-52363 qtype_ddimageortext: Incorrectly sized drag item
2015-12-15 11:21:29 +00:00
Tim Hunt
1507697d9f
MDL-52427 questions: all parts of a Q should be clearfix
...
Otherwise large floated images may overflow.
2015-12-13 20:32:13 +00:00
David Monllao
0a44e7d8cc
MDL-51784 general: Adding missing php4 style constructors
...
Adding them to maintain backwards compatibility.
2015-12-11 14:56:31 +08:00
Marina Glancy
345f365555
MDL-51784 various: use __construct() for PHP7 compatibility
2015-12-11 13:53:59 +08:00
David Monllao
1c4bc77d44
MDL-52333: qtype_calculated: Adding division by zero test
2015-12-10 16:40:16 +08:00
Tony Levi
bc91b91ab1
MDL-52333 qtype: PHP7-compatibility in calculate_raw()
...
Code also modified by Tim Hunt
2015-12-10 16:40:08 +08:00
Marina Glancy
2cae0d3b15
MDL-52193 questions: add missing require_once
2015-12-07 15:38:02 +00:00
David Monllao
f248c81e5a
Merge branch 'MDL-48004-30' of git://github.com/danpoltawski/moodle into MOODLE_30_STABLE
2015-12-03 19:01:47 +01:00
Andrew Nicols
7d05696b12
Merge branch 'wip-mdl-52357-m30' of https://github.com/rajeshtaneja/moodle into MOODLE_30_STABLE
2015-12-03 19:01:46 +01:00
Rajesh Taneja
0f62dd32c7
MDL-52357 behat: add 2 sec delay to ensure window is stable
2015-12-01 15:46:30 +08:00
Dan Poltawski
793c80165d
MDL-45364 ddimageortext: refine naming & docs of new methods
2015-11-26 19:50:03 +00:00
Andrew Nicols
a4f457e111
MDL-45364 qtype_ddimageortext: Fix JS Lint issues
2015-11-26 19:50:03 +00:00
Dan Poltawski
b1549e4127
MDL-48004 question: prevent notices on import screen
...
If query params were not passed the page would previously display debug
notices as setting the $requirecourseid param to question_edit_setup()
was buggy.
2015-11-26 15:03:43 +00:00
Eloy Lafuente (stronk7)
95f83b70b0
MDL-52291 questions: fix upgrade from 2.5 and earlier
...
Because of some changes performed to the multichoice qtype
for Moodle 2.6, older sites are not able to upgrade properly.
This commits does introduce DB introspection to decide which
table and column names must be used. Nasty but enough.
Note MDL-52298 has been created about to avoid/minimize the
chances of this happening again.
2015-11-25 11:23:34 +00:00
Rajesh Taneja
107ab59c29
MDL-50163 behat: wait to ensure elements are placed properly by js.
2015-11-24 12:25:16 +08:00
Marina Glancy
40e33b6e75
MDL-52203 qtype_multianswer: avoid fatal error during upgrade
2015-11-19 09:45:28 +01:00
Dan Poltawski
6a30312beb
Merge branch 'MDL-52162_30' of git://github.com/dmonllao/moodle into MOODLE_30_STABLE
2015-11-19 06:34:35 +00:00
David Monllao
33784bd64b
MDL-52162 question: Removing unnecessary dependency
...
APIs dependencies were correctly removed during MDL-38214 review although
this unnecessary require remained here.
Credit to Marina Glancy.
2015-11-18 13:18:09 +08:00