summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2009-12-23When normalizing the rest request don't assume that the additional arguments ↵Tim Almdal
are acutall a path. Leave it up to the handler to determine.
2009-12-23Updated the unit tests to match the current APITim Almdal
Corrected a problem identified with the unit tests... failed if the path was empty on PUT.
2009-12-22Add a restful get random image blockTim Almdal
2009-12-22Update the api so it allows images to be uploaded.Tim Almdal
2009-12-21Added validation to the edit functionality, since we can't trust any inputTim Almdal
2009-12-18Merge branch 'master' into talmdal_devTim Almdal
2009-12-18Change how request input is processed.First the input is no longer json ↵Tim Almdal
encode, All the get variables are loaded, then the post variables if the request is a post, and then the path is extracted from the uri.
2009-12-18Use url::base() instead of item::root()->url because we can't be sureBharat Mediratta
that will work (if your database is sitll at Beta 1, you don't have the slug column, for example).
2009-12-18Add the parent path to the resourceTim Almdal
2009-12-18Add the name field to remote interface.Tim Almdal
2009-12-16Merge branch 'master' into talmdal_devTim Almdal
2009-12-16Adjust for the fact that movies have JPG thumbnails. Fixes ticketBharat Mediratta
2009-12-16Make sure we always return a children array for albums.Tim Almdal
2009-12-16Show the right edit form for movies.Bharat Mediratta
2009-12-15Include the thumb, resize and fullsize sizes (height & width) in the ↵Tim Almdal
resource contents returned via the rest interface.
2009-12-15Change what is used as the url to the item.Tim Almdal
2009-12-15Add the resize url to returned resource.Tim Almdal
2009-12-15Updates the the interface based on actually using it.Tim Almdal
2009-12-14Merge branch 'master' into talmdal_devTim Almdal
2009-12-10Log the entire stack trace when we catch an exception.Bharat Mediratta
2009-12-09Add the REST delete processing for albums/photos/moviesTim Almdal
2009-12-09Implement the RESTful interface for albums/photos/moviesTim Almdal
2009-12-09Refactor the code to check for name or slug conflicts and to update code out ↵Tim Almdal
of {Albums|Photos|Movies)_Controller and into the item helper so we can reuse it from the rest put handler.
2009-12-09Use the relative url cache to look up resources instead of the relative ↵Tim Almdal
path. This allows us to forego the extension as part of the REST url. As well, urls are consistent between normal usage and rest usage.
2009-12-08Add the REST get handler for albums/photos/moviesTim Almdal
2009-12-08Correct the error message when the item is not found; remove the check for ↵Tim Almdal
no request_key (access_token) as athat is treated as public permissions
2009-12-08Change the url mapping so that path to the is part of the urlTim Almdal
The request key is put in the X-Gallery-Request-Key header The HTTP method can be override by using the X-Gallery-Request-Method header Normalize the request data so that it doesn't matter where it comes from (HTTP get or HTTP post request)
2009-12-08Add another error handler "not found" to the rest API.Tim Almdal
Implement the get_album rest request handler.
2009-12-08Rename the backing table from rest_keys to user_access_tokensTim Almdal
Implement an api to format the errors and success messages Removed the custom routing... urls are now /rest/<module_name>/<resource>
2009-12-07Delete Form_Label.php which was accidently committed.Tim Almdal
2009-12-07The rest framework that the new gallery3 remote interface will be built on. ↵Tim Almdal
At the moment, there are no handlers to perform any functionality.
2009-12-06Merge branch 'master' into talmdal_devTim Almdal
2009-12-06Remove the hidden form variable _method which was used in the no longer rest ↵Tim Almdal
controllers.
2009-12-06Merge branch 'master' into talmdal_devTim Almdal
2009-12-05Use NULL instead of actual values in the vars table, so that var tweaks ↵Bharat Mediratta
result in smaller diffs.
2009-12-05Update the gallery module to version 21 in the installer.Bharat Mediratta
2009-12-05Fix whitespace.Bharat Mediratta
2009-12-05Merge branch 'master' into talmdal_devTim Almdal
2009-12-05Merge branch 'master' of git@github.com:gallery/gallery3Tim Almdal
2009-12-05Revert "Correct inconsistent capitalization on "Server Add""Tim Almdal
This reverts commit f4810345b48d321460d32481e5665ea4602c9207. Bharat is a correct as in that "Server Add" is a proper name and should be exempt from the capitalization rules.
2009-12-05Merge branch 'master' of git@github.com:gallery/gallery3Bharat Mediratta
2009-12-05Change the default image to be the full size so that the slideshow shows the ↵Bharat Mediratta
big one.
2009-12-05Correct inconsistent capitalization on "Server Add"Tim Almdal
2009-12-04Make the rendering of the Theme Options page consistent between the first ↵Tim Almdal
request and any errors
2009-12-04Merge branch 'master' into talmdal_devTim Almdal
2009-12-04Reload relevant models after acquiring a lock so that we don't makeBharat Mediratta
database calls based on obsolete data, which can lead to data corruption. Fixes ticket #926.
2009-12-02Rename the "upload_limit" variable to "simultaneous_upload_limit" forBharat Mediratta
clarity, since it only limits concurrency not the number of actual uploads. Move the default-setting code into the upgrader so that we avoid creating the variable as a side-effect of the view (personal preference to avoid side-effect code since it's led to problems in the past).
2009-12-02Allow users to override the number of simulatenous uploads. This setting ↵Tim Almdal
won't appear until after they have attempted to upload at least once and have issues.
2009-12-01Beter fix for #925.Bharat Mediratta
2009-12-01Use the real mime type for movies when we're requesting the full movieBharat Mediratta
instead of a thumbnail. Fixes ticket #925, thanks to lsowen.