Commit Graph
1959 Commits
Author SHA1 Message Date
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
Andy Staudacher d558a88015 Fix for ticket 181: don't ignore the locale option when adding users 2009-04-09 02:41:29 +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
Tim Almdal 523c467eed Fixes issues with Server Add:
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-08 15:11:55 +00:00
Jakob Hilden b6f59e17f1 changed the items in quickpaneoptions dropdown menu (which appears in the quickpane for albums) to be easier clickable and changed markup to use <ul> (more semantically correct) 2009-04-07 07:14:36 +00:00
Bharat Mediratta a4d63d5a41 Exclude lib/swfupload from our scan paths 2009-04-06 08:59:39 +00:00
Bharat Mediratta 4041c6a0b2 Fix whitespace 2009-04-06 08:55:33 +00:00
Bharat Mediratta fb818f3c4d Fix preamble 2009-04-06 08:53:37 +00:00
Bharat Mediratta 63edb37076 Fix up the quick-edit code on the photos page. Everything but "move"
is implemented.  Can't do move easily because it's tricky to handle
the post-move redirect.
2009-04-06 08:10:42 +00:00
Bharat Mediratta 7e23ec89d9 Mark resized images with the 'gResize' class to match the 'gThumbnail' class we use in albums 2009-04-06 08:03:31 +00:00
Chad Kieffer 0531c9262e Visually connect the selected album to the album thumbnail grid. Edit item opacity, selected items become opaque. 2009-04-06 05:02:56 +00:00
Bharat Mediratta db77192598 Update SWFUpload to v2.2.0.1 2009-04-06 04:08:44 +00:00
Bharat Mediratta 6d940ce8cd Add case-sensitive versions of file extensions to the file_types list
so that .JPG works on case sensitive systems like Unix.  Also add
.jpeg to the list.

Fixes ticket #183.
2009-04-06 04:05:43 +00:00
Bharat Mediratta 292b51ddd3 Rework the links section of the "Welcome to Gallery3" block so that
the links work and it's more helpful.

In the process, rename the Presentation menu to be Appearance because
that makes more sense to me (and at least one other user who wrote
about it on -devel).
2009-04-06 03:14:13 +00:00
Bharat Mediratta 8ae2305289 Hide the "no comments yet" text after the first comment is posted.
Fixes ticket #196.
2009-04-06 00:27:24 +00:00
Tim Almdal a4323c79ee Fix for ticket #207, which should then generate a whole bunch of
errors that are described in ticket #208.
2009-04-06 00:15:45 +00:00
Bharat Mediratta c936eebcf7 Don't do graphics detection in core_installer::install() because that
gets run at scaffolding::package() time, not on the target machine.
Instead, create a core module variable to trigger running
graphics::choose_default_toolkit() on the first admin login after install.

Fixes ticket #206.
2009-04-05 20:43:05 +00:00
Bharat Mediratta a2dd24d7ca Remove extra blank line. 2009-04-05 17:51:25 +00:00
Bharat Mediratta cdf873f1b3 Remove extra blank line. 2009-04-05 17:50:57 +00:00
Bharat Mediratta ff0ccc7e02 Remove obsolete code. 2009-04-05 17:49:52 +00:00
Tim Almdal f1eec57221 Add a weight column to the items model. Change the album ordering to
use this as the default instead of id.  This prepares the way for
manual reordering in the organize functionality.
2009-04-05 16:57:51 +00:00
Tim Almdal 15fc9b9399 Get the preamble right so the unit test passes 2009-04-05 16:48:20 +00:00
Bharat Mediratta fde7073886 Strip trailing nulls off of some tags. 2009-04-05 04:08:24 +00:00
Bharat Mediratta fabb9fb4bd Don't try to insert exif keys if there aren't any. 2009-04-05 04:07:18 +00:00