Bharat Mediratta
2e420522ec
Preliminary work to cut over to Kohana 2.4
...
- 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-11-25 13:22:24 -08:00
Chad Kieffer
3e6ba7acc3
Renamed most, if not all css selectors from gName to g-name. Moved a few shared images from wind to lib. Deleted unused images in the admin_wind. This will likely break a few ajax features.
2009-10-04 00:27:22 -06:00
Chad Kieffer
e1e8904e4a
Convert gDialog and gCancel over to g-dialog and g-cancel. Refactor CSS id's and classes in the login/reset password dialog.
2009-09-30 22:49:36 -06:00
Andy Staudacher
ddb84c84e1
Rename mark_safe() to mark_clean()
2009-08-31 00:42:18 -07:00
Andy Staudacher
effccfd41d
Change all instances of SafeString::of_safe_html() to html::mark_safe() in views.
2009-08-30 07:00:56 -07:00
Andy Staudacher
b4b638be44
Undo url helper changes - url methods no longer return a SafeString.
...
Adding SafeString::of_safe_html() calls where urls are passed as parameters to t() and t2().
2009-08-29 16:28:30 -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
Bharat Mediratta
3ef39d4576
Update Exif_test to match change made in 4943103700
...
Get rid of vestigial third column in exif::_keys().
2009-06-30 19:17:45 -07:00
Tim Almdal
4943103700
Fix for #437 . Use Exposure Time instead of Shutter Speed as suggested by
...
hiwilson.
2009-06-30 07:22:03 -07:00
Bharat Mediratta
73f348b29e
Protect get() against missing records.
2009-05-28 21:07:47 -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
5495037a3d
Gee it's May already. Update copyright to 2009.
2009-05-13 20:04:58 +00:00
Bharat Mediratta
891930ec2b
Don't accept negative capture dates from EXIF, they're probably just crap data.
2009-05-11 04:22:50 +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
6dbd8aa002
Don't use ORM to delete old exif_keys.. it's too inefficient
2009-05-11 02:35:43 +00:00
Bharat Mediratta
d1a9138925
Don't try to use mb_detect_encoding if the module isn't loaded. Not sure if this is a great solution, but it'll probably cut down on a big class of errors opportunistically
2009-05-08 19:16:48 +00:00
Bharat Mediratta
85832e2e0f
Don't try to use the exif/iptc values if we couldn't extract them cleanly.
2009-05-07 05:04:11 +00:00
Bharat Mediratta
fc6bdbbbc8
Grab photo capture date and captions from EXIF/IPTC data.
...
- 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-07 01:18:31 +00:00
Bharat Mediratta
13f8a0dd7b
Detect input encodings from EXIF/IPTC data and convert to utf-8 as
...
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-05-05 03:30:49 +00:00
Bharat Mediratta
fabb9fb4bd
Don't try to insert exif keys if there aren't any.
2009-04-05 04:07:18 +00:00
Bharat Mediratta
846fc51f61
Optimization: add all exif/iptc keys in a single insert, instead of
...
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-04-05 03:54:08 +00:00
Andy Staudacher
e031957354
File structure style fixes
2009-02-24 05:54:19 +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
Tim Almdal
19f29fb1d6
Exif data is now collected when an image is added.
2009-02-10 16:28:50 +00:00