i2bskn
110c6acdcb
Fix comments
11 years ago
Will Norris
7daf096c7b
add Panagiotis Moustafellos as contributor
11 years ago
Panagiotis Moustafellos
4560a73763
typo fix
ocd kicking in :)
11 years ago
Will Norris
9567bbdee8
add Alexander Harkness as contributor
11 years ago
Alexander Harkness
314bd44eeb
Fixed copy-paste error in documentation.
11 years ago
Craig Peterson
34bb95064e
adding ability to list organization repos
11 years ago
Will Norris
3d36a514f2
add Craig Peterson as contributor
11 years ago
Craig Peterson
42e85d18cf
Adding GetReleaseByTag
11 years ago
Craig Peterson
ef772c929d
Adding GetLatestReleast endpoint
11 years ago
Will Norris
4da7e49b0b
add Ruben Vereecken as contributor
11 years ago
Ruben Vereecken
fbc5be653c
Support for updated starring API
Supports the updated starring API as mentioned in issue #188 .
There is now a new struct called StarredRepository which holds a Repository and the new `starred_at` timestamp.
For now there is a special media type to request the new API. I've added a TODO for it to be deleted when the new API fully launches.
11 years ago
Will Norris
9eb187bac4
oauth2 package now provides a StaticTokenSource
11 years ago
Will Norris
930e6fdb8d
add Victor Castell as contributor
11 years ago
Victor Castell
b2f8d2ec40
use *[]string for DeploymentRequest.RequiredContexts
There's no way of serializing/requesting an empty required_contexts that
is needed for bypassing the commit status checks for the ref.
It's a breaking change but will allow to serialize an empty array and
omit empty value as expected.
11 years ago
Will Norris
6f7d3a5ad9
update godoc link to github package
11 years ago
Will Norris
e8719935a2
use golang.org/x/oauth2 for field and integration tests
11 years ago
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