Commit Graph
743 Commits
Author SHA1 Message Date
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
Jay ca9af4f421 added creator parameter 2015-11-09 14:00:33 +01:00
Matt Babineau a3dc763ba5 Update CommitStatus.py 2015-11-03 15:50:59 -05:00
Dan Vanderkam d31742a719 Add repo.get_stargazers_with_dates() 2015-10-14 15:19:39 -04:00
Dan Vanderkam fb6f3cb3a2 Thread headers through PaginatedList 2015-10-14 11:07:13 -04:00
Joseph Rawson 3cf0a44691 support long integers in get_repo 2015-10-03 11:16:54 -05:00
Christopher Wilcox 3f65a123fb Add test for #339 fix 2015-09-16 15:43:15 -07:00
Christopher Wilcox f532deea3f Fixes #339 by allowing strings in the labels list. 2015-09-15 12:46:32 -07:00
Raja Reddy Karri 3aee448428 Fixing https://github.com/PyGithub/PyGithub/issues/335.
Issue.remove_from_labels fails when the label passed is a string with whitespace characters
2015-08-27 15:49:35 +05:30
Sebastien Besson 763491310a Add trailing underscore to filter_ and use {} as the default dict 2015-08-18 20:43:27 +01:00
Sebastien Besson 31f4b1bd62 Add support for filter/role options in Organization.get_members() 2015-08-18 11:57:25 +01:00
edhollandAL e99ab3caf7 Merge pull request #1 from edhollandAL/develop
Freshen master with changes from develop
2015-05-08 14:57:59 +01:00
Ed Holland ed466343d3 Fix style problems in new code 2015-04-24 10:18:00 +01:00
Ed Holland 906d8d8ed2 Add support for github releases. Includes methods for creating + getting releases, but no support for assests yet 2015-04-24 10:15:18 +01:00
Brian Eugley 9be7506f15 code improvement 2015-04-15 15:50:30 -04:00
Brian Eugley f035591d70 Get proxy info from http_proxy first, HTTP_PROXY second 2015-04-15 15:23:17 -04:00
Brian Eugley 7c79c1b80b Connect through a proxy with authentication 2015-04-15 13:56:46 -04:00
Jimmy Zelinskie 75e0430421 Merge pull request #305 from Jucyio/develop
Add support to create Repository objects lazily in MainClass.
2015-04-02 12:01:25 -04:00
Uriel Corfa b4de74531a Add support to record tests using the oauth token instead of a
username/password. This lets people whose account uses 2-factor
authentication record tests.
2015-03-26 21:17:57 -07:00
Uriel Corfa 626d29c938 Add support to create Repository objects lazily in MainClass.
This lets users do the following without issuing an unnecessary request:

issues_of_my_repository = g.get_repo('PyGithub/PyGithub').get_issues()

Since the GithubObject layer handles laziness transparently, lazy
loading is enabled by default, and can be disabled via the `lazy`
kwarg. This does not affect any test except tests that pertain to
caching or laziness itself.
2015-03-26 20:56:27 -07:00
Jimmy Zelinskie ca13204dd5 Merge pull request #290 from ndahlquist/develop
Change InputGitAuthor to reflect that time is an optional parameter.
2015-03-18 15:20:30 -04:00
Jimmy Zelinskie 5e34bfeb2e Merge pull request #294 from dpocock/dpocock-accept
Allow access to preview versions of the server-side API
2015-03-18 15:16:45 -04:00
Jimmy Zelinskie 5036d4bcb2 Merge pull request #284 from xorel/develop
Add team membership add call
2015-03-18 15:13:21 -04:00
Jimmy Zelinskie 5cc9b1e193 Merge pull request #295 from ewalker11/develop
Fix paginated list handling of 204 No Content
2015-03-03 12:51:04 -05:00