tweepy.git
10 years agoAdd API.cached_result.
Joshua Roesslein [Sun, 22 Dec 2013 01:42:09 +0000 (17:42 -0800)]
Add API.cached_result.

This will be True if the last result was cached.
Otherwise this will be False if the result was freshly
requested from the Twitter API servers.

10 years agoOnly use master branch for build status
Aaron Hill [Sat, 21 Dec 2013 21:11:05 +0000 (16:11 -0500)]
Only use master branch for build status

10 years agoMerge pull request #374 from selentium/master
Aaron Hill [Sat, 21 Dec 2013 21:06:48 +0000 (13:06 -0800)]
Merge pull request #374 from selentium/master

Added count parameter to search API method

10 years agoAdded count parameter to search API method
Vladimir [Sat, 21 Dec 2013 20:12:49 +0000 (01:12 +0500)]
Added count parameter to search API method

10 years agoMerge branch 'backoff' of https://github.com/tewalds/tweepy into tewalds-backoff
Aaron Hill [Sat, 21 Dec 2013 01:56:24 +0000 (20:56 -0500)]
Merge branch 'backoff' of https://github.com/tewalds/tweepy into tewalds-backoff

Conflicts:
test_requirements.txt
tweepy/streaming.py

10 years agoMerge pull request #354 from lysol/master
Aaron Hill [Sat, 21 Dec 2013 01:34:26 +0000 (17:34 -0800)]
Merge pull request #354 from lysol/master

Add unicode type detection for consumer key/secret

10 years agoMerge pull request #363 from iamedd/master
Aaron Hill [Sat, 21 Dec 2013 01:27:21 +0000 (17:27 -0800)]
Merge pull request #363 from iamedd/master

Added new param (include_rts) to list_timeline

10 years agoMake Python 2.6 an allowed failure on Travis CI
Aaron Hill [Fri, 20 Dec 2013 01:39:35 +0000 (20:39 -0500)]
Make Python 2.6 an allowed failure on Travis CI

Until httreplay supports Python 2.6, or I find another library that
does, pull request testing won't work with Python 2.6.

10 years agoMerge pull request #372 from Aaron1011/unittest2
Aaron Hill [Wed, 18 Dec 2013 20:55:30 +0000 (12:55 -0800)]
Merge pull request #372 from Aaron1011/unittest2

Use unittest2 for Python 2.6 compatibility

10 years agoUse unittest2 for Python 2.6 compatibility
Aaron Hill [Wed, 18 Dec 2013 20:44:06 +0000 (15:44 -0500)]
Use unittest2 for Python 2.6 compatibility

10 years agoUpdate year in LICENSE
Aaron Hill [Wed, 18 Dec 2013 20:22:40 +0000 (15:22 -0500)]
Update year in LICENSE

10 years agoMerge pull request #366 from semnil/master
Aaron Hill [Wed, 18 Dec 2013 20:16:04 +0000 (12:16 -0800)]
Merge pull request #366 from semnil/master

Add some callback methods.

10 years agoMerge pull request #326 from Aaron1011/python_6
Aaron Hill [Wed, 18 Dec 2013 19:53:33 +0000 (11:53 -0800)]
Merge pull request #326 from Aaron1011/python_6

Added Python 2.6 to .travis.yml

10 years agoAdd Python 2.6 to .travis.yml
Aaron Hill [Wed, 18 Dec 2013 19:52:52 +0000 (14:52 -0500)]
Add Python 2.6 to .travis.yml

10 years agoMerge pull request #352 from Aaron1011/contribute
Aaron Hill [Wed, 18 Dec 2013 19:49:07 +0000 (11:49 -0800)]
Merge pull request #352 from Aaron1011/contribute

Added Aaron Hill to CONTRIBUTORS

10 years agoAdded Aaron Hill to CONTRIBUTORS
Aaron Hill [Sat, 24 Aug 2013 21:22:26 +0000 (17:22 -0400)]
Added Aaron Hill to CONTRIBUTORS

10 years agoMerge pull request #369 from govind-menon/master
Joshua Roesslein [Tue, 3 Dec 2013 05:51:39 +0000 (21:51 -0800)]
Merge pull request #369 from govind-menon/master

Added supported languages from help/languages

10 years agoAdded supported languages from help/languages
Go Wind [Tue, 3 Dec 2013 03:33:27 +0000 (22:33 -0500)]
Added supported languages from help/languages

10 years agoMerge pull request #365 from scottbarr/master
Joshua Roesslein [Sun, 1 Dec 2013 18:28:16 +0000 (10:28 -0800)]
Merge pull request #365 from scottbarr/master

SSL related changes submitted by @almost in pull request tweepy/132

10 years agoAdd some callback methods.
Tetsuya Shinone [Sat, 30 Nov 2013 00:49:24 +0000 (09:49 +0900)]
Add some callback methods.

11 years agoSSL related changes submitted by @almost in pull request tweepy/132
Scott Barr [Thu, 28 Nov 2013 04:44:07 +0000 (12:44 +0800)]
SSL related changes submitted by @almost in pull request tweepy/132

This commit contains the SSL related changes submitted by @almost in
tweepy/132

I didn't include the delimited changes because this change has not been
merged upstream yet, maybe because the changes are not separate.

11 years agoAdded new param (include_rts) to list_timeline
iamedd [Fri, 15 Nov 2013 00:31:36 +0000 (18:31 -0600)]
Added new param (include_rts) to list_timeline

11 years agoAdd unicode type detection for consumer key/secret
Derek Arnold [Sat, 31 Aug 2013 23:05:23 +0000 (18:05 -0500)]
Add unicode type detection for consumer key/secret

The hmac module won't accept unicode objects so cast them before using
them if they're present.

11 years agoAdd tests for the streaming connection backoffs.
Timo Ewalds [Mon, 26 Aug 2013 21:23:01 +0000 (17:23 -0400)]
Add tests for the streaming connection backoffs.

Move mock.py contents into test_utils.py to fix conflict between local mock.py and mock library.

11 years agoReconnect according to twitters recommendations.
Timo Ewalds [Fri, 23 Aug 2013 22:08:42 +0000 (18:08 -0400)]
Reconnect according to twitters recommendations.

Recommendations found here: https://dev.twitter.com/docs/streaming-apis/connecting#Reconnecting

A simpler and more complete version of
- https://github.com/tweepy/tweepy/pull/132
- https://github.com/tweepy/tweepy/pull/150
only handling the reconnect strategies.

11 years agoMerge pull request #351 from tewalds/model_api
Joshua Roesslein [Sat, 24 Aug 2013 03:06:54 +0000 (20:06 -0700)]
Merge pull request #351 from tewalds/model_api

Still build a User even if no api is passed in

11 years agoStill build a User even if no api is passed in
Timo Ewalds [Thu, 22 Aug 2013 21:17:47 +0000 (17:17 -0400)]
Still build a User even if no api is passed in

11 years agoAdd release notes for 2.2 (WIP) release.
Joshua Roesslein [Wed, 21 Aug 2013 06:51:50 +0000 (23:51 -0700)]
Add release notes for 2.2 (WIP) release.

[ci skip]

11 years agoMerge pull request #297 from Aaron1011/add_update_banner
Joshua Roesslein [Wed, 21 Aug 2013 06:25:54 +0000 (23:25 -0700)]
Merge pull request #297 from Aaron1011/add_update_banner

Add account/update_profile_banner endpoint

11 years agoFilter out the request body in replay recordings.
Joshua Roesslein [Wed, 21 Aug 2013 06:20:45 +0000 (23:20 -0700)]
Filter out the request body in replay recordings.

- Prevents encoding errors when uploading binary data.

11 years agoMerge branch 'master' into add_update_banner
Aaron Hill [Tue, 20 Aug 2013 16:57:04 +0000 (12:57 -0400)]
Merge branch 'master' into add_update_banner

11 years agoFix typo.
Joshua Roesslein [Tue, 20 Aug 2013 04:40:56 +0000 (21:40 -0700)]
Fix typo.

Fixes #276

11 years agoUpdade badges in README.
Joshua Roesslein [Mon, 19 Aug 2013 23:10:31 +0000 (16:10 -0700)]
Updade badges in README.

11 years agoMerge pull request #347 from tewalds/disconnect
Joshua Roesslein [Mon, 19 Aug 2013 22:56:59 +0000 (15:56 -0700)]
Merge pull request #347 from tewalds/disconnect

Handle disconnect notices, log unknown messages

11 years agoNeed the logging import statement to log unknown message types
Timo Ewalds [Mon, 19 Aug 2013 22:52:50 +0000 (18:52 -0400)]
Need the logging import statement to log unknown message types

11 years agoDefault is just to do nothing and let it reconnect
Timo Ewalds [Mon, 19 Aug 2013 22:50:37 +0000 (18:50 -0400)]
Default is just to do nothing and let it reconnect

11 years agoMerge pull request #346 from Aaron1011/remove_test
Joshua Roesslein [Mon, 19 Aug 2013 22:34:35 +0000 (15:34 -0700)]
Merge pull request #346 from Aaron1011/remove_test

Removed test() method

11 years agoHandle disconnect notices, log unknown messages
Timo Ewalds [Mon, 19 Aug 2013 21:41:00 +0000 (17:41 -0400)]
Handle disconnect notices, log unknown messages

11 years agoRemoved test() method
Aaron Hill [Mon, 19 Aug 2013 19:50:11 +0000 (15:50 -0400)]
Removed test() method

11 years agoMerge pull request #343 from Aaron1011/pull_coverage
Joshua Roesslein [Mon, 19 Aug 2013 19:33:40 +0000 (12:33 -0700)]
Merge pull request #343 from Aaron1011/pull_coverage

Removed coverage reporting on pull requests

11 years agoFix record.json download link.
Joshua Roesslein [Mon, 19 Aug 2013 19:28:16 +0000 (12:28 -0700)]
Fix record.json download link.

[ci skip]

11 years agoDownload record.json rather than store in Git.
Joshua Roesslein [Mon, 19 Aug 2013 19:11:42 +0000 (12:11 -0700)]
Download record.json rather than store in Git.

11 years agoMerge branch 'master' into add_update_banner
Aaron Hill [Sat, 17 Aug 2013 21:03:54 +0000 (17:03 -0400)]
Merge branch 'master' into add_update_banner

11 years agoMerge branch 'master' into pull_coverage
Aaron Hill [Sat, 17 Aug 2013 20:46:18 +0000 (16:46 -0400)]
Merge branch 'master' into pull_coverage

11 years agoMerge pull request #334 from Aaron1011/remove_basic
Joshua Roesslein [Sat, 17 Aug 2013 20:45:28 +0000 (13:45 -0700)]
Merge pull request #334 from Aaron1011/remove_basic

Removed basic auth

11 years agoMerge branch 'master' into pull_coverage
Aaron Hill [Sat, 17 Aug 2013 20:42:05 +0000 (16:42 -0400)]
Merge branch 'master' into pull_coverage

11 years agoRemoved coverage reporting on pull requests
Aaron Hill [Sat, 17 Aug 2013 20:34:18 +0000 (16:34 -0400)]
Removed coverage reporting on pull requests

11 years agoRemove some dead util code.
Joshua Roesslein [Sat, 17 Aug 2013 20:37:03 +0000 (13:37 -0700)]
Remove some dead util code.

11 years agoTest for utils list_to_csv().
Joshua Roesslein [Sat, 17 Aug 2013 20:36:07 +0000 (13:36 -0700)]
Test for utils list_to_csv().

11 years agoAdd test for API.lookup_users.
Joshua Roesslein [Sat, 17 Aug 2013 20:31:32 +0000 (13:31 -0700)]
Add test for API.lookup_users.

11 years agoMerge branch 'master' into remove_basic
Aaron Hill [Sat, 17 Aug 2013 20:14:36 +0000 (16:14 -0400)]
Merge branch 'master' into remove_basic

11 years agoFix coverage reports to only include tweepy code.
Joshua Roesslein [Sat, 17 Aug 2013 19:46:43 +0000 (12:46 -0700)]
Fix coverage reports to only include tweepy code.

11 years agoMerge pull request #341 from Aaron1011/coveralls
Joshua Roesslein [Sat, 17 Aug 2013 19:08:27 +0000 (12:08 -0700)]
Merge pull request #341 from Aaron1011/coveralls

Added support for Coveralls.io

11 years agoUpdate record.json with new test data.
Joshua Roesslein [Sat, 17 Aug 2013 18:34:25 +0000 (11:34 -0700)]
Update record.json with new test data.

11 years agoAdded support for Coveralls.io
Aaron Hill [Sat, 17 Aug 2013 12:52:53 +0000 (08:52 -0400)]
Added support for Coveralls.io

11 years agoMerge branch 'master' into remove_basic
Aaron Hill [Sat, 17 Aug 2013 11:22:27 +0000 (07:22 -0400)]
Merge branch 'master' into remove_basic

11 years agoRemoved import of BasicAuthHander
Aaron Hill [Sat, 17 Aug 2013 11:21:59 +0000 (07:21 -0400)]
Removed import of BasicAuthHander

11 years agoRefactor parse_datetime util.
Joshua Roesslein [Sat, 17 Aug 2013 09:28:06 +0000 (02:28 -0700)]
Refactor parse_datetime util.

- Avoid changing locale to parse timestamps.
- Use emails RFC 2822 parser.
- Added a test.

11 years agoAdd retweeters() method.
Joshua Roesslein [Sat, 17 Aug 2013 07:55:04 +0000 (00:55 -0700)]
Add retweeters() method.

- retweeters() -> statuses/retweeters/ids
- Removed deprecated methods retweeted_by and retweeted_by_ids.

11 years agoFix find_packages exclude list.
Joshua Roesslein [Sat, 17 Aug 2013 07:11:35 +0000 (00:11 -0700)]
Fix find_packages exclude list.

- Need to pass a list in order for this to work.

11 years agoMerge pull request #325.
Joshua Roesslein [Sat, 17 Aug 2013 07:07:20 +0000 (00:07 -0700)]
Merge pull request #325.

11 years agoIgnore virtualenv folder.
Joshua Roesslein [Sat, 17 Aug 2013 07:05:09 +0000 (00:05 -0700)]
Ignore virtualenv folder.

[ci skip]

11 years agoMerge pull request #336 from tewalds/timeouts
Joshua Roesslein [Sat, 17 Aug 2013 05:46:10 +0000 (22:46 -0700)]
Merge pull request #336 from tewalds/timeouts

Set timeouts properly

11 years agoMerge pull request #333.
Joshua Roesslein [Sat, 17 Aug 2013 05:31:16 +0000 (22:31 -0700)]
Merge pull request #333.

Made a few changes and setup Travis config.

11 years agoSetup tests for Travis.
Joshua Roesslein [Sat, 17 Aug 2013 05:28:55 +0000 (22:28 -0700)]
Setup tests for Travis.

- For pull requests use HTTP records to replay traffic.
- For master use the encrypted oAuth keys like normal.

11 years agoCreate a common test case class.
Joshua Roesslein [Sat, 17 Aug 2013 04:29:02 +0000 (21:29 -0700)]
Create a common test case class.

- Sets up authentication.
- Handles recording or replaying HTTP traffic.

11 years agoSet timeouts properly
Timo Ewalds [Fri, 16 Aug 2013 22:01:14 +0000 (18:01 -0400)]
Set timeouts properly

11 years agoRemoved basic auth
Aaron Hill [Fri, 16 Aug 2013 19:27:54 +0000 (15:27 -0400)]
Removed basic auth

11 years agoAdded HTTP replaying for pull requests
Aaron Hill [Thu, 15 Aug 2013 11:45:45 +0000 (07:45 -0400)]
Added HTTP replaying for pull requests

11 years agoFix list subscribers test.
Joshua Roesslein [Thu, 15 Aug 2013 05:30:27 +0000 (22:30 -0700)]
Fix list subscribers test.

11 years agoSleep a bit to hopefully fix unstable test.
Joshua Roesslein [Thu, 15 Aug 2013 04:00:51 +0000 (21:00 -0700)]
Sleep a bit to hopefully fix unstable test.

11 years agoExclude tests from installation.
Alejandro Gómez [Mon, 29 Jul 2013 16:10:10 +0000 (18:10 +0200)]
Exclude tests from installation.

11 years agoMerge pull request #298 from Aaron1011/escape_forward_slash
Joshua Roesslein [Mon, 15 Jul 2013 17:53:37 +0000 (10:53 -0700)]
Merge pull request #298 from Aaron1011/escape_forward_slash

Add forward slash support in tweepy.utils.urlencode_noplus

11 years agoFix a bug in cursors and tweak tests.
Joshua Roesslein [Sun, 16 Jun 2013 19:40:37 +0000 (12:40 -0700)]
Fix a bug in cursors and tweak tests.

11 years agoRelease 2.1.
Joshua Roesslein [Sun, 16 Jun 2013 19:13:07 +0000 (12:13 -0700)]
Release 2.1.

11 years agoAdd forward slash support in tweepy.utils.urlencode_noplus
Aaron Hill [Wed, 12 Jun 2013 01:20:06 +0000 (21:20 -0400)]
Add forward slash support in tweepy.utils.urlencode_noplus

11 years agoMake error code check use a range of values in binder.py
Aaron Hill [Tue, 11 Jun 2013 19:40:52 +0000 (15:40 -0400)]
Make error code check use a range of values in binder.py

11 years agoMerge pull request #296 from tweepy/search-v1.1
Joshua Roesslein [Tue, 11 Jun 2013 03:34:56 +0000 (20:34 -0700)]
Merge pull request #296 from tweepy/search-v1.1

Change API.search() to use endpoint v1.1

11 years agoFix a bug with setting max_id / since_id on a ResultSet.
Joshua Roesslein [Tue, 11 Jun 2013 03:33:31 +0000 (20:33 -0700)]
Fix a bug with setting max_id / since_id on a ResultSet.

11 years agoMerge remote-tracking branch 'master' into search-v1.1
Joshua Roesslein [Tue, 11 Jun 2013 03:31:58 +0000 (20:31 -0700)]
Merge remote-tracking branch 'master' into search-v1.1

Conflicts:
tweepy/models.py

11 years agoPass max_id and since_id into ResultSet constructor.
Joshua Roesslein [Mon, 10 Jun 2013 05:42:07 +0000 (22:42 -0700)]
Pass max_id and since_id into ResultSet constructor.

11 years agoMove cursors tests into its own module.
Joshua Roesslein [Mon, 10 Jun 2013 05:36:15 +0000 (22:36 -0700)]
Move cursors tests into its own module.

11 years agoFix a few bugs with the new ID cursors.
Joshua Roesslein [Mon, 10 Jun 2013 05:35:06 +0000 (22:35 -0700)]
Fix a few bugs with the new ID cursors.

 - stop once end of collection reached (empty result).
 - don't raise ValueError if ResultSet is empty when
   trying to get max/min ID of the set (max() and min() don't
   accept empty lists)

11 years agoAdded example banner image
Aaron Hill [Sun, 9 Jun 2013 20:40:42 +0000 (16:40 -0400)]
Added example banner image

11 years agoMerge ID based cursors branch.
Joshua Roesslein [Sun, 9 Jun 2013 19:53:09 +0000 (12:53 -0700)]
Merge ID based cursors branch.

11 years agoRemove some logging.
Joshua Roesslein [Sun, 9 Jun 2013 19:40:45 +0000 (12:40 -0700)]
Remove some logging.

11 years agoAdd tests for ResultSet.
Joshua Roesslein [Sun, 9 Jun 2013 19:39:00 +0000 (12:39 -0700)]
Add tests for ResultSet.

11 years agoRemove 'page' parameter from some endpoints.
Joshua Roesslein [Sun, 9 Jun 2013 19:37:38 +0000 (12:37 -0700)]
Remove 'page' parameter from some endpoints.

Using max_id/since_id or cursor is the preferred
way and sometimes the only way to paginate though a collection.

11 years agoImplement ID based iterator.
Joshua Roesslein [Sun, 9 Jun 2013 19:37:13 +0000 (12:37 -0700)]
Implement ID based iterator.

11 years agoAdded unit test for update_profile_banner
Aaron Hill [Sun, 9 Jun 2013 17:21:26 +0000 (13:21 -0400)]
Added unit test for update_profile_banner

11 years agoAccept 200, 201, and 202 as non-error response codes
Aaron Hill [Sun, 9 Jun 2013 15:55:40 +0000 (11:55 -0400)]
Accept 200, 201, and 202 as non-error response codes

11 years agoAdded optional parameter form_field to _pack_image
Aaron Hill [Sun, 9 Jun 2013 15:54:43 +0000 (11:54 -0400)]
Added optional parameter form_field to _pack_image

11 years agoAdd account/update_profile_banner endpoint
Aaron Hill [Sun, 9 Jun 2013 15:53:17 +0000 (11:53 -0400)]
Add account/update_profile_banner endpoint

11 years agoSwitch search to API v1.1 endpoint.
Joshua Roesslein [Sat, 8 Jun 2013 21:56:06 +0000 (14:56 -0700)]
Switch search to API v1.1 endpoint.

11 years agoAdd test for Stream.filter().
Joshua Roesslein [Sun, 19 May 2013 08:11:50 +0000 (01:11 -0700)]
Add test for Stream.filter().

11 years agoAdd streaming test_sample test.
Joshua Roesslein [Sun, 19 May 2013 06:59:12 +0000 (23:59 -0700)]
Add streaming test_sample test.

11 years agoImplement StreamListener.on_connect callback.
Joshua Roesslein [Sun, 19 May 2013 06:58:26 +0000 (23:58 -0700)]
Implement StreamListener.on_connect callback.

11 years agoAdd streaming test suite.
Joshua Roesslein [Sun, 19 May 2013 06:17:49 +0000 (23:17 -0700)]
Add streaming test suite.

 - test_userstream

11 years agoSplit up tests into modules.
Joshua Roesslein [Sun, 19 May 2013 04:49:15 +0000 (21:49 -0700)]
Split up tests into modules.

  - Keep auth tests disabled in CI since they require user input.

11 years agoAnother flaky test.
Joshua Roesslein [Sat, 18 May 2013 23:05:46 +0000 (16:05 -0700)]
Another flaky test.