summaryrefslogtreecommitdiff
path: root/modules/exif/helpers
AgeCommit message (Collapse)Author
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-27Update value size to 1536 chars because I had an image which went over 1024 ↵Bharat Mediratta
chars
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
2009-03-09Get rid of Task_Definition types: they're not necessary. ThisBharat Mediratta
incidentally fixes the the problem that admin/maintenance tasks have been broken.
2009-03-05Avoid using default task types. Require task::get_definitions() toBharat Mediratta
specify a single type and ask for it appropriately in admin_maintenance. Specify a type for every existing task.
2009-03-05Fix some table namesBharat Mediratta
2009-02-28Change the pattern to identify tables that need prefix substitution toTim Almdal
mirror the drupal pattern of using braces {}.
2009-02-27This implements table prefix for all the queries in core, user, exif,Tim Almdal
tag, search, comment and notification modules (Ticket #68) (missed this one)
2009-02-27This implements table prefix for all the queries in core, user, exif,Tim Almdal
tag, search, comment and notification modules (Ticket #68)
2009-02-26Replace ORM->select(count(*)) with a call to Database::count_recordsTim Almdal
2009-02-26Implement fix for ticket #103. If there is no exif data, don'tTim Almdal
display the "Show more Information Button".
2009-02-24File structure style fixesAndy Staudacher
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-13Fix error if theme item is not supplied.Tim Almdal
2009-02-12Add a maintenace task to extract the EXIF data from imagesTim Almdal
Changed exif to EXIF in comments
2009-02-11Well, exif dialog displays and will show the summary information. Tim Almdal
However, The text needs to be scaled or the size of the box needs to be managed such that there is nowrapping. The columns need to be styled for odd and even. And I can't get tabbing to work. If you click on details tab nothing happens and i don't know what I've done wrong. Addition input is appreciated.
2009-02-10Exif data is now collected when an image is added.Tim Almdal
2009-02-07The start of the exif module. so I can merger the exifer libraryTim Almdal