Commit Graph

212 Commits

Author SHA1 Message Date
Jerome Mouneyrac b0ec47fb19 MDL-41604 Moodle should also fallback to the default theme when a parent theme is invalid. 2013-10-09 17:05:31 +08:00
Sam Hemelryk f8023f3072 Revert "MDL-39871 Blocks,Themes: Swap block regions in RTL mode (using pre-defined array)"
This reverts commit e89dfdbce6.
2013-09-26 11:56:00 +12:00
Sam Hemelryk e2ad11d87e Revert "MDL-39871 output: improved block manipulation inheritance"
This reverts commit eeb08203dc.
2013-09-26 09:12:44 +12:00
Sam Hemelryk eeb08203dc MDL-39871 output: improved block manipulation inheritance 2013-09-24 10:37:14 +12:00
Sam Hemelryk 0fd451b7ad Merge branch 'WIP-MDL-39871_master' of git://github.com/nadavkav/moodle 2013-09-24 10:02:58 +12:00
Dan Poltawski 378b3eac83 MDL-36316 useragent: Reduce user agent sniffing
* core_useragent: Introduce is_vendor methods to improve readability
  when we are just detecting if a browser is from a vendor, rather than
  the exact version

* Remove uncessary browser version checks when we are just detecting
  vendors - this makes the intention of our sniffing clearer.

* Remove sniffing for browsers which we do not support, grades/ajax/tinymce
  all support modern browsers so there is no need to sniff for them.
2013-09-13 14:25:37 +08:00
Damyon Wiese 77bb4425e1 Revert "MDL-39871 Find a solution to handling RTL switching in CSS"
This reverts commit 2e68b1254f.
This reverts commit 5b2ed8b5ff.
2013-08-29 15:39:25 +08:00
Damyon Wiese cbd91e23e9 Merge branch 'wip-MDL-40931-m26' of git://github.com/samhemelryk/moodle
Conflicts:
	version.php
2013-08-27 15:29:49 +08:00
Damyon Wiese 2e68b1254f MDL-39871 themes RTL: Get rtlblockmanipulations from any parent 2013-08-27 11:14:53 +08:00
Nadav Kavalerchik 5b2ed8b5ff MDL-39871 Blocks,Themes: Swap block regions in RTL mode (using pre-defined array) 2013-08-27 11:14:52 +08:00
Sam Hemelryk c3d2fbf9cd MDL-40931 useragent: separated user agent functionality into a lib
This commit moves user agent related functionality out of several
core libraries and combines it into a more manageable class.
All core uses are converted and functions deprecated in favor
of the new class.
2013-08-26 13:59:19 +12:00
Nadav Kavalerchik e89dfdbce6 MDL-39871 Blocks,Themes: Swap block regions in RTL mode (using pre-defined array) 2013-08-26 01:06:55 +03:00
Damyon Wiese 9ead041cdb Revert "MDL-40931 useragent: separated user agent functionality into a lib"
This reverts commit af62237d0e.
This reverts commit 87a4194fdc.
This reverts commit b2c66eb60c.

Conflicts:

	version.php
2013-08-22 13:31:25 +08:00
Damyon Wiese 89959d9ad1 Merge branch 'wip-MDL-40931-m26' of git://github.com/samhemelryk/moodle 2013-08-20 16:45:33 +08:00
Sam Hemelryk af62237d0e MDL-40931 useragent: separated user agent functionality into a lib
This commit moves user agent related functionality out of several
core libraries and combines it into a more manageable class.
All core uses are converted and functions deprecated in favor
of the new class.
2013-08-16 09:02:01 +12:00
Petr Škoda 96f81ea385 MDL-39474 introduce $CFG->debugdeveloper and cleanup $CFG init 2013-08-12 13:01:47 +02:00
Petr Škoda cb8108dd22 MDL-40545 convert js and theme resources to localcachedir 2013-07-20 14:10:25 +02:00
Petr Škoda 37824e73f9 MDL-23493 allow numbers in components used in CSS placeholders 2013-07-20 13:08:35 +02:00
Petr Škoda 9ba6076cff MDL-23493 add support for theme fonts 2013-07-20 12:47:08 +02:00
Petr Škoda 1c74b26090 MDL-40220 use new core_component::get_plugin_directory() 2013-07-16 22:38:38 +02:00
Petr Škoda bd3b3bba9f MDL-40220 use new core_component::get_plugin_list() 2013-07-16 22:36:11 +02:00
Petr Škoda 46f6f7f224 MDL-40220 use new core_component::get_plugin_types() 2013-07-16 22:31:48 +02:00
Sam Hemelryk 1eb2b51703 MDL-39212 css: we now chunk and no longer separate 2013-06-28 16:49:02 +12:00
Sam Hemelryk f04721e2bf MDL-38347 fixed whitespace 2013-06-24 11:28:23 +12:00
Sam Hemelryk 2d9161791f Merge branch 'wip-MDL-38347-master' of git://github.com/phalacee/moodle 2013-06-24 11:22:30 +12:00
Sam Hemelryk 36b77e3a88 MDL-39871 themes: can now specify regions to swap when using rtl langs 2013-06-07 17:31:27 +12:00
Jason Fowler 0179d6beee MDL-38347 - Calendar - Fixing arrow output on Android devices 2013-05-28 15:25:44 +08:00
Petr Škoda fe7b75f85c MDL-35434 add support for theme setting files
This patch is based on work by Gareth J Barnard, Pau Ferrer Ocaña (crazyserver) and others.
2013-04-15 10:58:00 +08:00
Petr Škoda 63c88397f5 MDL-15727 basic jQuery support
See http://docs.moodle.org/dev/jQuery for more details.
2013-03-22 13:09:50 +01:00
Petr Škoda 97dbc8f2b6 MDL-36198 allow themes to specify yui cssnormalize or disable all CSS resets 2013-03-16 00:03:58 +01:00
Sam Hemelryk 04cfa387f9 MDL-38000 css: fixed handling of CSS files by outputlib. 2013-02-18 08:34:19 +13:00
Dan Poltawski 6f4cf4656e Merge branch 'MDL-35230-master' of git://github.com/andrewnicols/moodle 2013-01-07 13:41:16 +08:00
Sam Hemelryk 754f808546 Merge branch 'MDL-36946-master' of git://github.com/micaherne/moodle 2012-12-10 14:43:40 +13:00
Sam Hemelryk 383b89a1e2 MDL-36888 theme: allow the use of SVG in CSS background images. 2012-12-03 09:20:06 +13:00
Michael Aherne 2211f50422 MDL-36946 theme Use server default theme before standard 2012-11-30 12:11:07 +00:00
Frederic Massart fbbf043ce4 MDL-36417 usability: Disable SVG support for Opera 2012-11-15 21:38:42 +08:00
Petr Škoda 3c1405a1ee MDL-36481 improve IE version sniffing 2012-11-09 15:23:22 +01:00
Frederic Massart 0f817d0d90 MDL-36290 usability: CSS post processing does not cancel SVG use 2012-11-07 17:29:20 +08:00
Andrew Robert Nicols d765695675 MDL-35230 AJAX Only load head and footer javascript if it present 2012-11-05 14:03:11 +00:00
Sam Hemelryk f7d6a556cf MDL-22955 output: Added block to ensure that SVG is not used within CSS 2012-10-08 09:16:14 +13:00
Sam Hemelryk 436dbeecda MDL-22955 theme: Added ability to use SVG format for icons 2012-10-08 09:16:14 +13:00
Petr Škoda 13725b3797 MDL-34299 remove xmlstrictheaders setting and switch to html5 doctype by default
This fixes WCAG 2.0 compliance because we were already using HTML5 markup.

The strict XML headers setting never worked for production servers, developers
used browser validators for compliance testing. XHTML 5 option is relatively
similar to this obsolete option, but still it can not be used on production servers.

XHTML Strict 1.x was a standardised dead end, HTML5 is the new de-facto-standard
supported by all major browsers including latest versions of IE.

Please note nothing changes in our coding style because HTML5 is a superset of
several previous standards, it is recommended to use only features that are
already implemented in all our supported browsers.
2012-07-21 19:23:44 +02:00
Petr Škoda bcf7f9f36f MDL-34057 improve styles_debug concurrency
Please note style debugging is not intended for busy production sites!
2012-07-06 08:00:18 +02:00
Sam Hemelryk b305d623a5 MDL-33596 css_optimiser: Added an option for themes to disable the CSS optimiser 2012-06-12 14:23:15 +12:00
Petr Skoda f11db1a602 MDL-33293 use time() instead of counter for theme and JS revisions
This should help on sites that reset database, reinstall or switch databases.
2012-05-23 11:11:13 +02:00
Petr Skoda ecbad2ad1c MDL-32683 use slashargument urls for theme javascript files 2012-05-05 15:31:27 +02:00
Petr Skoda 7070b7f261 MDL-32683 use slashargument urls for theme style sheets 2012-05-05 15:26:24 +02:00
Petr Skoda 9d473266a7 MDL-32683 use slashargument urls for theme images 2012-05-05 15:23:59 +02:00
Eric Merrill f930cf6b41 MDL-32143 output lib: Add ability have override core icons in dataroot
Searches dataroot/pix/ and dataroot/pix_plugins/type/plugin for icons
to override base install
2012-04-05 08:50:16 -04:00
Sam Hemelryk 11c0eccee4 MDL-31984 Fixed whitespace during integration 2012-03-19 19:12:40 +13:00