231 Commits

Author SHA1 Message Date
Patrik Granlöv
06844353e5 MDL-35486 outputlib: Fix typos in comments
Just a copy-past text error in two comments.
2015-01-14 10:53:25 +00:00
Dan Poltawski
c8b01e0c7d Merge branch 'MDL36874_Text_navigation_for_Books' of git://github.com/Dave-B/moodle
Conflicts:
	mod/book/version.php
	mod/book/db/upgrade.php
2014-11-18 13:54:05 +00:00
Matteo Scaramuccia
bb8ed60a3c MDL-48023 Files API: Theme files must be cache-able by shared proxies.
The profile image AKA user icon will be cache-able by shared proxies too,
under its specific accessibility constraints/conditions.
2014-11-16 09:53:27 +01:00
David Balch
7b2eff2886 MDL-36874 mod_book: Add uarrow() output renderer.
In preparation for Book navigation improvements in MDL-36874, this commit
adds a uarrow() output renderer, to complement rarrow() and larrow().
2014-10-28 09:29:28 +00:00
Sam Hemelryk
2e718bc4bd Merge branch 'MDL-44933-master' of git://github.com/FMCorz/moodle 2014-04-08 11:38:13 +12:00
Sam Hemelryk
292dcf047f MDL-41551 blocks: added tracking and recognition of custom block regions 2014-04-06 15:17:47 +12:00
Sam Hemelryk
225c418fd2 MDL-41511 blocks: improved how custom block regions were being rendered.
There is a new theme property 'blockrendermethod' that can be set by the
theme in its config.php and tells Moodle what method it is using to render
blocks in the layout files.
Either blocks, or blocks_for_region.
Then when adding custom block regions to a page content we ensure we use
the same method the theme is using elsewhere.

This is really a hack becuase we (I) didn't properly deprecate
blocks_for_region when I added the blocks method.
2014-04-06 15:17:47 +12:00
Frederic Massart
06a9e10350 MDL-44933 themes: Allow chunking of CSS in designer mode 2014-04-03 17:12:10 +08:00
Frederic Massart
da28376022 MDL-44933 themes: LESS file was served in designer mode and IE 2014-04-03 17:12:09 +08:00
Marina Glancy
da1a0bc3a9 Merge branch 'MDL-44597-master' of git://github.com/andrewnicols/moodle 2014-03-25 16:49:01 +08:00
Sam Hemelryk
fe24226063 Merge branch 'MDL-44357-master-noplugin' of git://github.com/FMCorz/moodle 2014-03-25 08:56:49 +13:00
Andrew Nicols
5d504395f7 MDL-44597 lessphp: Add sourceMap support in theme designer mode 2014-03-24 15:19:49 +08:00
Frederic Massart
08823e5f03 MDL-44357 theme: Do not include plugins LESS or CSS when compiling 2014-03-24 15:15:04 +08:00
Frederic Massart
29d73d2751 MDL-44357 theme: Chunk content in styles_debug for IE 2014-03-24 15:15:03 +08:00
Frederic Massart
d433cf37cd MDL-44357 theme: Allow core to compile LESS in PHP 2014-03-24 15:15:03 +08:00
Andrew Davis
7d1f086f31 MDL-43839 core: changed the default theme from standard to clean 2014-03-18 11:12:55 +08:00
Petr Škoda
31f28b6ac2 MDL-44358 inform developers that CSS handling was refactored 2014-03-03 14:19:12 +08:00
Petr Škoda
98245a84a2 MDL-44358 simplify CSS processing
The affected code areas are not supposed to be used in any add-ons,
the backwards compatibility should not be a concern for us.
2014-02-28 14:50:10 +08:00
Frederic Massart
22c5c6e627 MDL-41767 themes: Support for parent-specific sheets in plugins 2014-01-20 13:29:20 +01:00
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 e89dfdbce62ad5be906cb2d822fa0f746cf6afd6.
2013-09-26 11:56:00 +12:00
Sam Hemelryk
e2ad11d87e Revert "MDL-39871 output: improved block manipulation inheritance"
This reverts commit eeb08203dce0131d3988a3707fbbf8563cd4bd30.
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 2e68b1254f4613c679bc7338a097d63f09b4089e.
This reverts commit 5b2ed8b5ff3160e85c6b7135739334f648535501.
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 af62237d0e6e27df868d50848f7098f57c103f86.
This reverts commit 87a4194fdcd322d4aee5a6207b55a8da0864da94.
This reverts commit b2c66eb60c01805f26cc791966f05be52af7b406.

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