526 Commits

Author SHA1 Message Date
Petr Škoda
9240ecbd98 MDL-40500 move MOODLE_INTERNAL define before core_component include
This resolves problems with MOODLE_INTERNAL in db/subplugins.php
2013-07-04 19:04:23 +02:00
Ankit Agarwal
0601e0eef6 MDL-40402 libraries: Replace get_system_context() with context_system::instance() in core 2013-07-04 15:41:06 +08:00
Petr Škoda
d534708fd3 MDL-40299 textlib conversion to core_text and core_collator 2013-06-27 22:18:57 +02:00
Petr Škoda
9e19a0f08b MDL-39854 reimplement Frankenstyle support and enable classloader
Better performance, more reliable, completely self contained,
more validation and full backwards compatibility.

This will also allow us to implement ignoring of plugins.
2013-06-18 09:10:07 +02:00
Dan Poltawski
3d164e1ef4 Revert "MDL-39474 Library: Make a fast way to check developer debug mode"
There were multiple problems discovered.

This reverts commit 5c92e7a740fbce4184cf204a11ebbb6b918a376b.

Conflicts:
	admin/cli/install.php
2013-06-18 15:07:22 +08:00
sam marshall
5c92e7a740 MDL-39474 Library: Make a fast way to check developer debug mode 2013-06-11 16:29:00 +01:00
Eloy Lafuente (stronk7)
de10fcac5f MDL-39552 Make behat code re-entrant safe
With yui combo in action, some times setup.php is
included more than once. So it's mandatory to
guarantee that code until ABORT_AFTER_CONFIG_CANCEL
can be executed safely multiple times in the same
request.

This change just prevents the behat section to be executed
more than once. All the values that are set within it
should be already defined for the re-entrant call.
2013-05-07 19:00:41 +02:00
David Monllao
cfcbc34a61 MDL-39478 behat: New constant to detect when the test site is running
Also removing an unused var and method.
2013-05-07 11:12:01 +08:00
David Monllao
90ed22ab70 MDL-38041 behat: Capturing also PHP debug messages 2013-05-03 10:05:08 +08:00
Petr Škoda
ca5d6066a7 MDL-39336 some themes may use $SITE->shortname in page layout before installation finishes 2013-04-26 21:33:15 +02:00
Eloy Lafuente (stronk7)
196bd8c885 Merge branch 'w14_MDL-38786_m25_yui391' of git://github.com/skodak/moodle 2013-04-09 01:32:35 +02:00
Eloy Lafuente (stronk7)
0fd23b76de MDL-39006 environment: raise all uses of 5.3.2 to 5.3.3 2013-04-07 18:32:15 +02:00
Petr Škoda
b207e601f5 MDL-38786 import YUI 3.9.1 2013-04-06 19:08:09 +02:00
Petr Škoda
6f634b6ffb MDL-38467 import YUI 3.9.0 2013-03-14 08:49:30 +01:00
David Monllao
5f26d1c8b8 MDL-38327 behat: Don't switch completely if switchcompletely is false 2013-03-05 14:03:50 +08:00
David Monllao
7f9d8045a3 MDL-38164 behat: No switch completely if it is false 2013-02-22 12:01:52 +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
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
9516712114 MDL-37046 behat: Coding standards compliant 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
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
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
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
Petr Škoda
48e114a517 MDL-37596 optionally enable CLI maintenance later 2013-01-28 14:23:21 +01:00
Dan Poltawski
77ea8340de Merge branch 'MDL-37458_master' of git://github.com/dmonllao/moodle 2013-01-21 11:14:38 +08:00
Sam Hemelryk
e17dbeeb1a MDL-34398 groups: implemented caching of group information. 2013-01-17 09:24:58 +13:00
David Monllao
3f7211f45a MDL-37458 testing lock externalization 2013-01-16 13:43:25 +08:00
Petr Škoda
6846f033a9 MDL-37125 import latest YUI 3.8.0 2012-12-20 22:31:51 +01:00
Sam Hemelryk
94ef67cf5f MDL-36466 cache: tidy up after review 2012-11-26 08:12:00 +13:00
Sam Hemelryk
c9f40e77b7 MDL-36466 cache: renamed define NO_CACHE_STORES to CACHE_DISABLE_STORES 2012-11-26 08:12:00 +13:00
Petr Škoda
0b37fe466a MDL-36682 remove old unused shared memory caching support 2012-11-18 14:46:31 +01:00
Petr Škoda
398862b92b MDL-36487 send IE standards compatibility http headers 2012-11-09 17:27:29 +01:00
Petr Škoda
6df2abcf1a MDL-36145 import latest YUI 3.7.3 2012-10-20 15:22:15 +08:00
Sam Hemelryk
6fec18203b MDL-25290 cache: Renamed plugin from cache => cachestore 2012-10-08 09:53:51 +13:00
Sam Hemelryk
d6a1f63bdd MDL-25290 cache: Cache API integration with core 2012-10-08 09:53:50 +13:00
Petr Škoda
7a9b6cb6f2 MDL-35616 import YUI 3.7.2 2012-09-27 14:41:32 +02:00
Petr Škoda
414e82b1df MDL-35515 import latest and greatest YUI 3.7.1 2012-09-20 10:23:31 +02:00
Petr Škoda
3edc37cb13 MDL-34740 add class file option to $CFG->moodlepageclass and $CFG->blockmanagerclass 2012-08-18 10:02:46 +02:00
Petr Škoda
af7879701b MDL-34701 import latest YUI 3.6.0 2012-08-02 16:49:19 +02:00
Petr Skoda
7cb76d1645 MDL-33595 fix recent initial PHPUnit init regression 2012-06-08 11:50:03 +02:00
Petr Skoda
17b60e9d98 MDL-33089 detect more problems when initialising PHPUnit test environment 2012-05-28 10:10:32 +02:00
sam marshall
ae3fbf7b06 MDL-24419 (2): Moved groupings cache to get_all_groupings function
There was a static cache inside course/lib.php. I need to access this
information in other places, so to avoid making two queries, I am
moving the cache into the groups_get_all_groupings function instead.
2012-05-14 11:15:15 +01:00
Petr Skoda
353efa008d MDL-32843 import YUI 3.5.1 2012-05-08 09:21:27 +02:00
Sam Hemelryk
fe9693df87 Merge branch 'w18_MDL-26028_m23_xsendfile' of git://github.com/skodak/moodle 2012-05-02 11:48:24 +12:00
Petr Skoda
99302c5e96 MDL-26028 cleanup all IE6 gzip hacks 2012-04-28 18:00:06 +02:00
Petr Skoda
463a9874ef MDL-32612 respect NO_DEBUG_DISPLAY in scripts that need only config.php 2012-04-28 17:14:37 +02:00
Eloy Lafuente (stronk7)
2a1f43a1db Merge branch 'w16_MDL-32448_m23_yui350' of git://github.com/skodak/moodle 2012-04-17 00:29:35 +02:00