Tim Almdal
48ee3d5fe8
Fix for ticket #217
2009-05-09 06:11:17 +00:00
Tim Almdal
9dccbe0d36
Fix for ticket #255
...
2nd iteration
2009-05-09 05:42:06 +00:00
Tim Almdal
4485a66b3e
Fix for ticket #255
2009-05-09 05:28:35 +00:00
Bharat Mediratta
cdc796aed4
Don't rely on the file to have an extension (or better: don't throw an
...
error if we can't find one-- just assume its a photo).
2009-05-08 19:32:51 +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
bf3282cb3c
Don't do ORM::factory() lookups on non-ints (thanks Romain LE DISEZ)
2009-05-08 19:01:45 +00:00
Bharat Mediratta
764f88defb
Fix whitespace issues
2009-05-08 17:58:56 +00:00
Bharat Mediratta
0373cb0676
Use lower-case aliases for greater portability (thanks Romain LE DISEZ)
2009-05-08 17:48:30 +00:00
Tim Almdal
2c2839c13b
Create a thumbnail stack of selected thumbnails for the organize
...
drawer
2009-05-07 17:39:34 +00:00
Tim Almdal
6a295dc93d
1) Leave an object selected if its clicked.
...
2) And a 1em left margin to provide more spacing, so the lasso is less inclusive
2009-05-07 05:16:56 +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
Tim Almdal
5305d1f569
Improve the selection/drag handling so that drag of a single item
...
doesn't have to be selected first
2009-05-07 04:56:08 +00:00
Bharat Mediratta
98e60731b2
Allow sorting by Capture Date.
2009-05-07 01:28:10 +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
934bc1e1f1
Add debug log strings with the G2 stack trace when there's a failure in a g2 call.
2009-05-07 00:46:35 +00:00
Bharat Mediratta
9cc5d05814
Don't throw up a warning if we can't detect whether or not the logs dir is writable.
2009-05-07 00:29:55 +00:00
Tim Almdal
a8879cfe89
1) Improved selection processing.
...
2) Drawer closes if no images or albums are selected
2009-05-06 20:27:49 +00:00
Tim Almdal
2991831c03
Fix for ticket #72
2009-05-06 14:45:44 +00:00
Bharat Mediratta
890b716c8f
Show the 'activate gd' button even when there's a warning about missing rotation
2009-05-06 04:27:23 +00:00
Bharat Mediratta
e83b980d3d
Don't fail when trying to import site admin group. Resolves ticket #249
2009-05-06 04:08:45 +00:00
Chad Kieffer
812cb94b1e
Usability update: include an "Activate Toolkit Name" button with available toolkits
2009-05-06 03:47:58 +00:00
Bharat Mediratta
2846e0df8b
Return an array from available_tasks() when unconfigured.
...
Fixes ticket #247 .
2009-05-05 03:56:42 +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
2434feabeb
Updated for alpha 4
2009-05-03 21:16:03 +00:00
Bharat Mediratta
a676ac8e60
Don't try to make a new photo the album cover unless we can edit the parent album
2009-05-03 21:14:18 +00:00
Bharat Mediratta
e70be4c0c2
Cache the entry in our in-memory map when we map a g2 item to a g3
...
item in the database. This fixes the problem that the import fails
the first time around because the various groups are mapped in the db
but aren't available in the request.
2009-05-02 21:52:46 +00:00
Bharat Mediratta
2c61ad361e
Remove some unnecessary blank lines.
2009-05-02 21:19:40 +00:00
Bharat Mediratta
f2479cc65a
Mark functions as static
2009-05-02 21:13:13 +00:00
Bharat Mediratta
4b790f5b76
Revert r20668; if we call our helper 'gallery' then it interferes with g2_import since it uses the Gallery2 embed interface which loads up G2's Gallery class as well. Grumble.
2009-05-02 20:49:09 +00:00
Bharat Mediratta
5950f49210
Rename core helper to gallery helper to indicate that it's more of an app-wide helper. 'core' doesn't make as much sense
2009-05-02 20:37:45 +00:00
Bharat Mediratta
b4c9a97050
Create item helper and move move_item(), remove_album_cover() and
...
make_album_cover() functions into it.
2009-05-02 20:34:02 +00:00
Bharat Mediratta
0fd82598b5
Move make_album_cover and remove_album_cover out of Item_Model and
...
into the core helper. Clean up interactions so that when we remove an
album cover we pick a new one, or clean out the old album cover if
there are no other choices.
2009-05-02 20:14:13 +00:00
Bharat Mediratta
977963444a
Remove direct call to item_before_delete since r20647 moved it into Item_Model
2009-05-02 19:28:05 +00:00
Bharat Mediratta
b4bc0a29a5
Change comment style for brevity.
2009-05-02 19:14:31 +00:00
Bharat Mediratta
54fa2391d0
Whitespace cleanup.
2009-05-02 19:14:06 +00:00
Bharat Mediratta
486517fac5
Clean up API to be organized around the functionality it provides, not the feature its provided for.
2009-05-02 19:11:22 +00:00
Bharat Mediratta
d0b8fbef1d
Remove extra whitespace.
2009-05-02 19:04:17 +00:00
Bharat Mediratta
fd3d4370d1
Fix indentation.
2009-05-02 18:58:10 +00:00
Chad Kieffer
eb9162f6c4
Remove angled ends of edit drawer handle.
2009-05-02 06:34:05 +00:00
Tim Almdal
88c0ede495
Add missing return statement
2009-05-02 03:23:55 +00:00
Tim Almdal
a12ed1de02
Move the drawer to the bottom of the page and compress the thumb grid
...
when the drawer opens. This way the drawer is never scrolled.
2009-05-02 03:08:30 +00:00
Tim Almdal
71cac8bf15
Forgot these when i created the make_album_cover method
2009-05-01 23:32:35 +00:00
Chad Kieffer
590eceaf93
Set organize messages to use existing gMessage, added album cover message.
2009-05-01 05:35:56 +00:00
Chad Kieffer
8deabcc195
Updated to jQuery 1.3.2, needs to be pushed upstream.
2009-05-01 05:11:09 +00:00
Tim Almdal
820cbdf1c3
Refactor the creation and removal of the album covers into
...
make_album_cover and remove_album_cover methods in Item_Model.
Usage: $photo->make_album_cover() $album->remove_album_cover()
2009-04-29 15:57:29 +00:00
Tim Almdal
33122e8968
Change album cover functionality added
2009-04-29 03:57:24 +00:00
Tim Almdal
89bdd6ca98
The delete button now deletes the selected items
2009-04-29 01:29:39 +00:00
Tim Almdal
0d49773559
Reset the parent thumbnail in Item_Model::delete instead of where the
...
delete was happening. This will insure that it is consistently done
for all deletes and we don't have to remember to replicate the code.
2009-04-29 00:40:59 +00:00
Tim Almdal
9176dadfd6
Move the module::event("before_item_delete") into the
...
Item_Model::delete method. This will insure that it will get called
for all events. Currently it is not being called for children of an
album when the parent album is deleted.
2009-04-29 00:29:53 +00:00
Tim Almdal
12d976b94d
1) Refactor the ajax calls so that the code is reused across multipl
...
request types.
2) Enable/Disable the drawer handle buttons depending on the number of
items selcted
3) Image rotation works.
2009-04-28 21:29:14 +00:00