Commit Graph
766 Commits
Author SHA1 Message Date
Jimmy Zelinskie a7eb09af04 Merge pull request #479 from ben-whitney/html_url_release
add html_url to GitRelease
2016-10-28 22:39:27 -04:00
Benjamin Whitney ec633aab5e add html_url to GitRelease 2016-10-20 23:51:51 -04:00
Jakub Wilk 10a28e0654 Fix typo in a constant 2016-10-16 22:28:45 +02:00
Jannis Gebauer 8b40674d1d Merge pull request #448 from PyGithub/contentfile-listing
Support directories in repo.get_contents
2016-10-05 11:39:42 +02:00
Jannis Gebauer 3a8edc771a add issue assignee param 2016-10-05 11:31:09 +02:00
Jimmy Zelinskie aca37dbb14 Merge pull request #462 from geex-arts/fix-rate-limit-exception
Fix diffrerent case
2016-09-28 21:19:16 -04:00
Denis K fcf6cfb50a Fix diffrerent case 2016-09-25 22:31:20 +03:00
Jimmy Zelinskie 76b4ed4fc9 Merge pull request #454 from mattjmorrison/add-team-repo-permissions
Add ability to set permission for team repo
2016-09-17 13:51:11 -04:00
mattjmorrison 93473458a1 Add permission param documentation 2016-09-16 14:28:26 -05:00
mattjmorrison 5dddea78f0 Add ability to set permission for team repo
https://developer.github.com/v3/orgs/teams/#add-or-update-team-repository
2016-09-16 14:16:54 -05:00
Denis K 073bb442f6 Fix status check 2016-09-16 20:44:01 +03:00
Jannis Gebauer 0799753530 adds support for content dirs 2016-09-15 14:22:22 +02:00
Jannis Gebauer 78374b9d5e sort params and make them work on py3 2016-09-08 10:46:06 +02:00
Jannis Gebauer 8571d87c77 adds a nicer __repr__ 2016-09-08 10:25:48 +02:00
Jared K. Smith 464259da91 Add missing space 2016-08-30 06:17:22 -04:00
Jared K. Smith d015154c98 Properly handle HTTP Proxy authentication with Python 3 2016-08-29 13:19:18 -04:00
fukatani 987bca00fa Fix small typo 2016-08-14 14:35:19 +09:00
ghfan 5404030119 change file content encoding to support unicode(like chinese), py2 2016-08-10 20:33:20 +08:00
Jannis Gebauer 9134aa2b04 adds missing testfile corrections 2016-08-09 09:28:07 +02:00
Jannis Gebauer 0f29a53e17 fixed file API return values
The returned objects were not correctly populated, leaving us with
empty objects.

This is now fixed.
2016-07-29 09:54:31 +02:00
Jannis Gebauer 7390827c6c assert by str and unicode to make it more py3 friendly 2016-07-28 09:29:06 +02:00
Martijn Koster 70e30c5371 Patch issue 358 status context (#428)
* Add "context" to CommitStatus
* Add testcase for context in CommitStatus
2016-07-26 20:56:14 -04:00
Matt Babineau 3c6f99feb4 Adding "since" param to Issue.get_comments() (#426) 2016-07-21 11:19:13 -04:00
Jannis Gebauer 446313ea81 Merge branch 'master' of https://github.com/enix223/PyGithub into enix223-master 2016-07-18 17:15:19 +02:00
Peter Buckley cb0cf0a680 update doc url everywhere (#420) 2016-07-12 16:38:02 -04:00
E. Dunham ba66862179 Document how one gets an AuthenticatedUser object 2016-07-05 14:23:58 -07:00
Per Øyvind Karlsen 8985368e29 fix wrong expectance on requestJsonAndCheck() returning {} if no data
When there's no data, requestJsonAndCheck(), or rather
__structuredFromJson() returns None rather than {}.
As both None & {} evaluates to false, 'if not data:' will give the
correct behaviour regardless of returning {} or None.
2016-06-30 16:53:35 +02:00
Jimmy Zelinskie 1863ca26c7 Merge pull request #403 from mat128/handle_redirects
Follow redirects in the case of a 301 status code
2016-06-28 12:59:06 -04:00
Jeffrey Melvin e1be1e634d Add previous_filename property to File 2016-06-28 10:06:54 -05:00
Enix Yu 8bb765a2da fix update/create/delete file api return value issue 2016-06-27 10:04:17 +08:00
Enix Yu a7929ac5c4 fix typo 2016-06-27 09:56:39 +08:00
Enix Yu 19f4d0af30 Merge branch 'master' of https://github.com/enix223/PyGithub 2016-06-27 09:53:29 +08:00
Enix Yu a0a4511f29 fix update/delete/create content return value invalid issue 2016-06-27 09:52:11 +08:00
Mathieu Mitchell c29f5335cc Follow redirects in the case of a 301 status code 2016-05-27 09:25:32 -04:00
humbug 8f8b455a35 Fix for pickling exception when deserializing GithubException.
See: https://bugs.python.org/issue9400

"Because CalledProcessError extends PyExc_BaseException, which defines a __reduce__ method, that special method cause the pickle load to call the exception type's __init__ method with packed self.args as arguments. So if a subclass of "Exception" needs to behave correctly in pickling, it should make self.args meet its __init__ method's function signature. "
2016-04-04 16:47:43 -07:00
Dustin Spicuzza 397a74d19d add support for the head parameter in Repository.get_pulls 2016-02-02 16:31:29 -05:00
Jimmy Zelinskie b81f531dba Merge pull request #382 from doctoryes/master
Add ability to check combined status.
2016-01-25 21:49:04 -05:00
John Eskew 5823ed7d42 Add:
- CommitCombinedStatus class
  - get_combined_status() to Commit class to return combined status
  - Add test for combined status.
2016-01-25 17:57:21 -05:00
Enix Yu 5b7f0bb6a8 fix python3 compatibility issue for using json/base64 2016-01-16 16:11:34 +08:00
Enix Yu 46895df13d change replay data for update file test case 2016-01-15 12:40:52 +08:00
Enix Yu 00777dbff5 fix python3 compatability error in test case 2016-01-15 12:37:32 +08:00
Enix Yu 4aaeb9e73b Add repo content create/update/delete testcase 2016-01-15 12:03:26 +08:00
Jimmy Zelinskie 65360b0d30 fix protect branch tests 2016-01-12 22:55:33 -05:00
Kyle Hornberg 737f0c3ebe Add branch protection endpoint 2016-01-07 08:13:20 -06:00
Enix Yu ae37d4449f fix request parameters issue 2015-12-26 10:26:22 +08:00
Enix Yu b83ffbf893 add content file create/update/delete api 2015-12-23 10:35:09 +08:00
Aron Culotta a06b5ecfb2 fix misspelling: https://github.com/PyGithub/PyGithub/issues/363 2015-12-15 17:21:05 -06:00
Aaron Levine 71593a8348 Adding base parameter to get_pulls() method. 2015-11-30 09:44:02 -07:00
Kevin Lewandowski 70bcb6d0c1 add support for the direction parameter in Repository.get_pulls 2015-11-16 23:08:31 -08:00
Jimmy Zelinskie f37d1febe1 Merge pull request #354 from jayfk/creator-parameter
Add creator to get_issues
2015-11-09 12:09:57 -05:00