Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-08-08 | Verified. | Bharat Mediratta | |
2010-08-08 | Add JSONP support. You must specify &output=jsonp?callback=<js_function> | Bharat Mediratta | |
Fixes ticket #1205. | |||
2010-08-08 | We can always send back the header because Kohana buffers output. | Bharat Mediratta | |
2010-08-08 | Add the $max_level param to all calls to _sanitize_for_dump() | Bharat Mediratta | |
2010-08-08 | Add in the missing 'error' count. | Bharat Mediratta | |
2010-08-08 | Adjust the vertical placement of the "Dang" message. | Bharat Mediratta | |
2010-08-08 | Handle 404 exceptions specially to reduce spam in the log files. Fixes ↵ | Bharat Mediratta | |
ticket #1228. | |||
2010-08-08 | Create a registry of REST resources and call it "registry".. Pretty | Bharat Mediratta | |
simple, actually. Fixes ticket #1173. | |||
2010-08-08 | Handle "1" as a default order direction in G2. Why would we ever do that? ↵ | Bharat Mediratta | |
Dunno. Fixes ticket #1276. | |||
2010-08-08 | Require the size parameter. Optional params are confusing. And be | Bharat Mediratta | |
robust in the face of a missing data file (movies and albums lack resize, albums lack full size, some albums don't have a thumb if they have no contents, etc) | |||
2010-08-08 | Add a sad face on the dang page. Just cause. | Bharat Mediratta | |
2010-08-08 | Make the error page more informative, and include platform information. | Bharat Mediratta | |
2010-08-08 | Allow item_rest::put() to replace the current data file. Remove | Bharat Mediratta | |
data_rest::put() altogether; it's no longer necessary. | |||
2010-08-08 | Change file modes to 644. | Bharat Mediratta | |
2010-08-07 | A new REST resource that allows access to view and modify the actual | Bharat Mediratta | |
contents of the file, which enables REST viewers to see the actual data which is useful when the files are privileged. Currently it returns the contents of the file in JSON encoded form, which may not be the best. Multipart/mime might be much better. Fixes ticket #1224. | |||
2010-08-07 | Add the ability to replace the source data file in Item_Model::save(). | Bharat Mediratta | |
Refactor the rotate code in Quick_Controller to replace the data file, and then have gallery_event::item_updated_data_file() pick up after the change is saved, rebuild the image and handle album covers. This is much more portable than before and it will allow any mechanism (eg: REST) to replace the source image. | |||
2010-08-07 | Add a max_level to _sanitize_for_dump() so that we don't blow the stack. | Bharat Mediratta | |
2010-08-07 | Whitespace fix. | Bharat Mediratta | |
2010-08-07 | Add an index for left_ptr, since we use that in ORM_MPTT::parents() | Bharat Mediratta | |
which is on every album page. Bump Gallery module version to 33. | |||
2010-08-07 | Merge branch 'master' into bharat_dev | Bharat Mediratta | |
2010-08-07 | Merge branch 'master' into bharat_dev | Bharat Mediratta | |
2010-08-07 | Oops. Fix the upgrader path to add the weight column to the modules table. | Bharat Mediratta | |
2010-08-06 | Add a "weight" column to the module table. This allows us to specify | Bharat Mediratta | |
module ordering, which is currently being done in the moduleorder contrib module. By default, the weight will be the same as the id of the row which means that new modules will get added at the end of the list. This is covered in the upgrade case as well. The one gotcha is that we need to make sure that we don't try to sort by the weight column if the gallery module version is < 32, which is something we haven't done before. Fixes ticket #1272. | |||
2010-08-06 | Add a "weight" column to the module table. This allows us to specify | Bharat Mediratta | |
module ordering, which is currently being done in the moduleorder contrib module. By default, the weight will be the same as the id of the row which means that new modules will get added at the end of the list. This is covered in the upgrade case as well. The one gotcha is that we need to make sure that we don't try to sort by the weight column if the gallery module version is < 32, which is something we haven't done before. | |||
2010-08-06 | Use module::install and module::activate for the gallery module as | Bharat Mediratta | |
well; I've verified that it generates the same installer files. | |||
2010-08-04 | Add docs reflecting that we may skip some items that have invalid parent_ids | Bharat Mediratta | |
2010-08-04 | Update the wind theme thumbnail to be more reflective of the actual theme ↵ | Tim Almdal | |
(i.e. the layout has changed since the thumbnail was created.) | |||
2010-08-03 | Replace overlooked 'form' parameter in json response with 'html'. | Tim Almdal | |
2010-08-01 | Fix the i18n error message for missing/incorrect password. Fixes ticket #1265. | Bharat Mediratta | |
2010-08-01 | Use the login/html page for maintenance mode; we don't need the | Bharat Mediratta | |
maintenance controller/view anymore. Fixes ticket #1267. | |||
2010-08-01 | While we're cleaning up albums, also find any cases where we have an | Bharat Mediratta | |
album_cover_item_id that points to an invalid item. | |||
2010-08-01 | default maintenance_mode from false -> 0 for consistency with the value we ↵ | Bharat Mediratta | |
set in the db | |||
2010-08-01 | Updated for gallery module v31. | Bharat Mediratta | |
2010-08-01 | Make maintenance mode a variable instead of a config. Then create | Bharat Mediratta | |
links on the Admin > Maintenance page to allow you to turn it on and off. This should be efficient since we cache all vars and look them up on every request anyway. This also allows us to have the Fix task enable maintenance mode while it's running which greatly reduces the chances that somebody will come along and hork the database while we're tinkering with MPTT pointers. Fixes ticket #1259. | |||
2010-08-01 | Make the continuation url go to admin/maintenance. | Bharat Mediratta | |
2010-08-01 | Focus on the username field by default. Don't use jQuery because we're ↵ | Bharat Mediratta | |
operating in a very limited context. | |||
2010-08-01 | Force the response type for uploaded watermarks to text/html. | Bharat Mediratta | |
// Override the application/json mime type. The dialog based HTML uploader uses an iframe to // buffer the reply, and on some browsers (Firefox 3.6) it does not know what to do with the // JSON that it gets back so it puts up a dialog asking the user what to do with it. So force // the encoding type back to HTML for the iframe. // See: http://jquery.malsup.com/form/#file-upload | |||
2010-08-01 | Merge branch 'dialog' | Bharat Mediratta | |
2010-08-01 | "Save" -> "Download" for clarity. | Bharat Mediratta | |
2010-08-01 | Write appropriate PHPdoc for json::reply. | Bharat Mediratta | |
2010-08-01 | Specify the charset on the content type header | Tim Almdal | |
2010-08-01 | Merge branch 'dialog' of github.com:gallery/gallery3 into dialog | Tim Almdal | |
2010-08-01 | Merge branch 'master' into dialog | Tim Almdal | |
2010-08-01 | Add a localized error message for missing usernames. Fixes ticket #1266. | 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 | "Save" -> "Download" for clarity. | Bharat Mediratta | |
2010-07-31 | Merge branch 'dialog' of github.com:gallery/gallery3 into dialog | Bharat Mediratta | |
2010-07-31 | Resend the entire dialog content (including the wrapping view) instead of ↵ | Tim Almdal | |
just the form. | |||
2010-07-31 | Sometimes in dialogs, the form is wrapped in a view to provide additional ↵ | Tim Almdal | |
information. We need to replace the contents of the entire dialog, not just the form, otherwise, there could be text floating around that doesn't make sense. | |||
2010-07-31 | Missing the user name on the reauthenticate form. | Tim Almdal | |