summaryrefslogtreecommitdiff
path: root/modules/exif
AgeCommit message (Collapse)Author
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-07-13Add quotes around all values that contain spaces in them, and add aBharat Mediratta
test to make sure that we continue to do so. This makes sure that we don't have problems with 5.3 which treats the literal "on" as a boolean.
2009-07-11Fixes ticket #526Shai Ben-Naphtali
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-07-10Reference exif consistently as EXIF ticket #526.Tim Almdal
2009-07-08Add Task logging to the Extract EXIF data taskTim Almdal
2009-07-01Updated to Exifer r4159Tim Almdal
2009-07-01Reapply c65bfb5a10b125b2cf04ebd5c5d1b58051281f8c without extraBharat Mediratta
whitespace changes.
2009-07-01Revert "Fix for ticket #437"Bharat Mediratta
This change had unintentional whitespace changes. Reverting for now, will reapply it. This reverts commit c65bfb5a10b125b2cf04ebd5c5d1b58051281f8c.
2009-07-01Fix for ticket #437Tim Almdal
Tracking vendor ticket: http://bit.ly/16b7Zj
2009-06-30Update Exif_test to match change made in ↵Bharat Mediratta
4943103700332a11f16319496e485cfd7fd9e36a Get rid of vestigial third column in exif::_keys().
2009-06-30Fix for #437. Use Exposure Time instead of Shutter Speed as suggested byTim Almdal
hiwilson.
2009-06-23Refactor the install/upgrade code to be more flexible.Bharat Mediratta
Add xxx_installer::upgrade($version) method so that upgrade stanzas are separate from install stanzas. In the old code, to do an upgrade meant that you had to re-evolve everything from the initial install because we'd step through each version's changes. But what we really want is for the initial install to start off in the perfect initial state, and the upgrades to do the work behind the scenes. So now the install() function gets things set up properly the first time, and the upgrade() function does any work to catch you up to the latest code. See gallery_installer.php for a good example.
2009-06-20Updated to Exifer r4107Bharat Mediratta
2009-06-19Add an id to the exif link anchor.Bharat Mediratta
2009-06-01Don't bomb if there are no exif_records for the given item.Bharat Mediratta
2009-05-31Run p::clean() on any variables that contain data entered by users.Bharat Mediratta
2009-05-28Tweak path slightlyBharat Mediratta
2009-05-28Protect get() against missing records.Bharat Mediratta
2009-05-26clean up whitespace errors introduced in last commitBharat Mediratta
2009-05-26Restructure the module lifecycle.Bharat Mediratta
Install: <module>_installer::install() is called, any necessary tables are created. Activate: <module>_installer::activate() is called. Module controllers are routable, helpers are accessible, etc. The module is in use. Deactivate: <module>_installer::deactivate() is called. Module code is not accessible or routable. Module is *not* in use, but its tables are still around. Uninstall: <module>_installer::uninstall() is called. Module is completely removed from the database. Admin > Modules will install and activate modules, but will only deactivate (will NOT uninstall modules).
2009-05-20Avoid complex inserts in available_tasks() to make admin/maintenanceBharat Mediratta
run faster. This fixes ticket #235. Incidentally, refactor exif and search to use the same patterns overall so that if you understand one, you understand the other and they generally use the same strings for localization.
2009-05-20Avoid doing an expensive insert in available_tasks(). Partial fix for ↵Bharat Mediratta
ticket #235.
2009-05-18Update preamble to avoid extra opening php blockBharat Mediratta
2009-05-13Gee it's May already. Update copyright to 2009.Bharat Mediratta
2009-05-12Don't divide by zero if there are no photos in the Gallery.Bharat Mediratta
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-11Correct the reference to $item->idTim Almdal
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-10Use a clearer query syntax for deleting extra search and exif records ↵Bharat Mediratta
(thanks Romain LE DISEZ)
2009-05-08Don't try to use mb_detect_encoding if the module isn't loaded. Not sure if ↵Bharat Mediratta
this is a great solution, but it'll probably cut down on a big class of errors opportunistically
2009-05-07Don't try to use the exif/iptc values if we couldn't extract them cleanly.Bharat Mediratta
2009-05-07Grab photo capture date and captions from EXIF/IPTC data.Bharat Mediratta
- Add a "captured" column to the items table. - Pull the DateTime EXIF field and put it into the captured column - Pull the Caption EXIF & IPTC fields and put them into the description field if there was not already a value there
2009-05-05Detect input encodings from EXIF/IPTC data and convert to utf-8 asBharat Mediratta
appropriate. This allows us to switch the exif value column back to varchar and improves the way that we deal with non-utf8 data in our embedded EXIF/IPTC data.
2009-04-28Update upstream to to r3835 which resolves upstream ticket #1108Bharat Mediratta
svn merge -r20638:20640 vendor/exifer/modified trunk/modules/exif/lib
2009-04-27Update value size to 1536 chars because I had an image which went over 1024 ↵Bharat Mediratta
chars
2009-04-27Fix an edge case with GPS data handling that results in this error:Bharat Mediratta
fread: Length parameter must be greater than 0 in file modules/exif/lib/makers/gps.php on line 197 Filed upstream as: http://www.zenphoto.org/trac/ticket/1108
2009-04-25Drop the item_id key; we don't need this level of strictness in mostBharat Mediratta
cases and it slows down inserts.
2009-04-25Change the value column to varbinary so that we can handle the occasional ↵Bharat Mediratta
binary data embedded in places like the EXIF caption field
2009-04-25Fix status math.Bharat Mediratta
2009-04-25Extract as many records as we can in a secondBharat Mediratta
2009-04-25Add a key on item_id so that our query to find missing exif records is efficientBharat Mediratta
2009-04-21Remove duplicate word from status messageTim Almdal
2009-04-05Don't try to insert exif keys if there aren't any.Bharat Mediratta
2009-04-05Optimization: add all exif/iptc keys in a single insert, instead ofBharat Mediratta
many separate queries. In the process, rip out the summary column, we weren't using it. Clean up the test, and drop the exif_records database on uninstall.
2009-03-27Put csrf token into Admin_View and Theme_View by default, then use itBharat Mediratta
directly wherever possible instead of access::csrf_token().
2009-03-13Make the exif_key value size 1kBharat Mediratta