| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2011-04-21 | Add an event that will collect all valid filename extensions. | Chad Parry | |
| 2011-01-21 | Update copyright to 2011. | Bharat Mediratta | |
| 2010-09-02 | Don't show the "(## errors)" part of the status message if there haven't ↵ | Bharat Mediratta | |
| been any errors. | |||
| 2010-08-31 | Expire completed uploads and introduce a text message that says how | Bharat Mediratta | |
| many photos have been uploaded successfully. This is to pave the way for retry code later on. | |||
| 2010-08-07 | Whitespace fix. | Bharat Mediratta | |
| 2010-07-31 | Full pass over all the JSON encoding and JS dialog code. We now abide | Bharat 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-31 | More patches as part of #1225. Change the 'core' modules to use the json::reply | Tim Almdal | |
| method to set the content type header and encode the response as a json object | |||
| 2010-07-15 | Rename Flash_Uploader to just Uploader. Modules that want to replace | Bharat Mediratta | |
| this will just replace the controller. This makes overriding that much easier in the future. | |||
