Commit Graph

142 Commits

Author SHA1 Message Date
Zachary Durber 25191bc311 MDL-48546 filters: Split on all tags for multimedia filter check. 2015-01-07 18:57:05 +01:00
Zachary Durber 70229b7ec7 MDL-48546 filters: ReDoS protection for multimedia links. 2015-01-07 12:27:13 +08:00
Eloy Lafuente (stronk7) 7e78f9c4a5 MDL-45503 upgrade: add v2.7.0 sep lines 2014-05-28 01:16:36 +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
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 840c1c554d.
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
Damyon Wiese 47578dbff4 MDL-42930 Add 2.6.0 upgrade line 2013-11-18 11:47:17 +08:00
Eloy Lafuente (stronk7) f39c82ebed MDL-42701 Bump all versions near 2.6 release 2013-11-05 02:36:00 +01:00
Eloy Lafuente (stronk7) c9e54743ec MDL-39753 Add 2.5.0 upgrade line 2013-05-20 15:33:19 +02:00
Eloy Lafuente (stronk7) cedb0aab5a MDL-39434 Bump all versions near 2.5 release 2013-05-01 18:03:29 +02:00
Petr Škoda 0662bd677c MDL-29996 remove deprecated stuff from filter code 2012-12-30 17:02:18 +01:00
Eloy Lafuente (stronk7) 6b9dfe731e MDL-37032 upgrade: define all the 2.4.0 points 2012-12-11 13:11:11 +01:00
Eloy Lafuente (stronk7) 663dbbc2e6 MDL-36933 Bump everything to 2012112900
(versions, requires and dependencies)
2012-11-30 03:30:09 +01:00
Jean-Philippe Gaudreau 1ba43a9c6f MDL-34997 - Allow shortened url youtu.be and y2u.be for Youtube filter 2012-09-03 14:13:41 +08:00
Aparup Banerjee 99c3c503e0 MDL-34096 Installation : Added 2.3 upgrade line to db upgrade scripts. 2012-06-29 11:41:09 +08:00
Eloy Lafuente (stronk7) c5e783e512 MDL-33794 version.php: Bump all versions, requires and dependencies to 2012061700 2012-06-18 02:37:00 +02:00
Petr Skoda 8cd436a32d MDL-33768 enable multimedia filter by default in new installs 2012-06-15 09:44:58 +02:00
sam marshall daefd6eb97 MDL-29624 Media embedding system, part 1: new API and filter changes
Includes new API in medialib.php and core_media_renderer in outputrenderers.php.
Enable/disable settings moved from filter to systemwide appearance page.
Filter changed to use new API.

AMOS BEGIN
 MOV [flashanimation,filter_mediaplugin],[flashanimation,core_media]
 MOV [flashanimation_help,filter_mediaplugin],[flashanimation_desc,core_media]
 MOV [flashvideo,filter_mediaplugin],[flashvideo,core_media]
 MOV [flashvideo_help,filter_mediaplugin],[flashvideo_desc,core_media]
 MOV [html5audio,filter_mediaplugin],[html5audio,core_media]
 MOV [html5audio_help,filter_mediaplugin],[html5audio_desc,core_media]
 MOV [html5video,filter_mediaplugin],[html5video,core_media]
 MOV [html5video_help,filter_mediaplugin],[html5video_desc,core_media]
 MOV [mp3audio,filter_mediaplugin],[mp3audio,core_media]
 MOV [mp3audio_help,filter_mediaplugin],[mp3audio_desc,core_media]
 MOV [legacyquicktime,filter_mediaplugin],[legacyquicktime,core_media]
 MOV [legacyquicktime_help,filter_mediaplugin],[legacyquicktime_desc,core_media]
 MOV [legacyreal,filter_mediaplugin],[legacyreal,core_media]
 MOV [legacyreal_help,filter_mediaplugin],[legacyreal_desc,core_media]
 MOV [legacywmp,filter_mediaplugin],[legacywmp,core_media]
 MOV [legacywmp_help,filter_mediaplugin],[legacywmp_desc,core_media]
 MOV [legacyheading,filter_mediaplugin],[legacyheading,core_media]
 MOV [legacyheading_help,filter_mediaplugin],[legacyheading_desc,core_media]
 MOV [sitevimeo,filter_mediaplugin],[sitevimeo,core_media]
 MOV [sitevimeo_help,filter_mediaplugin],[sitevimeo_desc,core_media]
 MOV [siteyoutube,filter_mediaplugin],[siteyoutube,core_media]
 MOV [siteyoutube_help,filter_mediaplugin],[siteyoutube_desc,core_media]
AMOS END
2012-05-09 18:29:29 +01:00
Petr Skoda f59f03ad2d MDL-32569 drop more core simpletests that were already migrated 2012-04-21 16:27:30 +02:00
Petr Skoda afd1c47c10 MDL32423 import latest flowplayer 2012-04-15 15:59:07 +02:00
Petr Skoda 2a7ace1193 MDL-32149 add filter tests 2012-04-03 22:30:58 +02:00
Gerard (Gerry) Caulfield ce8df92df1 MDL-31107 Fixing instaces of below where it is written as bellow (two L's) 2012-02-10 15:40:04 +08:00
Petr Skoda 8ef9da055a MDL-30610 standardise empty upgrade script content 2011-12-23 10:38:11 +01:00
Petr Skoda c5fb8b27b8 MDL-30610 remove outdated filter upgrade code 2011-12-23 10:38:11 +01:00
Aparup Banerjee 46f2a9366a MDL-30604 Added upgrade lines to upgrade.php(s) 2011-12-09 01:28:59 +01:00
Petr Skoda 9c89c04af5 MDL-30007 standardise filter version files 2011-11-29 21:15:42 +01:00
Petr Skoda e7b90ca0fa MDL-30487 remove obsolete test
Since MDL-30303 media filter accepts any ? parameters.
2011-11-28 20:11:59 +01:00
Petr Skoda 7f86bee330 MDL-30303 fix media playback from URLs with ? query parts
Credit for the rawurlencode() fix goes to Eloy.
2011-11-19 18:17:37 +01: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
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
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
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 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
Dongsheng Cai ee14924440 "MDL-25184, fixed regular expression of youtube" 2010-11-12 07:26:42 +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 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