Bharat Mediratta
6429110cd0
Merge branch 'master' of git://github.com/fpaterno/gallery3
2010-03-05 21:25:22 -08:00
Bharat Mediratta
c3c2b45280
Update the copyright to 2010. It's only 3 months into the year :-)
2010-03-03 10:15:34 -08:00
Florent Paterno
e4ed7e983d
Fix bug #1015 : repeated ids are prohibited
2010-03-01 17:23:56 +01:00
Andy Staudacher
adb1db6b7d
Fix typo in selector expression. The handling of view-only albums is still not great, but at least the code is closer to doing what it's supposed to.
2010-02-22 22:00:23 -08:00
Andy Staudacher
f116af5287
Fix for tickets #1024 and #1025 : Fix formatting of album tree list in the organize dialog, and (magically) drag and drop move to another album works as well again. Tested in FF3.5, Chrome5 on Ubuntu Linux.
2010-02-18 17:54:29 -08:00
Andy Staudacher
e754bc18ea
Input sanitization
2010-02-15 13:44:37 -08:00
Tim Almdal
afdb98412e
Fix the missing object problem in ie7. Fixes ticket: 1003. There is still issues with selectables and draggables working together in IEx
2010-02-08 11:26:40 -08:00
Tim Almdal
47293fcb03
Correct tree branch alignment in IE
2010-02-08 09:15:02 -08:00
Tim Almdal
2337fa93e6
remove debudding statement and if no target is found then assume the insert position is after the last element.
2010-02-07 15:13:13 -08:00
Tim Almdal
d6beef8613
The drop target marker appears in the correct spot whether we are in ltr or rtl mode.
2010-02-07 15:05:39 -08:00
Tim Almdal
e2e637064a
The adjustment for before or after based on whether the locales rtl or not is now done in the browser.
2010-02-07 14:25:05 -08:00
Tim Almdal
6340d8caf2
100% was just to wide, so scale the width back to 90% for organize album tree branches.
2010-02-06 16:43:55 -08:00
Tim Almdal
81b595743f
Force each branch of a tree onto a new line.
2010-02-06 16:30:25 -08:00
Tim Almdal
0f9d23d074
Cleanup the position of the drop marker.
2010-02-06 10:36:29 -08:00
Tim Almdal
15e2207655
correct layout of html for readability
2010-02-06 10:12:53 -08:00
Tim Almdal
83f61ff5cf
Insure that the 'Ascending'/'Descending' string are translated on the organize dialog.
2010-02-06 09:47:56 -08:00
Tim Almdal
73527fba61
1) Manually added the .selectee class on subsequent downloads. fixes ticket #970
...
2) Reworked the calculated of the drop target marker to account for scrolling.
2010-02-05 23:38:06 -08:00
Tim Almdal
f5391b8424
Merge branch 'master' into talmdal_dev
2010-02-05 15:51:02 -08:00
Tim Almdal
64c37aed07
continuing cleaninup organize javascript especially the drag and drop functionality.
2010-02-05 14:38:24 -08:00
Tim Almdal
bc14f33ae1
Fix an issue where the dragged item was always inserted after the target image.
2010-02-05 11:15:28 -08:00
Tim Almdal
94cc061e8b
Correct alignment in IE7. fixes ticket #795
2010-02-05 10:25:55 -08:00
Tim Almdal
8518fb2674
Add busy animation when doing the drop.
2010-02-05 08:53:38 -08:00
Tim Almdal
a8d30dcecf
Improve the handling of the drop target marker when dragging items within the
...
grid. Originally the borders disappeared not they don't. A single element is
used to contain the drop target marker. This element contains all the position
information for the drop handler to determine where the item should be
positioned.
In addition, the drop target marker is removed when the drag extends outside
the grid and is re shown, when the cursor re-enters the thumbnail grid.
2010-02-05 08:08:12 -08:00
Tim Almdal
eff7de3852
If the locale is rtl then change 'after' to 'before' or vice-versa. Fixes ticket #939 .
2010-02-04 08:51:15 -08:00
Tim Almdal
3d2a3bee57
Provide better formating for the album tree in rtl mode.
2010-02-04 08:42:55 -08:00
Tim Almdal
c820613917
Don't change the current album when items are dragged to a different album in the album tree. Fixes ticket #959 .
2010-02-04 08:24:02 -08:00
Tim Almdal
48efd21556
Provide visual feedback when over tree branches.
2010-02-04 08:24:01 -08:00
Tim Almdal
95b26db82c
1) Simplify the layout of the organize dialog content.
...
2) Use CSS to layout the thmbnail grid to the full dialog size. Fixes ticker #848 .
3) Separate css that can be themed into organize_theme.css. This isolates the themed components into a separate file for easy of overriding by a theme.
2010-02-04 08:23:02 -08:00
Tim Almdal
aa4ed45473
Differentiate between selected and non selected items.
2010-02-04 07:46:41 -08:00
Bharat Mediratta
cfbbf9ef60
Convert __toString() to use (string) cast instead.
2010-01-27 21:58:06 -08:00
Tim Almdal
0a482127b2
Merge branch 'master' into talmdal_dev
...
Conflicts:
modules/organize/js/organize.js
2009-12-27 08:35:19 -08:00
Bharat Mediratta
55f9408d50
Fix the scrollbar in the organize panel by restricting drag-to-select to #g-organize-microthumb-grid.
2009-12-26 15:08:14 -08:00
Tim Almdal
3060a6f662
Merge branch 'master' into talmdal_dev
...
Conflicts:
modules/gallery/controllers/albums.php
modules/gallery/controllers/movies.php
modules/gallery/controllers/photos.php
2009-12-26 11:24:50 -08:00
Bharat Mediratta
da7ee6ab30
Fix over-targetting in CSS
2009-12-25 13:24:47 -08:00
Bharat Mediratta
07a9ef2276
Convert some database calls
2009-12-25 13:24:38 -08:00
Bharat Mediratta
8b9a02084a
Updates for the latest version of Kohana 2.4:
...
1) Controller::$input is gone -- use Input::instance() now
2) Handle new 'database.<default>.connection.params' parameter
3) Handle new 'cache.<default>.prefix' parameter
2009-12-21 21:27:43 -08:00
Bharat Mediratta
a3d904bcba
ORM::find_all() now uses null as the default value for offset.
2009-11-26 19:36:57 -08:00
Bharat Mediratta
e8fb773b68
Update all portable where clauses to the new Kohana 2.4 format.
2009-11-26 19:33:03 -08:00
Tim Almdal
a1fbc8b1e1
Correct the reference so selections are handled properly when dragging the lasso
2009-11-20 12:15:05 -08:00
Tim Almdal
aa880c2b10
Use ui-state-highlight to display selected images.
2009-11-20 11:37:09 -08:00
Tim Almdal
72deeb1119
Remove all style from the organize.css file and make use of the themeroller styles as much as possible.
2009-11-20 10:26:11 -08:00
Chad Kieffer
33d2a2481e
MInor message-block padding fixes in general and specifically for organize.
2009-11-15 23:27:37 -07:00
Chad Kieffer
fb2c365d8f
Fix outstanding issues in the organize dialog. Tighten up the layout a bit so that more microthumbs will display.
2009-11-15 22:55:09 -07:00
Chad Kieffer
de3bfac2ec
Fixed indenting.
2009-11-15 18:02:20 -07:00
Chad Kieffer
66e1e32f34
Removed YUI grids. Added g- prefix to selected class. Layout almost completely restored, still need to fix action-status message box
2009-10-28 23:34:53 -06:00
Chad Kieffer
e72d3532f7
Amazing what a two character change can do. It should be g-first now, not first.
2009-10-28 22:57:36 -06:00
Chad Kieffer
b118d56e9a
Added type attribute to script tag.
2009-10-28 22:52:17 -06:00
Chad Kieffer
02b6366dd2
Switch instances of first to g-first.
2009-10-27 07:37:04 -07:00
Chad Kieffer
02ecf5749c
Make menu label adhere to our capitalization standard.
2009-10-25 18:34:36 -06:00
Chad Kieffer
859f8dc558
Consolidated the rest of the base message styles into lib/gallery.common.css and applied updates to views. Moved over draggable/droppable styles. Use g-target consistently for drag/drop interactions. Minor re-ordering of selectors in gallery.common.css. Updates to css comments.
2009-10-07 00:21:23 -06:00