summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2009-05-11Fix for #226Tim Almdal
2009-05-11Save and Restore the $_POST variable in tests that manipulate it soTim Almdal
other tests don't fail unexpectedly
2009-05-11Avoid using ORM_MPTT::parents() in relative_path() so that we're notBharat Mediratta
calling ORM just to get paths. This is a 10x performance increase.
2009-05-10remove_rule() should mark thumbs/resizes dirty also. Resolves ticket #269, ↵Bharat Mediratta
thanks jstricker!
2009-05-10Beautify the error message.Bharat Mediratta
2009-05-10Warn users if they have suhosin.session.encrypt enabled that it'll break the ↵Bharat Mediratta
uploader
2009-05-10Document why we skip the parent state for the root album.Bharat Mediratta
2009-05-10Disable default sorting for performance. (thanks Romain LE DISEZ)Bharat Mediratta
2009-05-10Change TINYINT(2) to SMALLINT for compliance (thanks Romain LE DISEZ)Bharat Mediratta
2009-05-09Move the thumb_proportion method into Theme_View and set it by defaultTim Almdal
if the page type is album. Leave a todo if we ever set up a theme default API
2009-05-09Force the 'GD Version' key to existBharat Mediratta
2009-05-09Fix for ticket #255Tim Almdal
2nd iteration
2009-05-09Fix for ticket #255Tim Almdal
2009-05-08Don't rely on the file to have an extension (or better: don't throw anBharat Mediratta
error if we can't find one-- just assume its a photo).
2009-05-08Don't do ORM::factory() lookups on non-ints (thanks Romain LE DISEZ)Bharat Mediratta
2009-05-08Fix whitespace issuesBharat Mediratta
2009-05-08Use lower-case aliases for greater portability (thanks Romain LE DISEZ)Bharat Mediratta
2009-05-07Allow sorting by Capture Date.Bharat Mediratta
2009-05-07Grab photo capture date and captions from EXIF/IPTC data.Bharat Mediratta
- 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-07Don't throw up a warning if we can't detect whether or not the logs dir is ↵Bharat Mediratta
writable.
2009-05-06Fix for ticket #72Tim Almdal
2009-05-06Show the 'activate gd' button even when there's a warning about missing rotationBharat Mediratta
2009-05-06Usability update: include an "Activate Toolkit Name" button with available ↵Chad Kieffer
toolkits
2009-05-03Don't try to make a new photo the album cover unless we can edit the parent ↵Bharat Mediratta
album
2009-05-02Remove some unnecessary blank lines.Bharat Mediratta
2009-05-02Mark functions as staticBharat Mediratta
2009-05-02Revert r20668; if we call our helper 'gallery' then it interferes with ↵Bharat Mediratta
g2_import since it uses the Gallery2 embed interface which loads up G2's Gallery class as well. Grumble.
2009-05-02Rename core helper to gallery helper to indicate that it's more of an ↵Bharat Mediratta
app-wide helper. 'core' doesn't make as much sense
2009-05-02Create item helper and move move_item(), remove_album_cover() andBharat Mediratta
make_album_cover() functions into it.
2009-05-02Move make_album_cover and remove_album_cover out of Item_Model andBharat Mediratta
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-02Clean up API to be organized around the functionality it provides, not the ↵Bharat Mediratta
feature its provided for.
2009-05-01Forgot these when i created the make_album_cover methodTim Almdal
2009-04-29Refactor the creation and removal of the album covers intoTim Almdal
make_album_cover and remove_album_cover methods in Item_Model. Usage: $photo->make_album_cover() $album->remove_album_cover()
2009-04-29Reset the parent thumbnail in Item_Model::delete instead of where theTim Almdal
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-29Move the module::event("before_item_delete") into theTim Almdal
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-28Change _adjust_thumb_size to adjust_thumb_size and make public so weTim Almdal
can access if from organize
2009-04-28auto install organize moduleBharat Mediratta
2009-04-24Fixed typo in comment, added docblock.Chad Kieffer
2009-04-23Disable automatic session id regeneration because ajax requests cause it to ↵Bharat Mediratta
bomb.
2009-04-22Remove the negative weighting for albums. The are now positionedTim Almdal
based on the insertion order.
2009-04-22Mark a task as stalled if it's > 15 seconds old (because tasks should ping ↵Bharat Mediratta
back much faster than that)
2009-04-22Throw an exception in graphics::resize() if the input file is emptyBharat Mediratta
2009-04-22Set the default logging to 'notice' to make it more user friendly.Bharat Mediratta
2009-04-22Make the scaling based on the target thumbnail size that was specifiedTim Almdal
at thumbnail creation. This will remove the upscaling effect
2009-04-22Added method to determine proportion of current thumb_size to the default, ↵Chad Kieffer
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-22Refactor the move functionality into a helper function so it can beTim Almdal
called from organize
2009-04-21Theme the cancel-all link like the remove-all link.Bharat Mediratta
2009-04-19Fix UI stringAndy Staudacher
2009-04-18Redirect item/NN requests to absolute urlsBharat Mediratta
2009-04-18whitespace cleanupBharat Mediratta