252 Commits

Author SHA1 Message Date
tjhunt
604eb7be03 filters: MDL-7336 code to let people edit local filter config 2009-04-13 07:14:27 +00:00
tjhunt
0f74bb01ff filters: MDL-7336 settings page for setting the local enabled/disabled state 2009-04-13 07:12:41 +00:00
tjhunt
6b037e0420 filters: MDL 7336 Remove remaining references to ->filters 2009-04-13 07:04:32 +00:00
tjhunt
ccc161f8f0 filters: MDL-7336 change weblib to use the new code
* Rename filter base class from filter_base to moodle_text_filter
* Remove unnecessary explicit constructors in moodle_text_filter
subclasses
* New filter_manager class, rather than static methods in filter_base
* Move some logic out of weblib, and into filter_manager
* Count filtering ops when $CFG->perfdebug on, via
performance_measuring_filter_manager
* Kill unused filter_string function. Petr said it should have been
private to weblib
2009-04-13 06:56:32 +00:00
tjhunt
d57f347420 filters: MDL-7336 ->formatstring is not mentioned anywhere else in the code, so remove. 2009-04-13 06:54:57 +00:00
tjhunt
522a8ac88c XHTML strict fix in the word censorship filter 2009-04-09 12:01:42 +00:00
skodak
c94985efb1 MDL-18552 different TeX trouble fix 2009-03-31 10:03:10 +00:00
stronk7
e42398e409 MDL-18552 TeX filter - blacklist unsecure commands + protect texdebug ; merged from 19_STABLE 2009-03-26 19:17:25 +00:00
tjhunt
c1d9eeb920 tex filter: MDL-18230 ensure we always generate valid XHTML. 2009-02-17 05:24:41 +00:00
dongsheng
5bed810261 "FILTER/MDL-17703, reverse changes to work within p tag, merged from 1.9" 2009-02-16 07:09:50 +00:00
dongsheng
e47d5adef3 "FILTER/MDL-18230, remove hardcoded style for TeX formulas image, merged from 1.9" 2009-02-16 03:10:01 +00:00
jerome
88357252e6 mp3 flash player MDL-7549 MP3 flash player now plays the end of the mp3 file 2009-02-06 07:22:50 +00:00
stronk7
84585f1d4b MDL-18100 tex filter debug - fix missing quote. Merged from 19_STABLE 2009-02-02 21:15:50 +00:00
dongsheng
9133d4ad58 "FILTER/MDL-17703, use classname instead of inline style, merged from 1.9" 2009-01-19 01:57:02 +00:00
dongsheng
9aea9ddf37 "FILTER/MDL-17703, wrap object tag by div, merged from 1.9" 2009-01-16 05:21:03 +00:00
skodak
11e7b506ce MDL-17754, MDL-11061, MDL-9276, MDL-17777, MDL-17787 - various url handling improvemetns; rewritten $FULLME and added $ME, $SCRIPT and $FULLSCRIPT; improved slashargument handling especially for IIS; removed legacy slasharguments functions obsoleted since 1.6; some other refactoring; reverse procy support, ssl appliance support 2009-01-05 21:37:20 +00:00
moodler
6188deb87e filter/mediplugin MDL-16650 Fixed youtube videos on IE 2008-12-24 07:22:54 +00:00
dongsheng
9e3f34d1c7 "FILTER/MDL-14582, filters 2.0, compatible with old filters" 2008-12-19 02:16:00 +00:00
stronk7
d533ff3abe MDL-17545 activity names filter: Improve handling when name contains htmlentities() chars. Merged from 19_STABLE 2008-12-07 18:57:38 +00:00
moodler
75c6b113b6 filter/mediplugin MDL-16650 Avoid some notices if CFG variables not defined yet 2008-11-26 01:47:46 +00:00
moodler
d5e2a55cfd filter/mediaplugin MDL-16650 Added support for alternate youtube URLs as well 2008-11-25 08:06:16 +00:00
moodler
e2cf2d7f23 filter/mediaplugin MDL-16650 Removed div to keep XHTML strict in most places 2008-11-25 07:57:05 +00:00
moodler
4d8bccf447 filter/mediaplugin MDL-16650 Added a Youtube search/replace to turn links to Youtube into embedded videos
Could use a quick security review!
2008-11-25 07:52:52 +00:00
dongsheng
56ad949d15 FILTER/MDL-17360
media plugin is truncating width and height to 3 digits, patched by Vlas Voloshin.
Merged from 1.9 branch
2008-11-24 02:00:46 +00:00
mjollnir_
c39f019849 MDL-17207 filter/tex reverting removal of $pathname in
http://cvs.moodle.org/moodle/filter/tex/texed.php?r1=1.8&r2=1.7

This fixes a security problem only triggered with register_globals ON and magic_quotes_gpc OFF which is a very uncommon case
2008-11-11 18:35:14 +00:00
poltawski
d42df9dafd MDL-16205 - fix 'coltroller' typo 2008-10-09 13:18:55 +00:00
Francois Marier
6800d78e06 Drift between CVS and git
- large deletions
- lucene updates
- error() => print_error()
- NO_MOODLE_COOKIES define
- various other things
2008-06-25 17:31:23 +00:00
skodak
294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
skodak
8618fd2aeb MDL-14679 converted some delete_records 2008-06-02 21:52:27 +00:00
skodak
b402e13409 MDL-14679 towards filters conversion 2008-06-02 08:46:50 +00:00
skodak
82a5323cd7 MDL-14679 towards filters conversion 2008-06-02 08:46:50 +00:00
skodak
219f652b91 MDL-14679 upgrade $DB conversion 2008-05-31 18:05:42 +00:00
dongsheng
09ee7b0d9e MDL-14460, fix get_context_instance, see tracker 2008-04-23 08:07:42 +00:00
dongsheng
c85fac1ff1 MDL-14129, fix incorrect print_error() call 2008-04-16 09:21:57 +00:00
dongsheng
6e7ead3ea9 MDL-14129, fix incorrect print_error() call 2008-04-16 09:16:50 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
skodak
dd97c32868 MDL-12945 a slightly bigger patch for performance in recent activity and various group related issues + some other fixes - see list of subtasks in tracker; merged from MOODLE_19_STABLE 2008-01-24 20:33:50 +00:00
skodak
54d0812500 MDL-11561 tex debug leaking sensitive info; merged from MOODLE_19_STABLE 2007-12-25 11:42:45 +00:00
skodak
109e3cb281 MDL-11561 improved text filter cache resetting when settings change; fixed bug causing fatal errors if html purifier enabled during upgrade; merged from MOODLE_19_STABLE 2007-12-25 10:03:59 +00:00
skodak
7a85562ef1 MDL-12683 - fixing broken tex in windows (borked by my last commit) sorry; merged from MOODLE_19_STABLE 2007-12-20 21:37:49 +00:00
skodak
220a90c5a1 MDL-11561 admin tree improvements and bugfixing 2007-12-19 17:35:20 +00:00
skodak
15fb52fbcb MDL-8992 eoas hack added only when really needed, removed slow fullclone; merged from MOODLE_19_STABLE 2007-12-15 13:21:12 +00:00
poltawski
4b991ddd18 Adding a comment pointing to MDL-3964 which explains why we leave the
badword in the filter span title (as I almost 'fixed it' so it couldn't
be hovered over)
2007-11-13 20:03:27 +00:00
sam_marshall
f5ceb06a32 MDL-12039 Added ability to configure alt text when using TeX filter 2007-11-06 15:49:03 +00:00
nicolasconnault
0760ba2c40 MDL-8992 Now only appearing once per page, and XHTML compliant. Also removed an ugly browser-sniffing css hack from the quicktime plugin, and applied the same browser detection as for the other plugins 2007-11-05 14:10:27 +00:00
nicolasconnault
2f39c5ef5e MDL-8992 Added a simple script from http://mar.anomy.net/entry/2006/11/24/02.12.18/ to the mediaplugin filter output. Works like a charm on all tested browsers 2007-11-01 13:52:15 +00:00
thepurpleblob
bad6ba65ae Missing a stripslashes() so TeX functions didn't work
Merged from STABLE_18
2007-09-11 14:55:34 +00:00
thepurpleblob
07caf142d7 MDL-10092:
Decode HTML entities before processing.

Merged from STABLE_18
2007-09-11 13:55:33 +00:00
thepurpleblob
d93a90dcfd MDL-11147:
Debug screen now supports LaTeX/Ghostscript renderer.

Merged from STABLE_18
2007-09-07 14:24:18 +00:00
Martin Langhoff
13534ef716 cvsimport fixups 2007-08-29 13:10:11 +12:00