Commit graph

2002 commits

Author SHA1 Message Date
Dan Poltawski
7064ef523b Merge branch 'wip-mdl-40044' of git://github.com/rajeshtaneja/moodle 2013-08-12 14:27:35 +08:00
Rajesh Taneja
35e4eb42c0 MDL-40044 Roles: Updated role_assigned and role_unassigned event to remove add_to_log 2013-08-09 18:02:02 +08:00
Rajesh Taneja
1613ffa55f MDL-40044 Roles: Added role_allow_*_updated events to replace add_to_log on role allow page
Added events:
1. role_allow_assign_updated
2. role_allow_override_updated
3. role_allow_switch_updated
2013-08-09 17:59:54 +08:00
Rajesh Taneja
82ddcad0a3 MDL-40044 Roles: Added role_capabilites_updated event and replaced related add_to_log 2013-08-09 17:59:54 +08:00
Rajesh Taneja
a7524e354b MDL-40044 Roles: Added role_deleted event and replaced related add_to_log 2013-08-09 17:59:54 +08:00
Rajesh Taneja
cdc541990e MDL-39955 completion: Added unittest for course_module_completion_updated event 2013-08-09 17:06:12 +08:00
Frederic Massart
d26ec8a598 MDL-41100 libraries: Moved get_plugin_list_with_file to core_component 2013-08-09 11:56:48 +08:00
Petr Škoda
99a9d8d937 MDL-41019 refactor string managers to new core_ classes 2013-08-08 09:10:25 +02:00
Petr Škoda
3130c1a71f MDL-40952 skip only the opcache requirement in environment test
Please note we need other optional extensions and settings because otherwise some tests fail without explanation.
2013-08-08 09:02:40 +02:00
Petr Škoda
2f1e464a88 MDL-40438 migrate all collatorlib:: and textlib:: uses 2013-08-06 21:04:35 +02:00
David Monllao
81cd8572ba MDL-40673 behat: Data generator for permission overrides 2013-08-06 15:04:48 +08:00
Ankit Agarwal
320aee339c MDL-40935 phpunit: Remove assertLegacyEventName() since get_legacy_eventname() is public now 2013-08-06 14:58:30 +08:00
Ankit Agarwal
2244600337 MDL-40935 events: get_legacy_eventname() should be public and static 2013-08-06 14:25:37 +08:00
David Monllao
95b43d6b90 MDL-40852 behat: Wrong URLs detection 2013-08-06 13:23:07 +08:00
Sam Hemelryk
e145762b17 Merge branch 'MDL-40934-master' of git://github.com/FMCorz/moodle
Conflicts:
	auth/tests/auth_test.php
2013-08-06 14:37:43 +12:00
Sam Hemelryk
3550fc28fb NOBUG: fixed whitespace 2013-08-06 14:03:54 +12:00
Sam Hemelryk
471dd4ff67 Merge branch 'MDL-40963-master' of git://github.com/ankitagarwal/moodle 2013-08-06 13:59:23 +12:00
Sam Hemelryk
b09abb05ab Merge branch 'w32_MDL-40901_m26_phpunitcleanup2' of https://github.com/skodak/moodle 2013-08-06 08:53:24 +12:00
Sam Hemelryk
1eebbc2854 Merge branch 'w32_MDL-40943_m26_observers' of https://github.com/skodak/moodle 2013-08-06 08:49:28 +12:00
Marina Glancy
50c6e3ebac Merge branch 'MDL-41029-master' of git://github.com/FMCorz/moodle 2013-08-05 17:46:22 +10:00
Marina Glancy
698be6bbd0 Merge branch 'MDL-40997-master' of git://github.com/FMCorz/moodle 2013-08-05 17:42:09 +10:00
Frederic Massart
513d879381 MDL-41029 core: Fix wrong guessing of course id in event base 2013-08-05 15:41:16 +08:00
Sam Hemelryk
2b80bb33df Merge branch 'w32_MDL-40995_m26_minifyreworked' of https://github.com/skodak/moodle 2013-08-05 14:15:27 +12:00
Petr Škoda
aed2b9ba9c MDL-40901 use assertInternalType() 2013-08-04 22:16:03 +02:00
Petr Škoda
2d1884d987 MDL-40943 use observer priority only inside group of observers
This makes the '*' observers to be executed always first. This change allows us to implement parent event class catching if we ever decide we need it without breaking BC. This change includes some more unit test fixes.
2013-08-04 13:48:03 +02:00
Petr Škoda
6b32d6bc93 MDL-40995 simplify minify integration and fix all known issues 2013-08-03 17:16:17 +02:00
Petr Škoda
528a7b447a MDL-41017 improve purify caching
The improvements include:

* HTMLPurifier cache is stored in localcachedir
* allowobjectembed changes are not ignored any more
* the cache keys include revision and all options which makes
  this suitable for local caches on cluster nodes
* unchanged test is replaced by "true" value which should
  significantly improve performance
* removal of purge_all_caches() hack for directory recreation
* comments and coding style cleanup
2013-08-03 11:31:18 +02:00
Frederic Massart
d6277b0ca0 MDL-40997 phpunit: Assertions for events legacy data 2013-08-02 18:30:02 +08:00
Sam Hemelryk
6cd213567b MDL-40842 behat: fixed a typo 2013-08-01 20:15:29 +12:00
Ankit Agarwal
1ccc126806 MDL-40963 events: get_name() should use get_called_class() instead of __CLASS__ 2013-08-01 15:30:08 +08:00
Sam Hemelryk
81387cafd5 MDL-40842 behat: Reverting to backtrace catchall as xdebug warnings were being missed 2013-08-01 17:03:25 +12:00
Sam Hemelryk
b05cfa0e67 MDL-39430 phpunit: skip unmet optional environment checks 2013-07-31 10:46:44 +12:00
Frederic Massart
d95db915ed MDL-40934 core: Moving \core_auth\event\user_loggedin to \core 2013-07-30 16:41:20 +08:00
Dan Poltawski
6d2fc575a6 Merge branch 'w31_MDL-39915_m26_tests' of https://github.com/skodak/moodle 2013-07-30 14:09:24 +08:00
Petr Škoda
fba8cef3a3 MDL-39915 fix core_code_testcase regression
Thanks Dan!
2013-07-30 07:56:24 +02:00
Sam Hemelryk
4960ca0738 Merge branch 'w31_MDL-39915_m26_tests' of https://github.com/skodak/moodle 2013-07-30 10:19:41 +12:00
Sam Hemelryk
816f873068 Merge branch 'wip-MDL-40897-master' of git://github.com/marinaglancy/moodle 2013-07-30 09:39:03 +12:00
Sam Hemelryk
3e76c7fa68 MDL-40842 behat: improved exception + debugging detection 2013-07-29 10:51:55 +12:00
Petr Škoda
d53111c008 MDL-39915 cleanup core_statslib_testcase 2013-07-28 15:36:26 +02:00
Petr Škoda
c78c8aaad2 MDL-39915 fix core_navigationlib_testcase regression 2013-07-28 15:29:33 +02:00
Petr Škoda
a9799afe99 MDL-39915 cleanup core_filterlib_testcase 2013-07-28 15:17:57 +02:00
Petr Škoda
b33bf039f3 MDL-39915 cleanup core_weblib_testcase 2013-07-28 15:06:23 +02:00
Petr Škoda
f5700877ab MDL-39915 cleanup core_upgradelib_testcase 2013-07-28 14:59:03 +02:00
Petr Škoda
2af73e22a0 MDL-39915 cleanup core_text_testcase 2013-07-28 14:58:07 +02:00
Petr Škoda
ad6df1bf33 MDL-39915 cleanup core_string_manager_testcase 2013-07-28 14:49:44 +02:00
Petr Škoda
20e561315c MDL-39915 cleanup core_setuplib_testcase 2013-07-28 14:47:02 +02:00
Petr Škoda
be14898fb9 MDL-39915 cleanup core_rsslib_testcase 2013-07-28 14:44:43 +02:00
Petr Škoda
3faa26e556 MDL-39915 cleanup core_questionlib_testcase 2013-07-28 14:39:16 +02:00
Petr Škoda
0d123bd71d MDL-39915 cleanup core_pluginlib testcases 2013-07-28 14:36:57 +02:00
Marina Glancy
1171ad564b MDL-40897 avoid extra DB queries in groups_get_activity_groupmode() 2013-07-28 18:47:57 +10:00