Skip to content
  1. Mar 28, 2017
  2. Feb 26, 2017
  3. Feb 25, 2017
  4. Nov 23, 2016
  5. May 30, 2016
  6. Sep 17, 2014
  7. Feb 05, 2014
  8. Nov 26, 2013
  9. Nov 25, 2013
  10. Sep 11, 2013
  11. Aug 22, 2013
  12. Jul 17, 2013
  13. Mar 08, 2013
  14. Jan 26, 2013
  15. Jan 22, 2013
  16. May 20, 2012
  17. Feb 01, 2012
  18. Jan 31, 2012
  19. Jan 26, 2012
  20. Jan 11, 2012
  21. Nov 16, 2011
  22. Nov 15, 2011
  23. Sep 25, 2011
  24. Sep 24, 2011
  25. Jul 30, 2011
  26. Apr 28, 2011
    • Alex Bronstein's avatar
      Issue #1086958 by effulgentsia: Use FileEntity instead of Media Entity. ... · 9510e4c9
      Alex Bronstein authored and Jacob Singh's avatar Jacob Singh committed
      Issue #1086958 by effulgentsia: Use FileEntity instead of Media Entity.  Redefine the way files are formatted in Drupal, cold fusion, etc
      
      adding a todo for issue http://drupal.org/node/1086966
      
      Call up 'file' entities instead of 'media' entities in field_* calls; make the core file entity fieldable.
      
      remove some hook_file_CRUD() implementations that are not necessary when we already have the file entity object. make sure that our file entity objects always have a bundle key set when we need it.
      
      Make sure that file entities have a media bundle key ('type') set.
      
      Fully removed definition of media entity. Now, we just have hook_entity_info_alter() for file entity.
      
      Removed creation of file field on file entity. Will replace with 'extra_field'. Also removed dependency on Styles module. Will replace with lightweight formatter routing.
      
      Removed file_usage_delete() hack made unnecessary by removing self-referential file field from the file entity. Also, made 'file' an 'extra_field' so it can be weighted in Field UI.
      
      Removed media_load() and media_load_multiple() functions, since they're now redundant with file_load() and file_load_multiple(). Also, replaced calls to entity_load() with file_load_multiple().
      
      Removed media_file_load() and media_entity_load(). They're unnecessary, as 'type' is automatically populated by virtue of being in the {file_managed} table. And we want loads to be as fast as possible, so removing stack calls helps.
      
      Removing MediaEntityController. Hasn't been necessary for a while now, and especially with the move to file entities.
      
      Unrelated to entity reorganization, but adding comment about why this redundant file is here.
      
      Add a file_entity_api module to contain just the code needed for file entities to be fieldable and viewable. Will move the relevant Media code into here.
      
      Initial migration of some code from Media to File Entity API
      
      Added admin page for getting to the Field UI of a file type.
      
      Removing "api" from file_entity modules, since a bare-bones UI is needed too.
      
      Removing "api" from file_entity modules, since a bare-bones UI is needed too.
      
      Doc cleanup
      
      Some code organization cleanup
      
      Much of the scaffolding for displaying a file entity. Now we just need to implement a UI for the 'file-displays' configuration page.
      
      Doc and API cleanup
      
      Added 'file-displays' UI
      
      Fleshed out the API for assigning $file->type.
      
      Yay. Full add/view/edit workflow is functional!
      
      Updated file_entity_test.info to reflect dependency on file_entity.
      
      Weird. Fieldsets without #weight can't participate in vertical tabs?
      
      A bunch of Media module cleanup to work with new File Entity module. Probably still not working yet though.
      
      Media field is working!
      
      Moved image file formatter into file_entity module. Added file formatter bridge to file field formatters.
      
      Added tester module for Media Youtube integration.
      
      Ensuring that $file->type is never null, since Field API doesn't like it when bundle keys are null.
      
      Removed old Media code that deals with NULL file types. File Entity now handles that.
      
      Update function for switching to File Entity
      
      Reinstated Media code that nags the administrator about files with missing types.
      
      Missing type is now signified by empty string, not NULL.
      
      Declaring all media view modes to have custom settings, as it effectively used to via prior media_enable() implementation.
      
      Added default processing and better wysiwyg integration when Styles module not enabled.
      
      Minor cleanup
      
      Minor comments tweaking.
      9510e4c9
  27. Apr 10, 2011
  28. Feb 25, 2011
  29. Jan 13, 2011
  30. Sep 17, 2010
  31. Sep 16, 2010
  32. Sep 14, 2010