Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Install
Works with Drupal: 7.xUsing Composer to manage Drupal site dependencies
Downloads
Download media-7.x-2.0-alpha4.tar.gztar.gz
123.35 KB
MD5: e5173051854c38a2d6bea749d0e5317c
SHA-1: 8274caccd8fd7c635c6c5e1f85e692c5294af196
SHA-256: f20128c80c2dd533928bd4df8417ccd242c8647ffda58aa9cbe86ca273635d9c
Download media-7.x-2.0-alpha4.zipzip
169.95 KB
MD5: a469a12ea4d488eed5719f1e016cc04c
SHA-1: 2e62ee1a5c22df9aab6a4c8154db65cabb607519
SHA-256: 0f4cd039133b7fa56dd76fb75435eecae513b97ff95ec8bae93a2771b0c91950
Release notes
Coordinated release with File Entity
The File Entity 7.x-2.0-beta1 release corresponds with this release of Media module.
Changes since 7.x-2.0-alpha3:
- #1289680 by Devin Carlson | idiotzoo: Fixed widget should validate the 'Allowed URI schemes' options must include the 'Upload destination' scheme.
- Revert "Issue #2284861 by Leksat: File size error on first upload after updating to 7.x-2.x-dev"
- #2192981 by huteb, David_Rothstein, Schnitzel: Restore media field widget edit button
- #2272567 by David_Rothstein: Media dialog appears underneath the Ctools modal dialog when using jQuery UI 1.10
- #1319528 by sheldondreger, ndobromirov, j0rd: Media browser view library exposed form submit problem
- #2170759 by kaidjohnson, GoZ, alexkb: File fields that use WYSIWYG instead of plain text don't get updated.
- #2284861 by Leksat: File size error on first upload after updating to 7.x-2.x-dev
- #1949456 by dalin: /media/*/format-form should be declared as an admin path
- Simplified the binding of the media browser to the selector.
- #2323305 by kaare: Fixed the CKEditor plugin path when Drupal is installed in a subdirectory.
- #2293823 by nadavoid: Use the form ID for determining whether to alter the first step of the file upload wizard when adding internet media.
- Added missing test dependency.
- Added tests for the Media Internet provider APIs.
- Removing dependency.
- Testing testbot dependency.
- Added basic test coverage for adding a remote file via the file upload wizard through Media Internet.
- #2309233 by recrit: Fixed IE11 now supports standard ECMA script objects and no longer includes supports for proprietary createRange() method.
- #2120475 by Devin Carlson: Fixed file icon display issues by modifying upgrade path to save a copy of the square_thumbnail image style in the database for legacy support.
- #2230205 by jonathanpglick: Fixed Drupal.media.popups.mediaStyleSelector does not URL-encode the mediaFile.fields value.
- #2289321 by Chris Burge: Added 'data-picture-mapping' attribute to 'wysiwyg_allowed_attributes' to support Picture module integration.
- #2126755 by David_Rothstein,jonathan_hunt,SpadXIII,lorique,Schnitzel,kaare,oetseli,GoZ,kaidjohnson: Improve Media's WYSIWYG Macro handling
- #2082045 by swim: Media Browser modal iframe dimensions are hardcoded
- #1802026 by David_Rothstein, hefox, torotil, timbrandin, tobiasb, clemens.tolboom: Ajax callbacks in the media overlay cause the active tab to switch tab unexpectedly
- #2216329 by Devin Carlson: New filelfield browser widget is massively confusing the user
- #2282381 by Devin Carlson: Used the fallback filter format for the default view empty text to prevent errors when the plain_text format is not available.
- Media_field_widget_submit(), media.field.inc was using the wrong parent key.
- #2215619 by zhuber, netbek, jmuzz, Devin Carlson: Fixed query alter preventing files from being displayed if more than one scheme is enabled.
- #1931336 by redndahead, David_Rothstein, Devin Carlson: Reused the file upload wizard for adding internet media.
- #2278561 by markusbroman, LanceG: Changed legacy view mode declarations to fix undefined index errors.
- #2276725 by swim: Removed the media dialog theme variable on uninstall.
- Removed the creation of initial display settings during installation.
- #2272821 by hefox: Fixed delete permission is required to change/remove file on file fields using media widget.
- Revert "Issue #2104193 by westwesterson, sylus, mpotter, brantwynn: Default file entities are not exportable by features (Media File Entity Overridden)"
- #2184475 by ParisLiakos, boyan.borisov: Media popup trigger some js errors after jQuery upgrade to v1.7 using jquery_update module
- Fixed the display of empty text on the thumbnails page.
- #2223455 by Aslak, das-peter: Fixed Media WYSIWYG format form not getting passed by reference which prevented any changes to form state.
- Fixed CKEditor plugin path.
- Accommodated Ajax form page callback changes required by Drupal 7.27.
- #2104193 by westwesterson, sylus, mpotter, brantwynn: Default file entities are not exportable by features (Media File Entity Overridden)
- Added widget description.
- Moved theme code.
- #2151981 by tobiasb, Devin Carlson: Added file to on the WYSIWYG format form.
- #2219265 by WillowDigit, Devin Carlson: Added additional checks for invalid file extensions.
- #2215905 by Devin Carlson: Fixed duplicate columns in media widget.
- #1630288 by ndobromirov, GoZ, John Pitcairn, dagomar: Upload image freeze on wysiwyg integration with multi field media
- Filtered out unchecked field widget settings.
- #1960936 by logaritmisk, Devin Carlson: Allow the format selector on the format form to be any type of input widget.
- #1824304 by Devin Carlson: Fixed doxygen for media_query_media_browser_alter().
- #1824304 by Devin Carlson: Added @todo suggesting that media_query_media_browser_alter() be moved into media.module() in a future version of Media.
- #1293908 by Devin Carlson: Fixed media browser query tag not properly enforcing restrictions.
- Reverted auto attach JavaScript in order to be consistent with the core managed_file element.
- #2048359 by killua99, Devin Carlson: Added a unique permission for accessing the media browser.
- #2155931 by ndewhurst: Media Wysiwyg View Mode Preview Image doesn't remember the View Mode of the embedded media
- #2139461 by bneil, mariacha1, kaidjohnson: Can't edit link text for uploaded files (not images)
- Hid the operations column if the user does not have any operations to perform.
- Hid the upload field when a file is available.
- #2169375 by steinmb: Fixed PHP warnings when running media_update_7211() by adding a check to ensure that an image style setting exists before attempting to use it.
- #2209689 by Devin Carlson: Moved default displays into a separate file.
- Removed unnnecessary call to media_attach_browser_js().
- #2209537 by Devin Carlson: Moved media browser parameter API functions into media.module.
- #2209601 by Devin Carlson: Added a fallback textfield for entering a file ID for users without JavaScript.
- #1942990 by Devin Carlson: Used the proper API functions for retrieving media browser parameters.
- Removed legacy test file.
- #1026602 by Devin Carlson: Added some test coverage for the media browser Library and My files views in combination with various file types and permissions.
- #1026602 by Devin Carlson: Added some test coverage for the file thumbnails administration page functionality.
- Added JavaScript to automatically attach selected files.
- #1026602 by Devin Carlson: Added some test coverage for media element and file field widget JavaScript settings.
- Fixed wrong button being disable during media attach.
- #1026602 by Devin Carlson: Added some test coverage for the media field widget.
- Code cleanup.
- Standardized element file upload delta key.
- Revert "Issue #2126697 by kaidjohnson, briand44: Wysiwyg -- Alt and Title fields require some special handling."
- #2187893 by Devin Carlson: Simplified the list of internet media providers.
- #2180641 by Devin Carlson: Removed stdClass type hinting.
- #2182823 by Devin Carlson: Displayed dialog title and close button for better UX.
- #2187837 by Devin Carlson: Brought media element and field widget inline with managed_file equivalents.
- #2126697 by kaidjohnson, briand44: Wysiwyg -- Alt and Title fields require some special handling.
- #2173911 by das-peter: Ensured that Media WYSIWYG controls CKEditor Media integration by implementing hook_ckeditor_plugin().
- Fixed warning during upgrade.
- Fixed the 'import media' permission should be flagged as restricted.
- #2164831 by das-peter: Fixed advanced content filter configuration was too restrictive.
- #2160099 by andrewmacpherson: Fixed typo in file type migration form submit button.
- #1504696 by das-peter, kevinchampion, tobby, catch, douggr een, dafeder, ndobromirov, Devin Carlson, axe312, brantwynn
- Added fake version.
- #2153459 by Devin Carlson: Removed media_access() in favor of the File Entity access API.
- Removed old, incorrect code comments.
- #2152095 by Devin Carlson: Moved the Media Internet classes into separate files.
- #2152061 by erykmynn: Fixed UUID callbacks using old function name.
- Removed unused icon.
- #2151525 by Devin Carlson: Moved format form into a separate include file.
- #2147251 by Devin Carlson: Declared variables to enable WYSIWYG translation.
- #2147221 by Devin Carlson: Migrated variables to appropriate submodules.
- #2145319 by Devin Carlson: Renamed variables removing legacy variable namespace.
- Revert "Issue #2145319 by Devin Carlson: Renamed variables removing legacy variable namespace."
- #2144603 by Devin Carlson: Removed legacy API.txt and CHANGELOG.txt files.
- #2144537 by Devin Carlson: Fixed non-existent variables are deleted during uninstall.
- #2144175 by Devin Carlson: Moved file type migration functionality into a submodule.
- #2143847 by Devin Carlson: Fixed incorrect function names.
- Coding standards.
- #2143469 by Devin Carlson: Moved bulk upload functionality into a submodule.
- Removed unused install file.
- #2143411 by Devin Carlson: Removed the unused media_file_list theme function.
- #2142571 by Devin Carlson: Moved WYSIWYG functionality into a submodule.
- #2084593 by DamienMcKenna: media_update_7212 requires file_entity_update_7210
- Revert "Issue #2084593 by DamienMcKenna: media_update_7212 requires file_entity_update_7210"
- #2126681 by kaidjohnson: Wysiwyg -- registerNewElement method is never called and should be removed.
- #2126661 by kaidjohnson: Wysiwyg -- allowed_attributes() in media.filter.js does not properly sync with settings from the php
- #2126665 by kaidjohnson: False negatives on test 'Image displays with default attributes.'
- #2126653 by kaidjohnson: Wysiwyg -- theme_image_formatter overrides do not retain element attributes.
- #2067063 by kaidjohnson, ParisLiakos Wysiwyg integration is broken
- #1972628 by Devin Carlson: Improved media browser positioning to better utilize window space and fix content display.
- #1941700 by tatyana: Made error messages consisitent with Drupal core.
- #2084299 by Devin Carlson: Corrected internet media add form help text.
- #2120853 by Devin Carlson: Attached Media CSS to thumbnail previews.