Commit graph

59049 commits

Author SHA1 Message Date
David Monllao
6d9427bba6 MDL-37046 behat: Removing MinkContext 2013-01-29 08:40:37 +08:00
David Monllao
de424b462f MDL-37046 behat: Removing step
The issue scope is only the integration in moodle
2013-01-29 08:40:37 +08:00
David Monllao
a2a9843819 MDL-37046 behat: Checking PHP version 2013-01-29 08:40:37 +08:00
David Monllao
a09534f4fc MDL-37046 behat: Requires Moodle 2.5
Also more code comments and general cleanup
2013-01-29 08:40:37 +08:00
David Monllao
fbb5243491 MDL-37046 behat: Refining composer dependencies installation 2013-01-29 08:40:37 +08:00
David Monllao
1be4c32138 MDL-37046 behat: Specific composer dependencies versions 2013-01-29 08:40:37 +08:00
David Monllao
f4ebf1f889 MDL-37046 behat: Command with x permission 2013-01-29 08:40:37 +08:00
David Monllao
cb18fd7100 MDL-37046 behat: Using moodle composer 2013-01-29 08:40:37 +08:00
David Monllao
d46340eb16 MDL-37046 behat: Adding steps definitions list filters 2013-01-29 08:40:36 +08:00
David Monllao
25833ef86e MDL-37046 behat: CLI option to add/remove javascript tests 2013-01-29 08:40:36 +08:00
David Monllao
cca2c80630 MDL-37046 behat: Restricting the execution to the built-in server 2013-01-29 08:40:36 +08:00
David Monllao
84d687befc MDL-37046 behat: Removing temporarly the rest context of Behatch until upstream fixes the problem 2013-01-29 08:40:36 +08:00
David Monllao
df8dcf3ed6 MDL-37046 behat: Using single config file on moodle side 2013-01-29 08:40:36 +08:00
David Monllao
603c95dc10 MDL-37046 behat: User interface 2013-01-29 08:40:36 +08:00
David Monllao
93245e952f MDL-37046 behat: Steps definitions loading 2013-01-29 08:40:36 +08:00
David Monllao
554820dd52 MDL-37046 behat: Moving installation instructions to MDocs 2013-01-29 08:40:36 +08:00
David Monllao
8cdc0ce8a4 MDL-37046 behat: Integrating build config file into runtests action 2013-01-29 08:40:36 +08:00
David Monllao
6d994c510f MDL-37046 behat: Adding CLI options 2013-01-29 08:40:36 +08:00
David Monllao
33005f689c MDL-37046 behat: Adding build config file action 2013-01-29 08:40:36 +08:00
David Monllao
e87d603dca MDL-37046 behat: Moving feature file to lib/tests/behat 2013-01-29 08:40:36 +08:00
David Monllao
ecbd3cbe70 MDL-37046 behat: CLI tool 2013-01-29 08:40:35 +08:00
David Monllao
cc5446464e MDL-37046 behat: Adding switch environment feature 2013-01-29 08:40:35 +08:00
David Monllao
7f541ea3ed MDL-37046 behat: Adding web-based tests runner
Uses phpunit test environment to execute the functional testing, adding
steps definitions list and tests runner actions
2013-01-29 08:40:35 +08:00
David Monllao
191b3fb9d7 MDL-37046 behat: Adding a test to check the test environment 2013-01-29 08:40:35 +08:00
David Monllao
dca22d7cc1 MDL-37046 behat: Basic web execution wrapper 2013-01-29 08:40:35 +08:00
David Monllao
301cbe3a30 MDL-37046 behat: Behat admin tool skeleton 2013-01-29 08:40:35 +08:00
Eloy Lafuente (stronk7)
09d6bcc232 Merge branch 'w04_MDL-37718_m25_rs' of git://github.com/skodak/moodle 2013-01-29 01:33:08 +01:00
Eloy Lafuente (stronk7)
ee4cac2b44 Merge branch 'wip-MDL-37474-m25' of git://github.com/samhemelryk/moodle 2013-01-29 01:32:09 +01:00
Sam Hemelryk
3178ae6f09 Merge branch 'wip-mdl-36619' of git://github.com/rajeshtaneja/moodle 2013-01-29 10:50:14 +13:00
Sam Hemelryk
dabe6985e4 Merge branch 'master_MDL-37696' of git://github.com/danmarsden/moodle 2013-01-29 10:19:31 +13:00
Sam Hemelryk
41f3d113f7 Merge branch 'MDL-37697-m' of git://github.com/andrewnicols/moodle 2013-01-29 10:17:01 +13:00
Sam Hemelryk
49c204d1ee Merge branch 'MDL-37350-m' of git://github.com/andrewnicols/moodle 2013-01-29 08:55:05 +13:00
Sam Hemelryk
5126bab95c Merge branch 'MDL-36881-m' of git://github.com/andrewnicols/moodle 2013-01-29 08:52:01 +13:00
Sam Hemelryk
bf6a1b9078 Merge branch 'w04_MDL-37596_m25_schedmaint' of git://github.com/skodak/moodle 2013-01-29 08:44:15 +13:00
Sam Hemelryk
8d8e6b1519 Merge branch 'MDL-34671-m' of git://github.com/andrewnicols/moodle 2013-01-29 08:39:35 +13:00
Sam Hemelryk
44aad12347 Merge branch 'MDL-37668-master' of git://github.com/sammarshallou/moodle 2013-01-29 08:33:41 +13:00
Sam Hemelryk
cb4adcc4a4 Merge branch 'master_MDL-34231' of git://github.com/danmarsden/moodle 2013-01-29 08:28:31 +13:00
Eloy Lafuente (stronk7)
fab951a6ae Merge branch 'wip-MDL-37545-m25' of git://github.com/samhemelryk/moodle 2013-01-28 19:23:17 +01:00
Eloy Lafuente (stronk7)
7356e732b7 MDL-37086 phpunit: use alt reset method.
When code executed in test cases is using/preventing
database transactions, phpunit itself cannot
use transactions for reseting between cases. But we
can tell it about, so some alternative (and slower)
method for reseting will be used.
2013-01-28 18:25:38 +01:00
Petr Škoda
48e114a517 MDL-37596 optionally enable CLI maintenance later 2013-01-28 14:23:21 +01:00
sam marshall
62019ad86e MDL-37668 Accessibility: Help popup should be easy to close using keyboard 2013-01-28 10:56:26 +00:00
Andrew Robert Nicols
8a185b9ebc MDL-34671 Stop browser receiving escape keydown in modal dialogues
In certain modal dialogues, we listen on the Escape key to close a
dialogue. However, this is still passed to the browser. As a result, if the
browser is in full screen mode and that browser respects the escape key as
a means to exit full screen.

As a result, we need to ensure that we listen for the escape key at keydown
rather than keyup, and additionally prevent the default browser behaviour.

This is a workaround to http://yuilibrary.com/projects/yui3/ticket/2532616
and, should that issue be fixed, it should be removed.
2013-01-28 10:35:26 +00:00
Sam Chaffee
56c0878b45 MDL-36881 Handle poorly behaved modname_get_types functions better
The modname_get_types function is not always well implemented by
third-party plugins and some return poor data. This in turn leads to
incorrect module definitions, and can lead to problems in both the
'Add an activity...' dropdowns and the Activity chooser.

This will also prevent display of plugins which legitimately can have
subtypes but where no subtypes were found. Since such plugins cannot be
used in this fashion in any case, this is also beneficial.

Signed-off-by: Andrew Robert Nicols <andrew.nicols@lancaster.ac.uk>
2013-01-28 10:21:22 +00:00
Andrew Robert Nicols
344936ae48 MDL-37350 Detach listeners when hiding the 'Add roles' popup
If the submit event listener is not correctly closed, then the submit event
calls the relevant callback multiple times incorrectly.

When hiding the Add role dialogue, we need to detach any event listeners
which are applied to it.
2013-01-28 09:57:08 +00:00
Dan Marsden
cce0da745a MDL-34231 SCORM: Lock after final attempt when using skip content structure or direct navigation to player.php 2013-01-28 21:17:43 +13:00
Sam Hemelryk
502e785311 Merge branch 'w04_MDL-37638_m25_rolecloning' of git://github.com/skodak/moodle 2013-01-28 18:00:07 +13:00
Sam Hemelryk
44a951b28d Merge branch 'w04_MDL-37666_m25_cssiesend' of git://github.com/skodak/moodle 2013-01-28 17:56:05 +13:00
Sam Hemelryk
d0ac573b7f Merge branch 'w04_MDL-37713_m25_testdir' of git://github.com/skodak/moodle 2013-01-28 17:53:54 +13:00
Sam Hemelryk
3619009d0b Merge branch 'MDL-37677-obsolete-cache-debug' of git://github.com/mudrd8mz/moodle 2013-01-28 17:50:48 +13:00
Sam Hemelryk
34e41c81f8 Merge branch 'MDL-37673-muc-groupdata-typo' of git://github.com/mudrd8mz/moodle 2013-01-28 17:49:24 +13:00