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
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
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
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
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
Chad Kieffer
812cb94b1e
Usability update: include an "Activate Toolkit Name" button with available toolkits
2009-05-06 03:47:58 +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
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
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
Tim Almdal
71cac8bf15
Forgot these when i created the make_album_cover method
2009-05-01 23:32:35 +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
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
1596c9f3da
Change _adjust_thumb_size to adjust_thumb_size and make public so we
...
can access if from organize
2009-04-28 21:26:12 +00:00
Bharat Mediratta
234aed87e6
auto install organize module
2009-04-28 21:07:03 +00:00
Chad Kieffer
0f6d15b304
Fixed typo in comment, added docblock.
2009-04-24 04:55:48 +00:00
Bharat Mediratta
6b4fa9105f
Disable automatic session id regeneration because ajax requests cause it to bomb.
2009-04-23 00:49:35 +00:00
Tim Almdal
79712cb0b4
Remove the negative weighting for albums. The are now positioned
...
based on the insertion order.
2009-04-22 22:20:19 +00:00
Bharat Mediratta
47f531fc9c
Mark a task as stalled if it's > 15 seconds old (because tasks should ping back much faster than that)
2009-04-22 19:51:25 +00:00
Bharat Mediratta
33775f9fb0
Throw an exception in graphics::resize() if the input file is empty
2009-04-22 19:50:38 +00:00
Bharat Mediratta
8141fd5088
Set the default logging to 'notice' to make it more user friendly.
2009-04-22 19:32:24 +00:00
Tim Almdal
f9ec5d6de4
Make the scaling based on the target thumbnail size that was specified
...
at thumbnail creation. This will remove the upscaling effect
2009-04-22 14:05:16 +00:00
Chad Kieffer
b4bca043ac
Added method to determine proportion of current thumb_size to the default, 150. Use this in the the default theme, or any other, to reduce the size of CSS widths and heights in albums, including .gItem.
2009-04-22 05:31:29 +00:00
Tim Almdal
1956a6ae95
Refactor the move functionality into a helper function so it can be
...
called from organize
2009-04-22 04:20:05 +00:00
Bharat Mediratta
e9867fb97c
Theme the cancel-all link like the remove-all link.
2009-04-21 04:17:56 +00:00
Andy Staudacher
55256b459b
Fix UI string
2009-04-19 07:05:18 +00:00
Bharat Mediratta
6e05e917df
Redirect item/NN requests to absolute urls
2009-04-18 23:52:02 +00:00
Bharat Mediratta
0fe4398765
whitespace cleanup
2009-04-18 23:07:08 +00:00
Bharat Mediratta
f243e8d41c
Be graceful if exec() is disabled
2009-04-17 09:50:53 +00:00
Bharat Mediratta
471c1d5b3d
Don't show the 'no toolkit found' message unless we actually didn't find one
2009-04-17 09:48:36 +00:00
Andy Staudacher
f8bc0a40fe
Fix for ticket 203: Don't interpolate the translation string for the l10n client translation input field
2009-04-17 02:19:56 +00:00
Jakob Hilden
03960546be
added icons to permissions UI
2009-04-12 18:27:45 +00:00
Jakob Hilden
8db55de4f0
changed order of form fields in photo and album forms so that the confusing "name" field is not on top anymore
...
changed "name" label to "Filename" for photos and "Directory Name" for albums
2009-04-12 17:52:26 +00:00
Bharat Mediratta
670e0d8f85
Fix indentation.
2009-04-12 06:41:43 +00:00
Tim Almdal
53a08aa592
Missed a closing para )
2009-04-09 19:31:02 +00:00
Tim Almdal
2523720561
Change the weight for albums from zero, which could give us
...
indeterminate ordering, so that ablums are initially shown first.
2009-04-09 18:17:53 +00:00
Tim Almdal
6e819603af
Clean up delete code as per Bharat's note
2009-04-09 17:18:23 +00:00
Tim Almdal
fe9b08e506
Merge the micro_thumb_tag method into thumb_tag and add a third
...
parameter to indicate that a micro thumb is being generated
2009-04-09 16:30:49 +00:00
Bharat Mediratta
ff732d9c7e
Fix the spelling of "appearance_menu" and update user_menu so that the
...
user/groups admin menu option appears again.
2009-04-09 02:25:27 +00:00