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
Dan Poltawski
acb75afe39
Merge branch 'MDL-55007-master' of https://github.com/dthies/moodle
2016-07-12 09:20:15 +01:00
Daniel Thies
fa3f814792
MDL-5507 filter_mathjaxloader: Add commeents for regexes
2016-07-11 13:20:41 -05:00
Daniel Thies
638b473808
MDL-55007 filter_mathjaxloader: Wrap nolink around each expresssion
2016-07-07 18:58:15 -05:00
Dan Poltawski
8a802c9032
MDL-54652 filter_mediaplugin: refomat css
2016-06-16 20:49:04 +01:00
Dan Poltawski
d8b5fb1255
MDL-54652 filter_mediaplugin: removed unused invalid css
...
It is override by core styles anyway.
2016-06-16 20:49:04 +01:00
Russell Smith
1fcf0ca8a5
MDL-35628 performance: Remove dirname() where possible.
...
dirname() is a slow function compared with __DIR__ and using
'/../'. Moodle has a large number of legacy files that are included
each time a page loads and is not able to use an autoloader as it is
functional code. This allows those required includes to perform as
best as possible in this situation.
2016-06-10 08:06:49 +10:00
Eloy Lafuente (stronk7)
4da854a68b
MDL-54677 upgrade: add 3.1.0 separation line to all upgrade scripts
2016-05-23 01:31:34 +02:00
Eloy Lafuente (stronk7)
1abca11e0a
MDL-54638 versions: bump all versions and requires near release
...
version = 2016052300 release version
requires= 2016051900 current rc1 version
2016-05-19 02:16:15 +02:00
Dan Poltawski
63dcc87631
MDL-52752 mathjaxloader: version bump
2016-03-22 16:40:00 +08:00
Adrian Greeve
1f8ab584e9
MDL-52752 filters: Update MathJax to version 2.6
2016-03-21 14:10:00 +08:00
Eloy Lafuente (stronk7)
e8c82aac82
MDL-51580 upgrade: clean < 2.7.0 upgrade steps
...
This just deletes all the upgrade steps previous to 2.7.0. Some
small adjustments, like adding missing MOODLE_INTERNAL or tweaking
globals can also be applied when needed.
Next commit will get rid of/deprecate all the upgradelib functions
not used anymore in codebase.
2016-02-15 18:38:09 +01:00
David Monllao
d1fba0f4f5
MDL-51075 filter_glossary: Fix popup position when no popups
...
Thanks to Andrew Nicols for cleaning my eyes.
2016-02-05 09:18:06 +08:00
Andrew Nicols
ec68e9d530
Merge branch 'MDL-23128-master' of git://github.com/danpoltawski/moodle
2015-12-22 13:11:27 +08:00
David Monllao
9e313e798f
MDL-51784 general: Adding missing php4 style constructors
...
Adding them to warn people calling the php4 constructor.
2015-12-11 14:02:42 +08:00
Marina Glancy
c4d0b752a2
MDL-51784 various: use __construct() for PHP7 compatibility
2015-12-11 12:48:24 +08:00
Marina Glancy
1a0df5535e
MDL-52081 forms: Use __construct() for constructors
2015-12-10 13:38:01 +08:00
Dan Poltawski
635501581c
MDL-23128 tex: silence dvips output
...
This was causing spewwing of lots of messages to the error log..
Thanks to Fred Woolard for the suggestion
2015-11-25 17:07:06 +00:00
Eloy Lafuente (stronk7)
6d29c4acdd
MDL-52140 upgrade: add 3.0.0 separation line to all upgrade scripts
2015-11-17 17:08:56 +01:00
Eloy Lafuente (stronk7)
2e144835bb
MDL-52059 versions: bump all versions and requires near release
...
version = planned 2015111600 release version
requires= current 2015111000 rc3 version
2015-11-10 12:33:52 +01:00
Damyon Wiese
28de777199
MDL-51222 Javascript: Trigger events for filters on DOM insertion
...
When nodes are added to the dom, they may need to be re-processed by a JS based
filter. To do this we need to trigger the legacy YUI event filter-content-updated.
To make this easier I added some wrappers to template that will insert the node, run any
JS and trigger the event.
I also changed existing yui code to call the amd function to trigger the event. This way
all jquery and yui listeners will always be notified.
2015-09-22 15:40:51 +08:00
Mark Nelson
8e7774fa8c
MDL-33765 filter_glossary: fixed jshint warning
2015-06-28 21:44:11 -07:00
Martin Mastny
a42f94a38d
MDL-33765 filter_glossary: Stacking JS windows with offset
2015-06-28 21:44:11 -07:00
David Monllao
866573e02b
Merge branch 'MDL-50491' of git://github.com/stronk7/moodle
2015-06-23 13:31:34 +08:00
Martin Mastny
25bfc7cfc0
MDL-49744 JavaScript: Glossary term window is draggable
2015-06-18 07:13:38 +02:00
Eloy Lafuente (stronk7)
0d6f53e8f7
MDL-50491 filters: Some final touches.
...
- Complete the deprecation information to follow the rules.
- Minor tweak to PLAIN tests to have clearer expectations.
- Completely delete get_global_config() from filters, there
was not much utility keeping it there. Note we have opted
for direct deletion because it's private API, not public one
(and searching github/google/docs did not reveal any use
of those functions either, just in case).
2015-06-18 04:11:24 +02:00
Tim Hunt
41e5e524f9
MDL-50491 filters: Eliminate un-resettable static caching.
...
This was breaking unit tests. I think it is no longer necessary since
get_config now has good caching of its own.
2015-06-17 13:48:56 +01:00
Tim Hunt
7d94679ff1
MDL-50491 filters: option to disable some filters in filter_text.
...
This lets you programmatically prevent certain filters running on
certain content.
Also, I created some unit tests for the basic format_text functionality
since there did not seem to be any yet.
2015-06-17 13:48:55 +01:00
Tim Hunt
a94b2cb873
MDL-50491 admin: new setting class for list of filters.
2015-06-17 13:48:55 +01:00
Tim Hunt
502561d657
MDL-50491 filters: deprectate old methods & improve comments
...
Two methods relating to the old way of doing format_text caching have
been deprecated.
2015-06-17 13:48:54 +01:00
Martin Mastny
d2be12cb3e
MDL-50438 filter_glossary: Added missing exception classes
2015-06-02 14:20:36 +08:00
Eloy Lafuente (stronk7)
b758ab3053
MDL-50183 upgrade: add 2.9.0 separation line to all upgrade scripts
2015-05-12 00:21:05 +02:00
Eloy Lafuente (stronk7)
15005d91f0
MDL-50102 versions: coding style cleanup.
2015-05-05 18:23:21 +02:00
Eloy Lafuente (stronk7)
26ea380d24
MDL-50102 versions: bump all versions and requires near release
...
version = planned 2015051100 release version
requires= current 2015050500 rc1 version
Note: On purpose, the course format social wrong version (2015102100)
has been kept unmodified. Looking forward a solution right now.
2015-05-05 17:43:19 +02:00
David Monllao
677e0dd6ca
MDL-44367 filter_data: Adding basic unit tests
2015-03-11 09:54:32 +08:00
David Monllao
9a4ad19f55
MDL-44367 filter_data: Moving cache at course level
2015-03-11 09:54:25 +08:00
Ankit Agarwal
07323f50ff
MDL-38466 filters: Redos protection and unit tests
2015-03-02 11:28:52 +01:00
Zachary Durber
a5b8265fc3
MDL-38466 filters: ReDoS protection for text to URL conversion.
2015-03-02 11:28:51 +01:00
David Monllao
bbc009f26c
MDL-48543 filter_mathjaxloader: Fixing upgrade version
2015-02-17 11:00:52 +08:00
Damyon Wiese
b1a55c5ffb
MDL-48543 Mathjax: Update default config for JAWS Math player
...
JAWS Maths player does not recognise the math content when manually specifying the config for MathJax.
If you use one of the default config files it works.
So - we switch our config to the Accessible.js config that it is based off anyway.
There are no features changes with this approach.
Conflicts:
filter/mathjaxloader/version.php
2015-02-17 10:54:12 +08:00
David Monllao
be1bc2d4cb
MDL-48760 filter_mathjaxloader: Removing post-2.9 release comment
2015-02-17 10:48:06 +08:00
Adrian Greeve
01dfdf7e41
MDL-48760 maths filters: Upgrade to mathjax 2.5
2015-02-13 14:26:11 +08:00
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