Commit graph

62848 commits

Author SHA1 Message Date
Sam Hemelryk
84192d7836 MDL-40167 dock: converted the dock JS to a YUI shifted module.
The patch converts the dock into a YUI shifter module and at
the same time improves several aspects of its operation.
The features of this patch include:
* Dock Module conversion.
* A loader that ensures we don't include the dock JS or its
  requirements unless actually required.
* We no longer include the dock JS for themes that don't
  enable it.
* Blocks no longer add registration events to the page
  instead a dockable attribute is added to the html and the
  loader looks for that.
* The dock module is properly documented and running YUIDoc
  gives good quality documentation.
* We no longer need the dock module registration or
  subcomponent.
* All events that can be delegated are now delegated.
* Removed unused variables and code left over after fixes.
* Support for docking blocks renderered using the new blocks
  render method. Better support for custom block regions.
2013-07-15 09:46:03 +12:00
kordan
ac3331cd3d MDL-39695 theme_formal_white: added a colour hover for coursebox following trendcolour setting 2013-07-14 23:09:36 +02:00
Mary Evans
3ca6cd9665 MDL-40652 Calendar: Changed pagelayout from 'standard' to 'base' in calendar/export.php. 2013-07-14 15:01:50 +01:00
Jamie Pratt
2baf8e8a0b MDL-40074 quiz attempt walk through test 2013-07-14 16:45:26 +07:00
Jamie Pratt
1cd7c92ece MDL-40074 refactoring of quiz code
to reuse code fro quiz attempt walk through
2013-07-14 16:28:39 +07:00
Petr Škoda
abb043c3a1 MDL-40435 require MOODLE_INTERNAL in core_component
We need to include db/subplugins.php when building core_component cache,
there are some MOODLE_INTERNALs there…
2013-07-13 19:25:17 +02:00
Petr Škoda
862a16700d MDL-40435 allow 0 as valid directory permission when using ACL 2013-07-13 16:10:17 +02:00
Petr Škoda
766e04f38a MDL-40435 detect permission setting problems in core_component 2013-07-13 16:08:50 +02:00
Petr Škoda
701b063791 MDL-40611 fix context cache size expectation 2013-07-13 15:37:31 +02:00
Petr Škoda
2428de82b6 MDL-40563 fix race condition in debug styles when purging caches 2013-07-12 23:25:45 +02:00
Petr Škoda
ef201c966f MDL-40563 use revisions for theme css cache files and fix potential race condition 2013-07-12 23:25:00 +02:00
Petr Škoda
0238ca0d6e MDL-40563 use revisions for theme js cache files 2013-07-12 23:17:22 +02:00
Petr Škoda
036e925bfa MDL-40563 use revisions for theme image cache files 2013-07-12 23:02:15 +02:00
Petr Škoda
9ad8b423c2 MDL-40563 improve jquery serving performance
It is not necessary to do full page init to access the plugin locations API.
2013-07-12 22:38:56 +02:00
Petr Škoda
cba94cec14 MDL-40563 improve yui serving performance
It is not necessary to do full page init to access the plugin locations API.
2013-07-12 22:34:12 +02:00
Petr Škoda
ff74627e62 MDL-40546 send proper caching headers when $CFG->cachejs = 0
This should help developers writing old style JS that is served via lib/javascript.php.
2013-07-12 22:22:56 +02:00
Petr Škoda
bf8c71b7fd MDL-40571 work around block editing hacks on admin page 2013-07-12 14:58:57 +02:00
Petr Škoda
2637ffafcf MDL-40423 fix creation of new install.xml in subplugins 2013-07-12 14:56:11 +02:00
Petr Škoda
d7245e3400 MDL-40475 add alternative component cache location and other improvements
Improvements include:
* Alternative location might be useful when server administrator wants to maintain
  a local copy of component cache instead of using shared $CFG->cachedir.
* Component caching is now enabled in behat tests which should improve performance.
* Standardised ignoring of component caching.
* Fixed debug mode in ABORT_AFTER_CONFIG scripts.
* General documentation improvements.
2013-07-12 13:05:41 +02:00
Tim Hunt
e93cdb6915 MDL-40633 filter_urltolink breaking some image links.
This was a regression caused by MDL-22390. HTML like
<img src="http://www.example.com/logo.gif" />
was being broken.
2013-07-12 11:41:12 +01:00
Petr Škoda
72e3a3c9cd MDL-40549 remove unused legacy assignment upgrade tool 2013-07-12 12:40:55 +02:00
Petr Škoda
98aa874617 MDL-40558 skip admins and guest when deleting incomplete users 2013-07-12 12:36:57 +02:00
Petr Škoda
23ee749bfb MDL-40569 fix empty CSS files after cache purging 2013-07-12 12:34:05 +02:00
Petr Škoda
485392f308 MDL-40574 remove forgotten $delete from editor subplugins page 2013-07-12 12:33:05 +02:00
David Monllao
8aea365f05 MDL-40315 behat: Performance improvement
We look for exceptions after each step, this patch
includes a pre-checking query to avoid multiple queries
for each step when most of the time they are not necessary.
2013-07-12 12:16:18 +02:00
Frederic Massart
2e4c0c9181 MDL-40424 libraries: Deprecate context_instance_preload_sql() 2013-07-12 17:41:49 +08:00
Andrew Nicols
f320e8d00f MDL-40478 JavaScript: Support loading of YUI submodules in the yui-loader 2013-07-12 10:12:03 +01:00
Dan Poltawski
1b2f549358 MDL-40536 course/externallib fix incorrect variable
Fixes test_import_course_invalid_deletecontent_option() from the
previous commit.
2013-07-12 16:39:41 +08:00
Dan Poltawski
fce10644a0 MDL-40536 course: unit tests for course_external::import_course
Basic import operations and a specific test case which identifies
a bug.
2013-07-12 16:39:41 +08:00
Mohamed Alsharaf
dbebd5966f MDL-38747 blocks: course format options 'numsections' is required to display the block 2013-07-12 20:19:49 +12:00
Dan Poltawski
ac11252375 MDL-40604 upgrade.txt: change style to be more readable
As suggested by Tim Hunt.
2013-07-12 16:19:11 +08:00
Dan Poltawski
05226d7607 MDL-40604 deprecatedlib: Sort out old ~2.0 deprecations
Make sure things are throwing debugging notices and are documented.
2013-07-12 16:02:49 +08:00
Andrew Nicols
7cfe3ebbcc MDL-40477 JavaScript: Move YUI config functions out and deminify
This should make future development and debugging of these functions much
easier. It also allows us to write inline documentation for them.
2013-07-12 08:31:57 +01:00
Damyon Wiese
07bbbcf174 weekly release 2.6dev 2013-07-12 09:46:52 +08:00
Damyon Wiese
779545e7fd Merge branch 'install_master' of git://git.moodle.cz/moodle-install 2013-07-12 09:41:55 +08:00
AMOS bot
ebd69f7abe Automatically generated installer lang files 2013-07-12 00:45:55 +00:00
Juan Leyva
9184d44ded MDL-39563 Fixing mobilecssurl is not being returned in WebService, phpunit tests 2013-07-11 16:25:17 +02:00
Frederic Massart
b123a543a6 MDL-40463 libraries: Deprecate get_courseid_from_context() 2013-07-11 15:54:36 +08:00
David Monllao
3e6899989a MDL-39815 mod_glossary: Fixing behat test 2013-07-11 09:36:32 +02:00
Rajesh Taneja
ae38dcb1dc MDL-40467 Libraries: deprecated get_role_context_caps() 2013-07-11 15:04:33 +08:00
Frederic Massart
a439b2f9b4 MDL-40465 libraries: Deprecate fetch_context_capabilities() 2013-07-11 14:33:25 +08:00
Frederic Massart
cfba97e9a5 MDL-40369 theme: Renaming Afterburner i/roles to i/assignroles 2013-07-11 15:59:31 +10:00
Ankit Agarwal
6acc54b3f0 MDL-40464 libraries: Deprecate get_user_courses_bycap() 2013-07-11 13:43:41 +08:00
Mark Nelson
4c9c06488a MDL-40462 libraries: added another PHPUnit test to ensure deprecated function returns the same as the replacement 2013-07-11 13:28:45 +08:00
Mark Nelson
dd33f4af0a MDL-40462 libraries: deprecated get_course_context() 2013-07-11 13:28:45 +08:00
Mark Nelson
9c03dff2c9 MDL-40431 libraries: added another PHPUnit test to ensure deprecated function returns the same as the replacement 2013-07-11 13:23:45 +08:00
Mark Nelson
6c89d4e1c0 MDL-40431 libraries: deprecated get_context_url() 2013-07-11 13:23:45 +08:00
Marina Glancy
0bff314daa MDL-40621 fixed small bug in function editor_tinymce_plugin::fix_row() 2013-07-11 15:00:23 +10:00
Marina Glancy
bf50508f06 MDL-37565 fixed PDW plugin to calculate number of button rows 2013-07-11 14:47:58 +10:00
Rajesh Taneja
c592eea2d3 MDL-40428 Libraries: Deprecated delete_context 2013-07-11 12:18:55 +08:00