[gallery/gallery3] 251e9d: #2010 - Revise item::find_by_path to search for jp...
GitHub <noreply-9UaJU3cA/F/[email protected]>
| Newsgroups | gmane.comp.web.gallery.cvs |
|---|---|
| Message-ID | <512e3e0e9baa3_2432102613c396e4@hookshot-production1.ec2-us-east1.github.com.mail> |
Branch: refs/heads/master
Home: https://github.com/gallery/gallery3
Commit: 251e9d5c8f727b886676e010481a6090ddac028c
https://github.com/gallery/gallery3/commit/251e9d5c8f727b886676e010481a6090ddac028c
Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
Date: 2013-02-26 (Tue, 26 Feb 2013)
Changed paths:
M modules/gallery/controllers/file_proxy.php
M modules/gallery/helpers/item.php
M modules/gallery/tests/File_Proxy_Controller_Test.php
M modules/gallery/tests/Item_Helper_Test.php
Log Message:
-----------
#2010 - Revise item::find_by_path to search for jpg-converted items.
- added extra $var_subdir argument to item::find_by_path.
- changed item::find_by_path to use $var_subdir to detect if we should look for a jpg-converted item or not (e.g. movie thumbs)
- moved the album thumb detection to item::find_by_path to ensure it knows to look for an exact album match.
- added more sanity checks to item::find_by_path (now has fewer false positive possibilities).
- updated file_proxy to remove the need to guess different movie files.
- updated File_Proxy_Controller - new sanity checks catch previously undetected bug.
- added additional unit tests for item::find_by_path.
Commit: ad502513b0ab465cb7578589fdee104edc0e8599
https://github.com/gallery/gallery3/commit/ad502513b0ab465cb7578589fdee104edc0e8599
Author: Bharat Mediratta <[email protected]>
Date: 2013-02-27 (Wed, 27 Feb 2013)
Changed paths:
M modules/gallery/controllers/file_proxy.php
M modules/gallery/helpers/item.php
M modules/gallery/tests/File_Proxy_Controller_Test.php
M modules/gallery/tests/Item_Helper_Test.php
Log Message:
-----------
Merge pull request #156 from shadlaws/fix_2010
#2010 - Revise item::find_by_path to search for jpg-converted items.
Compare: https://github.com/gallery/gallery3/compare/81011785aa8b...ad502513b0ab
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
__[ 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 ]