Bharat Mediratta
314e2e67b1
Fix ctrl-click behavior. Fixes #1986 .
2013-02-01 00:52:14 -05:00
shadlaws
031dd3bd6f
#1960 - Add unit test to look for extra spaces at end of line
...
- Added no_extra_spaces_at_end_of_line_test to File_Structure_Test.
- Updated Gallery_Filters to exclude testing code that isn't ours.
- Removed existing extra spaces. New test now passes.
2013-01-24 12:03:05 +01:00
Mike Miller
80d6a895ed
#1952 Add bulk tagging to the Organize module.
...
Allow a user to highlight one or more items (images, videos, or albums), and enter a tag (or tags, comma delimited) and apply it to all of the selected items. The code is based on the batchtag module.
If the tags module is not enabled, no changes to the Organize UI will be shown.
2013-01-23 22:58:45 +02:00
Bharat Mediratta
581d9a58db
Clean up title handling code in organize and wind theme for consistency.
...
Fixes #1847 .
2012-05-05 19:38:31 -07:00
Bharat Mediratta
67f689646b
Follow-on fix for #1790 - the last fix broke rearranging for everything
...
*but* IE9. Oops!
2011-12-17 19:17:00 -08:00
Bharat Mediratta
948bfeff21
Work around a JS bug in IE9 that breaks the organize module.
...
Fixes #1790 .
2011-10-03 22:30:14 -07:00
Bharat Mediratta
de5b06ae74
Add an icon for the delete button so that it stands out a little bit more,
...
and disable the button when nothing is selected. Fixes #1592 .
2011-01-09 02:19:59 -08:00
Bharat Mediratta
fc2733a2d1
Rename delete_items() to delete_selected_items().
2011-01-09 00:16:40 -08:00
Beckett Madden-Woods
1a1a05ed94
Merge commit 'upstream/master'
2011-01-09 04:03:31 +00:00
Beckett Madden-Woods
b78a1319ae
Add item delete support to the organize module. Fixes #1588 .
2011-01-09 03:59:25 +00:00
Bharat Mediratta
4c80ed53d2
Put up a more visually pleasing placeholder for items that are
...
missing a thumbnail. Fixes #1591 .
2011-01-08 19:27:08 -08:00
Bharat Mediratta
d0df4896b0
Specify a width for the sort order dropdowns so that they don't
...
get squeezed on smaller screens.
2011-01-08 18:49:07 -08:00
Bharat Mediratta
8f5a3fd0c2
Update the dialog title to reflect the album we're currently
...
organizing.
2011-01-08 18:45:10 -08:00
Bharat Mediratta
89597e7e70
Add a spinner to the dialog when loading the iframe so that it's not
...
just a blank dialog. Create separate CSS for dialog vs. frame.
Don't show the Loading message for the first load.
2011-01-06 23:43:26 -08:00
Bharat Mediratta
24b8e9b060
Make the sort column combobox wider.
2011-01-06 23:15:07 -08:00
Bharat Mediratta
8ece1e3a19
Create a custom bundle of ExtJS for organize. It's 18% smaller, but
...
still pretty large.
2011-01-06 23:10:42 -08:00
Bharat Mediratta
600e04b58c
Lock the drag zone if the album is not editable so that users don't
...
start illegal drags.
2011-01-06 12:02:17 -08:00
Bharat Mediratta
fc6907dcfe
Switch back to setting nodes as leaves, but fix the drop zone code to
...
allow dropping on leaves.
2011-01-06 11:46:15 -08:00
Bharat Mediratta
0abd77c9e5
Fix typo.
2011-01-06 09:58:21 -08:00
Bharat Mediratta
9e6e2138df
Only mask the data view on changes, it's a little less jarring.
2011-01-05 23:55:21 -08:00
Bharat Mediratta
33b8ec7a62
Add a label for the sort order
2011-01-05 23:47:14 -08:00
Bharat Mediratta
b424cac5c5
Double clicking on an album switches to that album, selects it in the
...
tree and expands it if it's not already expanded.
2011-01-05 22:48:27 -08:00
Bharat Mediratta
aebcd44513
Swap organize_frame and organize_dialog since they were semantically
...
reversed. organize_dialog contains the stuff that pops up in the dialog,
organize_frame contains the stuff that's in the embedded iframe.
2011-01-05 22:19:33 -08:00
Bharat Mediratta
e6b3886f8f
Functional improvements:
...
- Add support for dragging a selection box.
Visual improvements;
- The "ghost" selection now has minimized thumbnails so that
you're dragging a smaller div around the screen.
2011-01-05 22:15:13 -08:00
Bharat Mediratta
9863743001
Only refresh the tree when we move albums around.
2011-01-05 21:22:41 -08:00
Bharat Mediratta
ce70669b8f
Visual tweaks for IE8 compatibility.
...
Set the min width and min height to what IE8 wants the thumbnail's box
to be when the inner image maxes out at 120 pixels (specified in
Organize_Controller::album_info()).
Avoid using inline-block.
2011-01-05 21:17:27 -08:00
Bharat Mediratta
b8124efbd8
Refactor generic error handling code. It still shows a pretty lame error message.
...
Add a comment explaining the TreeLoader preload hack.
2011-01-05 20:37:14 -08:00
Bharat Mediratta
372905bd13
Support moving an item before or after the target.
2011-01-05 02:00:40 -08:00
Bharat Mediratta
c590f881eb
single -> double quotes.
2011-01-05 01:25:17 -08:00
Bharat Mediratta
bd5e71ba6a
More drag/drop tweaks.
...
- Fix a bug in the prior commit where we could no longer drag/drop in
the thumb_data_view.
- Change the CSS class when dropping items in the tree panel to be a
check box, not a plus symbol.
2011-01-04 22:20:24 -08:00
Bharat Mediratta
31652eae44
Drag/drop improvements:
...
- Restrict drag and drop to albums where the user has edit permissions.
- Use the existing TreeDropZone instead of making a new DropZone to take
advantage of TreeDropZone features.
- Properly use dropConfig in TreePanel.
2011-01-04 22:00:30 -08:00
Bharat Mediratta
51d66df192
Switch to using Ext.Element.mask for a custom busy message that looks
...
a little cleaner.
2011-01-04 00:15:05 -08:00
Bharat Mediratta
79f27ea1ec
Remove a bunch of trailing commas from arrays to make IE happy.
2011-01-03 22:59:07 -08:00
Bharat Mediratta
3928058ba5
Fix a few small visual issues:
...
- Let the thumb data view scroll on drag/drop
- Switch the album panel to be a FitLayout and use a title and
bbar instead of nested panels.
- Set the tree_panel width to be 200px to start.
2011-01-03 22:31:20 -08:00
Bharat Mediratta
90852b1929
whitespace fix.
2011-01-03 21:23:21 -08:00
Bharat Mediratta
8e21dda195
Complete rewrite of the organize module in Javascript using the Sencha
...
JavaScript library. It's got all the functionality from the Flash
version except it doesn't support creating new albums or uploading
photos.
Only tested in Chrome 10.0.x so far.
2011-01-03 20:24:21 -08:00
Bharat Mediratta
cc4a54a3d6
Fix bug introduced in b6fa33faf7. Don't
...
try to use $(this).data("reload.location") if it hasn't been set,
which can happen if Flash isn't available. Fixes #1362
2010-09-11 22:18:53 -07:00
Tim Almdal
b6fa33faf7
Create a setLocation javascript callback which is called everytime with the full url of the current album(non-REST). When the dialog is closed the window location is set to this value and the page gets loaded appropriately.
2010-09-07 18:53:17 -07:00
Bharat Mediratta
5568ab24de
Normalize the "flash missing" message string with the one in the
...
uploader for convenient localization.
2010-08-30 22:21:00 -07:00
Bharat Mediratta
2c717b18d3
Don't concatenate two strings together as an argument for t() or t2();
...
the l10n_scanner cannot parse it properly and drops those from the
localization list. Fixes ticket #1284 .
2010-08-29 20:04:02 -07:00
Bharat Mediratta
04add75f6f
Get rid of the move dialog and move option. Instead, replace it with
...
a call to Organize with the appropriate album open. I have not yet
figured out how to get the SWF code to highlight the active image, but
that's coming. Partial fix for #1204 .
2010-08-22 00:27:24 -07:00
Bharat Mediratta
84a50e737b
Fix the "get flashplayer" button. It was throwing a JS error before.
...
Not sure why it was done in JS in the first place. Fixes ticket #1256 .
2010-07-27 11:18:55 -07:00
Tim Almdal
f699d2b385
Fix missing quoate in the organize dialog html template.
2010-07-23 05:56:59 -07:00
Bharat Mediratta
96bcc8146c
Style and text cleanup. Parameterize the minimum flash value so that we can use it in the internationalized string. Fix capitalization.
2010-07-20 07:03:43 -07:00
Tim Almdal
bd969a6ffa
Fix for ticket #1202 . Set the minimum flash version 10.0.0 and display a message and a button to download the latest version if the minimum versiion is not installed.
2010-07-16 07:37:24 -07:00
Tim Almdal
545a91270d
1) Change how the size of the flexstage is calculated. (Basically remove the
...
dialogWidth and dialogHeight and adjsut the internal controls when added to
the stage.
2) Cleanup the controller code
2010-06-18 19:05:59 -07:00
Bharat Mediratta
ec40e03a37
Use request::protocol().
2010-06-18 15:20:32 -07:00
Tim Almdal
fce95785be
Remove duplicate trailing slash on the controllerUri parameter
2010-06-17 17:41:35 -07:00
Tim Almdal
070db2a97a
Rearrange the adding of fields to the template so that they match the order of appearance in the template. Also remove the @todo's
2010-06-17 10:21:37 -07:00
Bharat Mediratta
359235182e
Add a cache-buster to the SWF url so that it'll refresh in the browser
...
every time the SWF file changes.
2010-06-17 09:57:38 -07:00