summaryrefslogtreecommitdiff
path: root/modules/exif/helpers/exif_event.php
AgeCommit message (Collapse)Author
2013-01-21Update copyright to 2013. Fixes #1953.Bharat Mediratta
2012-02-27Update copyright to 2012. #1822Bharat Mediratta
2011-04-22Catch the item_updated_data_file() event and rescan. Fixes #1679.Bharat Mediratta
2011-01-21Update copyright to 2011.Bharat Mediratta
2010-03-03Update the copyright to 2010. It's only 3 months into the year :-)Bharat Mediratta
2009-12-06Update database query.Bharat Mediratta
2009-09-22Revert "Change the exif module to respond to the gallery_ready event and ↵Tim Almdal
check to see if gettext is installed. The 3rd party library used in the exif module expects gettext to be available. Rather than doing all the time use the gallery ready event to only do it when it might be needed. Fixes ticket #672" This reverts commit 33690a32bcf132e5ab470ff77ba23c073ac26271.
2009-09-21Change the exif module to respond to the gallery_ready event and check to ↵Tim Almdal
see if gettext is installed. The 3rd party library used in the exif module expects gettext to be available. Rather than doing all the time use the gallery ready event to only do it when it might be needed. Fixes ticket #672
2009-07-16Second non-trivial change to the event code. We now publish modelBharat Mediratta
related events from within the model handling code. The only exception to this currently is item_created which is challenging because we have to save the item using ORM_MPTT::add_to_parent() before the object itself is fully set up. When we get that down to one call to save() we can publish that event from within the model also.
2009-07-16Non-trivial changes to the event handling code:Bharat Mediratta
1) The item_updated event no longer takes the old and new items. Instead we overload ORM to track the original data and make that available via the item. This will allow us to move event publishing down into the API methods which in turn will give us more stability since we won't require each controller to remember to do it. 2) ORM class now tracks the original values. It doesn't track the original relationships (no need for that, yet) 3) Added new events: item_deleted group_deleted user_deleted
2009-05-13Gee it's May already. Update copyright to 2009.Bharat Mediratta
2009-05-11Correct the reference to $item->idTim Almdal
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-02-21Change the name of the model from exif_info to exif_record So itemTim Almdal
deletes won't fail.
2009-02-15Tweak EXIF extraction code to be more robust.Bharat Mediratta
* Create Exif_Record_Model to track whether we've scanned the EXIF data for this photo or not. This allows us to track photos that don't have EXIF data (and won't have any Exif_Keys) * Blow away old Exif_Keys when extracting, else we hit unique index constraints. * exif::_get_stats() -- before it was running the task forever
2009-02-14exif_data -> exif_keysBharat Mediratta
This was breaking delete.
2009-02-10Exif data is now collected when an image is added.Tim Almdal