sneakypete81
29b15bf47c
Merge pull request #28 from sneakypete81/apiv2_tags
...
Changes due to photo/frontend tag bugfix
2013-04-28 07:33:20 -07:00
sneakypete81
6d5fe4433c
Merge branch 'master' into apiv2_tags
...
Conflicts:
openphoto/objects.py
tests/test_tags.py
2013-04-28 15:29:33 +01:00
sneakypete81
5641ce103a
Merge pull request #27 from sneakypete81/apiv2_frontend_bugfixes
...
Changes due to photo/frontend album bugfix
2013-04-28 06:59:02 -07:00
sneakypete81
5f3c2dc990
Merge pull request #16 from sneakypete81/transform
...
Adding support for the transform operation
2013-04-28 06:22:36 -07:00
Pete
2ddcc6978e
Comment whitespace
2013-04-21 16:25:01 +01:00
Pete
735daab58e
Revert 35a271c25b
, since this has been applied on the http_improvements branch
2013-04-21 16:23:25 +01:00
Pete
35a271c25b
Improve POST logging - don't log file contents.
2013-04-20 20:36:29 +01:00
Pete
8690e927fc
Merge branch 'minor_fixes' of github.com:sneakypete81/openphoto-python into minor_fixes
2013-04-20 20:07:09 +01:00
Pete
35d091d2a1
Check the HTTP response code if the OpenPhoto JSON cannot be decoded.
2013-04-20 20:02:43 +01:00
Pete
44146b001d
Improve http logging, and don't log multipart upload contents
2013-04-20 19:06:55 +01:00
Pete
e4e24755dd
Check that upload parameters are processed correctly
2013-04-20 18:53:14 +01:00
Pete
7fad16d686
Use the OAuth2 client for multipart POSTing - no need for urllib2
2013-04-20 18:52:42 +01:00
sneakypete81
32ebfc511b
Update README with API versioning documentation
2013-04-20 13:45:24 +02:00
sneakypete81
7501c8ca77
next/previous fields are lists in APIv2, but single photo ids in APIv1.
2013-04-20 12:12:40 +01:00
sneakypete81
fc234096f2
Handle case where tag count is returned as string (as was the case in APIv1)
2013-04-20 12:06:35 +01:00
sneakypete81
9cbbd1bd47
Run all tests at all API versions
2013-04-20 11:48:58 +01:00
sneakypete81
a477dc796c
Remove unneeded LOG_FILENAME variable
2013-04-20 11:20:22 +01:00
sneakypete81
afde3b2231
Add API versioning support, including tests
2013-04-15 21:32:54 +01:00
sneakypete81
e6095ec3db
Update README to stop nosetests from capturing the logging, since it gets pretty large.
...
Logs are saved to tests.log.
2013-04-15 21:30:06 +01:00
sneakypete81
ea904e4337
Not that frontend issue 955 is resolved, we should use the return value of the transform API to replace the photo object's fields
2013-04-13 13:11:26 +01:00
sneakypete81
ee3840de9f
Merge branch 'master' into transform
2013-04-13 13:05:14 +01:00
sneakypete81
677a7cf3bd
Merge pull request #26 from sneakypete81/delete_returns_true
...
Update delete endpoints to return True if successful.
2013-04-13 04:56:03 -07:00
Pete
e09f166743
Update delete endpoints to return True if successful.
...
If the operation isn't successful, the API returns an error code,
which raises an OpenPhotoError exception.
2013-04-09 18:18:12 +01:00
Pete
9333ad100e
Fixed helpful test error message
2013-04-09 17:43:00 +01:00
sneakypete81
fcf43377dd
Merge remote-tracking branch 'upstream/master' into apiv2_frontend_bugfixes
...
ecially if it merges an updated upstream into a topic branch.
2013-04-02 21:31:48 +01:00
sneakypete81
c6c81b9b50
Merge branch 'master' into apiv2_tags
2013-04-02 21:30:59 +01:00
sneakypete81
6a4be812ed
Merge branch 'master' into dotfiles
...
Conflicts:
README.markdown
2013-04-02 21:26:32 +01:00
sneakypete81
306c8430ba
Merge pull request #21 from sneakypete81/logging
...
Logging support
2013-04-02 13:12:00 -07:00
sneakypete81
95b58a0e3a
Merge branch 'master' into logging
...
Conflicts:
openphoto/openphoto_http.py
2013-04-02 21:10:42 +01:00
sneakypete81
816887ff06
Merge pull request #19 from sneakypete81/multipart
...
Multipart Form Upload Support
2013-04-02 13:05:08 -07:00
sneakypete81
665383a6c2
Merge branch 'master' into multipart
...
Conflicts:
tests/test_base.py
2013-04-02 20:59:26 +01:00
sneakypete81
82f7fec4c6
Merge pull request #17 from sneakypete81/minor_fixes
...
Minor fixes:
* Fix incorrect filename in comment
* Add EXIF date/time to test images, so the next/previous links work correctly
2013-04-02 12:44:58 -07:00
sneakypete81
7b372d6631
Merge pull request #18 from sneakypete81/apiv2
...
Updates to support API v2
2013-04-02 12:37:53 -07:00
sneakypete81
da8fbb52cf
Updated to use Python logging module
2013-03-24 17:18:43 +00:00
sneakypete81
3c6b448460
Tag test updates.
...
Can't find a way of testing tag.update, since there are no updatable tag fields.
Tags with slashes work
Tags with double slashes don't, but at least they're no longer undeletable.
2013-03-24 12:18:32 +00:00
sneakypete81
ac5d5895a1
Ensure tag endpoints are correctly escaped
2013-03-24 12:18:32 +00:00
sneakypete81
b56e690d33
Frontend issue 927 is now fixed, so the tag.create endpoint can be used.
...
The tag.create endpoint doesn't return the newly created tag - it is invisible, since it has no photos.
2013-03-24 12:18:32 +00:00
sneakypete81
1ce5192d70
Fixed typo
2013-03-23 16:48:05 +00:00
sneakypete81
2abf46c0e6
Prettier printout when running tests
2013-03-23 16:46:47 +00:00
sneakypete81
07745f1496
Frontend issue 937 is now resolved - album.update now returns the updated album
2013-03-23 16:45:24 +00:00
sneakypete81
3f5c0cca49
Add file upload support to the commandline, using the same technique as openphoto-php
2013-03-17 18:14:54 +00:00
sneakypete81
b8f893089a
Expand "~" to home path
2013-03-17 18:11:08 +00:00
sneakypete81
d94c7fd8cd
Update tests to use multipart upload
2013-03-17 16:00:19 +00:00
sneakypete81
e8ccfa8233
Add support for OAuth-signed parameters when using multipart POST
2013-03-17 15:35:28 +00:00
sneakypete81
5858043d44
Add multipart form support. Does not yet handle additional post parameters correctly.
2013-03-17 15:08:09 +00:00
Pete
4ecbf4ccd3
Fix for when no logfile is specified
2013-03-16 09:01:39 +00:00
Pete
5a423ca7a2
Ignore test logs
2013-03-16 09:01:29 +00:00
Pete
e9df18ebbb
Log all API calls/responses during unit tests
2013-03-16 09:01:21 +00:00
Pete
8d628b423a
Add option to log all API calls/responses
2013-03-16 09:01:10 +00:00
sneakypete81
29b4c65b9a
Update comment
2013-03-16 08:53:29 +00:00