Ed Jackson
211e4633ee
Minor enhancements to rate limiting information
...
If rate limiting information hasn't been retrieved already, it will be checked
rather than just assuming 5000 requests remaining of 5000.
Add an additional attribute `rate_limiting_resettime` to reflect github's new
X-RateLimit-Reset header. This integer value is a unix timestamp.
RateLimiting unit test updated accordingly.
2013-08-06 10:42:57 -05:00
Vincent Jacques
06a3d87098
Change source file header format
2013-07-13 19:03:53 +02:00
Vincent Jacques
56309b90f2
Run the script added in previous commit
2013-07-13 11:10:00 +02:00
Vincent Jacques
db2a9db721
Add two new types of exceptions (issue #152 )
2013-05-17 14:27:17 +02:00
Vincent Jacques
319ff29d25
Merge branch 'develop'
2013-04-25 20:14:31 +02:00
Vincent Jacques
aa7df884c4
Small fixes in doc
2013-04-25 15:27:26 +02:00
Vincent Jacques
97af2b6da2
Fix pagination with secret-key authentication (issue #158 )
2013-04-25 14:31:51 +02:00
Jonathan J Hunt
a8e5a16ba5
Fixed pep8
2013-04-24 12:30:39 -07:00
Jonathan J Hunt
f7b3e9956d
Added default user agent.
2013-04-24 12:28:02 -07:00
Vincent Jacques
73f9ae8f21
Merge branch 'topic/SpecificExceptions' into develop
2013-04-22 22:23:04 +02:00
Vincent Jacques
db5560bd65
Add a script to check copyrights with git log. And fix copyrights.
2013-03-29 16:54:15 +01:00
Vincent Jacques
0bc368973a
Raise a specific exception for non-existing objects (issue #152 )
2013-03-29 13:10:59 +01:00
Vincent Jacques
7b3e4c15ed
Raise a specific exception for bad credentials (issue #152 )
2013-03-29 13:01:06 +01:00
Vincent Jacques
1c47be4e89
Document #pragma no covers (Issue #154 )
2013-03-28 21:50:17 +01:00
Vincent Jacques
8a9afbb1aa
Remove branches for hypothetical unknown Authorization headers
2013-03-28 21:49:39 +01:00
Vincent Jacques
1c67359a31
Improve test coverage a bit
2013-03-28 21:28:01 +01:00
Vincent Jacques
c85af79db1
Fix authentication with Python 3 (Issue #153 )
2013-03-28 20:05:13 +01:00
Vincent Jacques
e25a6a49d1
Add Github.per_page to tweak PaginatedList (Issue #145 )
2013-03-14 12:01:41 +01:00
Vincent Jacques
03a256a405
Publish version 1.12.2
2013-03-03 18:44:25 +01:00
Vincent Jacques
9e6b086c2d
Remove a deprecation warning
2013-03-03 18:35:50 +01:00
Vincent Jacques
0ddb34d987
Fix decoding on Python3 (bytes instead of str) (Issue #142 )
2013-03-03 18:32:10 +01:00
Vincent Jacques
7a415fda66
Change home page
2013-02-16 21:19:49 +01:00
Vincent Jacques
64f2640ed1
Conform to pep8
2013-02-07 18:48:40 +01:00
Vincent Jacques
2215010b0e
Retrieve scopes for current oauth token from response headers (Issue #134 )
2013-02-06 00:04:29 +01:00
Vincent Jacques
681128d41a
Refactor
2013-02-05 23:38:45 +01:00
Vincent Jacques
27ed941f7b
Remove useless Content-Length header
2013-02-05 23:24:51 +01:00
Vincent Jacques
3cbc81551a
Refactor: put form/multipart encoding in Requester
...
And remove my fucking credentials from git! (Password changed, btw)
2013-02-05 19:47:52 +01:00
Vincent Jacques
e9be857089
Rename methods in Requester
2013-02-05 19:39:03 +01:00
Vincent Jacques
f024950884
First implementation of PubSubHubbub (un)subscription (Issue #129 )
...
This will need 'some' refactoring.
2013-02-05 19:23:20 +01:00
Vincent Jacques
1804d9a295
pep8 + readme
2012-11-21 21:49:15 +01:00
Vincent Jacques
381a479d6a
Restore Python 2.5 and 2.6
2012-11-21 20:45:45 +01:00
Vincent Jacques
d8e50c7937
Small fixes => tests pass after 2to3
2012-11-21 20:30:35 +01:00
Vincent Jacques
63a56e074a
Add a customizable User-Agent (issue #109 )
2012-11-19 21:18:43 +01:00
Vincent Jacques
3c07876a96
Refactor Requester
2012-11-19 20:44:14 +01:00
Vincent Jacques
ef55a93d9a
Refactor
2012-11-19 20:31:33 +01:00
Vincent Jacques
f6dc7b43fd
Merge branch 'develop' into topic/UnauthenticatedRateLimitedRequests
2012-11-19 20:13:08 +01:00
Michael Woodworth
4f2030ad6c
added client_id and client_secret auth option
2012-11-07 18:15:27 -05:00
Zearin
4c6a70c24a
Add encoding comment to source files
...
This is a minor thing. It’s a convention, not a rule (obviously)—but it’s also a best practice.
Many text editors look for this kind of comment as the first line—or second line, if there is a shebang (the `#!/usr/bin/env python`, or whatever else)—and make use of this to determine the file’s encoding.
2012-11-01 11:43:56 -04:00
Vincent Jacques
ca1e799826
Restore measure of test coverage
2012-10-28 15:53:03 +01:00
Vincent Jacques
af98e6d1d4
Implement optional revert of #102 (issue #104 )
2012-10-28 10:12:25 +01:00
Vincent Jacques
a13ce33beb
Improve logging (related to #88 )
2012-09-25 22:56:43 +02:00
Vincent Jacques
7c60be9516
Fix Content-Type to allow '%' in json payload (issue #87 )
2012-09-25 21:55:03 +02:00
Vincent Jacques
531c3f2d32
Improve comformance to pep8 (+dos2unix)
...
PyGithub is now a public projects with several public contibutors,
I have to abandon my very personal coding conventions.
2012-09-17 20:37:22 +02:00
Vincent Jacques
2ad48a9206
Fix exception
...
As per commit f9dd406465 , some tests ran after Logging.testLogging
fail with a unicode-related exception.
2012-09-17 20:30:28 +02:00
Vincent Jacques
f9dd406465
Test the logging facility
2012-09-17 19:28:29 +02:00
Andrew Bettison
3b5a5002e1
Log raw requests using Python logging module
2012-09-17 17:34:27 +09:30
Vincent Jacques
6fbd63ba4d
Work-around Github Enterprise bad URL (issue #80 )
2012-09-12 19:28:44 +02:00
Vincent Jacques
fb62ca3fb2
Support Python 2.5 again (issue #73 )
2012-09-08 19:17:16 +02:00
Vincent Jacques
8335a8e4c8
Small no-impact code improvements
2012-09-08 11:18:56 +02:00
Vincent Jacques
1322002d18
Merge branch 'topic/Timeout' into develop
...
Conflicts:
github/Requester.py
2012-09-05 19:21:10 +02:00