]>
jfr.im git - z_archive/twitter.git/log
Benjamin Ooghe-Tabanou [Mon, 13 Oct 2014 10:06:43 +0000 (12:06 +0200)]
Merge pull request #259 from hugovk/patch-1
Fix reference to Twitter API doc URL
Hugo [Mon, 13 Oct 2014 09:49:44 +0000 (12:49 +0300)]
Fix reference to Twitter API doc URL
Closes #258.
[CI skip]
Benjamin Ooghe-Tabanou [Sun, 5 Oct 2014 23:48:42 +0000 (01:48 +0200)]
Merge pull request #253 from bbolli/limit-retry
[RFC] Handle API rate limiting
RouxRC [Mon, 29 Sep 2014 01:07:14 +0000 (03:07 +0200)]
use user_timeline way less rate limited for tests
Benjamin Ooghe-Tabanou [Mon, 29 Sep 2014 00:15:33 +0000 (02:15 +0200)]
Merge pull request #255 from bbolli/speedup-method-for-uri
Speedup `method_for_uri()`
RouxRC [Sun, 28 Sep 2014 23:51:53 +0000 (01:51 +0200)]
oups forgot test image file
RouxRC [Sun, 28 Sep 2014 23:48:41 +0000 (01:48 +0200)]
refacto test
RouxRC [Sun, 28 Sep 2014 23:48:19 +0000 (01:48 +0200)]
add tests for update_with_media api function
RouxRC [Sun, 28 Sep 2014 22:56:05 +0000 (00:56 +0200)]
handle non unicode text status for twitpic with py2.x for coherence means
Beat Bolli [Wed, 24 Sep 2014 16:55:26 +0000 (18:55 +0200)]
Add a test for method_for_uri()
Beat Bolli [Tue, 23 Sep 2014 17:24:19 +0000 (19:24 +0200)]
Speed up method_for_uri()
Prepare a regex in advance that handles all POST APIs with a single
search() call.
RouxRC [Mon, 22 Sep 2014 18:18:17 +0000 (20:18 +0200)]
avoid any border effect
RouxRC [Mon, 22 Sep 2014 18:06:34 +0000 (20:06 +0200)]
Merge branch 'master' of github.com:sixohsix/twitter
RouxRC [Mon, 22 Sep 2014 18:06:22 +0000 (20:06 +0200)]
update img sending doc
RouxRC [Mon, 22 Sep 2014 17:56:56 +0000 (19:56 +0200)]
Fix encoding errors on text sent along with pics under py2.7
Beat Bolli [Sat, 20 Sep 2014 12:16:00 +0000 (14:16 +0200)]
Allow to set the number of retries
Beat Bolli [Thu, 18 Sep 2014 16:55:34 +0000 (18:55 +0200)]
Add documentation for retry=True
Beat Bolli [Tue, 16 Sep 2014 21:10:15 +0000 (23:10 +0200)]
Make the delay after 50x HTTP errors configurable
Beat Bolli [Tue, 16 Sep 2014 17:45:20 +0000 (19:45 +0200)]
Handle API rate limiting
Pass `retry=True` when creating the Twitter instance to handle these two
cases automatically:
- On HTTP error 429, read the `X-Rate-Limit-Reset` HTTP header and retry
after the specified time.
- On HTTP errors 502, 503, and 504, retry after 30 seconds.
Hugo [Wed, 10 Sep 2014 11:52:35 +0000 (14:52 +0300)]
Update .gitignore from https://github.com/github/gitignore
Hugo [Wed, 10 Sep 2014 11:56:22 +0000 (14:56 +0300)]
Fix 'twitter rate' for updated API
Mike Verdone [Thu, 11 Sep 2014 16:42:55 +0000 (10:42 -0600)]
Merge pull request #252 from ehershey/patch-1
Send 'length' command line option as 'count' to API
Ernie Hershey [Wed, 10 Sep 2014 20:59:23 +0000 (16:59 -0400)]
Send 'length' command line option as 'count' to API
fixed #251
Mike Verdone [Sat, 30 Aug 2014 14:39:57 +0000 (16:39 +0200)]
Merge pull request #244 from DTVD/master
Mention in README about 100% CPU usage with non-blocking mode.
Mike Verdone [Sat, 30 Aug 2014 14:23:13 +0000 (16:23 +0200)]
Revert JSON formatter change
Reventlov [Sun, 17 Aug 2014 05:37:33 +0000 (07:37 +0200)]
Cosmetic changes (identation, trailing whitespace, 80 char lines…
Reventlov [Sat, 16 Aug 2014 17:58:42 +0000 (19:58 +0200)]
Does anyone actually use python-twitter ?
Reventlov [Fri, 15 Aug 2014 21:04:14 +0000 (23:04 +0200)]
Adjusting the formatter
Reventlov [Fri, 15 Aug 2014 20:01:21 +0000 (22:01 +0200)]
Fixing the printNicely function to avoid broken output on redirections/pipe
Reventlov [Fri, 15 Aug 2014 17:45:42 +0000 (19:45 +0200)]
Reverting the change for the JSON formatter, pointless here
Reventlov [Fri, 15 Aug 2014 17:43:32 +0000 (19:43 +0200)]
Fixing RTs text (see https://dev.twitter.com/docs/entities#retweets )
Reventlov [Fri, 15 Aug 2014 15:17:38 +0000 (17:17 +0200)]
Fix the output for the json formatter
Reventlov [Fri, 15 Aug 2014 15:08:22 +0000 (17:08 +0200)]
Ugly fix for the https://github.com/sixohsix/twitter/issues/245 issue
Mike Verdone [Sat, 30 Aug 2014 14:06:49 +0000 (16:06 +0200)]
Merge pull request #226 from hugovk/master
Add coverage to tests
Mike Verdone [Sat, 30 Aug 2014 13:57:50 +0000 (15:57 +0200)]
Version 1.15.0
RouxRC [Wed, 27 Aug 2014 12:12:39 +0000 (14:12 +0200)]
format requires names fields in python2.6
RouxRC [Mon, 25 Aug 2014 00:44:24 +0000 (02:44 +0200)]
Remove printed headers of all oauth2 queries
probably a debug committed by mistake in
c2176d4e0365bb0764ff6962721053acaa1d1e39
see: https://github.com/sixohsix/twitter/commit/
c2176d4e0365bb0764ff6962721053acaa1d1e39 #diff-a11ddfeffc90fdbedb3d54d02a53bae8L63
Orakaro [Mon, 11 Aug 2014 03:09:04 +0000 (12:09 +0900)]
Update README
RouxRC [Sun, 10 Aug 2014 20:54:11 +0000 (22:54 +0200)]
fix img support for python3
RouxRC [Sun, 10 Aug 2014 20:53:41 +0000 (22:53 +0200)]
fix support of profile_image methods, also using regular post, not multipart
Archomeda [Sat, 9 Aug 2014 14:40:40 +0000 (16:40 +0200)]
Fix support for uploading non-multipart profile banner and other media
Mike Verdone [Fri, 8 Aug 2014 13:43:33 +0000 (15:43 +0200)]
Do not POST to friendships/lookup, only users/lookup and statuses/lookup
Fixes #223
RouxRC [Sun, 3 Aug 2014 13:33:32 +0000 (15:33 +0200)]
Add argparse to dependencies for python 2.6
Close #240
@sixohsix I'll let you update the version number and figure out
whether to pass to version 1.15 or 1.14.4
Benjamin Ooghe-Tabanou [Sun, 27 Jul 2014 14:05:09 +0000 (16:05 +0200)]
Merge pull request #238 from mattcen/master
Fix list URL for twitter cmdline
Matthew Cengia [Sun, 27 Jul 2014 04:30:35 +0000 (14:30 +1000)]
Fix list URL for twitter cmdline
Mike Verdone [Thu, 24 Jul 2014 23:05:49 +0000 (01:05 +0200)]
Add oauth_callback=oob to force PIN to appear
Mike Verdone [Thu, 24 Jul 2014 23:01:16 +0000 (01:01 +0200)]
Clean up documentation and README
Mike Verdone [Thu, 24 Jul 2014 22:41:24 +0000 (00:41 +0200)]
Unused import
Mike Verdone [Thu, 24 Jul 2014 22:39:28 +0000 (00:39 +0200)]
Improve OAuth2 app-only code and documentation
RouxRC [Tue, 22 Jul 2014 22:25:25 +0000 (00:25 +0200)]
add doc to send tweets with images in README + consolidate api.py/README
RouxRC [Tue, 22 Jul 2014 22:24:37 +0000 (00:24 +0200)]
fix image sending to handle both base64 images and plain bytes
Mike Verdone [Sat, 24 May 2014 10:41:21 +0000 (12:41 +0200)]
Merge pull request #227 from mponweiser/master
twitter-archiver: Option file path fixed for Windows
Hi, similar to the fix for issue https://github.com/sixohsix/twitter/issues/60, I have adapted the file path for twitter-archiver to work in Windows. Tested under Ubuntu 12.04 and Windows 7, Python 2.7.
mponweiser [Thu, 22 May 2014 17:31:21 +0000 (19:31 +0200)]
Option file path fixed for Windows
Mike Verdone [Mon, 12 May 2014 18:45:27 +0000 (20:45 +0200)]
Merge pull request #225 from hugovk/threeptfour
Python 3.4 is the latest 3.x release and shouldn't be allowed to fail
hugovk [Mon, 12 May 2014 12:11:13 +0000 (15:11 +0300)]
Python 3.4 is the latest 3.x release and shouldn't be allowed to fail
Hugo [Fri, 18 Apr 2014 11:11:55 +0000 (14:11 +0300)]
Coverage badge points to sixohsix [CI skip]
It'll need enabling on coveralls.io and a build to run to show a number
Hugo [Fri, 18 Apr 2014 11:09:30 +0000 (14:09 +0300)]
Add Coveralls coverage badge [CI skip]
hugovk [Fri, 18 Apr 2014 10:54:31 +0000 (13:54 +0300)]
Ignore pypy lib files like /usr/local/pypy/lib_pypy/datetime.py
hugovk [Fri, 18 Apr 2014 10:35:39 +0000 (13:35 +0300)]
Add coverage to tests
hugovk [Thu, 17 Apr 2014 08:05:16 +0000 (11:05 +0300)]
Remove redundant code
hugovk [Thu, 17 Apr 2014 08:02:20 +0000 (11:02 +0300)]
Merge (parallel tests had already been fixed in upstream)
hugovk [Thu, 17 Apr 2014 07:43:33 +0000 (10:43 +0300)]
Fix test typo
Mike Verdone [Wed, 16 Apr 2014 21:44:52 +0000 (23:44 +0200)]
Version 1.14.3
Mike Verdone [Wed, 16 Apr 2014 21:42:21 +0000 (23:42 +0200)]
Restore 3.2 to trove classifiers.
Mike Verdone [Wed, 16 Apr 2014 21:29:10 +0000 (23:29 +0200)]
Try to restore Python 3.2 compat by using futuristic unicode literals.
hugovk [Wed, 16 Apr 2014 21:26:24 +0000 (00:26 +0300)]
Make tests more robust when run in parallel, to avoid the occasional https://travis-ci.org/sixohsix/twitter/jobs/
23153488
hugovk [Wed, 16 Apr 2014 21:18:24 +0000 (00:18 +0300)]
Merge remote-tracking branch 'upstream/master'
Conflicts:
README
Mike Verdone [Wed, 16 Apr 2014 20:29:13 +0000 (22:29 +0200)]
Merge pull request #218 from edi-bice/master
Trapping additional exceptions causing archiver script failures
... mostly due to unicode decoding when doing follow-redirects
Mike Verdone [Wed, 16 Apr 2014 20:23:16 +0000 (22:23 +0200)]
Merge pull request #221 from hugovk/py3
Add TravisCI support
... at least for the code run by the tests on Travis CI.
https://travis-ci.org/hugovk/twitter/builds/
23027808
Notes:
* 2.6, 2.7, 3.3 pass.
* 3.4 isn't quite yet available, but is coming soon: https://github.com/travis-ci/travis-ci/issues/1989#issuecomment-
39315535
* 3.2 fails because it doesn't have u'uncode stuff' but I guess most Py3 users will be ok with 3.3 or 3.4.
* I've not looked into why pypy fails.
* (This PR also contains the same changes as PR #220.)
hugovk [Tue, 15 Apr 2014 19:04:36 +0000 (22:04 +0300)]
Add Travis CI build badge [CI skip]
hugovk [Tue, 15 Apr 2014 18:35:10 +0000 (21:35 +0300)]
Merge
Mike Verdone [Tue, 15 Apr 2014 14:55:06 +0000 (16:55 +0200)]
Merge pull request #217 from sixohsix/pickled
Support pickling at the risk of breaking some stuff
- support pickling of responses (#82)
- silence Python 2.6 warning (#179)
- this makes rate-limit headers unavailable on boolean or string responses. I'm not sure if that's a problem.
hugovk [Tue, 15 Apr 2014 10:58:05 +0000 (13:58 +0300)]
Add 3.2 as allowed failure. Upgrade 2.6 and 3.3 as non-allowed failuers
Hugo [Tue, 15 Apr 2014 10:56:18 +0000 (13:56 +0300)]
Add build badge
TODO: Remember to change hugovk to sixohsix after merge
hugovk [Tue, 15 Apr 2014 10:46:16 +0000 (13:46 +0300)]
httplib is http.client in Py3
hugovk [Tue, 15 Apr 2014 10:41:31 +0000 (13:41 +0300)]
Py3 exception fix
hugovk [Tue, 15 Apr 2014 10:32:04 +0000 (13:32 +0300)]
Fix test_get_trends() for API v1.1
hugovk [Tue, 15 Apr 2014 10:28:20 +0000 (13:28 +0300)]
Fix test_search()
hugovk [Tue, 15 Apr 2014 10:07:55 +0000 (13:07 +0300)]
Fix search tests to use api.twitter.com with authorisation
hugovk [Tue, 15 Apr 2014 09:36:11 +0000 (12:36 +0300)]
Add a test for API v1 unsupported. Other tests use v1.1 instead of v1.
hugovk [Tue, 15 Apr 2014 08:11:50 +0000 (11:11 +0300)]
Add Travis CI
Edi Bice [Wed, 26 Mar 2014 14:13:16 +0000 (10:13 -0400)]
Trapping additional exceptions causing archiver script failures on individual tweets
Mike Verdone [Mon, 24 Mar 2014 23:08:49 +0000 (00:08 +0100)]
Support pickling at the risk of breaking some stuff.
Mike Verdone [Mon, 24 Mar 2014 20:19:47 +0000 (21:19 +0100)]
Merge pull request #215 from wlonk/colorization
Colorization
I've added some logic to align usernames and wrap tweets. It's preliminary, but hopefully useful. I have tied it in to the ANSI format, because that seems the most human-oriented format.
I'm happy to talk about this more and go back and forth on it, and I hope it's useful!
Mike Verdone [Mon, 24 Mar 2014 20:00:27 +0000 (21:00 +0100)]
Merge pull request #216 from edi-bice/master
--follow-redirects hangs indefinitely on certain urls
urllib2 opener open lacked a timeout parameter causing it to hang indefinitely on certain URLs where the host does not send back any data - added timeout=1 for now and will expose as parameter later - also added socket.timeout exception to list of exceptions handled
Edi Bice [Fri, 21 Mar 2014 20:36:58 +0000 (16:36 -0400)]
urllib2 opener open lacked a timeout parameter causing it to hang indefinitely on certain URLs where the host does not send back any data - added timeout=1 for now and will expose as parameter later - also added socket.timeout exception to list of exceptions handled
Kit La Touche [Fri, 21 Mar 2014 16:42:02 +0000 (10:42 -0600)]
Using upstream ANSI colors.
Kit La Touche [Thu, 13 Jun 2013 03:50:42 +0000 (21:50 -0600)]
Corrections to width numbers.
Kit La Touche [Thu, 13 Jun 2013 03:49:04 +0000 (21:49 -0600)]
Improved display of multiline tweets.
Kit La Touche [Thu, 13 Jun 2013 03:30:45 +0000 (21:30 -0600)]
Oops, left debugging cruft on there.
Kit La Touche [Thu, 13 Jun 2013 03:29:23 +0000 (21:29 -0600)]
Added spacing for usernames.
Mike Verdone [Thu, 20 Mar 2014 17:45:44 +0000 (18:45 +0100)]
Merge pull request #214 from edi-bice/master
Fixed broken rate limiting error handling in archiver/follow.
Twitter changed rate limiting response objects quite a bit in v1.1.
In addition there were bugs due to import of time module and time object from datetime module.
Edi Bice [Thu, 20 Mar 2014 17:21:10 +0000 (13:21 -0400)]
Fixed broken rate limiting error handling in archiver/follow.
Twitter changed rate limiting response objects quite a bit in v1.1.
In addition there were bugs due to import of time module and time object from datetime module.
Mike Verdone [Wed, 19 Mar 2014 14:27:19 +0000 (15:27 +0100)]
Merge pull request #213 from RouxRC/fix-twitterrate
Fix routing to rate_limit_status calls (Fix #157)
RouxRC [Wed, 19 Mar 2014 00:59:15 +0000 (01:59 +0100)]
Fix routing to rate_limit_status calls (Fix #157)
Mike Verdone [Wed, 12 Mar 2014 20:41:32 +0000 (21:41 +0100)]
Version 1.14.1.
Mike Verdone [Wed, 12 Mar 2014 20:35:34 +0000 (21:35 +0100)]
Merge pull request #211 from justinclift/master
Trivial typo fix
Mike Verdone [Wed, 12 Mar 2014 20:35:09 +0000 (21:35 +0100)]
Merge pull request #212 from justinclift/friends_timeline_update
Update README with friends_timeline() replacement
Mike Verdone [Wed, 12 Mar 2014 20:34:44 +0000 (21:34 +0100)]
Merge pull request #210 from sixohsix/stream_cleanup_two
Stream cleanup twoSecond time... or third time's a charm. I hope this is it.
- code is actually understandable
- NO MORE UNICODE ERRORS
- NO MORE 100% CPU usage
- return data chunks ASAP
- handle "old school" non-blocking mode (for those who still want it)
- works on all stream servers I have access to
Justin Clift [Tue, 11 Mar 2014 03:27:32 +0000 (03:27 +0000)]
Trivial typo fixes