Bharat Mediratta
bad6d21584
Remove success logging from exif_task.
2009-07-19 13:48:38 -07:00
Shai Ben-Naphtali
6320babf78
Fixes ticket #526
...
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca >
2009-07-11 14:26:28 +08:00
Tim Almdal
fabdde9bb9
Reference exif consistently as EXIF ticket #526 .
2009-07-10 17:46:33 -07:00
Tim Almdal
43c6336257
Add Task logging to the Extract EXIF data task
2009-07-08 08:37:40 -07:00
Bharat Mediratta
774e0b3737
Avoid complex inserts in available_tasks() to make admin/maintenance
...
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-20 06:10:14 +00:00
Bharat Mediratta
54fe2c600e
Avoid doing an expensive insert in available_tasks(). Partial fix for ticket #235 .
2009-05-20 05:46:34 +00:00
Bharat Mediratta
5495037a3d
Gee it's May already. Update copyright to 2009.
2009-05-13 20:04:58 +00:00
Bharat Mediratta
c397cc73be
Don't divide by zero if there are no photos in the Gallery.
2009-05-12 04:22:05 +00:00
Bharat Mediratta
977d0da9f3
Refactor the exif module to denormalize the stored data. This way we
...
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-11 03:53:44 +00:00
Bharat Mediratta
cc0fcc8961
Use a clearer query syntax for deleting extra search and exif records (thanks Romain LE DISEZ)
2009-05-10 18:44:03 +00:00
Bharat Mediratta
3950e7582b
Fix status math.
2009-04-25 07:18:39 +00:00
Bharat Mediratta
2819a1b7b4
Extract as many records as we can in a second
2009-04-25 06:53:34 +00:00
Tim Almdal
0fdc4639c3
Remove duplicate word from status message
2009-04-21 14:41:06 +00:00
Bharat Mediratta
f32f1697c9
Get rid of Task_Definition types: they're not necessary. This
...
incidentally fixes the the problem that admin/maintenance tasks have
been broken.
2009-03-09 07:02:09 +00:00
Bharat Mediratta
23937ff135
Avoid using default task types. Require task::get_definitions() to
...
specify a single type and ask for it appropriately in
admin_maintenance. Specify a type for every existing task.
2009-03-05 06:38:11 +00:00
Bharat Mediratta
08d2fcb1f7
Fix some table names
2009-03-05 06:26:15 +00:00
Tim Almdal
c04ff8e02f
Change the pattern to identify tables that need prefix substitution to
...
mirror the drupal pattern of using braces {}.
2009-02-28 06:37:28 +00:00
Tim Almdal
fd610589ed
This implements table prefix for all the queries in core, user, exif,
...
tag, search, comment and notification modules (Ticket #68 )
(missed this one)
2009-02-27 21:09:00 +00:00
Bharat Mediratta
590a4677f3
Tweak EXIF extraction code to be more robust.
...
* 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-15 08:08:22 +00:00
Tim Almdal
fc08012e5d
Add a maintenace task to extract the EXIF data from images
...
Changed exif to EXIF in comments
2009-02-12 16:14:52 +00:00