Commit Graph
2082 Commits
Author SHA1 Message Date
Tim Almdal 475b8fe9ff Dragging from the thumbgrid to an album in the tree now works.
Refactored the javascript to minimize duplication.
2009-04-22 16:09:57 +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
Tim Almdal 9d31564b7c 1) Disable drag when the rearrange task is running
2) Add the album name to the task name
2009-04-21 18:11:27 +00:00
Tim Almdal 0fdc4639c3 Remove duplicate word from status message 2009-04-21 14:41:06 +00:00
Tim Almdal 4e944577f4 The pause button now works. 2009-04-21 14:15:58 +00:00
Tim Almdal c94fc344e8 Added progress bar and pause and continue functionality to rearrange 2009-04-21 06:04:03 +00:00
Bharat Mediratta 201e8cdf70 Highlight: we can now import photos and movies.
Notes:
* Don't store the g2->g3 map in the task; it gets too large and
  overflows the context column.
* Import album sort orders
* Try to treat duplication in the summary and description fields
  sensibly.
* Move the g2 import config page under the Settings menu
* Clean up the settings page slightly and send users to the
  maintenance page to do the actual import (not an optimal UI, but it
  works).
2009-04-21 04:21:34 +00:00
Bharat Mediratta e9867fb97c Theme the cancel-all link like the remove-all link. 2009-04-21 04:17:56 +00:00
Bharat Mediratta 6c911d2d7c Make the task iteration duration 1 second instead of 500ms. 2009-04-21 04:16:30 +00:00
Bharat Mediratta ace6335e64 Add a key on item_id for the search_records table so that when we left
join it against the item table to find missing ids it's fast.
2009-04-21 03:12:14 +00:00
Tim Almdal e8ea822801 Remove debugging statements 2009-04-20 18:47:38 +00:00
Tim Almdal ad10584dc1 1) Add rearrange processing as a task
2) Improved drop location determination
3) Add a revert if dropped on an invalid target
4) Add a popup dialog to display ajax errors
Still to do progress bar, pause/continue and status messages
2009-04-20 18:44:19 +00:00
Tim Almdal e8d99f22a1 Simplify the handling of moves to the beginning or end of the album 2009-04-19 18:42:53 +00:00
Tim Almdal 663c38a7e8 Continue javascript code cleanup 2009-04-19 18:33:35 +00:00
Tim Almdal f1a9ac807c Restructure the java script code (i.e. separate complex callbacks or
objects into variables)
2009-04-19 18:02:07 +00:00
Andy Staudacher 55256b459b Fix UI string 2009-04-19 07:05:18 +00:00
Tim Almdal aaec040716 - Improve the movement of the placeholder
- Make sure the thumbgrid will utoscroll when dragging
- And an ordinal attribute to the thumbnail when generated, based on the
current sort order of the album.
2009-04-19 03:51:29 +00:00
Bharat Mediratta a8d60021ea import album owners and be a little smarter about summary/description duplication 2009-04-19 00:58:56 +00:00
Bharat Mediratta 6e05e917df Redirect item/NN requests to absolute urls 2009-04-18 23:52:02 +00:00
Bharat Mediratta e7ba49b69c Properly import groups and put users into groups. Mark admin users
appropriately.
2009-04-18 23:10:57 +00:00
Bharat Mediratta 0fe4398765 whitespace cleanup 2009-04-18 23:07:08 +00:00
Bharat Mediratta 6b89e7fa2a Add user::lookup_by_name() 2009-04-18 23:06:38 +00:00
Bharat Mediratta a3e8818449 Track what we've already imported in the G2_Map_Model and keep it
around in the task so that on subsequent import runs we don't try to
reimport stuff we've already pulled in.  This also gives us a mapping
so that we will be able to translate old G2 urls into the hot new G3
urls.
2009-04-18 04:27:04 +00:00
Tim Almdal 1a332009c7 Change how mutiple requests for micro thumbnails is handler.
handle the edge cases where the draggable is dropped on the micro
thumbnail panel
2009-04-17 20:17:53 +00:00
Tim Almdal 16db338145 Fix typo that was causing an error 2009-04-17 14:33:09 +00:00
Bharat Mediratta 1d6554764c Make the update_index task continue until it has used half a second
before stopping.  This is *way* more efficient than just doing 2 per
request.
2009-04-17 10:02:13 +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
Bharat Mediratta ff5afeb714 Import albums. Just the basics; misses permissions and a lot of
metadata, and doesn't import photos yet.
2009-04-17 09:05:12 +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
Tim Almdal d8e9133873 Another iteration in the quest for the perfect organize module. At
this point you can select microthumbs, by clicking on them, ctrl-click
will add to the selection.  You can select by drawing a lasso around
images. Holding the ctrl will add the lassoed thumbs to the selection.
Once slected, thumbs can be dragged and dropped within the current
At this point no background processing takes place
2009-04-17 02:06:00 +00:00
Andy Staudacher 6fae077b52 Fix i18n for "Logged in as" string 2009-04-17 02:04:25 +00:00
Tim Almdal 7349d49945 Add the ui.jquery selectable plugin by copying the new vendor version to trunk 2009-04-16 00:20:45 +00:00
Bharat Mediratta a7f345476f Very early round of Gallery 2 import code. It can import users (with
the wrong password) and import groups, with a basic UI.  Needs a ton
more work.
2009-04-15 07:23:22 +00:00
Bharat Mediratta 8c1d1a9d0d Provate a way to set the hashed password directly 2009-04-15 07:18:19 +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
Chad Kieffer 9f488446d9 Fix up microthumb grid, changed unselect to deselect all, white space fixes. 2009-04-10 05:40:56 +00:00
Tim Almdal 91bc1292da Don't try to import the staging directory as an album 2009-04-09 19:39:26 +00:00
Tim Almdal 49042345f6 Provide a translation of the titleon the fatal error dialog pop-up 2009-04-09 19:32:12 +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 e692868e8a Create a pause method on the server_add controller and get rid of the
optional parameter/
2009-04-09 17:59:43 +00:00
Tim Almdal 093422bfbc Fix server add to correctly ignore a authorized path if there are no
files to be uploaded from it.
2009-04-09 17:33:17 +00:00
Tim Almdal 6e819603af Clean up delete code as per Bharat's note 2009-04-09 17:18:23 +00:00
Tim Almdal 898eba8e6f Here is the current state of "organize". I'm having trouble getting
drag and drop to work.  And to get it to layout properly.  Any
thoughts would be appreciated.
2009-04-09 16:33:14 +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