Damyon Wiese
89ceede3bf
MDL-60458 Mathjax: Restore the accessible config
...
Undo the changes to the accessible config that were introduced by the previous library upgrade.
2017-10-25 12:30:14 +08:00
David Monllao
b1a9a6a19a
Merge branch 'wip-MDL-60281-master' of git://github.com/marinaglancy/moodle
2017-10-17 09:45:44 +02:00
Juan Leyva
66ef16d364
MDL-58713 filters: New WS core_filters_get_available_in_context
2017-10-16 11:16:20 +02:00
Marina Glancy
78da366b56
MDL-60281 general: various strict corrections for PHP7.2
...
- count() can only be called on arrays or Countable, it can not be called on null
- recordset is neither so iterator_count() should be used
- instanceof or get_class() can not be applied to non-objects
- class methods must have the same arguments as methods in parent class
2017-10-16 09:37:20 +08:00
David Mudrák
9e6df843a0
MDL-60209 mathjax: Do not load broken accessibility extensions
...
The Accessible.js config loads accessibility-menu extension which in
turn loads mathjax-sre.js library. There is a bug in this library
https://github.com/zorkow/speech-rule-engine/issues/182 that makes it
fail in RequireJS environments. This has been reported upstream as
https://github.com/mathjax/MathJax/issues/1854
As an immediate solution for now, this patch changes the default MathJax
configuration so that it does not load accessibility extensions at all.
2017-10-12 22:11:45 +02:00
David Mudrák
b75eb8442f
MDL-60209 mathjax: Update integration docs in readme_moodle.txt
2017-10-09 12:31:21 +02:00
David Mudrák
47cf9455d9
MDL-60209 mathjax: Fix mapping of the Moodle language to the MathJax
...
While working on the issue, I noticed that the current implementation of
the method filter_mathjaxloader::map_language_code() is suboptimal and
does not work well for many Moodle language packs such as pt_br or de_du
and other variants. It did not give particularly wrong results. It just
fell back to the default English too early without trying more hard.
This patch improves the mapping logic and adds a unit test for the
method.
2017-10-09 12:31:21 +02:00
David Mudrák
b7ab8e4e9b
MDL-60209 mathjax: Use MathJax 2.7.2 by default
2017-10-09 12:31:20 +02:00
Ankit Agarwal
5e2e866d97
MDL-59780 mathjax: Make sure mathjax url doesn't become empty
2017-09-27 09:14:20 +05:30
David Monllao
d0f28cf058
Merge branch 'MDL-57991-master' of https://github.com/micaherne/moodle
2017-07-18 09:40:59 +02:00
Michael Aherne
8b6dcb0479
MDL-57991 media: Prevent mediaplayer taking up too much space
2017-07-10 10:15:19 +01:00
Eloy Lafuente (stronk7)
29af7b0b4c
MDL-57432 upgrade: clean < 3.0.0 upgrade steps
...
This just deletes all the upgrade steps previous to 3.0.0. Some
small adjustments, like adding missing MOODLE_INTERNAL or tweaking
globals can also be applied when needed.
Also includes an upgrade step to prevent upgrading from any
version < 2015111600 (v3.0.0) as anti-cheating measure.
Next commit will get rid of/deprecate all the upgradelib functions
not used anymore in codebase.
2017-07-10 09:16:55 +01:00
Marina Glancy
450d15d159
MDL-59125 filter_urltolink: respect nolink span, unittest
2017-06-16 15:57:23 +08:00
Mark Sharp
2a477bf08e
MDL-59125 filter_urltolink: ignoretags on nolink span
2017-06-16 15:57:23 +08:00
Eloy Lafuente (stronk7)
5e27228335
MDL-58933 upgrade: add 3.3.0 separation line to all upgrade scripts
2017-05-19 19:22:07 +02:00
Eloy Lafuente (stronk7)
d989ee1e03
MDL-58853 versions: bump all versions and requires near release
...
version = 2017051500 release version
requires= 2017050500 current rc1 version
2017-05-09 02:58:28 +02:00
Damyon Wiese
51742ffdc4
MDL-58722 mathjax: Update to 2.7.1 and remove a11y
...
2.7.1 bundles the accessibility and mchem extensions so we no longer need to bundle them and apply custom config.
2017-04-27 16:57:03 +08:00
Eloy Lafuente (stronk7)
55946a892a
MDL-54901 phpunit: Change phpunit wwwroot to HTTPS and fix tests
...
This includes:
- Changing PHPUnit's bootstrap to use https://www ...
- Modify all existing expectations to the new wwwroot.
- Amend some tests now with different defaults because of is_https()
- Added a note to main upgrade.php about the change.
2017-04-18 03:40:17 +02:00
Andrew Nicols
1ad2ff0404
Merge branch 'wip-MDL-57616-master' of git://github.com/marinaglancy/moodle
2017-04-11 11:51:59 +08:00
Damyon Wiese
21b4989ac4
MDL-58461 filter_mathjaxloader: Update defaults
...
Also included a version bump for Moodle in order to trigger a filter upgrade.
2017-04-11 09:19:02 +08:00
Damyon Wiese
3db9004f7d
MDL-58461 mathjax: Ship accessibility extensions
...
There are not mirrored on the new CDN so we need to ship them with moodle.
2017-04-11 09:18:23 +08:00
Damyon Wiese
7a0f141dfe
MDL-58461 filter_mathjaxloader: Change CDN url
...
The MathJax CDN url is going away - we need to switch to another mirror.
2017-04-11 09:18:23 +08:00
Marina Glancy
4cf6871ccf
MDL-57616 media_videojs: set min height for videos
...
This partially reverts changes from MDL-57187 that added the limit for all videos and not just videojs.
Videojs displays a big play button that overlaps contents below during video loading.
2017-04-07 16:09:02 +08:00
Damyon Wiese
b9b409cfc3
MDL-40759 icons: Peer review fixes (all minor)
2017-03-17 15:52:46 +08:00
Damyon Wiese
0b772813dc
MDL-40759 icons: Update unit tests
...
Match the expected output for unit tests.
2017-03-17 15:52:17 +08:00
Damyon Wiese
663640f5b3
MDL-40759 icons: convert uses of pix_url to pix_icon
...
Also change filepicker to use scaled svgs instead of sets of custom pngs. The svgs are taken from font-awesome.
2017-03-17 15:52:17 +08:00
John Okely
1abd43763c
MDL-57316 media: Setup media plugins in media_manager::instance()
2017-02-07 09:16:01 +08:00
Jake Dallimore
c19c53161a
MDL-57187 filter_mediaplugin: fix audio tag height in chrome
...
Chrome's html5 audio tags don't have a height and 'auto' renders them
with zero height, so added a min height to address this.
2016-12-21 13:46:42 +08:00
Eloy Lafuente (stronk7)
75c57a08fb
MDL-57266 upgrade: add 3.2.0 separation line to all upgrade scripts
2016-12-05 17:10:20 +01:00
Andrew Nicols
3f342da584
Merge branch 'MDL-57101-master-2nd' of git://github.com/FMCorz/moodle
2016-11-30 12:13:54 +08:00
Eloy Lafuente (stronk7)
04649747a4
MDL-57197 versions: bump all versions and requires near release
...
version = 2016120500 release version
requires= 2016112900 current rc4 version
2016-11-29 22:57:05 +01:00
Frederic Massart
a174f2474f
MDL-57101 media_videojs: Set-up player on dynamically loaded content
2016-11-29 12:36:26 +08:00
Damyon Wiese
57bfb7c30a
MDL-56938 filter_media: Responsive size fallback player
...
Apply responsive sizing to any video element in a media filter div.
This applys to the HTML5 video player and the fall back player if
video.js fails to load.
2016-11-22 17:04:55 +08:00
Damyon Wiese
fce0f1c235
MDL-56938 messages: Images and videos display badly in messaging
...
Make sure they get minimum and maximum width so they don't overflow and
don't appear tiny.
2016-11-21 13:01:36 +08:00
Helen Foster
7f6accd448
MDL-56903 lang: Merge English strings from the en_fix language pack
2016-11-15 11:19:48 +01:00
Marina Glancy
69ba7bf659
MDL-56855 media_videojs: MPEG-2 is not supported
2016-11-10 14:46:47 +08:00
Eloy Lafuente (stronk7)
b23b9a5b38
MDL-38158 core_media: bump upgrade / version and fix filter test
2016-11-06 02:11:20 +01: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
Dan Poltawski
98363b9d52
MDL-56017 filter_mathjax: bump version
2016-10-25 10:38:03 +01:00
Dan Poltawski
64ce747448
Merge branch 'MDL-56017-master' of git://github.com/lameze/moodle
2016-10-25 10:36:51 +01: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
Simey Lameze
acf17832d6
MDL-56017 filters: Update MathJax to version 2.7
2016-10-18 13:29:30 +08:00
Dan Poltawski
aea8eaecde
MDL-55168 css: use shorthand colour props when possible
2016-09-30 09:25:24 +01:00
Dan Poltawski
bc33e9bd3f
MDL-55168 css: reformat plain css with stylefmt
2016-09-30 09:25:23 +01:00
David Monllao
370fe0634d
Merge branch 'MDL-55587-master' of git://github.com/cameron1729/moodle
2016-09-06 10:07:00 +08:00
Henning Bostelmann
f617ac5c75
MDL-55627 filter_mathjaxloader: use correct string concatenation op
2016-09-05 11:40:04 +02:00
Cameron Ball
0f826e9f36
MDL-55587 core_media: Properly escape ampersand
2016-08-29 19:16:01 +08:00
Dan Poltawski
8ce58c99f0
MDL-53572 mathjax: always load mathjax using https
...
It's considered an anti-pattern now to use protocol relative urls and
reduces a setting.
(Also fixed an incorrectly placed 3.1.0 upgrade marker)
2016-08-02 15:55:23 +01:00
Dan Poltawski
3a0bc0fdc4
MDL-55244 js: build changes
...
There should be no changes to minified code
2016-07-25 07:58:05 +01:00
Dan Poltawski
5bb4f444de
MDL-55244 js: fix problems with eslint --fix
...
eslint --fix '**/yui/src/**/*.js'
2016-07-25 07:53:05 +01:00