Commit graph

15366 commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
f97db01978 Merge branch 'wip-MDL-37644-m25' of git://github.com/samhemelryk/moodle 2013-01-30 10:27:11 +01:00
Jason Fowler
0dbae598d7 MDL-36206 - Unit Test - Create unit test for pagination bar 2013-01-30 09:52:34 +08:00
Dan Poltawski
7543705d9b Merge branch 'w04_MDL-37726_m25_prevnext_int' of git://github.com/skodak/moodle 2013-01-30 09:18:57 +08:00
Eloy Lafuente (stronk7)
fb44a5db6f Merge branch 'w04_MDL-37734_m25_marshack' of git://github.com/skodak/moodle 2013-01-30 01:11:20 +01:00
Eloy Lafuente (stronk7)
857b40256e Merge branch 'MDL-37526-m' of git://github.com/andrewnicols/moodle 2013-01-29 23:33:22 +01:00
Petr Škoda
7a18f49c60 MDL-37726 remove PREVIOUS/NEXT from all install.xml files
YAY!
2013-01-29 22:34:46 +01:00
Petr Škoda
76f2fcdedb MDL-37726 stop using PREVIOUS/NEXT in install.xml files 2013-01-29 22:32:24 +01:00
Eloy Lafuente (stronk7)
0ed03cc295 Merge branch 'MDL-37101-master' of git://github.com/ankitagarwal/moodle
Conflicts:
	calendar/tests/externallib_tests.php
2013-01-29 15:19:11 +01:00
David Monllao
f0200d1462 MDL-37659 behat: Adding data generator definition 2013-01-29 17:25:25 +08:00
David Monllao
87bb583cbc MDL-37659 testing: New data generators
- Grouping groups
- Group members
2013-01-29 17:25:02 +08:00
Petr Škoda
dd8a39a881 MDL-37734 add one more recordset isolation test 2013-01-29 10:10:40 +01:00
Petr Škoda
0363b7826b MDL-37734 use prefetching workaround for MARS transaction problems 2013-01-29 10:10:09 +01:00
David Monllao
23ebc481e7 MDL-37657 behat: Adding definitions related with forms 2013-01-29 15:31:26 +08:00
David Monllao
b1bc8cfc65 MDL-37657 behat: Add tree nodes expansion definition 2013-01-29 15:31:25 +08:00
David Monllao
786ea937cc MDL-37657 behat: General steps definitions 2013-01-29 15:31:25 +08:00
Dan Poltawski
4653ecd3b3 Merge branch 'MDL-37046_master' of git://github.com/dmonllao/moodle 2013-01-29 15:07:48 +08:00
David Monllao
33063f2eb5 MDL-37046 behat: Quick fix
Provides feedback when trying to use the web interface
to list steps definitions when $CFG->behat_dataroot hasn't
been set or can not be written
2013-01-29 14:46:41 +08:00
Dan Poltawski
10b8d16deb Merge branch 'MDL-37656_master' of git://github.com/dmonllao/moodle 2013-01-29 13:46:26 +08:00
David Monllao
f5ceb6c233 MDL-37656 behat: Adding hooks
At suite, scenario and step levels
2013-01-29 12:57:03 +08:00
David Monllao
d4322e3859 MDL-37656 behat: Base empty class 2013-01-29 12:57:03 +08:00
Dan Poltawski
68aaba6c84 Merge branch 'MDL-37046_master' of git://github.com/dmonllao/moodle 2013-01-29 12:03:10 +08:00
David Monllao
475ac3f8ee MDL-37046 behat: Changes from integration review
* RTL languages problem solved
* Fixed curl errno return
* Switch to behat test environment code more readable
2013-01-29 11:56:42 +08:00
Paul Nicholls
606554d5b0 MDL-32652 - Make block drag-drop work throughout Moodle
The central "content" region on My Home / user profile pages also needs to
be initialised in lib/ajax/blocks.php in order to allow blocks to be
dropped into that region successfully.  Some tweaks were also necessary in
order to correct the "content" region's structure in order for drag-drop
to function on this region on these pages.

Non-standard block regions (including the central "content" region
used by My Home and user profile pages) were causing the temporary empty
block region used as a drop target to sometimes appear in the wrong place.

The call to init_requirements_data (which includes the block drag-drop JS)
happens at a late enough stage in page generation that we can simply
pass the context ID through to the JS, so that it can be sent as part of
the AJAX request.  This prevents lib/ajax/blocks.php from having to try
to guess the context from the other bits of information it receives, so
block drag-drop should now work everywhere without issues.
2013-01-29 14:57:28 +13:00
Sam Hemelryk
ab58c6b724 Merge branch 'w04_MDL-37716_m25_enrolexpiry' of git://github.com/skodak/moodle 2013-01-29 14:56:57 +13:00
David Monllao
096858ed83 MDL-37046 behat: Use behat test env
Moving from phpunit test environment
to a specific behat test environment
2013-01-29 08:40:38 +08:00
David Monllao
b5c130092b MDL-37046 behat: Split in different classes 2013-01-29 08:40:38 +08:00
David Monllao
9516712114 MDL-37046 behat: Coding standards compliant 2013-01-29 08:40:38 +08:00
David Monllao
ff2ec29bb1 MDL-37046 behat: Added to standard plugins list 2013-01-29 08:40:38 +08:00
David Monllao
bd770617a9 MDL-37046 behat: New setting to switch completely to test env. 2013-01-29 08:40:37 +08:00
David Monllao
0b5f481bf5 MDL-37046 behat: Externalizations
Instead of starting the PHP web server and calling
behat as a passthru we maintain them as standalone
2013-01-29 08:40:37 +08:00
David Monllao
6d9427bba6 MDL-37046 behat: Removing MinkContext 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
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
cca2c80630 MDL-37046 behat: Restricting the execution to the built-in server 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
e87d603dca MDL-37046 behat: Moving feature file to lib/tests/behat 2013-01-29 08:40:36 +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
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
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
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 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