summaryrefslogtreecommitdiff
path: root/modules/exif/helpers
AgeCommit message (Collapse)Author
2013-01-31Drop the requirement to have the install() function set the moduleBharat Mediratta
version. It's redundant. Fixes #1985.
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-03-27Centralize our encoding code into a new helpers and useBharat Mediratta
mb_convert_encoding if possible. Build on the work in c791ae96d5bb28f39b26a0e556e10e636f97436c by momo-i. Fixes #1660.
2011-02-01fixed tag brokenmomo-i
2011-01-21Update copyright to 2011.Bharat Mediratta
2010-09-11Tune timeouts to work better on large installs.Bharat Mediratta
2010-06-27When detecting encodings, give priority to ISO-8859-1 which seems toBharat Mediratta
solve the umlaut problem in IPTC data. Fixes ticket #1144.
2010-03-03Update the copyright to 2010. It's only 3 months into the year :-)Bharat Mediratta
2010-01-27Convert __toString() to use (string) cast instead.Bharat Mediratta
2009-12-06Update database query.Bharat Mediratta
2009-12-02Fix a bunch of places where we were using "= null" instead of "IS NULL".Bharat Mediratta
2009-12-02Convert more database calls over to the new formatBharat Mediratta
- admin/maintenance page loads, the rebuild thumbs/resizes task works - Fixed up some conversion bugs in the Cache driver
2009-11-26utf8::clean() is now Input::clean()Bharat Mediratta
2009-11-26Database::orwhere() is now Database_Builder::or_where()Bharat Mediratta
2009-11-26Convert Database::instance() -> db::build()Bharat Mediratta
2009-11-26Convert all DB where() calls to take 3 arguments.Bharat Mediratta
Convert all open_paren() calls to and_open() or or_open() as appropriate.
2009-11-25Preliminary work to cut over to Kohana 2.4Bharat Mediratta
- Kohana::log() -> Kohana_Log::add() - Kohana::config_XXX -> Kohana_Config::instance()->XXX - Implement View::set_global in MY_View - Updated Cache_Database_Driver to latest APIs - ORM::$loaded -> ORM::loaded() - Updated item::viewable() to use K2.4 parenthesization
2009-10-04Renamed most, if not all css selectors from gName to g-name. Moved a few ↵Chad Kieffer
shared images from wind to lib. Deleted unused images in the admin_wind. This will likely break a few ajax features.
2009-09-30Convert gDialog and gCancel over to g-dialog and g-cancel. Refactor CSS id's ↵Chad Kieffer
and classes in the login/reset password dialog.
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-08-31Rename mark_safe() to mark_clean()Andy Staudacher
2009-08-30Merge commit 'upstream/master'Andy Staudacher
Conflicts: modules/gallery/views/l10n_client.html.php modules/organize/views/organize_tree.html.php modules/server_add/helpers/server_add_event.php
2009-08-30Change the processing time for search_task and exif_task to start theBharat Mediratta
1.5 second counter only after we've done any expensive queries. This guarantees at least some time to do work. Fixes ticket #693.
2009-08-30Change all instances of SafeString::of_safe_html() to html::mark_safe() in ↵Andy Staudacher
views.
2009-08-29Undo url helper changes - url methods no longer return a SafeString.Andy Staudacher
Adding SafeString::of_safe_html() calls where urls are passed as parameters to t() and t2().
2009-08-27Remove 'ENGINE=InnoDB' specification from tables that we create. UseBharat Mediratta
the system's default table specification. Fixes ticket #597.
2009-07-19Remove success logging from exif_task.Bharat Mediratta
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-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-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-01Don't bomb if there are no exif_records for the given item.Bharat 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-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-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-11Don't use ORM to delete old exif_keys.. it's too inefficientBharat Mediratta