Skip to content
  1. Oct 01, 2012
  2. Aug 25, 2012
  3. Jun 28, 2012
  4. Mar 13, 2012
  5. Oct 11, 2011
  6. Oct 09, 2011
  7. Sep 28, 2011
  8. Jul 25, 2011
  9. Jul 24, 2011
  10. 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
  11. Apr 10, 2011
  12. Feb 25, 2011
  13. Jan 05, 2011
  14. Nov 19, 2010
  15. May 06, 2010
  16. Apr 07, 2010
  17. Mar 10, 2010
  18. Feb 26, 2010
  19. Jan 22, 2010
  20. Jan 19, 2010
  21. Jan 18, 2010
  22. Jan 14, 2010
  23. Jan 12, 2010
  24. Dec 10, 2009
    • Jacob Singh's avatar
      Alpha field handling! Re-did a lot of the complexity after a chat session w/... · c7c0e143
      Jacob Singh authored
      Alpha field handling!  Re-did a lot of the complexity after a chat session w/ bjaspan made it clear that having the bundle or type of media (for fielding purposes) determined dynamically was not going to work and making a new table would be a PITA - but can be done later.  Anyway, see the media.install for an extended description.  Fields works now! (kinda)
      c7c0e143
  25. Dec 03, 2009
  26. Nov 09, 2009
  27. Oct 24, 2009
  28. Oct 23, 2009
  29. Jul 21, 2009
  30. Jul 20, 2009
  31. Jan 09, 2009