summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-12-16Make sure we always return a children array for albums.Tim Almdal
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-06Merge branch 'master' of git@github.com:gallery/gallery3Tim Almdal
2009-12-06Add a slightly different background for input fields that have attribute ↵Tim Almdal
'readonly'
2009-12-05Use NULL instead of actual values in the vars table, so that var tweaks ↵Bharat Mediratta
result in smaller diffs.
2009-12-05Use NULL instead of actual values in the vars table, so that varBharat Mediratta
tweaks 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-02Extend the background of the status message across the entire status row.Tim Almdal
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.
2009-12-01Fix a typo that was breaking the home page (doh!)Bharat Mediratta
$this->_show() -> $this->show()
2009-11-30Clean up item routing a bit.Bharat Mediratta
1) The new default route is "albums", and Albums_Controller::index() does the right thing 2) Items_Controller redirects to the appropriate specific controller 3) All item controllers now have show() instead of _show(), so that the routing code in url::parse_url() can get to it. But that code is protected against receiving bogus requests.
2009-11-30Don't allow the extra "/?" sequence (ie: "/index.php/?kohana_uri=...") in ↵Bharat Mediratta
the generated .htaccess files.
2009-11-29Don't use PathInfo based urls to reroute access protection. FixesBharat Mediratta
ticket #922.
2009-11-29Publish theme_edit_form and theme_edit_form_completed events so that themes ↵Bharat Mediratta
can piggyback on the regular Admin > Appearance > Theme Options page.
2009-11-28Give the theme a chance to handle theme function callbacks as well.Bharat Mediratta
2009-11-28Rework the theme loading code to allow themes to be treated as GalleryBharat Mediratta
modules, and have an admin subdirectory that is treated like a Kohana module (as distinct from a Gallery module). The main advantage of creating the separate admin subdirectory is that we will not load an admin theme and a site theme at the same time. We'll only load a few specialized bits of the site theme while the admin theme is active. Concrete examples. A site theme named "xxx": - will receive events at themes/xxx/helpers/xxx_event.php - will have working controllers at themes/xxx/controllers/xxx.php If theme xxx has an admin subdir, then in admin mode it: - will receive events at themes/xxx/admin/helpers/xxx_event.php - will have working controllers at themes/xxx/admin/controllers/xxx.php
2009-11-28Expose theme::$is_adminBharat Mediratta
2009-11-27Move the theme fallback checking into theme::load_themes() so thatBharat Mediratta
we're calling it once per request.