[gallery/gallery3] 212944: #1951 - Make metadata generation more flexible (ph...

GitHub <noreply-9UaJU3cA/F/[email protected]>
Newsgroups gmane.comp.web.gallery.cvs
Message-ID <[email protected]>
  Branch: refs/heads/master
  Home:   https://github.com/gallery/gallery3
  Commit: 212944e1eae2ffb9a3e27ea7d1c6813160cce1ed
      https://github.com/gallery/gallery3/commit/212944e1eae2ffb9a3e27ea7d1c6813160cce1ed
  Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-01-25 (Fri, 25 Jan 2013)

  Changed paths:
    M modules/gallery/helpers/graphics.php
    M modules/gallery/helpers/movie.php
    M modules/gallery/helpers/photo.php
    M modules/gallery/tests/Movie_Helper_Test.php
    A modules/gallery/tests/Photo_Helper_Test.php
    M modules/watermark/controllers/admin_watermarks.php

  Log Message:
  -----------
  #1951 - Make metadata generation more flexible (photo and movie helpers).
- added photo_get_file_metadata and movie_get_file_metadata events
- modified photo::get_file_metadata and movie::get_file_metadata to use them
- ensure that non-readable files throw exceptions
- redirected other photo metadata calls in core to photo::get_file_metadata (the helper function already exists, but in many places getimagesize is still called directly)
- added some unit tests (neither of the functions above had one)


  Commit: 3fa7b66585a70149e6d3eb2d064661fb929f8613
      https://github.com/gallery/gallery3/commit/3fa7b66585a70149e6d3eb2d064661fb929f8613
  Author: Bharat Mediratta <[email protected]>
  Date:   2013-01-25 (Fri, 25 Jan 2013)

  Changed paths:
    M modules/gallery/helpers/graphics.php
    M modules/gallery/helpers/movie.php
    M modules/gallery/helpers/photo.php
    M modules/gallery/tests/Movie_Helper_Test.php
    A modules/gallery/tests/Photo_Helper_Test.php
    M modules/watermark/controllers/admin_watermarks.php

  Log Message:
  -----------
  Merge pull request #96 from shadlaws/fix_1951

#1951 - Make metadata generation more flexible (photo and movie helpers).


Compare: https://github.com/gallery/gallery3/compare/776fe75ceb93...3fa7b66585a7

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d

__[ g a l l e r y - c h e c k i n s ]_________________________

[ list info/archive --> http://gallery.sf.net/lists.php ]
[ gallery info/FAQ/download --> http://gallery.sf.net ]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.