Commit Graph

16 Commits

Author SHA1 Message Date
Tim Almdal
d0dd6650be When normalizing the rest request don't assume that the additional arguments are acutall a path. Leave it up to the handler to determine. 2009-12-23 13:13:03 -08:00
Tim Almdal
d622d1aa4f Updated the unit tests to match the current API
Corrected a problem identified with the unit tests... failed if the path was empty on PUT.
2009-12-23 09:32:32 -08:00
Tim Almdal
cbe5a89a9f Update the api so it allows images to be uploaded. 2009-12-22 12:32:27 -08:00
Tim Almdal
fd7990735c Added validation to the edit functionality, since we can't trust any input 2009-12-21 11:25:11 -08:00
Tim Almdal
c804279647 Add the parent path to the resource 2009-12-18 12:58:23 -08:00
Tim Almdal
eb55a3c977 Add the name field to remote interface. 2009-12-18 12:21:10 -08:00
Tim Almdal
61c1a8bfbe Make sure we always return a children array for albums. 2009-12-16 10:14:31 -08:00
Tim Almdal
96968b4181 Include the thumb, resize and fullsize sizes (height & width) in the resource contents returned via the rest interface. 2009-12-15 21:04:19 -08:00
Tim Almdal
95e812067e Change what is used as the url to the item. 2009-12-15 20:42:01 -08:00
Tim Almdal
7f5d5b0470 Add the resize url to returned resource. 2009-12-15 12:24:22 -08:00
Tim Almdal
22e813d0be Updates the the interface based on actually using it. 2009-12-15 10:57:10 -08:00
Tim Almdal
d521faf63d Add the REST delete processing for albums/photos/movies 2009-12-09 16:04:08 -08:00
Tim Almdal
dfc556e8a6 Implement the RESTful interface for albums/photos/movies 2009-12-09 12:06:45 -08:00
Tim Almdal
367f2218f6 Use the relative url cache to look up resources instead of the relative 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-09 08:41:38 -08:00
Tim Almdal
3c30d595ae Add the REST get handler for albums/photos/movies 2009-12-08 23:28:50 -08:00
Tim Almdal
6fd04069ae Add another error handler "not found" to the rest API.
Implement the get_album rest request handler.
2009-12-08 12:50:13 -08:00