Commit Graph
806 Commits
Author SHA1 Message Date
Iraquitan Cordeiro Filho 6cfe46b712 Add permissions field to NamedUser (#676) 2018-01-16 13:52:52 -08:00
Simon 6bc804dc15 ♻️ Fix all pep8 coding conventions 2018-01-16 13:41:02 -08:00
Simon 89834a9b77 Add new params for /users/:user/repos endpoint 2018-01-16 13:41:02 -08:00
Thibault Jamet 3f77e53725 Add support for changing PR head commit (#632)
* Add support for changing PR head commit

Signed-off-by: Thibault Jamet <tjamet@users.noreply.github.com>

* Add support for custom commit arguments

Add commit_title, merge_method and sha arguments to the pull request
merge method

Signed-off-by: Thibault Jamet <tjamet@users.noreply.github.com>
2018-01-16 13:26:38 -08:00
Hugo 6735be4933 Drop support for EOL Python 2.5-2.6 and 3.2-3.3 (#674) 2017-12-20 22:52:00 -08:00
Nicolas Agustín Torres ba50af53a0 Add Reactions feature (#671)
* List reactions of issue

* Create issue reaction

* List reactions of an issue comment

* Create a reaction on an issue comment

* List reactions of a commit comment

*  Create a reaction on a commit comment

* List reactions of a pull request review comment

* Create a reaction on a pull request review comment

* Delete reaction

* Renames IssueReaction to Reaction

* Fixes docstring in Reaction class

* Removes issue_url on Reaction class

* Fixes string concatenation that does not work on python 2.6
2017-12-14 19:23:33 -08:00
Wan Liuyang 6169d8eaa2 Add ping_url and ping to Hook (#669) 2017-12-10 14:57:28 -08:00
Andreas Lutro 35333e0390 Add Repository.archived property (#657) 2017-12-10 14:52:23 -08:00
Wan Liuyang e5bfdbeb06 Add unit test for tree attribute of GitCommit (#668) 2017-12-10 14:46:57 -08:00
Jimmy Zelinskie dbc6f5abf0 Add read_only attribute to Deploy Keys (#570) 2017-12-07 20:11:10 -08:00
Ben Firshman 317079efff Fix uploading binary files on Python 3 (#621)
There is a bit of logic for Python 2 that detects if you're
uploading string or bytes, but this is missing for Python 3.
2017-11-27 15:26:18 -08:00
Colin Hoglund 84b43da76c Decode jwt bytes object in Python 3 (#633) 2017-11-27 14:59:38 -08:00
Balázs Rostás 5c41120a8a Added missing parameters for repo creation (#623)
* Added missing parameters to organisation repo creation

* team_id should already be an id not a team object

* Name arguments in the test

* Fixed assertion check

* Added missing parameters to user repo creation

* Fixed comments
2017-11-27 14:25:00 -08:00
Chris McBride 52449649a4 Add ability to access github Release Asset API. (#525)
* Add ability to access github Release Asset API.
See: https://developer.github.com/v3/repos/releases
2017-11-27 10:01:03 -06:00
Mike Miller ebe7277a7f Add 'submitted at' to PullRequestReview (#565)
This field is not currently listed in the Github documentation at
https://developer.github.com/v3/pulls/reviews/, but it's been included
since Github 2.9

(It even exists in the test data returned for the original
PullRequestReview PR)
2017-11-23 03:49:41 -08:00
Jason White 554c1ab124 Quote path for /contents API (#614)
This allows spaces and other special characters in the file path.

Fixes #613.
2017-11-22 12:57:31 -08:00
Jannis Gebauer 3437a7030f Merge pull request #529 from sharkykh/patch-1
Import missing exception
2017-07-10 20:13:15 +02:00
Jannis Gebauer 291f6dde62 fix failing tests on py26 2017-07-10 13:21:22 +02:00
Jannis Gebauer 4c64b28920 added repository collaborator invitation 2017-07-10 13:14:09 +02:00
Jannis Gebauer d447eb13b9 switch to pyjwt, python-jose is not secure 2017-03-27 15:20:24 +02:00
Aaron Levine b6b127d732 Updates to API and changes to resolve testing issues. 2017-03-24 14:45:04 -06:00
Aaron Levine 7a0fcb27b7 Add testing for Pull Request Reviews and Review Requests 2017-03-21 13:00:11 -06:00
Aaron Levine f383603f7d Remove unnecessary lines 2017-03-21 12:59:22 -06:00
Aaron Levine 2f0e4e55fe Add Support for Pull Request Reviews feature 2017-03-20 14:44:26 -06:00
sharkykh 67b078e920 Import missing exception
TwoFactorException was missing on GithubException import line
2017-02-21 00:51:50 +02:00
Jannis Gebauer 33334e4345 adding support for the integrations installation endpoint 2017-02-01 10:51:13 +01:00
Jannis Gebauer 6f5a2d4421 Merge pull request #449 from PyGithub/integrations
GitHub integrations support
2017-01-27 17:34:41 +01:00
Matthew Neal 0154c6b0d5 Support HTTP 302 redirect in Organization.has_in_members 2017-01-18 22:13:14 -06:00
Michael Pereira f119147399 Add details of repo type for get_repos documentation
Taken from https://developer.github.com/v3/repos/#list-organization-repositories
2017-01-17 12:56:17 -06:00
fukatani 01d4d5fc69 fix repository 2017-01-17 12:55:27 -06:00
Nhomar Hernández [Vauxoo] 9d14335657 Merge pull request #469 from tmshn/support-multiple-assignees
Support multiple assignees on Issue & PullRequest
2017-01-17 12:53:48 -06:00
Sam Corbett 8ab9082cff Encode GithubObject repr values in utf-8 when using Python2 2016-11-30 10:15:51 +00:00
Sylvus 4304ccddec Updated documentation 2016-11-27 15:02:16 +01:00
Sylvus a2da7f94c7 Added a subscribers count field 2016-11-27 15:00:19 +01:00
@tmshn 66430d7831 Added "add_to_assignees" & "remove_from_assignees" method to Issue object. 2016-11-27 21:31:30 +09:00
@tmshn c0de6be5ea Added "assignees" attribute to PullRequest object. 2016-11-22 20:03:30 +09:00
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
@tmshn ba007dc8a8 Added "assignees" argument in Repository.create_issue() 2016-10-10 11:08:52 +09:00
@tmshn 14dd9f0850 Enhance support of "assignees" argument in Issue.edit() 2016-10-10 11:08:41 +09:00
@tmshn e0e5fdf9c0 Added "assignees" attribute to Issue object. 2016-10-09 01:22:03 +09: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