Commit Graph
1328 Commits
Author SHA1 Message Date
Jimmy Zelinskie 2d65840dfd Merge pull request #437 from PyGithub/travis
Releases based on travis
2016-08-11 11:27:10 -04:00
Jannis Gebauer 3c20a66e42 upgrade release process based on travis 2016-08-11 17:07:58 +02:00
Jimmy Zelinskie ef184cccee Merge pull request #436 from GHfan/unicode_content_file_support_py2
change file content encoding to support unicode(like chinese), py2
2016-08-10 11:57:54 -04: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 6fdfadc596 Merge branch 'enix223-master' 2016-07-18 17:16:33 +02: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
Peter Buckley 23c0e75139 fix a couple typos to be clearer (#419) 2016-07-08 17:50:26 -04:00
Jimmy Zelinskie 227b3ef615 Merge pull request #417 from edunham/explain-authed-user
Document how one gets an AuthenticatedUser object
2016-07-05 18:26:22 -04:00
E. Dunham ba66862179 Document how one gets an AuthenticatedUser object 2016-07-05 14:23:58 -07:00
Jimmy Zelinskie d1b4a2ad33 Merge pull request #413 from proyvind/proyvind-fixes
fix wrong expectance on requestJsonAndCheck() returning {} if no data
2016-06-30 15:41:35 -04: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
Jimmy Zelinskie 5db2c2b411 Merge pull request #412 from jeffreymelvin-wf/expose_previous_filename_for_renamed_files
Add previous_filename property to File
2016-06-28 11:58:17 -04:00
Jeffrey Melvin e1be1e634d Add previous_filename property to File 2016-06-28 10:06:54 -05:00
Jimmy Zelinskie a1f3de244d add changelog entry for 1.26.0 2016-06-27 23:46:02 -04:00
Jimmy Zelinskie be2e98b64f update project files 2016-06-27 23:46:01 -04: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
Jimmy Zelinskie d463150c75 Merge pull request #395 from jlafleche/jlf/fixExceptionPickling
Fix for pickling exception when deserializing GithubException.
2016-04-04 20:20:12 -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
Jimmy Zelinskie fadb7d75a5 Merge pull request #384 from virtuald/patch-1
add support for the head parameter in Repository.get_pulls
2016-02-02 17:06:13 -05: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 9c6f881220 remove not covered API from readme 2016-01-15 12:50:03 +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 a16b55bdd1 add MAINTAINERS file
[skip ci]
2016-01-12 23:33:21 -05:00
Jimmy Zelinskie 63471573ca travis: disable email 2016-01-12 23:10:59 -05:00
Jimmy Zelinskie 65360b0d30 fix protect branch tests 2016-01-12 22:55:33 -05:00
Jimmy Zelinskie b193ff24ae Merge pull request #372 from khornberg/protect-branch
Add branch protection endpoint
2016-01-07 14:57:19 -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
Jimmy Zelinskie a39c1e8b9a Merge pull request #365 from PyGithub/nhomar-travis-button
Add travis button on README.
2015-12-16 01:29:19 -05:00
Nhomar Hernández [Vauxoo] a83649b68f Add travis button on README. 2015-12-15 23:18:39 -06:00
Jimmy Zelinskie 45c7f072e4 Merge pull request #364 from tapilab/master
fix misspelling: https://github.com/PyGithub/PyGithub/issues/363
2015-12-15 23:56:36 -05:00
Aron Culotta a06b5ecfb2 fix misspelling: https://github.com/PyGithub/PyGithub/issues/363 2015-12-15 17:21:05 -06:00
Jimmy Zelinskie 5ad69189ea Merge pull request #360 from allevin/master
Add support for the "base" parameter in the repository get_pulls() method.
2015-11-30 12:10:43 -05:00