70 Commits

Author SHA1 Message Date
Damyon Wiese
a26ce2482a MDL-40759 themes: font awesome support
We add a new theme config so the theme can say it supports font-awesome.
If this is true, the pix_icon renderer will call a mapping function to map
from the moodle style t/edit to a font-awesome style fa-cog icon name. Then the renderer
will either render an image tag for old icons - or an accessible font-awesome <i> tag.

This mostly works - but there are some places where we don't use the pix icon renderer, and
we directly create image tags with pix_url image sources. These will need updating (Atto icons,
drag and drop move icons, editpdf icons).
2017-03-17 15:51:28 +08:00
Ryan Wyllie
d74d91f49a MDL-57972 javascript: Add truncate.js third party lib
Part of MDL-55611
2017-03-07 05:22:34 +00:00
Dan Poltawski
da06c81947 MDL-57608 media_videojs: lazily load videojs on demand
The videojs javascript is over 1MB of javascript which we don't need to
load on every page, now that we only require it demand, the js can be
lazily loaded when its needed, which keeps the first.js smaller and more
likely to stay in browser cache.
2017-01-12 10:55:18 +08:00
Dan Poltawski
65b593a95c MDL-57608 media_videojs: fix third party locations 2017-01-12 10:55:18 +08:00
Marina Glancy
7e3f637301 MDL-38158 media_videojs: Add Video.JS player 2016-11-04 17:30:43 +08:00
Marina Glancy
fab11235d8 MDL-38158 core_media: Convert media players to new plugin type
AMOS BEGIN
  MOV [siteyoutube,core_media],[pluginname,media_youtube]
  MOV [siteyoutube_desc,core_media],[pluginname_help,media_youtube]
  MOV [sitevimeo,core_media],[pluginname,media_vimeo]
  MOV [sitevimeo_desc,core_media],[pluginname_help,media_vimeo]
  MOV [html5audio,core_media],[pluginname,media_html5audio]
  MOV [html5audio_desc,core_media],[pluginname_help,media_html5audio]
  MOV [html5video,core_media],[pluginname,media_html5video]
  MOV [html5video_desc,core_media],[pluginname_help,media_html5video]
  MOV [flashanimation,core_media],[pluginname,media_swf]
  MOV [flashanimation_desc,core_media],[pluginname_help,media_swf]
AMOS END
2016-11-04 17:30:40 +08:00
Andrew Nicols
236778b905 MDL-56078 theme_boost: Update ignorefiles 2016-10-31 10:46:14 +08:00
Eloy Lafuente (stronk7)
ed971b90eb Merge branch 'MDL-53832-master-review-fixes' of https://github.com/junpataleta/moodle 2016-10-20 02:25:59 +02:00
John Okely
a1f3821ee0 MDL-53832 enrol_lti: Add LTI provider library 2016-10-19 11:14:24 +08:00
David Monllao
c66027cf4e Merge branch 'MDL-52777-master' of git://github.com/andrewnicols/moodle 2016-10-19 09:59:27 +08:00
Andrew Nicols
001fc061bd MDL-52777 tool_usertours: Add the new User Tours plugin 2016-10-19 09:48:03 +08:00
Dan Poltawski
36650f11d3 MDL-56423 stylelint: ignore custom.css files
The files have non-standard css syntax and with stylelint 7.4.1
it can no longer cope with it.
2016-10-13 10:01:31 +01:00
Dan Poltawski
4cb24aa9d7 MDL-53695 minify: switch to MatthiasMullie\Minify
The previously used minification libraries were:
a) Unmaintained
b) Had some silly licensing issues (MDL-36457)

The new library is smaller, maintained, active and GPL-compatible.
2016-10-10 13:17:04 +01:00
Dan Poltawski
5cb8ca8610 MDL-55071 theme_boost: fixup bootswatch thirdpartylibs
Allow longhand colour codes for asthetics..
2016-09-23 10:57:54 +01:00
Dan Poltawski
773e68b0f8 MDL-55071 stylelint: Config & grunt task for scss
Part of MDL-55071
2016-09-23 10:57:36 +01:00
Damyon Wiese
2ede86d797 MDL-55996 theme_boost: Rename theme noname to theme boost
Part of MDL-55071
2016-09-23 10:57:13 +01:00
Dan Poltawski
a878a09bce MDL-48766 thirdpartylibs: fix incorrect casing on path 2016-09-19 10:30:34 +01:00
Dan Poltawski
0ddc7e5582 MDL-48766 lib: remove unused pear::Net::GeoIP
This was used for the previous geoip database.
2016-09-19 08:59:39 +01:00
Dan Poltawski
eacc36a26b MDL-48766 lib: Import MaxMind GeoIP2 PHP API
No changes from the upstream version have been made, it is recommended by
upstream to install these depdencies via composer - but the composer
installation is bundled with a load of test files, shell scripts etc (and
we don't use composer to manage 'production dependencies') so we have to
do it manually.
2016-09-19 08:59:38 +01:00
Dan Poltawski
a26d36738a MDL-55465 grunt: Add .stylelintignore
Allow it to be generated by grunt ignorefiles
Make grunt use it rather than ignoring things manually
2016-08-05 17:48:24 +01:00