Rajesh Taneja
bed97c39eb
MDL-49513 behat: Set admin config using php api
...
Added a new set to set config using set_config() api
to make steps faster and more efficient
2015-04-01 14:25:23 +08:00
Dan Poltawski
6b578e9611
Merge branch 'MDL-35280_m29v2' of https://github.com/sbourget/moodle
2015-03-23 11:25:55 +00:00
David Monllao
4abb49603e
MDL-40990 mod_quiz: Changing upgrade process according to version
2015-03-18 08:34:48 +08:00
Tim Hunt
441d284ada
MDL-40990 quiz: option to require prev Q finished before next shown
...
Further improvements to this code, including resolving edge cases:
* The new feature can only be used when it is possible for the
previous question in the quiz to be complete.
* Also, this new feature cannot be used in combination with shuffle
questions, because that make no sense; nor in combination with
sequential navigation, because to make that work properly would be a lot
of effort. If someone needs that to work later, it should be possible
for them to implement it.
* There were changes in the edit renderer API, to try to make things
more consistent, and to make it less likely we will need to change
things again in the future. See mod/quiz/upgrade.txt.
* As part of this change, the styling of the Edit quiz page was tweaked
to make slighly more efficient use of the horizontal space, and to be
more symmetrical.
2015-03-17 17:16:22 +00:00
M Kassaei
f7785e42b3
MDL-40990 quiz: option to require prev Q finished before next shown
2015-03-17 17:10:13 +00:00
Stephen Bourget
113486d2eb
MDL-35280 Quiz: Allow course reset to remove overrides
2015-03-16 19:41:15 -04:00
Andrew Nicols
8506c95c9f
Merge branch 'MDL-49364' of git://github.com/timhunt/moodle
2015-03-04 08:51:21 +08:00
Dan Poltawski
e2d8685247
Merge branch 'MDL-49335' of git://github.com/timhunt/moodle
2015-03-03 14:46:34 +00:00
Tim Hunt
8b6fcfa958
MDL-49364 quiz statistics: escape output in the response analysis
2015-03-03 13:04:18 +00:00
Tim Hunt
867b0430b0
MDL-49335 quiz behat: new test of attempting a quiz
...
This separates out attempting the quiz into a separate .feature, away
from the monolithic add_quiz.feature. At some point we should clean that
up, but for now I am just adding this.
Really, the main reason for this test is to verify the two Behat
enhancememnts I just did.
2015-03-03 11:19:48 +00:00
Tim Hunt
eeb7552589
MDL-49335 quiz behat: improved step for adding questions to a quiz
...
Explicit headings make the script more readable, and pave the way for
new options that are due to be added.
2015-03-03 11:19:48 +00:00
Dan Poltawski
8eed9a9f42
Merge branch 'MDL-49160-master' of git://github.com/merrill-oakland/moodle
2015-03-03 08:34:31 +00:00
Andrew Nicols
ebb18182a6
MDL-49285 mod_quiz: Remove unnecessary linebreak
2015-03-03 16:23:13 +08:00
Eric Merrill
2909c04408
MDL-49285 quiz: Include lib.php for phpunit test
2015-02-24 14:53:46 -05:00
Eric Merrill
1245bfd5f0
MDL-49160 quiz: Make sure to not select an outcome grade item
...
When we are computing completion, make sure we select only the true
grade_item, not outcome grade items.
2015-02-24 14:40:36 -05:00
Eloy Lafuente (stronk7)
941ea6b2ff
Merge branch 'MDL-48898' of git://github.com/timhunt/moodle
2015-01-28 12:27:07 +01:00
Tim Hunt
52540a51fa
MDL-48898 quiz: use admin_setting_configduration
...
Now this setting type is available, it is a better UI.
This required a new setting class
admin_setting_configduration_with_advanced.
Also, I took the liberty of shortening the default auto-save delay to 1
minute, and re-wording the description of that setting, now that it can
be changed to any value.
2015-01-23 11:56:08 +00:00
Andrew Nicols
557f44d970
MDL-48620 JavaScript: Updated shifted files to comply with coding style
2015-01-23 14:51:24 +08:00
Andrew Nicols
e2a036b4a9
Merge branch 'MDL-348' of https://github.com/bostelm/moodle
2015-01-21 11:46:22 +08:00
Henning Bostelmann
52b0a55125
MDL-348 mod_quiz: Improved print layout
...
Implementing a more compact print layout
for question attempt and review pages.
2015-01-15 20:28:06 +00:00
Tim Hunt
2e4e8d16c7
MDL-48829 quiz nav: add a data attr to buttons giving the page
...
This way, if you need to know which page each button goes to in
JavaScript, you can find out.
2015-01-15 10:20:55 +00:00
Mark Nelson
7f8b554644
MDL-47692 mod_quiz: added additional question_manually_graded trigger
2015-01-04 21:04:03 -08:00
Tim Hunt
fe03b762c9
MDL-48666 quiz: let JS to get a Qs slot number on the summary page
2014-12-19 14:39:15 +00:00
Tim Hunt
8fec847ca7
MDL-48410 behat, quiz: step for efficiently adding questions
2014-12-05 12:22:28 +00:00
Eloy Lafuente (stronk7)
38ea5e0a39
MDL-21724 course: change remaining tests to new "Save and display"
2014-12-04 12:14:31 +00:00
Dan Poltawski
67a51a5bed
Merge branch 'MDL-48342' of git://github.com/jmvedrine/moodle
2014-12-04 11:37:52 +00:00
Sam Hemelryk
0c3b2180d6
Merge branch 'MDL-48382' of git://github.com/timhunt/moodle
2014-12-01 13:58:13 +13:00
Andrew Nicols
64e7aa4de1
MDL-28286 JavaScript: Convert all uses of M.str to M.util.get_string
2014-12-01 08:32:04 +13:00
Jean-Michel Vedrine
762ee1393b
MDL-48342 Question: qformat_default::readquestion is broken
2014-11-28 15:47:39 +01:00
Tim Hunt
b8871eff04
MDL-48382 quiz behat: make add question step more robust.
2014-11-28 13:45:36 +00:00
Dan Poltawski
de134194b9
Merge branch 'MDL-48146' of git://github.com/timhunt/moodle
2014-11-18 12:04:48 +00:00
Sam Hemelryk
817e9010c1
Merge branch 'MDL-47618' of git://github.com/timhunt/moodle
2014-11-18 11:12:28 +13:00
Tim Hunt
06cf0b75ec
MDL-48146 quiz settings: fix non-percent feedback boundaries
2014-11-12 15:45:26 +00:00
Dan Poltawski
4bd5445447
Merge branch 'MDL-48168' of git://github.com/timhunt/moodle
2014-11-11 18:48:39 +00:00
Tim Hunt
bae1d7d9e8
MDL-47618 quiz statistics: fatal error with groups.
...
The problem was that the names of query placeholders were changing. The
fix was to do things ourself, rather than using get_in_or_equal.
2014-11-11 18:01:35 +00:00
Tim Hunt
080839c421
MDL-48168 quiz editing: max grade should be editable after attempts
...
Note that there was a lot of legacy code left from Moodle 2.7 which is
no longer required, and I took this opportunity to delete it.
2014-11-10 19:00:05 +00:00
Eloy Lafuente (stronk7)
147bae8f7c
MDL-48144 upgrade: add v2.8.0 sep lines
2014-11-10 18:08:15 +01:00
Eloy Lafuente (stronk7)
ec070d2cf7
Merge branch '48026-28' of git://github.com/samhemelryk/moodle
2014-11-06 00:33:46 +01:00
Eloy Lafuente (stronk7)
de881693f7
MDL-48021 bump: Bump all versions to planned release
...
This bumps all versions to planned 2.8 release
(2014111000) version and all the dependencies to
current 2.8rc1 (2014110400)
2014-11-04 17:52:35 +01:00
Sam Hemelryk
8a375d27f2
MDL-48026 mod_quiz: convert menu nowrap from CSS to method
2014-11-03 13:35:29 +13:00
Sam Hemelryk
ac4ed127de
MDL-47978 mod_quiz: more explicit selector for action menu change
2014-11-03 11:39:30 +13:00
Sam Hemelryk
968cc37437
Merge branch 'MDL-47978' of git://github.com/timhunt/moodle
2014-11-03 11:27:55 +13:00
Tim Hunt
262105faf9
MDL-47978 quiz editing: fix display of last add menu
2014-10-31 18:23:45 +00:00
Tim Hunt
58413f613e
MDL-47963 quiz editing: fix failing unit tests
...
The unit tests were initialising the structure class in a different way
from real use. That was clearly silly, so I got rid of create_for,
leaving just the real create_for_quiz.
2014-10-31 17:22:38 +00:00
Dan Poltawski
b4eaafd744
Merge branch 'MDL-47963' of git://github.com/timhunt/moodle
2014-10-31 13:14:59 +00:00
Sam Hemelryk
1a14f8a6de
MDL-47959 mod_quiz: fixed 0 questions bug
2014-10-31 13:35:25 +13:00
Colin Chambers
77dca4d0a8
MDL-47972 mod_quiz: Fix new quiz on themes based on base.
2014-10-30 17:11:23 +00:00
Tim Hunt
6870a6b8d0
MDL-47963 quiz editing: block ajax edits once there are attempts
2014-10-30 16:24:55 +00:00
Dan Poltawski
f976c8e468
Merge branch 'MDL-47959' of git://github.com/colchambers/moodle
2014-10-30 14:24:35 +00:00
Colin Chambers
6375e98cbb
MDL-47959 Number of questions not updated dynamically in new quiz edit page
2014-10-29 16:26:49 +00:00