Commit graph

338 commits

Author SHA1 Message Date
sneakypete81
b7fe17656b Perform user expansion when uploading files from the CLI.
Don't ignore missing files - allow an exception to be raised.
Add extra CLI file upload unit tests.
2013-12-07 17:05:28 +00:00
sneakypete81
4deceb6e8e Add coveralls badge to README.rst 2013-11-23 14:11:52 +00:00
sneakypete81
f75f25001d Merge branch 'release-0.6' 2013-11-23 13:23:40 +00:00
sneakypete81
9769fa0490 Delete accidentally committed files 2013-11-03 14:21:04 +00:00
sneakypete81
f6ab83a470 Fix CHANGELOG 2013-11-03 14:12:05 +00:00
sneakypete81
e2d5958b50 Updated Pylint disable patchfile 2013-11-03 14:07:17 +00:00
sneakypete81
5df4b293fb Updated CHANGELOG for v0.6 2013-11-03 13:20:43 +00:00
sneakypete81
4e616e4678 Version bump to 0.6 2013-11-03 13:12:47 +00:00
sneakypete81
aff7483010 Merge branch 'sneakypete81-even_more_endpoints_fixed' into development 2013-11-03 13:02:26 +00:00
sneakypete81
d35aac58b4 Merge branch 'even_more_endpoints_fixed' of git://github.com/sneakypete81/openphoto-python into sneakypete81-even_more_endpoints_fixed 2013-11-03 13:00:21 +00:00
sneakypete81
ea1fcc8d0f Merge pull request #63 from sneakypete81/pylint-patcher
Pylint patcher
2013-11-03 04:48:40 -08:00
sneakypete81
17169b02d8 Merge pull request #64 from sneakypete81/next_previous_test_fix
Update test_next_previous to use "dateTaken,asc" sorting
2013-11-03 04:48:02 -08:00
sneakypete81
8f488365c9 Add system.version functional test 2013-11-03 12:40:33 +00:00
sneakypete81
c4f152fcc9 Don't delete/update TroveboxObject attributes that start with an underscore 2013-11-03 12:40:24 +00:00
sneakypete81
1ba21353f9 Don't raise an exception if an object's attribute starts with an underscore,
just ignore it.
2013-11-03 12:39:53 +00:00
sneakypete81
be7463518b Update httpretty to 0.6.5
(but no further due to https://github.com/gabrielfalcao/HTTPretty/issues/114)
2013-11-03 12:38:48 +00:00
sneakypete81
09203ff2b8 Added system endpoints 2013-11-03 12:37:31 +00:00
sneakypete81
3a6305b453 Update test_next_previous to use "dateTaken,asc" sorting 2013-10-30 19:33:45 +00:00
sneakypete81
096389bdfc Merge branch 'master' into development 2013-10-29 20:48:51 +00:00
sneakypete81
860845a8b1 Version bump to 0.5.1 2013-10-29 20:42:46 +00:00
sneakypete81
49ddc23db7 Merge pull request #61 from sneakypete81/ignore_illegal_attributes
Don't set/replace/delete TroveboxObject attributes that start with an underscore
2013-10-29 02:39:59 -07:00
sneakypete81
7102732b70 Merge pull request #60 from sneakypete81/httpretty_version_freeze
Update httpretty to 0.6.5
2013-10-29 02:39:10 -07:00
sneakypete81
cfa2f40e7e Don't set/replace/delete TroveboxObject attributes that start with an underscore.
Just ignore them, don't raise an exception
2013-10-29 09:31:38 +00:00
sneakypete81
99d0a8066b Update httpretty to 0.6.5
(but no further due to https://github.com/gabrielfalcao/HTTPretty/issues/114)
2013-10-29 09:18:21 +00:00
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
9507abdd08 Add options parameter to photo object view method 2013-09-15 08:27:46 +01:00
sneakypete81
aeb06c0d8b Added photo view options parameter
Renamed "filter" parameters to "option"
2013-09-15 08:25:51 +01:00
sneakypete81
42b04b0c89 No need to trap AttributeError, since cover will always exist 2013-09-14 12:19:43 +01:00
sneakypete81
8c96b22b44 No coverage required for response logging truncation 2013-09-14 12:19:08 +01:00
sneakypete81
5ccc03a835 Add testcases for updating with empty attributes 2013-09-14 12:18:38 +01:00
sneakypete81
8a4a806f8d Fixed typo in test definition 2013-09-14 12:00:28 +01:00
sneakypete81
3b855794e7 Add pylintrc to supress "locally-disabled" messages 2013-09-14 11:53:44 +01:00
sneakypete81
00efc91ef9 Use pathOriginal for upload/delete tests.
Hosted site returns 403 not 404 for a missing source photo.
2013-09-14 11:53:11 +01:00
sneakypete81
379f332932 Remove APIv1 test server from functional tests.
There are too many exceptions required, and this is now very old.
2013-09-14 11:52:17 +01:00
sneakypete81
9721fb28bc Use requests to download photos, to prevent URL problems during API version testing 2013-09-12 19:56:54 +01:00
sneakypete81
25f8a2cefd Introduce a small delay between functional tests, to allow CTRL-C abort 2013-09-12 19:56:12 +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
dc03fd2dfc Truncate response logging to 1000 characters 2013-09-11 18:08:06 +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
76f27a7dbb Try to put the test environment back the way we found it,
to save teardown/setup time.
2013-09-10 18:04:49 +01:00
sneakypete81
d2e621935a Skip newer album tests with APIv1 2013-09-10 17:52:56 +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
7a7b43afc7 Renamed <object>._trovebox to <object>._client, to match API classes.
Changed _type to a class attribute.
2013-09-09 18:08:11 +01:00
sneakypete81
3cfc090dd0 Pylint fixes 2013-09-08 17:27:58 +01:00