356 Commits

Author SHA1 Message Date
Sam Hemelryk
70f43a4789 Merge branch 'MDL-29993' of git://github.com/stronk7/moodle 2011-10-31 15:19:31 +13:00
Eloy Lafuente (stronk7)
350f973d38 MDL-29993 filters - new filter/data filter replacement for legacy mod/data/filter. 2011-10-30 02:33:11 +02:00
Eloy Lafuente (stronk7)
9ff8c803be MDL-29992 filters - move related css from mod/glossary to filter/glossary 2011-10-29 19:02:22 +02:00
Eloy Lafuente (stronk7)
d307a1a70d MDL-29992 filters - move js popup from mod/glossary to filter/glossary
This commit moves the js popup to the new location of the filter. Also
it fixes one bug, with the js processing also glossary category links
leading to error, so now the categories are working again.
2011-10-29 19:02:07 +02:00
Eloy Lafuente (stronk7)
85a69ce123 MDL-29992 filters - new filter/glossary filter replacement for legacy mod/glossary/filter. 2011-10-29 17:50:58 +02:00
Petr Skoda
5a2bd48665 MDL-29401 fix previous regression
The problem was introduced when / was removed from PARAM_ALPHAEXT.
2011-09-26 23:21:39 +02:00
Petr Skoda
aff24313be MDL-29401 introduce new frankenstyle PARAM types
New PARAM_COMPONENT, PARAM_AREA and PARAM_PLUGIN + fixing of hopefully all current incorrect parameter types. This should help with diagnosing of incorrectly named 3rd party plugins too.
2011-09-25 09:59:55 +02:00
Tom Lanyon
af9b14446d MDL-28701 Change uses of make_upload_directory(temp) to make_temp_directory(). 2011-09-10 10:43:49 +02:00
Tom Lanyon
7aa06e6ded MDL-28701 Change all uses of $CFG->dataroot/temp to $CFG->tempdir 2011-09-10 10:35:39 +02:00
Sam Hemelryk
a338b06243 Merge branch 'wip-mdl-28504' of git://github.com/rajeshtaneja/moodle 2011-08-02 16:50:58 +08:00
Rajesh Taneja
251af6a5b9 MDL-28504 filter: Typo in css fixed 2011-08-01 10:18:47 +08:00
David Mudrak
df62f42013 MDL-28487 Fixed typo in media filter help string 2011-07-27 14:44:02 +02:00
Sam Hemelryk
962360fa21 MDL-27771 filter-text: Fixed typo contninue 2011-07-13 14:52:44 +08:00
Aparup Banerjee
c5a8abfedd MDL-28169 Installation Added 2.1 upgrade (idiot proof) lines to upgrade scripts. 2011-07-07 11:40:38 +08:00
Rossiani Wijaya
0c8d3939bc MDL-28061 mediaplugins filter: add aac audio node to filetypes.mm, fixed string mistype within the admin setting page (acc -> aac) and add mediaplugin_html5audio css class to align the player/link like the rest. 2011-06-30 19:29:07 +08:00
Sam Hemelryk
7313ac6c7a MDL-27958 Added missing set_context call which would cause errors for all contexts below course 2011-06-23 12:16:09 +08:00
Eloy Lafuente (stronk7)
a5743e866e Merge branch 'w13_MDL-22733_21_youtubeiframe' of git://github.com/skodak/moodle 2011-03-28 23:33:23 +02:00
Petr Skoda
3c3d544700 MDL-26909 fix outdated mediaplugin filter unittests 2011-03-26 23:54:45 +01:00
Petr Skoda
c4b491a417 MDL-22733 enable youtube iframe embedding 2011-03-26 23:38:40 +01:00
Sam Hemelryk
ca3fce634f Merge branch 'w12_MDL-26826_20_youtubedim' of git://github.com/skodak/moodle 2011-03-21 14:27:45 +08:00
Petr Skoda
a3516c4908 MDL-26826 add resizing of youtube and vimeo and remove non-functional % embedding sizes, only pixel sizes work in object tags 2011-03-17 22:13:07 +01:00
Petr Skoda
10793e570c MDL-26837 remove blacklisted markup from algebra conversion 2011-03-17 15:36:21 +01:00
Eloy Lafuente (stronk7)
e5e64a4886 Merge branch 'w11_MDL-26697_20_media' of git://github.com/skodak/moodle
Conflicts:
	theme/formal_white/config.php
2011-03-15 15:21:02 +01:00
Petr Skoda
f7f0909ce5 PULL-442 multiple TeX related fixes
Prevent moodle_url error, cleanup entity encoding and decoding, disable tex source view when TeX and Algebra plugins disabled, localise TeX source popup and prevent phishing attempts, fix executable permission of Algebra pearl script, prevent image error in tex debug when Tex/Ghostscript not configured properly, fix copyright blocks and phpdocs, improve coding style, fix wrong source display link in Algebra filter.
2011-03-13 15:18:07 +01:00
Petr Skoda
fcd2cbaf1f MDL-26697 multiple media filtering fixes and improvements
Bug fixes:
    * fixed broken flash resizing via URL
    * upgraded Flowplayer
    * fixed invalid context in format_text()
    * all media related CSS moved from themes to filter and resources
    * fixed automatic pdf resizing in resources

Changes:
    * reworked filter_mediaplugin system settings - grouped by player type instead of individual extensions, added more information
    * improved regex url matching
    * removed old unused players, Eolas fix and UFO embedding
    * image embedding moved to filter_urltolink
    * new Flowplayer embedding API
    * accessibility and compatibility tweaks in Flowplayer
    * SWF embedding now works only in trusted texts, it is now enabled by default (works everywhere if "Allow EMBED and OBJECT tags" enabled)
    * new default video width and height

New features:
    * automatic Flash video resizing using information from video metadata
    * Flash HD video support (*.f4v)
    * Flash video embedding with HTML5 fallback - compatible with iOS and other mobile devices
    * Vimeo embedding
    * no-cookie YouTube site supported
    * HTML 5 audio and video with multiple source URLs and QuickTime fallback
    * more video and audio extensions in filelib.php
    * MP3 player colours customisable via CSS in themes
    * nomediaplugin class in a tag prevents media embedding
2011-03-12 17:42:52 +01:00
Petr Skoda
431ac39634 MDL-26623 fix file permissions
The permissions are now going to be verified as part of the weekly release process.
2011-03-01 12:26:49 +01:00
Eloy Lafuente (stronk7)
42bdecde6d Merge branch 'w07_MDL-26380_20_mediafilterperf' of git://github.com/skodak/moodle 2011-02-14 01:41:19 +01:00
Petr Skoda
a2ee26bf3e MDL-26030 more mediaplugin fixes
Improved youtube id parsing, fixed url quoting and fixed unittests.
2011-02-12 19:47:52 +01:00
Petr Skoda
e68789c559 MDL-26380 improve perf of mediaplugin filter if no links found in text 2011-02-12 16:48:32 +01:00
Rossiani Wijaya
3f5192c088 MDL-26030 update filter regex and create unittest for filter mediaplugin 2011-02-12 12:23:04 +01:00
Petr Skoda
63786031f2 Merge branch 'MDL-25573_m20' of git://github.com/rwijaya/moodle 2011-01-31 09:04:29 +01:00
Rossiani Wijaya
469aa3ba50 create youtube playlist filter. Fixed regex, removed addslash_js, use variable param instead of url because the variable contains the value of the url parameter. 2011-01-31 15:03:58 +08:00
Helen Foster
82b15e2811 MDL-21250 capital letters removal
Also some spotted leading and trailing whitespace was removed from some
strings.
2011-01-27 16:24:30 +01:00
Petr Skoda
8a7703ce53 MDL-25973 add missing charset 2011-01-14 09:32:17 +01:00
Dongsheng Cai
ee14924440 "MDL-25184, fixed regular expression of youtube" 2010-11-12 07:26:42 +00:00
David Mudrak
2da70c6c30 Fixed undefined variable notice 2010-11-11 15:44:34 +00:00
David Mudrak
015ba71af0 MDL-24777 replace_smilies() replaced with the new standard filter 2010-10-23 18:43:31 +00:00
Petr Skoda
4d4d20e7a2 MDL-24650 fixing sloppy regression, sorry; credit for goes to Daniele Cordella 2010-10-13 20:14:40 +00:00
Petr Skoda
388d1c024d MDL-24650 xhtml strict fix in filter 2010-10-13 17:29:35 +00:00
David Mudrak
7f97ca731e MDL-24542 filter_urltolink does not display debugging warning if called by format_string
Ideally, filter class should declare if it supports format_text() or
format_string() or both. Also there could be another $option passed
informing the filter about the type of the text.
2010-10-07 19:28:36 +00:00
David Mudrak
062b4110d4 MDL-24542 New filter urltolink, replacing core convert_urls_into_links() function 2010-10-07 09:01:15 +00:00
David Mudrak
dcfffe3072 MDL-24531 Extend filter manager API so that options can be passed to the filters
The only option passed at the moment is the original format in which the
user inserted the text. Other options can be added later if/when needed.
2010-10-07 08:57:20 +00:00
Aparup Banerjee
b7ff4643ae filters MDL-24152 added a grey highlight to censor words for admin to see words being filtered. 2010-09-22 03:51:47 +00:00
Petr Skoda
8e7fecd96e prevent notices from media filter plugin before the plugin gets upgraded + whitespace 2010-09-20 18:28:46 +00:00
Rossiani Wijaya
ce5dc36e38 MDL-19927 - add media plugins support for ogg and ogv files. 2010-09-20 09:47:54 +00:00
Petr Skoda
eab8ed9fb7 fixed a few spelling errors in /admin/ 2010-09-17 10:27:26 +00:00
Rossiani Wijaya
3a42ad126c MDL-23870: Replace flash and mp3 multimedia filter with flowplayer. 2010-09-09 11:30:06 +00:00
Petr Skoda
7270479f7d MDL-24058 removing forgotten stripslashes, no magic quotes used any more 2010-09-02 12:44:27 +00:00
Petr Skoda
c426ef3aa5 MDL-23984 improvements of check_dir_exists() - replacing by make_upload_directory() in cases where we want to be sure that the dir is writable; removning now default create and recursive params to make code easier to read 2010-08-29 14:51:09 +00:00
Petr Skoda
fcab3e647e MDL-23984 using standard check_dir_exists() in latex 2010-08-29 10:12:42 +00:00