summaryrefslogtreecommitdiff
path: root/modules/organize
AgeCommit message (Collapse)Author
2010-08-22Compiled version of ↵Bharat Mediratta
http://github.com/gallery/gallery3-flex/commit/88efbd77b45ae888b035295a8034229c645267c2
2010-08-21Fix a bug where we were using names in a string context resulting inBharat Mediratta
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-21Tighten up whitespace.Bharat Mediratta
2010-08-17use HTTP_HOST instead of SERVER_NAME so that we're sending requestsBharat Mediratta
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-15Updated organize SWF to understand data resources.Bharat Mediratta
2010-07-31Full pass over all the JSON encoding and JS dialog code. We now abideBharat Mediratta
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-31More patches as part of #1225. Change the 'core' modules to use the json::replyTim Almdal
method to set the content type header and encode the response as a json object
2010-07-27Revert "Combine all the flex runtime libraries into a single downloadable ↵Bharat Mediratta
file. Fixes ticket #1241." This breaks organize on Chrome 5 (Linux) and Chrome 6 (OSX). See ticket #1241. This reverts commit 423fca2d5ffca1e953694793ad118589db1756d0.
2010-07-27Fix the "get flashplayer" button. It was throwing a JS error before.Bharat Mediratta
Not sure why it was done in JS in the first place. Fixes ticket #1256.
2010-07-23Fix missing quoate in the organize dialog html template.Tim Almdal
2010-07-23Combine all the flex runtime libraries into a single downloadable file. ↵Tim Almdal
Fixes ticket #1241.
2010-07-20Style and text cleanup. Parameterize the minimum flash value so that we can ↵Bharat Mediratta
use it in the internationalized string. Fix capitalization.
2010-07-16Fix for ticket #1202. Set the minimum flash version 10.0.0 and display a ↵Tim Almdal
message and a button to download the latest version if the minimum versiion is not installed.
2010-07-11Merge branch 'master' into talmdal_devTim Almdal
2010-07-10Accept extension .m4v as video/mp4Romain LE DISEZ
2010-07-06Fix for ticket #1181. Use $.getJSON to retrieve the json contents of the ↵Tim Almdal
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-06-19Change the organize dialog to make use of the new error handlingTim Almdal
2010-06-18Merge branch 'master' of git@github.com:gallery/gallery3Tim Almdal
2010-06-18Fix an issue that the root album was not being selected if there was noTim Almdal
children, or if organize was being invoked on the root album.
2010-06-18Simplify rest::get_access_key($user) to rest::access_key() thatBharat Mediratta
returns just the access key string for the active user. That's how we use the API, so keep it simple.
2010-06-181) Change how the size of the flexstage is calculated. (Basically remove theTim Almdal
dialogWidth and dialogHeight and adjsut the internal controls when added to the stage. 2) Cleanup the controller code
2010-06-18Use request::protocol().Bharat Mediratta
2010-06-17Remove duplicate trailing slash on the controllerUri parameterTim Almdal
2010-06-17Rearrange the adding of fields to the template so that they match the order ↵Tim Almdal
of appearance in the template. Also remove the @todo's
2010-06-17Add a cache-buster to the SWF url so that it'll refresh in the browserBharat Mediratta
every time the SWF file changes.
2010-06-17Change the add album dialog to not replace the internet address or name ↵Tim Almdal
fields if they already contain values.
2010-06-16Fix a typo... The controller parameter to the flex organize module should be ↵Tim Almdal
controllerUri instead.
2010-06-15Bump the organize module to version 2, and check to make sure that theBharat Mediratta
REST module is active.
2010-06-15Remove a stray period.Bharat Mediratta
2010-06-15url::site(...) adds a leading slash to the uri it generates. Take this into ↵Tim Almdal
account when creating the base url for accessing rest requests. Update the sort dropdown box to manual when album items are rearranged.
2010-06-15add an 'icon' to identify albums in the organize dialog.Tim Almdal
2010-06-14Change the parameters for the organize dialog box. The baseUrl parameter was ↵Tim Almdal
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-13Remove a debugging statement.Tim Almdal
2010-06-13Move the source to the gallery3-flex repository.Tim Almdal
2010-06-13Fix problems ith IE and flex initialization when one of the flashvars ↵Tim Almdal
contains a json encoded string. Also address the problem that IE returns the color values differently that Firefox and Chrome
2010-06-10Correct a problem with the sort order and sort direction fields being ignored.Tim Almdal
2010-06-10Review the code for xss exposures and provide the functionality to update ↵Tim Almdal
the organize dialog bar when the selected album changes.
2010-06-10Provide better handling and a progress dialog when loading or updating files.Tim Almdal
2010-06-07Update the rest client to use ancestors_for instead of ancestor_for.Tim Almdal
2010-05-28Change the rearrange processing to use the ProcessItemQueue when moving ↵Tim Almdal
children, so a progress dialog is displayed
2010-05-28Add a progress dialog box when deleting, uploading or updating items.Tim Almdal
2010-05-21Renamed GalleryRestRequestBuilder to GalleryRestRequest. Refactored the ↵Tim Almdal
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-20Add items and add albums are now working. What still needs to be done is ↵Tim Almdal
add a progress bar for longer running tasks
2010-05-18checkpoint the new organize module. At this point rearrange and move work. ↵Tim Almdal
Rearrange is moving items within the same album, move is moving to a different album.
2010-05-09Add dependency checking to insure the administrator is notified if the rest ↵Tim Almdal
module is deactivated
2010-03-31Update the flex organize to use access_key instead of access_tokenTim Almdal
2010-03-30Checkpoint the organize flex source. Not production ready, but worth ↵Tim Almdal
checkpointing.
2010-03-30Organize now has the add album functionality.Tim Almdal
2010-03-30add a controller method to return the translated labels for the add album ↵Tim Almdal
dialog.
2010-03-27Clean up the organize_dialog file of some cruft and add the organize.swf ↵Tim Almdal
file to the organize module.