summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
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
2009-04-17Be graceful if exec() is disabledBharat Mediratta
2009-04-17Don't show the 'no toolkit found' message unless we actually didn't find oneBharat Mediratta
2009-04-17Fix for ticket 203: Don't interpolate the translation string for the l10n ↵Andy Staudacher
client translation input field
2009-04-12added icons to permissions UIJakob Hilden
2009-04-12changed order of form fields in photo and album forms so that the confusing ↵Jakob Hilden
"name" field is not on top anymore changed "name" label to "Filename" for photos and "Directory Name" for albums
2009-04-12Fix indentation.Bharat Mediratta
2009-04-09Missed a closing para )Tim Almdal
2009-04-09Change the weight for albums from zero, which could give usTim Almdal
indeterminate ordering, so that ablums are initially shown first.
2009-04-09Clean up delete code as per Bharat's noteTim Almdal
2009-04-09Merge the micro_thumb_tag method into thumb_tag and add a thirdTim Almdal
parameter to indicate that a micro thumb is being generated
2009-04-09Fix the spelling of "appearance_menu" and update user_menu so that theBharat Mediratta
user/groups admin menu option appears again.
2009-04-08Fixes issues with Server Add:Tim Almdal
1) Fixes Ticket #208 2) Fixes Ticket #190 3) Fixes an unticketed issue where two items could collide when creating the thumbnail and/or resize. For example, loading a.flv and a.jpg would have generated the same thumbnail image. This change adds a random value to the name to avoid conflicts. 4) Added item::__set() to clear the relative path if the name changes
2009-04-07changed the items in quickpaneoptions dropdown menu (which appears in the ↵Jakob Hilden
quickpane for albums) to be easier clickable and changed markup to use <ul> (more semantically correct)