summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-08-09Force the charset to UTF-8 when viewing the HTML form of REST output.Bharat Mediratta
2010-08-09Use the data_rest implementation to proxy access to rawBharat Mediratta
thumb/resize/full data files when permissions are in play.
2010-08-09Change the way that this works. Now instead of sending back the imageBharat Mediratta
metadata and the data itself JSON encoded, we just send back the raw data with the right Content-Type. This, combined with code in Item_Model::as_restful_array() that swaps in /rest/data urls as appropriate, means that the RESTful payload has consistent urls when permissions are in play.
2010-08-09"Content-type" --> "Content-Type".Bharat Mediratta
2010-08-09"Server Add" -> "Server add"Bharat Mediratta
(Sentence capitalization)
2010-08-09The root album's edit form doesn't have a name field, so don't countBharat Mediratta
on it being there in update(). Fixes ticket #1281.
2010-08-09Fix a pagination bug. Fixes ticket #1280.Bharat Mediratta
2010-08-08"REST api" --> "REST API".Bharat Mediratta
2010-08-08Add a button to the user profile page to let you reset your REST APIBharat Mediratta
key. This is useful if you think it's been compromised in some way. Fixes ticket #1226.
2010-08-08If the imported item from Gallery 2 has a preferred derivative with aBharat Mediratta
rotation, then rotate the imported image accordingly. Fixes ticket #1274..
2010-08-08Merge branch 'master' of git@github.com:gallery/gallery3Tim Almdal
2010-08-08Fix for ticket #1279. In admin themes sanitize the theme name before ↵Tim Almdal
checking that theme.info exists.
2010-08-08Cache the group ids for a day to trade off performance for security updates.Bharat Mediratta
Fixes ticket #1227.
2010-08-08whitespace fix.Bharat Mediratta
2010-08-08Whitespace fixBharat Mediratta
2010-08-08Visually separate the G2 comment's subject and body when we blend themBharat Mediratta
into the G3 comment body. Fixes ticket #1269.
2010-08-08Add gallery stats in addition to platform stats.Bharat Mediratta
2010-08-08Use the gallery helper date/time functions wherever we format dateBharat Mediratta
time for the browser. Fixes ticket #1278.
2010-08-08Backdate the created/updated dates for imported comments. Fixes ticket #1215.Bharat Mediratta
2010-08-08Verified.Bharat Mediratta
2010-08-08Convert tabs to spaces to fix File_Structure_Test.Bharat Mediratta
2010-08-08Verified.Bharat Mediratta
2010-08-08Add JSONP support. You must specify &output=jsonp?callback=<js_function>Bharat Mediratta
Fixes ticket #1205.
2010-08-08We can always send back the header because Kohana buffers output.Bharat Mediratta
2010-08-08Add the $max_level param to all calls to _sanitize_for_dump()Bharat Mediratta
2010-08-08Add in the missing 'error' count.Bharat Mediratta
2010-08-08Adjust the vertical placement of the "Dang" message.Bharat Mediratta
2010-08-08Handle 404 exceptions specially to reduce spam in the log files. Fixes ↵Bharat Mediratta
ticket #1228.
2010-08-08Create a registry of REST resources and call it "registry".. PrettyBharat Mediratta
simple, actually. Fixes ticket #1173.
2010-08-08Handle "1" as a default order direction in G2. Why would we ever do that? ↵Bharat Mediratta
Dunno. Fixes ticket #1276.
2010-08-08Require the size parameter. Optional params are confusing. And beBharat 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-08Add a sad face on the dang page. Just cause.Bharat Mediratta
2010-08-08Make the error page more informative, and include platform information.Bharat Mediratta
2010-08-08Allow item_rest::put() to replace the current data file. RemoveBharat Mediratta
data_rest::put() altogether; it's no longer necessary.
2010-08-08Change file modes to 644.Bharat Mediratta
2010-08-07A new REST resource that allows access to view and modify the actualBharat 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-07Add 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-07Add a max_level to _sanitize_for_dump() so that we don't blow the stack.Bharat Mediratta
2010-08-07Whitespace fix.Bharat Mediratta
2010-08-07Add 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-07Merge branch 'master' into bharat_devBharat Mediratta
2010-08-07Merge branch 'master' into bharat_devBharat Mediratta
2010-08-07Oops. Fix the upgrader path to add the weight column to the modules table.Bharat Mediratta
2010-08-06Add a "weight" column to the module table. This allows us to specifyBharat 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-06Add a "weight" column to the module table. This allows us to specifyBharat 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-06Use module::install and module::activate for the gallery module asBharat Mediratta
well; I've verified that it generates the same installer files.
2010-08-04Add docs reflecting that we may skip some items that have invalid parent_idsBharat Mediratta
2010-08-04Update 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-03Replace overlooked 'form' parameter in json response with 'html'.Tim Almdal
2010-08-01Fix the i18n error message for missing/incorrect password. Fixes ticket #1265.Bharat Mediratta