Gilad Shefer
162f0397bc
Added option to create review for Pull request ( #662 )
...
* Added option to create review for Pull request
* Fix tests
2018-03-20 22:28:39 +08:00
Wan Liuyang
3cd176e3c3
Depreciate legacy search API
2018-03-20 20:27:27 +08:00
Wan Liuyang
67091c256c
Update introduction.rst, closes #636
2018-03-19 07:38:52 +08:00
Michał Górny
10ee17a25c
Filter team members by role ( #491 )
...
* Team: support filtering members by role
* Team: support adding membership with role
2018-03-17 22:05:13 +08:00
sfdye
3d31252337
Merge remote-tracking branch 'origin/master'
2018-03-17 20:33:55 +08:00
sfdye
15267c6804
Clean up
2018-03-17 20:33:41 +08:00
Wan Liuyang
b63ed20329
Update CONTRIBUTING.md
2018-03-17 20:29:10 +08:00
sfdye
365a0a24d3
Apply fix_headers script to update copyright info
2018-03-17 20:06:16 +08:00
Darragh Bailey
0fb176fd71
Add url attribute to PullRequestReview object ( #731 )
...
To compare PullRequestReview objects, they need to have the 'url'
attribute because the CompletableGithubObject expects to be able to
inspect a '_url' attribute on objects when testing for equality.
2018-03-16 22:49:01 +08:00
Shinichi TAMURA
0f0a7d4e68
Added target_commitish option to Repository.create_git_release() ( #625 )
...
* Added is_draft and is_prerelease property to GitRelease
* Added target_commitish option to Repository.create_git_release()
* Added test for Repository.create_git_release()
* Renamed attr of GitRelease: is_draft, is_prerelease -> draft, prerelease
2018-03-15 11:17:04 +08:00
sfdye
654b06f6ba
Update Sphinx conf
2018-03-13 22:51:56 +08:00
sfdye
58e1ef9ccb
Fix copyright formatting
2018-03-13 22:30:47 +08:00
sfdye
020c136a40
Update doc link in copyright text
2018-03-13 22:07:38 +08:00
Wan Liuyang
a32a17bf81
Fix broken Github reference link in class docstrings
2018-03-13 15:07:07 +08:00
Anton Nguyen
c7f6563c34
Add hook support for organizations ( #729 )
...
* Add hook support for organizations
Specifically, the create_hook, get_hook, and get_hooks calls
* Added support for the edit and delete hook functions
2018-03-12 23:02:52 +08:00
sfdye
58f6e6eab5
Use a more modern sphinx theme
2018-03-11 09:21:14 +08:00
Isuru Fernando
d9c5a07fcf
Get organization from the team ( #590 )
...
* Get organization from the team
* Fix ReplayData for Team
2018-03-10 20:13:44 +08:00
Wan Liuyang
28499d0b9e
Add gitsuggest, fixes #581
2018-03-10 14:14:34 +08:00
The Gitter Badger
9d1a7b13aa
Add a Gitter chat badge to README.md ( #728 )
...
* Add Gitter badge
* Update README.md
2018-03-09 17:26:50 +08:00
Wan Liuyang
c3a8acabd0
Remove contributing from readthedocs, closes #714
2018-03-09 16:25:20 +08:00
Wan Liuyang
d6866ad186
Add codetriage badge
2018-03-09 16:15:49 +08:00
Agor Maxime
aa556f85a1
Finished search_commits PR ( #727 )
...
* Added support for newer commit search API endpoint
* Added tests for new commit search method on main Github class
* Fixed sort parameter of search_commits
2018-03-09 08:00:47 +08:00
Victor Granic
f8b23505da
Collaborator site admin ( #719 )
...
* Add admin_user property to NamedUser
* Fix type from string to bool for site_admin property
* Add a test for site_admin
2018-03-06 10:35:11 +08:00
bryanhuntesl
6109eb3c2b
Fix add_to_watched for AuthenticatedUser ( #716 )
...
* 'watching' != 'staring'
The functionality was completely broken - api endpoints were wrong/didn't work. Tested by logging in as an authenticated user - verified listing watches, add watch, and remove watch.
* fix unit tests
2018-03-03 12:02:41 +08:00
Wan Liuyang
8daae1375e
Update doc link for PyPI
2018-03-02 11:37:27 +08:00
Wan Liuyang
b2461670d3
Publish version 1.37
2018-03-01 18:09:55 +08:00
Wan Liuyang
99d9e3b092
Using latest version of doc for badge
2018-03-01 18:04:04 +08:00
Wan Liuyang
1ca7d523fb
Make sphinx work again
2018-03-01 17:28:48 +08:00
Wan Liuyang
a4fb71296f
Add @sfdye to MAINTAINERS
2018-03-01 11:52:57 +08:00
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