tweepy.git
9 years agoFix ReadBuffer tests to run and test the right things
Will Thompson [Tue, 6 Oct 2015 22:14:55 +0000 (23:14 +0100)]
Fix ReadBuffer tests to run and test the right things

Without 'Test' in the class name, the test did not run at all. It would
have caught #615.

StringIO.closed is not assignable under Python 3, but we can just
close() the fake stream to make it True.

Reading from response.raw gives back bytes, not unicode, so the fake
stream in the test case should do the same.

And finally, ReadBuffer itself yields unicode, not UTF-8-encoded bytes.

See https://github.com/tweepy/tweepy/pull/635 for the actual fix that
this tests.

9 years agoHandle content-type header charset value for streaming API
Zach Varberg [Fri, 24 Jul 2015 17:18:41 +0000 (12:18 -0500)]
Handle content-type header charset value for streaming API

This also fixes https://github.com/tweepy/tweepy/issues/615 by properly
decoding the python3 bytes object to a string.

9 years agoMerge pull request #619 from jrmurray000/master
Joshua Roesslein [Fri, 3 Jul 2015 23:42:26 +0000 (16:42 -0700)]
Merge pull request #619 from jrmurray000/master

Added support for the "filter_level" parameter for the streaming API

9 years agoMerge pull request #621 from evamvid/master
Joshua Roesslein [Fri, 3 Jul 2015 23:40:32 +0000 (16:40 -0700)]
Merge pull request #621 from evamvid/master

Change raise in streaming.py to raise exception

9 years agoMerge pull request #622 from Dawny33/master
Joshua Roesslein [Fri, 3 Jul 2015 23:40:03 +0000 (16:40 -0700)]
Merge pull request #622 from Dawny33/master

Do not need tweepy in the line. Showing tweepy.error.TweepError: Failed to send request: local variable 'auth' referenced before assignment  error

9 years agoMerge pull request #623 from Queatz/patch-1
Joshua Roesslein [Fri, 3 Jul 2015 23:39:24 +0000 (16:39 -0700)]
Merge pull request #623 from Queatz/patch-1

Allow include_email param

9 years agoallow include_email param
Jacob Ferrero [Thu, 18 Jun 2015 21:30:28 +0000 (14:30 -0700)]
allow include_email param

See https://dev.twitter.com/rest/reference/get/account/verify_credentials

9 years agoMerge pull request #574 from tehspaceg/patch-1
Joshua Roesslein [Sun, 14 Jun 2015 02:39:00 +0000 (19:39 -0700)]
Merge pull request #574 from tehspaceg/patch-1

Fixes issue #570 - add "exception" when raising one

9 years agoDo not need tweepy in the line.
Jalem Raj Rohit [Thu, 11 Jun 2015 11:15:01 +0000 (16:45 +0530)]
Do not need tweepy in the line.

9 years agoMerge pull request #1 from evamvid/evamvid-patch-1
Evamvid Sharma [Tue, 9 Jun 2015 21:59:13 +0000 (17:59 -0400)]
Merge pull request #1 from evamvid/evamvid-patch-1

Changed raise to raise exception

9 years agoChanged raise to raise exception
Evamvid Sharma [Tue, 9 Jun 2015 21:58:50 +0000 (17:58 -0400)]
Changed raise to raise exception

Line 286.

This prevents the "RuntimeError: No active exception to reraise" error.

http://stackoverflow.com/a/28871066

Didn't look like anyone had changed the line.

9 years agoFixed character encoding.
john [Sat, 6 Jun 2015 21:35:30 +0000 (14:35 -0700)]
Fixed character encoding.

9 years agoAdded basic support for filter_level parameter for the streaming API
john [Mon, 1 Jun 2015 02:46:30 +0000 (19:46 -0700)]
Added basic support for filter_level parameter for the streaming API

9 years agoMerge pull request #593 from rkaralkin/master
Joshua Roesslein [Fri, 29 May 2015 03:29:38 +0000 (20:29 -0700)]
Merge pull request #593 from rkaralkin/master

Typo fix on _add_list_members, _remove_list_members properties.

9 years agoMerge pull request #611 from obskyr/master
Joshua Roesslein [Fri, 29 May 2015 03:28:38 +0000 (20:28 -0700)]
Merge pull request #611 from obskyr/master

Added RateLimitError for easily working with the rate limit.

9 years agoMerge pull request #606 from 7diracseas/stream-encode-fix
Joshua Roesslein [Fri, 29 May 2015 03:24:23 +0000 (20:24 -0700)]
Merge pull request #606 from 7diracseas/stream-encode-fix

Streaming: don't decode stream bytes until json.decode

9 years agoOh, right, I'm a contributor now!
obskyr [Mon, 18 May 2015 18:29:36 +0000 (20:29 +0200)]
Oh, right, I'm a contributor now!

9 years agoAdded RateLimitError. Resolves #600.
obskyr [Mon, 18 May 2015 18:22:50 +0000 (20:22 +0200)]
Added RateLimitError. Resolves #600.

Can't believe this hasn't been in until now! Huh.

9 years agoMerge pull request #596 from kimtree/add_setting_api
Joshua Roesslein [Fri, 15 May 2015 22:39:35 +0000 (15:39 -0700)]
Merge pull request #596 from kimtree/add_setting_api

Adds API for account/settings

9 years agoMerge pull request #610 from jschnurr/patch-1
Joshua Roesslein [Fri, 15 May 2015 22:37:36 +0000 (15:37 -0700)]
Merge pull request #610 from jschnurr/patch-1

Correct spelling error in getting_started.rst

9 years agoCorrect spelling error in getting_started.rst
Jeff Schnurr [Thu, 14 May 2015 01:56:02 +0000 (21:56 -0400)]
Correct spelling error in getting_started.rst

9 years agofix: don't decode stream bytes until json.decode
Geoffrey Chan [Sun, 10 May 2015 00:53:07 +0000 (20:53 -0400)]
fix: don't decode stream bytes until json.decode

9 years agoAdds API for account/settings
Namwoo Kim [Tue, 21 Apr 2015 09:27:43 +0000 (18:27 +0900)]
Adds API for account/settings

9 years agoTypo fix on _add_list_members, _remove_list_members properties.
Ruslan Karalkin [Thu, 16 Apr 2015 13:18:38 +0000 (16:18 +0300)]
Typo fix on _add_list_members, _remove_list_members properties.

9 years agoMerge pull request #588 from lackofdream/master
Joshua Roesslein [Sat, 4 Apr 2015 16:42:32 +0000 (11:42 -0500)]
Merge pull request #588 from lackofdream/master

API.update_status() problem in example code

9 years agoMerge pull request #589 from gitter-badger/gitter-badge
Joshua Roesslein [Sat, 4 Apr 2015 16:40:09 +0000 (11:40 -0500)]
Merge pull request #589 from gitter-badger/gitter-badge

Add a Gitter chat badge to README.md

9 years agoAdded Gitter badge
The Gitter Badger [Sat, 4 Apr 2015 16:39:04 +0000 (16:39 +0000)]
Added Gitter badge

9 years agoAPI.update_status problem in example
lackofdream [Sat, 4 Apr 2015 05:32:41 +0000 (14:32 +0900)]
API.update_status problem in example

It seems that the API.update_status() function has changed however the example code hasn't.
And It causes a 400 Bad Request.

9 years agoFixes issue #570
tehspaceg [Thu, 12 Mar 2015 18:14:48 +0000 (11:14 -0700)]
Fixes issue #570

This resolves an issue found here: https://github.com/tweepy/tweepy/issues/570

If an exception is thrown in the listener, the exception is not sent out currently and results in an error.

9 years agov3.3.0
Joshua Roesslein [Sat, 21 Feb 2015 19:28:08 +0000 (11:28 -0800)]
v3.3.0

9 years agoMerge pull request #561 from michaelbrooks/stream-disconnection
Joshua Roesslein [Sat, 21 Feb 2015 19:15:34 +0000 (11:15 -0800)]
Merge pull request #561 from michaelbrooks/stream-disconnection

Prevent infinite read loop in tweepy Stream

9 years agoMerge pull request #562 from RussellTaylor83/master
Joshua Roesslein [Sat, 21 Feb 2015 19:13:20 +0000 (11:13 -0800)]
Merge pull request #562 from RussellTaylor83/master

Update api.py

9 years agoUpdate api.py
RussellTaylor83 [Sat, 21 Feb 2015 09:56:00 +0000 (09:56 +0000)]
Update api.py

Made catch statement error message more explicit for _pack_image

9 years agouse closed property, not _fp
Michael Brooks [Wed, 18 Feb 2015 22:02:53 +0000 (14:02 -0800)]
use closed property, not _fp

9 years agocheck for closed fp in stream reading
Michael Brooks [Wed, 18 Feb 2015 21:49:23 +0000 (13:49 -0800)]
check for closed fp in stream reading

9 years agoMerge pull request #557 from marionleborgne/loosen-version-requirements
Joshua Roesslein [Mon, 16 Feb 2015 21:36:03 +0000 (13:36 -0800)]
Merge pull request #557 from marionleborgne/loosen-version-requirements

Allow multiple versions to be installed

9 years agoMerge pull request #559 from pvanderlinden/streaming-improvements
Joshua Roesslein [Mon, 16 Feb 2015 21:25:22 +0000 (13:25 -0800)]
Merge pull request #559 from pvanderlinden/streaming-improvements

Streaming improvements

9 years agoMerge pull request #558 from tweepy/fix-556
Joshua Roesslein [Mon, 16 Feb 2015 21:16:52 +0000 (13:16 -0800)]
Merge pull request #558 from tweepy/fix-556

Fix bug where streams freeze up on Python 3 due to string formatting bug...

9 years agosend out keep alive
Paul van der Linden [Mon, 16 Feb 2015 20:59:20 +0000 (20:59 +0000)]
send out keep alive

9 years agofix: new session after closing should honour original headers and params
Paul van der Linden [Mon, 16 Feb 2015 20:54:46 +0000 (20:54 +0000)]
fix: new session after closing should honour original headers and params

9 years agoraise exception with original traceback
Paul van der Linden [Mon, 16 Feb 2015 20:51:56 +0000 (20:51 +0000)]
raise exception with original traceback

9 years agoRemove urlencode_noplus util method.
Joshua Roesslein [Mon, 16 Feb 2015 19:36:58 +0000 (11:36 -0800)]
Remove urlencode_noplus util method.

9 years agoFix bug where streams freeze up on Python 3 due to string formatting bug.
Joshua Roesslein [Mon, 16 Feb 2015 19:32:12 +0000 (11:32 -0800)]
Fix bug where streams freeze up on Python 3 due to string formatting bug.

Remove usage of urlencode_noplus and instead let Requests handle the encoding work for us.

Fixes #556

9 years agoAllow multiple versions to be installed
Marion Le Borgne [Wed, 11 Feb 2015 21:45:23 +0000 (13:45 -0800)]
Allow multiple versions to be installed

9 years agoMerge pull request #547 from skoczen/master
Joshua Roesslein [Wed, 28 Jan 2015 20:41:11 +0000 (12:41 -0800)]
Merge pull request #547 from skoczen/master

Fixes error message on file too big to reflect actual file size limit.

9 years agoMerge pull request #548 from dfm/patch-1
Joshua Roesslein [Wed, 28 Jan 2015 20:39:44 +0000 (12:39 -0800)]
Merge pull request #548 from dfm/patch-1

More consistent SVG badges

9 years agoEnable container travis builds.
Joshua Roesslein [Wed, 28 Jan 2015 19:20:08 +0000 (11:20 -0800)]
Enable container travis builds.

9 years agoPrepare for 3.2.0 release. Update change log and bump version.
Joshua Roesslein [Wed, 28 Jan 2015 19:10:16 +0000 (11:10 -0800)]
Prepare for 3.2.0 release. Update change log and bump version.

9 years agoConsistent docs badge
Dan Foreman-Mackey [Sun, 25 Jan 2015 16:45:05 +0000 (11:45 -0500)]
Consistent docs badge

9 years agoNicer badges
Dan Foreman-Mackey [Sun, 25 Jan 2015 16:42:12 +0000 (11:42 -0500)]
Nicer badges

9 years agoFixes missing string sub.
Steven Skoczen [Thu, 22 Jan 2015 14:39:17 +0000 (21:39 +0700)]
Fixes missing string sub.

9 years agoFixes max size error message.
Steven Skoczen [Wed, 21 Jan 2015 04:48:24 +0000 (11:48 +0700)]
Fixes max size error message.

9 years agoMerge pull request #542 from volnt/master
Aaron Hill [Thu, 15 Jan 2015 11:35:58 +0000 (06:35 -0500)]
Merge pull request #542 from volnt/master

Fix issue #541

9 years agoAdd media_ids parameter to update_status.
Florent Espanet [Thu, 15 Jan 2015 11:22:42 +0000 (12:22 +0100)]
Add media_ids parameter to update_status.

`statuses/update` now support the parameter `media_ids`. It makes it
possible to update a status with an attached media.

See also :

[doc](https://dev.twitter.com/rest/reference/post/statuses/update)

9 years agoAdd media/upload endpoint.
Florent Espanet [Thu, 15 Jan 2015 10:49:41 +0000 (11:49 +0100)]
Add media/upload endpoint.

The media/upload endpoint is located on a different server :
upload.twitter.com.

It returns a unique result model called `Media` containing the
`media_id` and the image infos.

See also :

* [doc](https://dev.twitter.com/rest/reference/post/media/upload)

9 years agoMerge pull request #535 from groceryheist/master
Aaron Hill [Wed, 31 Dec 2014 22:14:33 +0000 (17:14 -0500)]
Merge pull request #535 from groceryheist/master

Add Documentation Page for streaming

9 years agofix formatting in last code snippet.
grocerheist [Wed, 31 Dec 2014 22:00:49 +0000 (14:00 -0800)]
fix formatting in last code snippet.

9 years agorefer to streaming.py in the source code because not all features are covered in...
grocerheist [Wed, 31 Dec 2014 21:31:58 +0000 (13:31 -0800)]
refer to streaming.py in the source code because not all features are covered in this tutorial.

9 years agoAdd a Few More Pointers to streaming_how_to.rst to cover Async and error handling.
grocerheist [Wed, 31 Dec 2014 21:30:23 +0000 (13:30 -0800)]
Add a Few More Pointers to streaming_how_to.rst to cover Async and error handling.

9 years agoMerge branch 'master' of https://github.com/tweepy/tweepy
grocerheist [Wed, 31 Dec 2014 21:05:24 +0000 (13:05 -0800)]
Merge branch 'master' of https://github.com/tweepy/tweepy

9 years agoAdd streaming_how_to.rst. A high level tutorial for getting started with streaming.
grocerheist [Wed, 31 Dec 2014 20:59:26 +0000 (12:59 -0800)]
Add streaming_how_to.rst. A high level tutorial for getting started with streaming.

9 years agoMerge pull request #534 from wdahlenburg/master
Aaron Hill [Mon, 29 Dec 2014 22:18:50 +0000 (17:18 -0500)]
Merge pull request #534 from wdahlenburg/master

Updated requirements for pip 6.0+ to include a session

9 years agoUpdated requirements for pip 6.0+ to include a session
root [Mon, 29 Dec 2014 22:04:05 +0000 (16:04 -0600)]
Updated requirements for pip 6.0+ to include a session

9 years agoMerge pull request #530 from elanting/master
Aaron1011 [Thu, 18 Dec 2014 11:26:32 +0000 (06:26 -0500)]
Merge pull request #530 from elanting/master

fixed issue #529

9 years agofixed issue #529
elanting [Thu, 18 Dec 2014 06:39:34 +0000 (07:39 +0100)]
fixed issue #529

9 years agoMerge pull request #526 from skoczen/master
Aaron1011 [Sun, 14 Dec 2014 13:33:48 +0000 (08:33 -0500)]
Merge pull request #526 from skoczen/master

Fixes to docs - auth tutorial docs were busted!

9 years agoAdds to contrib
Steven Skoczen [Sun, 14 Dec 2014 11:04:09 +0000 (18:04 +0700)]
Adds to contrib

9 years agoFixes up outdated(?) docs.
Steven Skoczen [Sun, 14 Dec 2014 11:03:14 +0000 (18:03 +0700)]
Fixes up outdated(?) docs.

9 years agoMerge pull request #524 from AnSavvides/patch-1
Aaron1011 [Fri, 12 Dec 2014 01:14:37 +0000 (20:14 -0500)]
Merge pull request #524 from AnSavvides/patch-1

Update reference to api search documentation

9 years agoUpdate reference to api search documentation
Andreas Savvides [Fri, 12 Dec 2014 00:58:41 +0000 (00:58 +0000)]
Update reference to api search documentation

9 years agoFix tweepy.debug() by using six's module helpers.
Joshua Roesslein [Wed, 10 Dec 2014 02:59:49 +0000 (18:59 -0800)]
Fix tweepy.debug() by using six's module helpers.

9 years agoFixup
Aaron Hill [Wed, 10 Dec 2014 02:05:20 +0000 (21:05 -0500)]
Fixup

9 years agoMerge pull request #522 from BigxMac/master
Aaron1011 [Wed, 10 Dec 2014 02:02:52 +0000 (21:02 -0500)]
Merge pull request #522 from BigxMac/master

Fixed httplib import

9 years agoCommented Out Body of debug
BigxMac [Wed, 10 Dec 2014 02:00:16 +0000 (21:00 -0500)]
Commented Out Body of debug

9 years agoFixed httplib import
BigxMac [Wed, 10 Dec 2014 01:57:59 +0000 (20:57 -0500)]
Fixed httplib import

In Python 3 httplib should be imported and used as http.client

9 years agoAdd docs badge.
Joshua Roesslein [Mon, 1 Dec 2014 21:17:43 +0000 (15:17 -0600)]
Add docs badge.

9 years agoUpgrade trends methods documentation.
Joshua Roesslein [Mon, 1 Dec 2014 21:08:30 +0000 (15:08 -0600)]
Upgrade trends methods documentation.

9 years agoRemove deprecated trends methods.
Joshua Roesslein [Mon, 1 Dec 2014 20:54:51 +0000 (14:54 -0600)]
Remove deprecated trends methods.

9 years agoOmit site packages from the coverage reports.
Joshua Roesslein [Mon, 1 Dec 2014 20:11:42 +0000 (14:11 -0600)]
Omit site packages from the coverage reports.

9 years agoFix version to include 3 digits.
Joshua Roesslein [Mon, 1 Dec 2014 19:24:37 +0000 (13:24 -0600)]
Fix version to include 3 digits.

9 years agoRelease 3.1
Joshua Roesslein [Mon, 1 Dec 2014 19:22:18 +0000 (13:22 -0600)]
Release 3.1

9 years agoFix coveralls.
Joshua Roesslein [Mon, 1 Dec 2014 17:24:16 +0000 (11:24 -0600)]
Fix coveralls.

9 years agoEnable cursor tests in Travis builds.
Joshua Roesslein [Mon, 1 Dec 2014 17:20:29 +0000 (11:20 -0600)]
Enable cursor tests in Travis builds.

9 years agoMerge pull request #518 from yprez/fix-iterator-params
Joshua Roesslein [Mon, 1 Dec 2014 17:16:04 +0000 (11:16 -0600)]
Merge pull request #518 from yprez/fix-iterator-params

Attempt to fix cursor invocation

9 years agoSetup a nosetests config file for Travis builds.
Joshua Roesslein [Mon, 1 Dec 2014 17:14:16 +0000 (11:14 -0600)]
Setup a nosetests config file for Travis builds.

9 years agoTiddy up travis file.
Joshua Roesslein [Mon, 1 Dec 2014 16:58:18 +0000 (10:58 -0600)]
Tiddy up travis file.

9 years agoFix cursor invocation, passing args to underlying method
Yuri Prezument [Mon, 1 Dec 2014 11:06:24 +0000 (13:06 +0200)]
Fix cursor invocation, passing args to underlying method

9 years agoRegression test for #518
Yuri Prezument [Mon, 1 Dec 2014 13:53:27 +0000 (15:53 +0200)]
Regression test for #518

9 years agoUpgrade Requests to 2.4.3
Joshua Roesslein [Mon, 1 Dec 2014 03:32:05 +0000 (21:32 -0600)]
Upgrade Requests to 2.4.3

9 years agoRemove old install file.
Joshua Roesslein [Mon, 1 Dec 2014 03:14:16 +0000 (21:14 -0600)]
Remove old install file.

9 years agoRun tests for both Python 2.7 and 3.4
Joshua Roesslein [Mon, 1 Dec 2014 02:20:23 +0000 (20:20 -0600)]
Run tests for both Python 2.7 and 3.4

9 years agoDistribute Python Wheels
Joshua Roesslein [Mon, 1 Dec 2014 01:23:09 +0000 (19:23 -0600)]
Distribute Python Wheels

9 years agoMerge pull request #497 from tewalds/cert
Joshua Roesslein [Mon, 1 Dec 2014 00:23:07 +0000 (18:23 -0600)]
Merge pull request #497 from tewalds/cert

Allow specifying your own ssl certificates.

9 years agoUpdate cassette to get tests passing.
Joshua Roesslein [Sun, 30 Nov 2014 23:34:18 +0000 (17:34 -0600)]
Update cassette to get tests passing.

9 years agoRelease 3.0.0
Joshua Roesslein [Sun, 30 Nov 2014 21:11:12 +0000 (15:11 -0600)]
Release 3.0.0

9 years agoConfigure Travis to deploy releases when pushing to "release" branch.
Joshua Roesslein [Sun, 30 Nov 2014 20:58:29 +0000 (14:58 -0600)]
Configure Travis to deploy releases when pushing to "release" branch.

9 years agoCommit cassette files in hopes of fixing the travis tests.
Joshua Roesslein [Sun, 30 Nov 2014 20:45:42 +0000 (14:45 -0600)]
Commit cassette files in hopes of fixing the travis tests.

9 years agoMerge pull request #509 from judy2k/fix-examples
Aaron1011 [Sat, 29 Nov 2014 12:21:02 +0000 (07:21 -0500)]
Merge pull request #509 from judy2k/fix-examples

Updated examples to work in Python 3.

9 years agoMerge pull request #511 from yprez/fix-iterators
Aaron1011 [Wed, 19 Nov 2014 19:59:49 +0000 (14:59 -0500)]
Merge pull request #511 from yprez/fix-iterators

Fix CursorIterator.next() for Python 3

9 years agoMerge pull request #513 from 7kry/master
Aaron1011 [Wed, 19 Nov 2014 19:59:17 +0000 (14:59 -0500)]
Merge pull request #513 from 7kry/master

Modify ReadBuffer for Py3