Edward Hades
4fb410fdeb
wrap requests exceptions in TwythonError class
2013-06-25 20:19:33 +02:00
Mike Helmick
b7f7d1e63d
Merge pull request #227 from ryanmcgrath/stream-client-args
...
client_args to modify the request
2013-06-25 08:59:05 -07:00
Mike Helmick
26ef7b47bf
client_args to modify the request
2013-06-21 18:39:45 -04:00
Mike Helmick
e4098156f4
Merge pull request #225 from extesy/master
...
Refactor message handling in TwythonStreamer
2013-06-21 07:37:48 -07:00
Oleg Anashkin
50cee5ede8
Combine two ifs into a single line
2013-06-19 17:43:45 -07:00
Oleg Anashkin
009779dda0
Refactor message handling to be more flexible
...
New parameter `handlers` has a list of message types for which
corresponding handlers should be called. For example, for message types
['delete', 'limit', 'disconnect'] the handlers on_delete, on_limit,
on_disconnect will be invoked if the streamed message has the
corresponding attribute. If the handler returns True then more handlers
might be invoked, otherwise message processing stops. Before all
handlers are called, special on_success handler is invoked with the same
logic: continue message handling if True is returned.
This approach maintains backwards compatibility by not breaking any
existing behaviors.
2013-06-19 13:15:52 -07:00
Mike Helmick
8eceeba317
Update MANIFEST.in
...
[ci skip]
2013-06-17 15:09:46 -03:00
Mike Helmick
ef52bf4119
Update OAuth 2 doc link
...
[ci skip]
2013-06-17 15:08:50 -03:00
Mike Helmick
f76f598142
Merge pull request #210 from ryanmcgrath/3.0.0
...
3.0.0
2013-06-17 10:51:49 -07:00
Mike Helmick
4d86aa670d
Fixing stuff for 3.0.0 release
...
Releasing June 18th!
[ci skip]
2013-06-17 13:51:36 -04:00
Mike Helmick
98469c2968
Merge pull request #220 from Rolinh/fix/example/search
...
search example update: twitter API v1.1 has replaced "rpp" by "count"
2013-06-17 09:28:42 -07:00
Robin Hahling
7c0739d941
twitter API v1.1 as replaced "rpp" by "count" thus update the search example
2013-06-16 13:34:19 +02:00
Mike Helmick
2af2fc00de
Support for Desktop/Mobile apps, remove README.md, helpers in docs for people with non-web apps
...
Removed README.md, rST can highlight syntax too I found out! :)
2013-06-13 16:47:43 -04:00
Mike Helmick
756eb9060e
Update docs, add functionality to get_lastfunction_header per @devdave
2013-06-13 13:31:32 -04:00
Mike Helmick
9f864a341c
Updating docs
...
[ci skip]
2013-06-13 11:05:18 -04:00
Mike Helmick
eac37536e7
Update AUTHORS.rst
...
[ci skip]
2013-06-13 11:36:28 -03:00
Mike Helmick
8a1b55e343
Fix copy
...
[ci skip]
2013-06-12 16:55:05 -04:00
Mike Helmick
b484cef7ad
Update READMEs
...
[ci skip]
2013-06-12 16:54:13 -04:00
Mike Helmick
57f67b96d3
Fix typo, add edited image example
...
[ci skip]
2013-06-12 16:54:04 -04:00
Mike Helmick
7cab9d5dd1
Attempting to exclude lines that we can't necessarily hit in tests, added a test, fixed function name
...
update_profile_background_image has been in endpoints.py twice for a
bit, my bad.
Using update_profile_banner_image for the function name to update
profile banner image (that's what it was called previously)
2013-06-12 10:54:28 -04:00
Mike Helmick
672c8db77e
Remove sphinx themes from requirements, remove Import error
...
We don't support Python 2.5 and after 2.6 parse_qsl is available in
urlparse
[ci skip]
2013-06-11 19:11:52 -04:00
Mike Helmick
693b8163b2
Attempting to omit advisory.py from coverage
2013-06-11 18:57:10 -04:00
Mike Helmick
478c139af2
Coverage, tests, secure ACCESS_TOKEN, update HISTORY
2013-06-11 17:12:34 -04:00
Mike Helmick
9813a4c8f5
Move test dir to beginning
2013-06-11 15:12:58 -04:00
Mike Helmick
2f5f496ead
More test coverage
2013-06-11 15:00:39 -04:00
Mike Helmick
6ce39f9921
Moving tests to their own folder
2013-06-11 14:41:46 -04:00
Mike Helmick
53b930b75f
Update requests requirement, update READMEs, new secure variables, attempting better coverage reports
...
Secure variables were exposed. Had to make new ones.
2013-06-11 14:03:26 -04:00
Mike Helmick
b9b7199cc6
Update requirements
...
nose-cov==1.6
really hope this works >__>
2013-06-11 13:24:11 -04:00
Mike Helmick
8c41a3e9da
Ugh, still trying to figure this coveralls thing out.
2013-06-11 12:52:22 -04:00
Mike Helmick
ae9b9e2cfc
And switch coveralls pkg. :(
2013-06-11 11:53:49 -04:00
Mike Helmick
ea178df702
Trying to get coveralls and nose working.
...
Programming is hard
2013-06-11 11:44:31 -04:00
Mike Helmick
f74596c40b
Not sure we really need to run tests twice
2013-06-11 11:06:00 -04:00
Mike Helmick
80c428992b
Empty dict if client_args is None
...
I should run local tests before I commit :/
2013-06-11 10:48:46 -04:00
Mike Helmick
d0191895d5
Copy of client args, and restrict travis to only master (still build for PR though)
...
I'm dumb.
2013-06-11 10:18:25 -04:00
Mike Helmick
1dfa11dd27
Update tests to pass client_args rather than headers
2013-06-10 17:47:58 -04:00
Mike Helmick
25cfd0909c
Update docs to give examples for manipulating requests args
2013-06-10 17:42:26 -04:00
Mike Helmick
a0aae4687d
Introduce client_args
...
client_args allow for users to manipulate the request without our init
being cluttered up with keyword args
[ci skip]
2013-06-10 16:35:52 -04:00
Mike Helmick
20651290f9
Wearing the coveralls 8), Updating READMEs
...
[ci skip]
2013-06-08 17:14:54 -04:00
Mike Helmick
d86f2b0e00
Attempting coveralls again.
2013-06-08 17:06:14 -04:00
Mike Helmick
6574342b0f
… try this coveralls thing.
2013-06-08 16:52:36 -04:00
Mike Helmick
f6040fe275
Fixing code (errors from tests), update HISTORY
...
[ci skip]
2013-06-08 16:52:15 -04:00
Mike Helmick
4debef7d84
Custom sidebar
...
[ci skip]
2013-06-08 16:02:41 -04:00
Mike Helmick
dd61841481
Fork Me badge, more docs
...
[ci skip]
2013-06-07 20:54:52 -04:00
Mike Helmick
124dc1b969
File coding, file description ALL THE THINGS
...
[ci skip]
2013-06-07 20:54:23 -04:00
Mike Helmick
44fb5b4a6e
Attempting to make docs clear and understandable
...
[ci skip]
2013-06-07 20:13:38 -04:00
Mike Helmick
8559a1f1ce
OAuth 2 support :)
...
[ci skip]
2013-06-07 20:12:52 -04:00
Mike Helmick
06922b7ca6
Activate that sexy theme ;P
...
[ci skip]
2013-06-07 15:31:56 -04:00
Mike Helmick
4958e02f33
Adding sexy doc theme ;)
...
[ci skip]
2013-06-07 15:31:07 -04:00
Mike Helmick
31efb0c7cf
Fix verify_credentials definition name
...
[ci skip]
2013-06-07 15:27:10 -04:00
Mike Helmick
e0363dba52
Making the docs pretty (I think?)
...
[ci skip]
2013-06-06 21:12:14 -04:00