Dan Poltawski
1081de20e1
MDL-57319 outputlib: raise timeout for scss/less compilation
2016-12-09 08:46:27 +00:00
David Monllao
76e337ab96
Merge branch 'MDL-57232-master' of git://github.com/damyon/moodle
2016-12-02 14:20:17 +08:00
Damyon Wiese
9d1402abd8
MDL-57232 blocks: Split undeletableblocktypes
...
There are 2 kinds of blocks that are undeletable. Those required by the
theme and those protected via the admin page ui. We only want the theme
ones to be auto created site wide if they don't exist - so we need to
rename the theme ones and split the logic.
2016-12-02 12:32:03 +08:00
Frederic Massart
061a39ac5d
MDL-57127 output: Increase memory limit when parsing CSS
2016-11-30 12:19:03 +08:00
Marina Glancy
b11916d3e7
MDL-56586 blocks: allow theme to manage "Add a block" select
2016-11-24 14:24:56 +08:00
Frederic Massart
755b013fdf
MDL-56959 output: Prevent notice when csstreepostprocess is undefined
2016-11-18 15:47:32 +08:00
Dan Poltawski
099a2aee68
Merge branch 'MDL-56959-master' of git://github.com/FMCorz/moodle
2016-11-17 18:01:58 +00:00
Frederic Massart
493ef66ecd
MDL-56959 theme: Inherit the parent CSS tree post processor
2016-11-17 15:18:29 +08:00
Frederic Massart
41b973bcbb
MDL-56959 theme: SCSS file is inherited from parent
...
Also added support for the SCSS property to be a Closure
and return content rather than simply being the name of a file.
2016-11-17 15:18:29 +08:00
Ankit Agarwal
dc48cc0a79
MDL-56911 themes: Resolve settings before calling parser
2016-11-15 13:34:52 +05:30
Andrew Nicols
ea10a0319b
MDL-56602 core: Lock themerev during upgrade
...
This also changes install to use a fixed themerev.
2016-11-11 14:15:00 +08:00
Andrew Nicols
9d75a519f3
MDL-56602 themes: Use version number as base themerev
2016-11-10 08:02:31 +08:00
Damyon Wiese
e56b58e3c9
MDL-56006 theme: Set Boost as the default theme
...
Units tests have been adjusted e.g. 'boost' instead of 'clean' in pix urls.
Some places I didn't update the test to reflect the boost markup and reset
the theme to clean. This is because the test was not testing the markup - but the
functionality (e.g. looking for specific structures to indicate an error in a form element).
2016-10-25 10:15:20 +08:00
Damyon Wiese
0f73f3ab42
MDL-55074 blocks: navigation and settings blocks optional
...
This is a theme config setting.
They are forced on for behat always.
2016-10-21 12:37:33 +08:00
Frédéric Massart
258143e34d
MDL-56005 output: Support prepending SCSS code instead of variables only
2016-10-10 10:59:52 +02:00
Dan Poltawski
d52ebf11d3
MDL-56172 css: remove css optimiser
...
This functionality no longer makes sense inside Moodle now that we have
external tools like stylelint to help us with this. It was not able to
be used by any core themes.
The code was always marked as not for external use.
2016-09-29 16:40:40 +01:00
Frédéric Massart
d8f90ec628
MDL-56042 output: Post process with tree structure always returns CSS
...
A certain combination of booleans could cause some of the processes
not to take effect as the tree was not converted back into a string.
2016-09-28 09:58:47 +01:00
Damyon Wiese
e584e6ae46
MDL-55071 theme/output: PHPCS fixes for new theme branch
...
Part of MDL-55071
2016-09-23 10:57:36 +01:00
Frederic Massart
99a6118f28
MDL-55381 output: Themes can post process CSS using a CSS tree object
...
Part of MDL-55071
2016-09-23 10:53:30 +01:00
Frederic Massart
1d987cae5f
MDL-55224 output: Support automatic flipping to RTL styles
...
Part of MDL-55071
2016-09-23 10:49:49 +01:00
Frederic Massart
65b8336ed3
MDL-55286 theme: Support compiling SCSS on-demand from a theme
...
Part of MDL-55071
2016-09-23 10:49:49 +01:00
Damyon Wiese
644fcbb629
MDL-55837 themes: base and canvas themes removed
...
Look for them in the plugins DB if you still need them.
2016-09-19 13:35:13 +08:00
Jun Pataleta
7a05bc92c9
MDL-55276 html: New down arrow entity output $OUTPUT->darrow
2016-07-28 14:43:11 +08:00
David Monllao
a75f1dbc4f
MDL-50258 themes: Fix CSS source maps
2015-12-04 09:02:16 +08:00
Ryan Wyllie
f1ecad609a
MDL-51739 theme: allow config to lock theme selector
...
If any of the devices have their theme set in config.php
it will lock the theme selector UI from being able to change
the theme.
2015-10-23 05:06:21 +00:00
Marina Glancy
ba2ad4316e
MDL-51184 themes: correctly check $CFG->svgicons
...
Thanks to Ralf Wiederhold for pointing out the bug
2015-08-24 11:06:24 +08:00
Dan Poltawski
64489778cd
MDL-50295 output: prevent 'emoji' arrows
...
We need to append U+FE0E VARIATION SELECTOR-15 to the arrow to ensure
our l/rarrows are displayed as text icons, not 'emoji' icons.
See http://unicode.org/reports/tr51/#Diversity for more details of why
this changed in iOS 8.3+.
2015-07-07 14:26:09 +01:00
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 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