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
2167168f51
Get rid of the expando caret in front of empty folders
2011-01-05 22:32:33 -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
28760daaef
Improve IE grid compatibility by forcing a regular width/height for
...
thumbnails and using float: left.
2011-01-05 20:11:32 -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
3a11e0d825
This was left out of 31652eae44.
2011-01-04 22:21:02 -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
b692d55ad4
Convert "\w-" in regexes to "\w\-" for compatibility with some versions
...
of Chrome 10.x.
references:
http://www.sencha.com/forum/showthread.php?117836-3.3.1-Invalid-regular-expression
http://code.google.com/p/v8/source/detail?r=5911
http://trac.webkit.org/changeset/73594
http://codereview.chromium.org/5703001/
This change has been reverted in Chrome, and the regex was fixed in ExtJS so
this patch should be short lived.
2011-01-04 11:50:25 -08:00
Bharat Mediratta
caf454f326
Add missing images
2011-01-04 00:15:56 -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
0cd1ccfdc2
missing image
2011-01-03 21:45:37 -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
91d4ffa680
Change the color of the text in the close button to match the foreground color not the border color.
2010-09-09 20:36:18 -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
Tim Almdal
438cea231d
Clean up the default case in the OrganizeProperties::getProperty method
2010-08-31 20:40:48 -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
Tim Almdal
866f8eefc6
Fix for ticket #1320 . Hook the loading of the initial albums and check to see if the loaded item is the requested item.
2010-08-30 22:06:26 -07:00
Tim Almdal
0f2daf29ac
Fix for ticket #1320 . Hook the loading of the initial albums and check to see if the loaded item is the requested item.
2010-08-30 22:05:01 -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
de93507d13
Regenerated version from http://github.com/gallery/gallery3-flex/commit/1e42ddf6574d7632474b8cfbd5b9171a9bb53552
...
which contains fixes for both #1174 and #1305 .
2010-08-29 12:10:20 -07:00
Bharat Mediratta
a184142d6f
Revert "Update the Organize flash object with the fixes for ticket #1174."
...
This commit reintroduces the bug in https://sourceforge.net/apps/trac/gallery/ticket/1305
This reverts commit efa1fce9de .
2010-08-29 11:56:21 -07:00
Tim Almdal
efa1fce9de
Update the Organize flash object with the fixes for ticket #1174 .
2010-08-29 10:28:50 -07:00
Bharat Mediratta
922b810c56
Oops, forgot to create an install() function and set the version of
...
the organize module to 2 in 8fb56abf03
2010-08-28 21:25:09 -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
91fab0fcf5
Compiled version of http://github.com/gallery/gallery3-flex/commit/88efbd77b45ae888b035295a8034229c645267c2
2010-08-22 00:26:52 -07:00
Bharat Mediratta
4d55166eba
Fix a bug where we were using names in a string context resulting in
...
sending the wrong custom headers back. Fixed the names of the headers
to be slightly more meta. Fixes #1305
Implemented in gallery3-flex bea5f67efa93a3921eec8cd03a15d68f513f1dc0
2010-08-21 16:52:46 -07:00
Bharat Mediratta
ae618840b6
Tighten up whitespace.
2010-08-21 15:25:06 -07:00
Bharat Mediratta
387d30da76
use HTTP_HOST instead of SERVER_NAME so that we're sending requests
...
back to the same canonical domain that we came from. Else Flash makes
crossdomain.xml requests, fails, and falls over.
Fixes ticket #1298 .
2010-08-17 22:32:47 -07:00
Bharat Mediratta
d2c59740b1
Updated organize SWF to understand data resources.
2010-08-15 00:00:31 -07:00
Bharat Mediratta
7607e1f932
Full pass over all the JSON encoding and JS dialog code. We now abide
...
by the following rules:
1) An initial dialog or panel load can take either HTML or JSON, but
the mime type must accurately reflect its payload.
2) dialog form submits can handle a pure HTML response, but the mime
type must also be correct. This properly resolves the problem
where the reauth code gets a JSON response first from the reauth
code, and then an HTML response when you reauth and continue on to
a given form -- try it out with Admin > Settings > Advanced.
3) All JSON replies must set the mime type correctly. The json::reply
convenience function does this for us.
4) By default, any HTML content sent back in the JSON response should be
in the "html" field, no longer the "form" field.
The combination of these allows us to stop doing boilerplate code like
this in our controllers:
// Print our view, JSON encoded
json::reply(array("form" => (string) $view));
instead, controllers can just return HTML, eg:
// Print our view
print $view;
That's much more intuitive for developers.
2010-07-31 21:16:17 -07:00
Tim Almdal and Bharat Mediratta
91a2c04a24
More patches as part of #1225 . Change the 'core' modules to use the json::reply
...
method to set the content type header and encode the response as a json object
2010-07-31 15:44:55 -07:00
Bharat Mediratta
185a736ff9
Revert "Combine all the flex runtime libraries into a single downloadable file. Fixes ticket #1241."
...
This breaks organize on Chrome 5 (Linux) and Chrome 6 (OSX). See ticket #1241 .
This reverts commit 423fca2d5f .
2010-07-27 11:28:12 -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
Tim Almdal
423fca2d5f
Combine all the flex runtime libraries into a single downloadable file. Fixes ticket #1241 .
2010-07-23 05:54:50 -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
329abfe539
Merge branch 'master' into talmdal_dev
2010-07-11 09:09:52 -07:00
Romain LE DISEZ and Bharat Mediratta
39962eaddc
Accept extension .m4v as video/mp4
2010-07-10 08:09:04 -07:00
Tim Almdal
dbf3199e46
Fix for ticket #1181 . Use $.getJSON to retrieve the json contents of the dialog. Convert all the controllers
...
that create the data to go into a dialog to return the html as part of a json object.
2010-07-06 14:12:01 -07:00