Commit Graph

241 Commits

Author SHA1 Message Date
Bharat Mediratta
d96ce71f1a Remove a stray period. 2010-06-15 15:29:45 -07:00
Tim Almdal
81f176cf8e url::site(...) adds a leading slash to the uri it generates. Take this into account when creating the base url for accessing rest requests.
Update the sort dropdown box to manual when album items are rearranged.
2010-06-15 09:39:45 -07:00
Tim Almdal
f5eb5d5d70 add an 'icon' to identify albums in the organize dialog. 2010-06-15 09:14:09 -07:00
Tim Almdal
f10d641044 Change the parameters for the organize dialog box. The baseUrl parameter was removed and replaced with the restUri, which contains the relative uri for the rest controller. The controller parameter is now the relative uri for the organize controller. The protocol parameter was added. In addition, there is not default size for the organize flex object. It attempts to fit within the gallery3 dialog box. 2010-06-14 13:07:58 -07:00
Tim Almdal
821d3f7854 Remove a debugging statement. 2010-06-13 19:50:52 -07:00
Tim Almdal
5decb3b252 Move the source to the gallery3-flex repository. 2010-06-13 19:31:48 -07:00
Tim Almdal
47aa651430 Fix problems ith IE and flex initialization when one of the flashvars contains a json encoded string. Also address the problem that IE returns the color values differently that Firefox and Chrome 2010-06-13 17:58:50 -07:00
Tim Almdal
cbcb7432b3 Correct a problem with the sort order and sort direction fields being ignored. 2010-06-10 14:10:19 -07:00
Tim Almdal
6aab0cbec6 Review the code for xss exposures and provide the functionality to update the organize dialog bar when the selected album changes. 2010-06-10 13:12:10 -07:00
Tim Almdal
38e8ab3d71 Provide better handling and a progress dialog when loading or updating files. 2010-06-10 09:14:13 -07:00
Tim Almdal
af240a3498 Update the rest client to use ancestors_for instead of ancestor_for. 2010-06-07 05:25:26 -07:00
Tim Almdal
c4d85721fc Change the rearrange processing to use the ProcessItemQueue when moving children, so a progress dialog is displayed 2010-05-28 16:43:10 -07:00
Tim Almdal
56587febff Add a progress dialog box when deleting, uploading or updating items. 2010-05-28 09:42:26 -07:00
Tim Almdal
a1181c5a49 Renamed GalleryRestRequestBuilder to GalleryRestRequest. Refactored the sendRequest method out of the GalleryResource class and moved it to the GalleryRestRequest class. Converted the properties captureDate, updatedDate, and createdDate to return a flex date object instead of a string representing a unix timestamp. 2010-05-21 07:29:17 -07:00
Tim Almdal
e4ff302e3b Add items and add albums are now working. What still needs to be done is add a progress bar for longer running tasks 2010-05-20 09:05:50 -07:00
Tim Almdal
ffc3f9f41c checkpoint the new organize module. At this point rearrange and move work. Rearrange is moving items within the same album, move is moving to a different album. 2010-05-18 10:00:48 -07:00
Tim Almdal
32fa15ca3a Add dependency checking to insure the administrator is notified if the rest module is deactivated 2010-05-09 20:39:31 -07:00
Tim Almdal
0dfc62051e Update the flex organize to use access_key instead of access_token 2010-03-31 07:14:48 -07:00
Tim Almdal
e56473c5d7 Checkpoint the organize flex source. Not production ready, but worth checkpointing. 2010-03-30 08:08:30 -07:00
Tim Almdal
7c84ee1b33 Organize now has the add album functionality. 2010-03-30 07:55:56 -07:00
Tim Almdal
91f27bf32f add a controller method to return the translated labels for the add album dialog. 2010-03-30 06:33:42 -07:00
Tim Almdal
0c1595d7e8 Clean up the organize_dialog file of some cruft and add the organize.swf file to the organize module. 2010-03-27 15:55:42 -07:00
Tim Almdal
67a8ef4277 Convert the old organize to the new flex based organize 2010-03-27 11:16:41 -07:00
Florent Paterno
08f11ce90e Fix bug #1015 : repeated ids are prohibited 2010-03-13 08:39:04 -08:00
Tim Almdal
1c022a5c84 Merge branch 'master' into talmdal_dev 2010-03-05 06:54:12 -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
Tim Almdal
f28b80fcf4 Merge branch 'master' into talmdal_dev 2010-02-26 09:58:57 -08: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
Tim Almdal
a6c3e8f0a2 Merge branch 'master' into talmdal_dev 2010-02-19 11:36:31 -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
Tim Almdal
74472dc83c Merge branch 'master' into talmdal_dev 2010-02-17 06:46:48 -08:00
Andy Staudacher
e754bc18ea Input sanitization 2010-02-15 13:44:37 -08:00
Tim Almdal
b42c736607 Merge branch 'master' into talmdal_dev
Conflicts:
	modules/organize/js/organize.js
2010-02-10 08:07:20 -08:00
Tim Almdal
5e703186fb Current state of organize. works for all browsers except IE. IE no longer implodes, but dragging doesn't work. Selecting works fine, either by using the lasso or clicking. Ctrl-Click adds to the selection. The problem is that when a drag is attempted, the selection gets lost and things start falling apart. 2010-02-09 08:23:43 -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