Parker Moore
43c0b5facf
licenses: add support for repository license via RepositoriesService.Get
11 years ago
Parker Moore
c35517a766
licenses: add support for the OSS licenses API provided by GitHub.
Fixes #185 .
11 years ago
Will Norris
6d44ada0e0
add tests for new Repositories.DownloadContents method
11 years ago
Michael Tiller
c9d6108f14
This adds an additional method to RepositoriesService to download a file
11 years ago
Parker Moore
af9f30e4c3
memberships: remove custom wasp Accept header
Memberships API is now official.
https://developer.github.com/changes/2014-09-16-finalizing-the-organization-and-team-membership-apis/
Fixes #192
11 years ago
Parker Moore
0aa6dda877
deployments: remove cannonball Accept header
Deployments API is now official.
https://developer.github.com/changes/2014-11-25-the-deployments-api-is-official/
Fixes #189 .
11 years ago
Will Norris
2d7e059012
add Parker Moore as contributor
11 years ago
Parker Moore
de34e68267
orgs_teams: remove AddTeamMember and RemoveTeamMember
Both have been deprecated.
Fixes #190 .
- AddTeamMember: https://developer.github.com/v3/orgs/teams/#add-team-member
- RemoveTeamMember: https://developer.github.com/v3/orgs/teams/#remove-team-member
11 years ago
Will Norris
508dcfd4c0
add support for Organization webhooks
Also:
- add PingHook to RepositoriesService
- move ListServiceHooks to Client, since hooks are no longer just for
repos. Leave behind Repositories.ListServiceHooks for backwards
compatibility
Fixes #178
11 years ago
Will Norris
9f1eec8b7c
only redact client_secret, add test for sanitizeURL
11 years ago
Will Norris
b3e831d20d
add Austin Dizzy as contributor
11 years ago
Austin Dizzy
c9bf21a1b7
Redact client_id and client_secret from error.
The client_id and client_secret URL variables,
containing sensitive app information, are leaked
to users if the Go error is returned to them. To
prevent this, sanitizeURL redacts the fields from
ErrorResponse's Error method. Therefore making the
error message safe to expose to users.
11 years ago
Will Norris
4d2835d25c
add Andreas Garnæs as contributor
11 years ago
Andreas Garnæs
571e5993ba
Add merge_base_commit to compare.
11 years ago
Will Norris
f43bc709e9
add Nathan VanBenschoten as contributor
(not added to AUTHORS - Google owns copyright)
11 years ago
Nathan VanBenschoten
a13db1a20c
Add Gists.GetRevision()
11 years ago
Will Norris
e491b53eeb
add dmnlk as contributor
11 years ago
dmnlk
31ecb2cc3f
fix RepositoryListByOrgOptions in README sample
RepositoryListByOrgOptions doesn't have a `Sort` field
11 years ago
Will Norris
6ba889c43d
add Ryan Lower as contributor
11 years ago
Ryan Lower
7418cfb971
Add Sort and Direction to PullRequestListOptions
As per https://developer.github.com/v3/pulls/#list-pull-requests
11 years ago
Will Norris
cde1bb960a
add Fredrik Jönsson as contributor
11 years ago
Fredrik Jönsson
2ecbc4667b
Added a test for DiffURL & PatchURL
Renamed test method
11 years ago
Fredrik Jönsson
8e3584dcc5
Added DiffURL & PatchURL to PullRequest struct
Changed from PatchUrl to PatchURL
11 years ago
Will Norris
065a5b195c
add Michael Tiller as contributor
11 years ago
Michael Tiller
88853b4d83
Add DownloadURL field to RepositoryContent struct
The RepositoryContent struct doesn't quite map to the API because it is
missing a download link. This link is very useful because while the API
doesn't allow large files to be downloaded, the link allows the raw
files to be downloaded outside the API.
11 years ago
Michael Tiller
17225f1b84
Fixes json mapping for git_url and html_url
The issue is that the JSON tags on the contents struct were wrong. They
were missing the underscore.
11 years ago
Will Norris
c57f250890
typo: s/GitHib/GitHub/ ( fixes #177 )
11 years ago
Will Norris
a5a2cf2688
fix broken test when switching IssuesRequest.Labels to slice pointer
11 years ago
Will Norris
b3cc8ed78a
use *[]string for IssueRequest.Labels
Unfortunately this is a breaking change, and having a pointer to a slice
is not very common, but is needed in this case to allow clearing an
issue's labels.
Fixes #181
11 years ago
Will Norris
0aaa85be4f
remove remaining references to goauth2 library
11 years ago
Will Norris
bdbf7cb74c
add Brian Egizi as contributor
11 years ago
Brian Egizi
a194a0ca62
Update authentication section of README
Fixes references to depreciated goauth2 libaray and replaces example
with the recomended oauth2 implimentation.
11 years ago
Will Norris
2431923100
use newer svg badge for travis
11 years ago
Will Norris
80d3756ba6
use newer svg badge for coveralls
11 years ago
Will Norris
7ea4ee6d22
fixes for gofmt -s, golint, and go vet
11 years ago
Dmitri Shuralyov
1e55bf6be8
Add CommentCount to Commit.
This integer exposes the number of comments that have been posted for that commit on GitHub.
It is documented at https://developer.github.com/v3/repos/commits/ .
11 years ago
Will Norris
845773f864
add kyokomi as contributor
11 years ago
kyokomi
6340473d06
Added missing fields in Gist class
11 years ago
Will Norris
d8aeeeb79a
add Cristian Maglie as contributor
11 years ago
Cristian Maglie
8e7b1de9c5
Added missing fields in RepositoryRelease class
https://developer.github.com/v3/repos/releases/#create-a-release
Fixes #159
11 years ago
Will Norris
0839c734c3
add William Bailey as contributor
11 years ago
William Bailey
74c51d548b
Add Organization to Team struct
11 years ago
Will Norris
a0c4ab9bba
add Martin-Louis Bright to contributors
11 years ago
Martin-Louis Bright
9b08b7fd98
Adding administration functions for users.
11 years ago
Will Norris
62a50bb14b
add some additional Membership fields
11 years ago
Will Norris
5257f70676
use https for GitHub URL
11 years ago
Quinn Slack
001a731518
Use https for godoc.org URLs
11 years ago
Will Norris
8967205dd7
fix return type of PullRequests.ListCommits
this method actually returns RepositoryCommits (go-github's term for
this, not GitHub's) rather than Commits. They are very, very close in
structure (which is likely why this has gone unnoticed for so long), one
of the primary differences being that RepositoryCommits exposes the
GitHub identity of the commit author and committer if possible.
11 years ago
Will Norris
3ac66ef9d6
add support for combined status
11 years ago
Will Norris
9c120308df
add Mat Geist as contributor
11 years ago