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
88db904484
Add a (redoundant) test for pull #176
2013-06-19 12:35:25 +02:00
Vincent Jacques
6306f798fd
Add test for pull request #174
2013-06-18 22:12:15 +02:00
Vincent Jacques
f62f384bc6
Implement GET /users (issue #173 )
2013-06-18 17:58:29 +02:00
Vincent Jacques
c93e4b8ff4
Add tests for html_url for Issue and PullComment ( #170 )
...
I just modified the ReplayData manually and added a "get" in the tests.
2013-05-31 13:48:02 +02:00
Vincent Jacques
db2a9db721
Add two new types of exceptions (issue #152 )
2013-05-17 14:27:17 +02:00
Vincent Jacques
7f74a92b55
AuthenticatedUser.get_user_issues and Organization.get_issues (issue #166 )
2013-05-17 13:52:49 +02:00
Vincent Jacques
1c4aec6891
Add parameters to AuthenticatedUser.get_issues (issue #166 )
2013-05-17 13:42:43 +02:00
Vincent Jacques
97af2b6da2
Fix pagination with secret-key authentication (issue #158 )
2013-04-25 14:31:51 +02:00
Vincent Jacques
10a567f62e
Fix tests for #161
2013-04-25 09:51:37 +02:00
Vincent Jacques
73f9ae8f21
Merge branch 'topic/SpecificExceptions' into develop
2013-04-22 22:23:04 +02:00
Vincent Jacques
eccc41097e
Rename a file in a gist (issue #156 )
2013-04-08 21:10:07 +02:00
Vincent Jacques
6861c5cd19
Delete file from gist (issue #156 )
2013-04-08 21:07:17 +02: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
1d18bd66f3
Add a test that would have caught #153
2013-03-28 21:23:03 +01:00
Vincent Jacques
7a9c0b916c
Fix tests on Python 3.3 (issue #149 )
...
The output order of dicts has changed
2013-03-21 23:18:21 +01:00
Vincent Jacques
da6bbdb694
Merge branch 'topic/Notifications' into develop
2013-03-19 23:14:29 +01:00
Vincent Jacques
0901df1a2b
Improve test coverage (pull #148 )
2013-03-19 22:07:42 +01:00
Vincent Jacques
edcf40bc7f
Move get_notification(s) to AuthenticatedUser (pull #148 )
2013-03-19 22:07:29 +01:00
Peter Golm
50a243671f
Merge remote-tracking branch 'origin/develop' into NotificationAPI
2013-03-16 17:35:08 +01:00
Peter Golm
6a3a384fd0
this fixes #108
2013-03-16 17:28:56 +01:00
Vincent Jacques
2defd7b818
Expose raw data of objects (Issue #144 )
2013-03-14 12:29:54 +01:00
Vincent Jacques
82f5b4c61f
dos2unix
2013-03-14 12:27:12 +01:00
Vincent Jacques
e25a6a49d1
Add Github.per_page to tweak PaginatedList (Issue #145 )
2013-03-14 12:01:41 +01:00
Vincent Jacques
58ec2246dd
Fix coverage
2013-02-20 18:51:16 +01:00
Vincent Jacques
04adab121e
Implement Repository.get_dir_contents (issue #140 )
2013-02-16 19:09:25 +01:00
Vincent Jacques
ce05a0185d
Fix lazy completion!!! (issue #139 )
2013-02-08 08:33:58 +01:00
Vincent Jacques
f533731151
Add a test showing the silly bug described in issue #139
2013-02-08 08:29:18 +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
27ed941f7b
Remove useless Content-Length header
2013-02-05 23:24:51 +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
092e4a4b76
Add a test reproducing issue #131
2013-02-03 17:53:11 +01:00
Vincent Jacques
f7ed860a26
NamedUser.get_keys (Issue #130 )
2013-02-03 17:20:43 +01:00
Vincent Jacques
921ba8df1e
Reproduce issue #134
2013-01-29 19:23:15 +01:00
Vincent Jacques
a280518835
Add a failing test for pull #133
2013-01-29 18:47:46 +01:00
Vincent Jacques
5edf5a120e
Repository.get_issues_comments and Repository.get_pulls_comments (issue #126 )
2012-12-25 13:02:15 +01:00
Vincent Jacques
b8a3a12991
Add client_id and client_secret parameters to AuthenticatedUser.create_authorization (issue #125 )
2012-12-25 12:19:19 +01:00
Vincent Jacques
d8e4ece9a7
Complete "ref in Repository.get_contents and .get_readme" (pull #124 )
...
Add documentation and automated tests
2012-12-25 11:50:54 +01:00
Vincent Jacques
10e370bcea
Add new test showing https git urls for gists (Issue #119 )
2012-12-21 21:29:17 +01:00
Vincent Jacques
5b52f652e0
Github.get_gitignore_template[s] (issue #120 )
2012-12-21 21:10:53 +01:00
Vincent Jacques
64ec395298
Get repo from full name: tests, doc, fix param name (Pull #121 )
2012-12-21 20:38:29 +01:00
Vincent Jacques
63a56e074a
Add a customizable User-Agent (issue #109 )
2012-11-19 21:18:43 +01:00
Vincent Jacques
94bdbe13a4
Change URL of gist comments (issue #113 )
2012-11-19 20:59:58 +01:00
Vincent Jacques
ef55a93d9a
Refactor
2012-11-19 20:31:33 +01:00
Vincent Jacques
0038aea74e
Add tests for pull #112
2012-11-19 20:27:00 +01:00
Vincent Jacques
f80df9e429
Add auto_init and gitignore_template to create_repo (issue #106 )
...
http://developer.github.com/changes/2012-9-28-auto-init-for-repositories/
2012-11-03 10:06:52 +01:00
Vincent Jacques
47dee65b63
Implement default_branch in Repository.edit (issue #107 )
...
See http://developer.github.com/changes/2012-10-24-set-default-branch/
2012-11-03 09:49:01 +01:00
Vincent Jacques
55dd10f7fd
Documentation and tests for PullRequest.assignee (Pull #111 )
2012-11-03 09:24:35 +01:00
Vincent Jacques
af98e6d1d4
Implement optional revert of #102 (issue #104 )
2012-10-28 10:12:25 +01:00