Glenn Lewis
5f4a113632
go-github: add useful fields to Webhooks
Change-Id: Ia4888efa18c557a31af7093cfa449a67650afa20
10 years ago
Glenn Lewis
ac4445ca1c
go-github: add Event types for Webhooks
Change-Id: I013dcbfb58ec10756c7b4e4bae6fe79b5e7c0062
Fixes #287
10 years ago
Will Norris
5202c804ed
CONTRIBUTING: remove paragraph that was rewritten
10 years ago
Will Norris
13acccd3ac
update CONTRIBUTING file
- simplify CLA text slightly
- clarify naming convention for .go files
- add "Maintainer's Guide" to document how I handle merging in
contributions
10 years ago
Will Norris
868f722d7a
add David Deng (Googler) as contributor
10 years ago
David Deng
d3fb171e8b
Do URL path escape composing the URL for GetContents
10 years ago
Will Norris
3bcea13cf6
add Luke Roberts as contributor
10 years ago
Luke Roberts
4c742510b0
add preview header to list branches request
10 years ago
Glenn Lewis
d91d6cc927
go-github: move event types into event_types.go
fixes #283
10 years ago
Glenn Lewis
ac77c93f2b
go-github: add support for issue locking / unlocking
Fixes #279 .
Change-Id: I55ffdadfe5970d664ac94048e8bc2b8f5d935903
10 years ago
Will Norris
2ca26e16ec
add Pierre Carrier as contributor
10 years ago
Pierre Carrier
1f0226685e
issues: add Repository
10 years ago
Dmitri Shuralyov
39d75606a4
Document specific errors returned by CheckResponse.
10 years ago
Dmitri Shuralyov
c3f5683ad1
Add RateLimitError type, detect and return it when appropriate.
Fixes #152 .
Add tests for RateLimitError.
Refactor populateRate into a more general parseRate.
10 years ago
Dmitri Shuralyov
121939088e
Minor Rate, RateLimits documentation fixes.
Rate is now a method, not a field.
Mention RateLimits rather than RateLimit since the latter is deprecated.
Use Go convention for marking deprecated identifiers. See
257114af91 .
10 years ago
Will Norris
1ef1ae6f86
add StatusUnprocessableEntity constant
10 years ago
Piotr Zurek
d722750ab1
new repo struct for push events
fixes: #131,#271
10 years ago
Shawn Smith
05bd5edbd5
gofmt -s
fixes #274
10 years ago
Will Norris
77fb2afcd9
add saisi as contributor
10 years ago
saisi
237a9a4c5f
Fixed a couple of typos in comments
fixes #272
10 years ago
Parker Moore
bd5f67a256
RepositoryContentFileOptions: specify .Content as unencoded
Fixes #263 .
10 years ago
Will Norris
3e7958a20f
add Julien Rostand as contributor
10 years ago
Julien Rostand
c970c7aa40
Add Sender to WebHookPayload. Resolves #267 .
10 years ago
Will Norris
0e4de6106c
add John Engelman as contributor
10 years ago
John Engelman
e5c7fc4800
Add the Description field for organization teams.
Closes #265 .
10 years ago
Shawn Smith
1c7a393f78
fix spelling in comment
10 years ago
Will Norris
ce91f38806
add griffin_stewie as contributor
10 years ago
griffin_stewie
6387a9448d
Add "SuspendedAt" field to User struct.
10 years ago
Will Norris
b8b4ac7429
update to 2048 bit key for user integration test
As with the previous key added in 19c0916 , I deleted the associated
private key using /usr/bin/shred. But of course, I have no way to prove
that. Again, all the more reason to always use a test account when
running these integration tests.
10 years ago
Björn Häuser
cedb0a9ae0
update required go version to 1.4
see 92bbb1ce51
10 years ago
Björn Häuser
68d9199c29
Edit branch protection
This adds support and integration tests for editing branch protection.
10 years ago
Will Norris
63fbbb283c
add Björn Häuser as contributor
10 years ago
Björn Häuser
a42758ca56
Add initial support for protected branches
For more information about the preview see here:
https://developer.github.com/changes/2015-11-11-protected-branches-api/
This adds only retrieving the information and not setting it. Setting
will come in a later commit (if that one here is okay).
I tried to follow the naming guidelines as much as possible and
hopefully I made it right the first time. :-)
10 years ago
Will Norris
92bbb1ce51
bump minimum tested version to go 1.4
Adding the new BasicAuthTransport raises the minimum required version of
go to 1.4.
10 years ago
Will Norris
8f3e741cad
add support for HTTP Basic Authentication
Add a new error type, TwoFactorAuthError, which identifies the need to
include a one-time password when using Basic Auth for a user with
two-factor auth enabled.
An example of using both the new transport and error type can be seen in
examples/basicauth/main.go.
fixes #258
10 years ago
Shawn Smith
0457a4f009
fix typo
10 years ago
Will Norris
ceda53e424
add sona-tar as contributor
10 years ago
sona-tar
c57bb02ff6
Add ListOptions to ListWatched
10 years ago
Will Norris
abea5d2a73
add Eric Paris (Red Hat, Inc.) as contributor
10 years ago
Eric Paris
3eb9d5d0e1
Fix default comment for Direction in issue lists
Both:
https://developer.github.com/v3/issues/#list-issues
https://developer.github.com/v3/issues/#list-issues-for-a-repository
State that the default is `desc` for direction. (As does my results). So
update the comment.
10 years ago
Maksim Zhylinski
c9c9f3beea
ignore EOF error when json decoding empty response
In particular, this handles the case of trying to decode No Content
(204) responses.
10 years ago
Will Norris
17b8f05fc8
add Brad Harris as contributor
10 years ago
Brad Harris
59f41ca3f7
adding URL property to Hook struct
10 years ago
Dmitri Shuralyov
e5099d7537
Fix data race surrounding Client.Rate.
Previously, concurrent calls to Client.Do would have data races writing
Client.Rate. Protect it with a mutex.
Resolves #253 .
10 years ago
Dmitri Shuralyov
44b1ede22d
github: Document all possible values for IssueList{,ByRepo}Options.State.
The value "all" is also possible for State. See https://developer.github.com/v3/issues/#list-issues
and https://developer.github.com/v3/issues/#list-issues-for-a-repository .
10 years ago
Will Norris
47f2593dad
add Russ Cox as contributor
10 years ago
Russ Cox
603713f3fd
github: document and add support for all IssueEvent types
10 years ago
Dmitri Shuralyov
6eb49d4ba5
Add support for 'renamed' issue events.
Documented at https://developer.github.com/v3/issues/events/#events-1
and https://developer.github.com/v3/issues/events/#attributes .
> Event "renamed":
> The issue title was changed.
> Attribute "rename":
> An object containing rename details including ‘from’ and ‘to’
> attributes. Only provided for ‘renamed’ events.
10 years ago
Will Norris
81d0490d8a
use PUT verb when setting org membership
Fixes #244
10 years ago
Will Norris
84fc80440d
add Maxime Bury as contributor
10 years ago