501 Commits

Author SHA1 Message Date
Vadim Dvorovenko
6aec17bd00 MDL-48955 filter_mathjax: Regexp fix for texfiltercompatibility mode
Fixing incorrect regexp for replacing text like
"$$a$$ and $$b$$" to "\(a\) and \(b\)". This is needed for
texfiltercompatibility to work as expected.
2015-01-29 23:17:22 +07:00
Andrew Nicols
557f44d970 MDL-48620 JavaScript: Updated shifted files to comply with coding style 2015-01-23 14:51:24 +08:00
Zachary Durber
5329d84f0b MDL-48546 filters: Split on all tags for multimedia filter check. 2015-01-07 17:34:28 +01:00
Zachary Durber
75cb0ffffe MDL-48546 filters: ReDoS protection for multimedia links. 2015-01-07 12:27:51 +08:00
Daniel Thies
ece1e519f6 MDL-48213 filter_algebra,filter_tex: Require sesskey for debug actions 2014-12-18 16:30:52 -06:00
Daniel Thies
35fc96ae2e MDL-48213 filter_algebra: Allow cookies in debug script 2014-12-11 19:56:31 -06:00
Dan Poltawski
122cabb41e Merge branch 'MDL-47648' of git://github.com/timhunt/moodle 2014-11-17 15:39:48 +00:00
Tim Hunt
de10b7c239 MDL-47648 admin unit tests: fix file perms on mimetex.exe
This was causing the
core_admintree_testcase::test_admin_setting_configexecutable unit test
to fail.
2014-11-11 14:02:54 +00:00
Eloy Lafuente (stronk7)
147bae8f7c MDL-48144 upgrade: add v2.8.0 sep lines 2014-11-10 18:08:15 +01:00
Eloy Lafuente (stronk7)
de881693f7 MDL-48021 bump: Bump all versions to planned release
This bumps all versions to planned 2.8 release
(2014111000) version and all the dependencies to
current 2.8rc1 (2014110400)
2014-11-04 17:52:35 +01:00
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