Commit Graph
1453 Commits
Author SHA1 Message Date
namc 8a13b27476 Add __eq__ and __hash__ to NamedUser (#706)
* Add __eq__ and __hash__ to NamedUser

* Remove extra outer brackets from __eq__ in NamedUser

* Add unit tests for __eq__ and __hash__

* Remove redundant brackets in __eq__ : NamedUser
2018-02-21 14:40:01 +08:00
Raihaan 0e5a1d1d53 Add maintainer can modify flag to create pull request (#703)
* Add flag for maintainer can modify when creating pull requests

* Change default to be None to let github decide the behaviour

* Update docstring

* Follow conventions from other functions
2018-02-15 10:07:26 +08:00
Raihaan 98d32af494 Fix typo in Design.md (#701) 2018-02-14 00:31:54 +08:00
James D'Amato 01ab4cc6ae Add role parameter to Team.add_membership method (#638) 2018-02-07 01:25:24 -08:00
James D'Amato 5a1424bbc4 Add add_membership testcase (#637) 2018-02-07 01:17:30 -08:00
Jason White f42bd1d2a0 Fix changelog formatting 2018-02-07 01:01:27 -08:00
Jason White 513ab1cdd8 Publish version 1.36 2018-02-07 00:57:51 -08:00
Jason White 5d911e2225 Fix changelog generation
'\n' wasn't getting interpretted as a new line.
2018-02-07 00:56:16 -08:00
John Hui 167f85efcd Add collaborator permission support (#699) 2018-02-07 00:27:11 -08:00
Brian Torres-Gil cef98416f4 Use datetime object in create_milestone (#698)
Method create_milestone now uses datetime object to fit better with v3 API using ISO8601.

Date object still allowed for backward compatibility.
2018-02-06 22:44:57 -08:00
Michael Behrisch e671fdd035 Fix date format for milestone creation (#593) 2018-02-06 14:21:51 -08:00
R1kk3r cbfe8d0f62 Remove the default "null" input send during GET request (#691)
* Remove the default "null" input send during GET request

* Remove the 'null' value from all tests
2018-01-31 16:16:11 -08:00
Gilad Shefer 5c9c2f7523 Updated PullRequest reviewer request according to API changes (#690)
https://developer.github.com/changes/2018-01-24-end-thor-preview/
2018-01-26 19:06:09 -08:00
edquist 2f9b1e018a make created_at/published_at attrs available for Release objects (#689) 2018-01-26 11:59:30 -08:00
Ilya Konstantinov 3baa682cf8 Add committer/author to Repository.delete_file (#678) 2018-01-16 14:17:47 -08:00
Andrew Smith 45d18436fd Add method to get latest release of a repository (#609) 2018-01-16 13:57:24 -08:00
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
Daniel Quinn c5988c3980 Use print() syntax in README (#681)
Since 2.7 supports this syntax as well, this will help not to confuse new people.
2018-01-05 11:49:25 -08:00
Daniel Quinn 3726f686f9 Add PyPI badge and installation instructions to README (#682) 2018-01-05 11:42:21 -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
Wan Liuyang c33a388395 Doc create instance from token (#667) 2017-12-07 20:01:03 -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
Hugo 15cdc2f8fd Remove broken downloads badge (#644)
See https://github.com/badges/shields/issues/716
2017-11-27 14:28:09 -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
Adam Dangoor f54b1356fb Merge pull request #618 from TiagoDanin-Forks/doc
Updated references in introduction.rst
2017-11-22 19:57:53 +00:00
Adam Dangoor e7b5dc9890 Merge pull request #643 from hugovk/patch-1
Add Python 3.6
2017-11-22 19:56:14 +00:00
Hugo 2533bed9ba Add Python 3.6 2017-10-16 08:41:17 +03:00
Hugo e78f0ecedb Add Python 3.6 2017-10-16 08:40:31 +03:00
Tiago Danin d2c72bb330 Updated references in introduction.rst 2017-08-23 11:27:53 -03: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 19310e77e3 new release, 1.35 2017-07-10 13:16:34 +02:00
Jannis Gebauer 4c64b28920 added repository collaborator invitation 2017-07-10 13:14:09 +02:00
Jannis Gebauer b93d43df23 reformat changelog 2017-07-10 10:58:21 +02:00
Jannis Gebauer 49834e4288 Merge pull request #557 from paulortman/master
add "integration" install option with minimal docs
2017-07-10 10:48:25 +02:00
Paul Ortman 656bd96c6c add "integration" install option with minimal docs 2017-04-17 23:38:53 -05:00
Nhomar Hernandez a628556690 Publish version 1.34 2017-04-02 16:00:08 -05:00
Nhomar Hernandez 49bcabd7c7 Publish version 2017-04-02 15:59:22 -05:00