Commit graph

17 commits

Author SHA1 Message Date
sneakypete81
ebaf3bc036 Remove photo dynamic_url, since this is marked as "internal" in the frontend code 2013-09-15 11:28:40 +01:00
sneakypete81
3a13d13c42 Added photo next_previous option argument.
Moved options_string slash to the start of the string.
2013-09-15 08:50:26 +01:00
sneakypete81
aeb06c0d8b Added photo view options parameter
Renamed "filter" parameters to "option"
2013-09-15 08:25:51 +01:00
sneakypete81
35b9a4d044 Add upload/replace from URL. 2013-09-12 18:26:51 +01:00
sneakypete81
f1a9018918 Remove unused imports 2013-09-12 17:54:42 +01:00
sneakypete81
c635c7c0c0 Add photo replace endpoints 2013-09-12 17:53:16 +01:00
sneakypete81
3da64a59cc Add photo.delete_source endpoint 2013-09-11 18:15:55 +01:00
sneakypete81
bf437ffc7e Don't explicitly raise a TroveboxError if False is returned,
rely on frontend to issue an error code.

This also means we don't need to test for this in unit tests.
2013-09-11 17:47:09 +01:00
sneakypete81
6b3f010920 Added photos/share endpoint (currently not implemented in frontend) 2013-09-11 17:27:21 +01:00
sneakypete81
e904a629f9 Add photo list filters 2013-09-10 18:22:31 +01:00
sneakypete81
86ba0914c8 Refactor the smarts into the api classes.
The object classes are now simple wrappers.
Improve parameter testing, by passing foo="bar" where possible.
2013-09-10 17:45:53 +01:00
sneakypete81
a4add97f59 Remove all endpoints that return forms. 2013-09-07 11:30:27 +01:00
sneakypete81
7afb709531 Update docstrings 2013-09-07 10:49:14 +01:00
sneakypete81
0f6cbd58e0 Create API base class 2013-09-02 22:00:15 +01:00
Pete
138f47add3 Use result_to_list for all list endpoints, to ensure empty lists are handled correctly 2013-08-26 11:57:02 -07:00
Pete
06362721f0 Comment fixes: "an Trovebox" -> "a Trovebox" 2013-08-19 14:10:15 +01:00
Pete
fd5389e0d7 Moved trovebox.api and trovebox.objects into packages 2013-08-19 14:05:01 +01:00
Renamed from trovebox/api_photo.py (Browse further)