summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-05-02Cache the entry in our in-memory map when we map a g2 item to a g3Bharat Mediratta
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-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-02Remove direct call to item_before_delete since r20647 moved it into Item_ModelBharat Mediratta
2009-05-02Change comment style for brevity.Bharat Mediratta
2009-05-02Whitespace cleanup.Bharat Mediratta
2009-05-02Clean up API to be organized around the functionality it provides, not the ↵Bharat Mediratta
feature its provided for.
2009-05-02Remove extra whitespace.Bharat Mediratta
2009-05-02Fix indentation.Bharat Mediratta
2009-05-02Remove angled ends of edit drawer handle.Chad Kieffer
2009-05-02Add missing return statementTim Almdal
2009-05-02Move the drawer to the bottom of the page and compress the thumb gridTim Almdal
when the drawer opens. This way the drawer is never scrolled.
2009-05-01Forgot these when i created the make_album_cover methodTim Almdal
2009-05-01Set organize messages to use existing gMessage, added album cover message.Chad Kieffer
2009-05-01Updated to jQuery 1.3.2, needs to be pushed upstream.Chad Kieffer
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-29Change album cover functionality addedTim Almdal
2009-04-29The delete button now deletes the selected itemsTim Almdal
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-281) Refactor the ajax calls so that the code is reused across multiplTim Almdal
request types. 2) Enable/Disable the drawer handle buttons depending on the number of items selcted 3) Image rotation works.
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-28Root album weight is now 1; Organize module is auto-activated; search_record ↵Bharat Mediratta
has a key on item_id
2009-04-28Update upstream to to r3835 which resolves upstream ticket #1108Bharat Mediratta
svn merge -r20638:20640 vendor/exifer/modified trunk/modules/exif/lib
2009-04-27Another iteration of the organize module:Tim Almdal
Rearrange the layout as per discussion with thumb, start the drawer functionality. Still to do... 1) Add the processing behind the buttons on the drawer handle 2) Enable the drawer buttons when something is selected 3) Create a copy of the thumbs for the drawer 4) Add the bulk editting functionality to the drawer
2009-04-27Update value size to 1536 chars because I had an image which went over 1024 ↵Bharat Mediratta
chars
2009-04-27Fix an edge case with GPS data handling that results in this error:Bharat Mediratta
fread: Length parameter must be greater than 0 in file modules/exif/lib/makers/gps.php on line 197 Filed upstream as: http://www.zenphoto.org/trac/ticket/1108
2009-04-25Drop the item_id key; we don't need this level of strictness in mostBharat Mediratta
cases and it slows down inserts.
2009-04-25Change the value column to varbinary so that we can handle the occasional ↵Bharat Mediratta
binary data embedded in places like the EXIF caption field
2009-04-25Fix status math.Bharat Mediratta
2009-04-25Extract as many records as we can in a secondBharat Mediratta
2009-04-25Add a key on item_id so that our query to find missing exif records is efficientBharat Mediratta
2009-04-24Fixed typo in comment, added docblock.Chad Kieffer
2009-04-24add_group() was not getting $form before using it.Bharat Mediratta
2009-04-23Use single quotes so that user data containing $ doesn't sufferBharat Mediratta
variable interpolation. Fixes ticket #229.
2009-04-231) Change the processing so the server_add start task can return done = 1Tim Almdal
if there are no eligible files selected 2) Change the javascript to handle this condition and show a pop up
2009-04-231) Move the progress bar to a dialogTim Almdal
2) Provide status and error messages back to the user
2009-04-23Auto-hide the control toolbar so that it doesn't obscure the movie any ↵Bharat Mediratta
longer than it has to. This resolves ticket #199.
2009-04-23Implement a cancel button so that if an organize task is paused, itTim Almdal
can be cancelled.
2009-04-23Fix bug in the item_before_delete() event handlerBharat Mediratta
2009-04-23Remember to import album highlightsBharat Mediratta
2009-04-23Use https if it's appropriateBharat Mediratta
2009-04-23Delete any comments associated with deleted itemsBharat Mediratta
2009-04-23Disable automatic session id regeneration because ajax requests cause it to ↵Bharat Mediratta
bomb.
2009-04-221) Fix index overflow issue.Tim Almdal
2) Fix where the microthumb was removed even if the move was cancelled