491 Commits

Author SHA1 Message Date
Tony Butler
1e31f11852 MDL-28484 core_lib: Add function for https detection
Signed-off-by: Tony Butler <tonyjbutler@gmail.com>
2014-10-03 13:02:29 +01:00
Tim Hunt
062d04cffc MDL-46867 filter_glossary: don't use static for one-time JS. 2014-08-21 14:16:07 +01:00
Damyon Wiese
0b51b466a1 MDL-46748 MathJax filter: Update setting default for https cdn url. 2014-08-11 12:02:35 +08:00
Damyon Wiese
fa268b7ed6 MDL-46748 MathJax filter: Make misconfigured mathjax url less "fatal" for Atto. 2014-08-11 11:37:35 +08:00
Dan Poltawski
37c2490aa3 Merge branch 'MDL-46591-master' of git://github.com/danpoltawski/moodle 2014-07-29 16:32:52 +01:00
Dan Poltawski
ff7efc55ec MDL-46591 filter_tex: improved string
Thanks to German Valero for noticing this and Matteo Scaramuccia, Daniel
Thies and Helen Foser for refining it.
2014-07-29 16:29:42 +01:00
Daniel Thies
a275c52f62 MDL-45044 filter_tex: properly escape excutable pathnames for Windows 2014-07-24 15:01:17 -05:00
Dan Poltawski
fce6c70d41 MDL-44925 fixup default settings in TeX filter 2014-07-22 17:06:02 +01:00
Dan Poltawski
afffcb9472 Merge branch 'MDL-44925-master' of https://github.com/dthies/moodle 2014-07-22 14:33:33 +01:00
Sam Hemelryk
4ae7774d03 Revert "MDL-46226 fix unit tests"
This reverts commit ffd17daf0a438fa63a32d3c1ba08218e16def46c.
2014-07-17 13:57:01 +12:00
Daniel Thies
a57a336fd3 MDL-44925 Add SVG output option to TeX notation filter with PNG or MathJax for backup 2014-07-15 22:47:22 -04:00
Dan Poltawski
ffd17daf0a MDL-46226 fix unit tests 2014-07-14 15:50:50 +01:00
Marina Glancy
0c1a133ea0 MDL-46280 filter_activitynames: sort activities by length in reverse order 2014-07-08 10:54:04 +08:00
Eloy Lafuente (stronk7)
078379a9aa Revert " MDL-45044 filter_tex: properly escape excutable pathnames for Windows"
This reverts commit f0da509835e3b8740c1693216a430dc3195cdb92.
2014-06-26 10:06:20 +02:00
Eloy Lafuente (stronk7)
046930cfba Merge branch 'MDL-46045-master' of git://github.com/damyon/moodle 2014-06-24 21:48:30 +02:00
Daniel Thies
f0da509835 MDL-45044 filter_tex: properly escape excutable pathnames for Windows 2014-06-19 22:26:49 -05:00
Damyon Wiese
a084ac0db4 MDL-46045 Fix php tags (lowercase) everywhere 2014-06-19 11:05:16 +08:00
Eloy Lafuente (stronk7)
f94891cc00 MDL-45503 upgrade: add v2.7.0 sep lines 2014-05-28 01:13:42 +02:00
Eloy Lafuente (stronk7)
538bf99ece MDL-45486 Bump all versions to planned release
This bumps all versions to planned 2.7 release
(2014051200) version and all the dependencies to
current 2.7rc2 (2014050800)
2014-05-09 02:12:28 +02:00
Helen Foster
f15fa7a281 MDL-45410 Merge English strings from the en_fix language pack 2014-05-07 00:16:51 +02:00
Andrew Davis
feac5dc7ba MDL-44780 filter_mathjaxloader: mathjax is now at the top of the filter list 2014-04-30 08:29:14 +08:00
Andrew Davis
0c7d3f2bc4 MDL-44780 filter_mathjaxloader: switched mathjax filter on by default 2014-04-30 08:29:13 +08:00
Dan Poltawski
28770140ed Merge branch 'MDL-45009-master' of git://github.com/damyon/moodle 2014-04-14 12:23:57 +08:00
Damyon Wiese
f8a8610be4 MDL-45009 Tex filter: Add \( \) delimiters for 1:1 compatibility with MathJax 2014-04-14 09:57:19 +08:00
Petr Škoda
1e83288de7 MDL-44366 improve glossary filter performance
This should have when there are no glossaries in course or
when there are no linked entries in existing glossaries.
2014-04-14 09:42:40 +08:00
Petr Škoda
86286bdb7e MDL-44366 bump up glossary and filter version 2014-04-14 09:42:40 +08:00
Petr Škoda
37625e2abb MDL-44366 rework glossary filter caching 2014-04-14 09:42:39 +08:00
Damyon Wiese
16ad61bf55 MDL-43856 MathJax: Delay setting of lang until after MathJax startup 2014-04-09 16:44:40 +08:00
Damyon Wiese
22cee6a7ea MDL-43856 MathJax: Remove unused build folder.
This is left over from when I renamed the module.
2014-04-07 17:21:43 +08:00
Damyon Wiese
1c9785d52d MDL-43856 MathJAX: Small correction to readme_moodle.txt
The CDN urls have been moved to settings.php.
2014-04-07 15:44:06 +08:00
Damyon Wiese
aaf6f1e8f2 MDL-43856 MathJax: Dynamically load mathjax into the page (as required).
This is to solve a tricky edge case, when a page has no equations, and then an AJAX
action loads filtered content which contains an equation. (The glossary filter can do this).

To fix this I split the loading into configuration and typesetting. The config always happens,
but does not load the external mathjax libraries. The typesetting happens when an equation is
found - and is what triggers the load of MathJax. This can happen in response to an AJAX event.
2014-04-04 14:18:50 +08:00
Damyon Wiese
894e20395d MDL-43856 MathJax: Add a setting for additional delimiters to support e.g. ASCIIMATH 2014-04-04 13:30:08 +08:00
Damyon Wiese
441f94b263 MDL-43856 MathJax: Coding style cleanups. 2014-04-03 14:36:42 +08:00
Damyon Wiese
cc90cedc85 MDL-43856 MathJax: Improvements to the MathJax filter
* Remove all traces of mathjax from the atto equation editor - it is filter agnostic
* Add a M.core.event module for core events that can be published/subscribed to by plugins (loose coupling)
* Add a FILTER_CONTENT_UPDATED event so plugins can tell the filter system when nodes are added to the page
* Implement a listener for this event in the MathJax filter
* Fire this event from the equation editor and from the glossary filter
* Add a nolink tag to the mathjax filter, so equations will not be processed by the other filters
* Add a smarter throttle function to the equation editor preview updates (Y.throttle is dumb)
2014-04-03 14:36:36 +08:00
Damyon Wiese
7f6753151e MDL-43856 MathJax: Add a mathjax loader filter. 2014-04-03 14:36:16 +08:00
Sam Hemelryk
f94bde7250 Merge branch 'w13_MDL-44368_m27_actfilter' of https://github.com/skodak/moodle 2014-03-25 16:23:10 +13:00
Sam Hemelryk
7911effdcb MDL-43839 fixed clean as default phpunit bugs 2014-03-24 17:10:54 +13:00
Petr Škoda
f381e6cdcc MDL-44368 use $cm->uservisible in activity names filter
This allows proper linking of groupmembersonly and conditional activities.
2014-03-20 17:29:59 +08:00
Dan Poltawski
dc88f6699d Revert "MDL-43852 Filters Fixed naked-OR conditions."
While the patch worked as intended, we discovered some other concerns
about use of this setting in testing.

This reverts commit 840c1c554d12d9214928da6f10989fc5546dbb43.
2014-03-06 09:03:19 +08:00
Gordon Bateson
840c1c554d MDL-43852 Filters Fixed naked-OR conditions. 2014-02-28 23:55:17 +01:00
Petr Škoda
62c8032509 MDL-34347 remove all problematic global text caching
Instead we will create new MUC caches inside each filter plugin.
Please note that all cache filters should work with local caches
without the need of strict cache invalidation.
2014-01-14 10:49:23 +08:00
Sam Hemelryk
5be3d8d329 Merge branch 'MDL-38698-master' of git://github.com/FMCorz/moodle 2013-12-18 09:21:50 +13:00
Frederic Massart
850db41832 MDL-38698 filter_urltolink: Remove performance test in Unit Test 2013-12-17 07:03:02 +01:00
Frederic Massart
e15878798a MDL-38698 filter_urltolink: Do not link the URL property of CSS 2013-12-17 06:58:22 +01:00
Andrew Nicols
5947ab3333 MDL-43259 JavaScript: Stop using deprecated lightbox config setting when instantiating dialogues 2013-12-11 16:56:49 +08:00
Dan Poltawski
03579d47ca Merge branch 'MDL-42563_filter_algebra_thirdpartylibs.xml' of https://github.com/tmuras/moodle 2013-12-04 11:30:09 +08:00
Damyon Wiese
13410584be Merge branch 'MDL-40939-master' of https://github.com/timgus/moodle
Conflicts:
	filter/tex/version.php
	lang/en/admin.php
2013-12-03 09:26:58 +08:00
Tomasz Muras
399889c11a MDL-42563 Correct version of GPL license to GPL 2+ for AlgParser.pm 2013-11-25 11:53:18 +01:00
Tomasz Muras
fa9879782e MDL-42563 Add thirdpartylibs.xml for AlgParser.pm. 2013-11-22 23:58:06 +01:00
Damyon Wiese
47578dbff4 MDL-42930 Add 2.6.0 upgrade line 2013-11-18 11:47:17 +08:00