| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2010-01-02 | Remove the Rest_Exception::trigger method. | Tim Almdal | |
| 2009-12-31 | Merge branch 'master' into talmdal_dev | Tim Almdal | |
| 2009-12-31 | A more thorough fix for #745 and #940. Stop using the referer to | Bharat Mediratta | |
| guess how to send the user back. Instead, proxy the originating item id through the edit forms so that we can tell exactly what page we were on when we began editing. If we were viewing the item, then redirect to its new url (in case it changed) to fix ticket #745. But if we were viewing some other item, then just stay on the current page to fix #940. The page_type approach didn't work because you'd have the same "collection" page_type when doing a context menu edit for an album. | |||
| 2009-12-31 | Create a Rest_Exception class and use it to convey status to the client ↵ | Tim Almdal | |
| instead of calling rest::forbidden and other rest helper error messages. | |||
| 2009-12-31 | Change the gallery_rest::_validate() method to use the form rules in ↵ | Tim Almdal | |
| Item_Model. Change the Duplicate errors to sentence case. And generally clean up the flow in _validate(). | |||
| 2009-12-30 | 1) Remove the rest::not_found method and replace it with "throw new ↵ | Tim Almdal | |
| Kohana_404_Exception 2) Don't use the input path to lookup the item via relative_path_cache. Instead use url::get_item_from_uri method. | |||
| 2009-12-30 | Rollback the refactoring of the update into a helper method. Also remove the ↵ | Tim Almdal | |
| refactoring for check for commits | |||
| 2009-12-30 | Merge branch 'master' into talmdal_dev | Tim Almdal | |
| 2009-12-29 | Another holdover from the K2.4 conversion. In R2.4 the url::current(true) ↵ | Tim Almdal | |
| was returning an empty string. This fixes ticket #955. | |||
| 2009-12-27 | Clean up validation the check for duplicate names or slugs, finish ↵ | Tim Almdal | |
| converting the rest API to Kohana 2.4 | |||
| 2009-12-26 | Forgot to commit local changes to item helper for K2.4 | Tim Almdal | |
| 2009-12-26 | Merge branch 'master' into talmdal_dev | Tim Almdal | |
| Conflicts: modules/gallery/controllers/albums.php modules/gallery/controllers/movies.php modules/gallery/controllers/photos.php | |||
| 2009-12-24 | indentation fix. | Bharat Mediratta | |
| 2009-12-24 | whitespace fix | Bharat Mediratta | |
| 2009-12-23 | When 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-23 | Updated the unit tests to match the current API | Tim Almdal | |
| Corrected a problem identified with the unit tests... failed if the path was empty on PUT. | |||
| 2009-12-22 | Fix where tuple sent to descendant_counts() -- it needs to be wrapped in an ↵ | Bharat Mediratta | |
| array | |||
| 2009-12-22 | Add merge_or_where() to MY_Datatabase_Builder and use that instead of | Bharat Mediratta | |
| or_where() for compatibility and convenience. Caught by failing unit tests. | |||
| 2009-12-22 | ORM::factory() in K24 does not allow you to specify an alternate key | Bharat Mediratta | |
| for lookup. So instead of doing: ORM::factory("foo", array("some_key" => "some_value")) you have to do: ORM::factory("foo"->where("some_key", "=" "some_value")->find() | |||
| 2009-12-22 | Update the api so it allows images to be uploaded. | Tim Almdal | |
| 2009-12-21 | Added validation to the edit functionality, since we can't trust any input | Tim Almdal | |
| 2009-12-18 | Add the parent path to the resource | Tim Almdal | |
| 2009-12-18 | Add the name field to remote interface. | Tim Almdal | |
| 2009-12-17 | In Kohana 2.4, ORM no longer does the find_all() call for us when we | Bharat Mediratta | |
| retrieve related ORMs. If we tack a find_all() on the end, it breaks the User_Definition interface so create User_Model::groups() and Groups_Model::users() as glue. | |||
| 2009-12-17 | Convert some database queries. | Bharat Mediratta | |
| 2009-12-17 | Update all database queries such that we can run "php index.php | Bharat Mediratta | |
| package" and generate the same SQL as before. | |||
| 2009-12-16 | Make sure we always return a children array for albums. | Tim Almdal | |
| 2009-12-15 | Include the thumb, resize and fullsize sizes (height & width) in the ↵ | Tim Almdal | |
| resource contents returned via the rest interface. | |||
| 2009-12-15 | Change what is used as the url to the item. | Tim Almdal | |
| 2009-12-15 | Add the resize url to returned resource. | Tim Almdal | |
| 2009-12-15 | Updates the the interface based on actually using it. | Tim Almdal | |
| 2009-12-14 | Merge branch 'master' into talmdal_dev | Tim Almdal | |
| 2009-12-13 | Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_dev | Bharat Mediratta | |
| Conflicts: modules/gallery/helpers/identity.php | |||
| 2009-12-10 | Log the entire stack trace when we catch an exception. | Bharat Mediratta | |
| 2009-12-09 | Add the REST delete processing for albums/photos/movies | Tim Almdal | |
| 2009-12-09 | Implement the RESTful interface for albums/photos/movies | Tim Almdal | |
| 2009-12-09 | Refactor 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-09 | Use 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-08 | Add the REST get handler for albums/photos/movies | Tim Almdal | |
| 2009-12-08 | Add another error handler "not found" to the rest API. | Tim Almdal | |
| Implement the get_album rest request handler. | |||
| 2009-12-06 | Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_dev | Bharat Mediratta | |
| 2009-12-06 | Update database queries. | Bharat Mediratta | |
| 2009-12-06 | Remove the hidden form variable _method which was used in the no longer rest ↵ | Tim Almdal | |
| controllers. | |||
| 2009-12-06 | Further simplifications to viewable(). Stop trying to optimize for | Bharat Mediratta | |
| the case where we just have one restriction, it's unnecessary. | |||
| 2009-12-06 | Get rid of unused _method param in the item edit form. | Bharat Mediratta | |
| Fix viewable() to properly OR view restrictions together. | |||
| 2009-12-06 | Update more database calls. | Bharat Mediratta | |
| 2009-12-06 | Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_dev | Bharat Mediratta | |
| 2009-12-05 | Update the gallery module to version 21 in the installer. | Bharat Mediratta | |
| 2009-12-05 | Fix whitespace. | Bharat Mediratta | |
| 2009-12-05 | Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_dev | Bharat Mediratta | |
