summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-05-12Use the module_change event to figure out if the rss module isBharat Mediratta
inactive. If it is, we need to alert the admin user.
2009-05-12Fire off the module_change event whenever we install or uninstall a moduleBharat Mediratta
2009-05-12Simplify delete()Bharat Mediratta
2009-05-12Fix a bug where deleting an album sometimes deletes everything in var. ↵Bharat Mediratta
Fixes ticket #282
2009-05-12parent() should return null if there's no parent idBharat Mediratta
2009-05-12fix comment typo.Bharat Mediratta
2009-05-12Gracefully handle duplicate groups. Fixes ticket #280Bharat Mediratta
2009-05-12Add group::lookup_by_name()Bharat Mediratta
2009-05-12Fix a comment.Bharat Mediratta
2009-05-12Allow configurable padding optionsBharat Mediratta
2009-05-12Deal with the user-entered g2 embed.php path a little more sanely so that if ↵Bharat Mediratta
the user enters the path to G2 itself, we find the embed.php path from there.
2009-05-12Beautify the status textBharat Mediratta
2009-05-12Skip the copy if the watermark module is enabled *and* there's a watermark.Bharat Mediratta
2009-05-12Import keywords as tags.Bharat Mediratta
Refactor the general flow of g2_import_task::import() to simplify it and make it more sensible. It had gotten a little overgrown. It's still a little overgrown, but I don't see an easy way to simplify it from here.
2009-05-12Don't divide by zero if there are no photos in the Gallery.Bharat Mediratta
2009-05-12Import tags.Bharat Mediratta
2009-05-12Deal gracefully with the case that the Gallery 2 instance didn't haveBharat Mediratta
any resizes (or thumbnails). Fix a case where we were over-weighting the max dimension for square resizes and thumbs.
2009-05-11Add has_thumb() public API methodBharat Mediratta
2009-05-11Import comments. This was a lot easier than I thought it would beBharat Mediratta
2009-05-11Refactor to support pagination and simplify the code.Bharat Mediratta
- Simplify the public controller methods - Fix a bug where missing thumbnails would cause a divide by zero error - actually pay attention to the page # for pagination and limit the query accordingly.
2009-05-11Update exif lib to upstream r3901 which resolves the following tickets:Bharat Mediratta
http://www.zenphoto.org/trac/ticket/1117 http://www.zenphoto.org/trac/ticket/1118
2009-05-11Fix for #226Tim Almdal
2009-05-11Framework for importing comments -- we don't actually do the import yetBharat Mediratta
2009-05-11Add some commentsBharat Mediratta
2009-05-11Don't attempt to interact with comments if the Gallery2 comment module is ↵Bharat Mediratta
not installed. Resolves ticket #276
2009-05-11Correct the reference to $item->idTim Almdal
2009-05-11Save and Restore the $_POST variable in tests that manipulate it soTim Almdal
other tests don't fail unexpectedly
2009-05-11Index photos as they're addedBharat Mediratta
2009-05-11Don't accept negative capture dates from EXIF, they're probably just crap data.Bharat Mediratta
2009-05-11Refactor the exif module to denormalize the stored data. This way weBharat Mediratta
have a single exif_record for each item instead of 1 per key. It's about 5x faster to scan photos this way.
2009-05-11Reinstate abortCount code, originally added to exifer in G2:Bharat Mediratta
http://gallery.svn.sourceforge.net/viewvc/gallery?view=rev&revision=13422 it was commented out in the ZenPhoto version. Filed upstream ticket about this: http://www.zenphoto.org/trac/ticket/1118
2009-05-11Don't use ORM to delete old exif_keys.. it's too inefficientBharat Mediratta
2009-05-11Add a cache in intel2Moto(). Because of the duplicate nature of theBharat Mediratta
calls to this function, this is a 1-2x order of magnitude performance improvement.
2009-05-11Avoid using ORM_MPTT::parents() in relative_path() so that we're notBharat Mediratta
calling ORM just to get paths. This is a 10x performance increase.
2009-05-10remove_rule() should mark thumbs/resizes dirty also. Resolves ticket #269, ↵Bharat Mediratta
thanks jstricker!
2009-05-10Only run copy_matching_thumbnails_and_resizes() when we're doing an import, ↵Bharat Mediratta
else it interferes with thumbnail/resize generation during regular imports
2009-05-10Beautify the error message.Bharat Mediratta
2009-05-10Warn users if they have suhosin.session.encrypt enabled that it'll break the ↵Bharat Mediratta
uploader
2009-05-10Document why we skip the parent state for the root album.Bharat Mediratta
2009-05-10Don't provide full-size link if the user can't see the full sizeBharat Mediratta
image. There's no security hole here, it's just a bad user experience.
2009-05-10After ajax login, just reload the current page.Bharat Mediratta
2009-05-10Disable default sorting for performance. (thanks Romain LE DISEZ)Bharat Mediratta
2009-05-10Change TINYINT(2) to SMALLINT for compliance (thanks Romain LE DISEZ)Bharat Mediratta
2009-05-10Change wording to avoid breaking File_Structure_TestBharat Mediratta
2009-05-10Use a clearer query syntax for deleting extra search and exif records ↵Bharat Mediratta
(thanks Romain LE DISEZ)
2009-05-10Make the code that copies g2 derivatives more robust if the g2 data file ↵Bharat Mediratta
doesn't exist.
2009-05-10Fix a bug where when we copied over the g2 thumb or resize, we weren'tBharat Mediratta
saving its dimensions to the item. Also, import originationTimestamp as captured field.
2009-05-10Fix a copy/paste typo.Bharat Mediratta
2009-05-09Move the thumb_proportion method into Theme_View and set it by defaultTim Almdal
if the page type is album. Leave a todo if we ever set up a theme default API
2009-05-09Remove quotes and correct typoTim Almdal