Glenn Lewis
171a9316fc
Add Andy Hume to AUTHORS
Change-Id: Ic750fa04efece4af30ddb86dce3a3567a9a6ceb7
9 years ago
Andy Hume
747edb5a96
Adds method for getting a single Repo Deployment
9 years ago
Andy Lindeman
dccec7b5f1
Adjusts comment style based on feedback
9 years ago
Glenn Lewis
4e2c2aeb92
Add Andy Lindeman and Keita Urashima to AUTHORS
Change-Id: I4f93d60f33b42c7e1c0ef0cf57c6a4d57a3c19ba
9 years ago
Andy Lindeman
69894f9ef7
Adds AdminService and functions for updating LDAP mappings
Closes #479 .
Change-Id: Ib4aba6a5ccea430abdb4e9b1b2351870bf4ea79f
9 years ago
Andy Lindeman
3b96b53504
Updates for breaking changes to branch protection API
Per
<https://developer.github.com/changes/2016-06-27-protected-branches-api-update/ >,
breaking changes were made to the protected branches API during the preview
period.
* Removes Branch.Protection
* Removes EditBranch, protection is now modified using separate API routes
* Adds GetBranchProtection
* Adds UpdateBranchProtection
* Adds RemoveBranchProtection
`omitempty` is intentionally left off fields in `ProtectionRequest` because
passing `nil` (JSON `null`) has semantic meaning (described in
<https://developer.github.com/v3/repos/branches/#update-branch-protection >)
Fixes #387 .
Closes #476 .
Change-Id: I674e1d3a486e80ce241e2fd8d14f7547c50697d4
9 years ago
Keita Urashima
7baedea38f
Fix webhook sample code
Closes #478 .
Change-Id: I90e33c07431e868322629dc337000430c38d3b1d
9 years ago
Glenn Lewis
2ae0bbb4f9
Add Will Maier to AUTHORS
Change-Id: I3ee3d0f9f30cd5d6606fb7ae1c64213093eb5cd0
9 years ago
Will Maier
c6e655bba7
Return IssueEvent in ListIssueEventsForRepository
Fixes #176 .
Closes #475 .
Change-Id: I37f80bedbc689e1a8f97488e83dd69179dedcad4
9 years ago
Parker Moore
511bc5f4a8
Add support for PullRequestReviewEvent webhook.
Fixes #450 .
Closes #451 .
Change-Id: Iebdd2bd35a8ddd1346b2268e4e837d6145e990dc
9 years ago
Glenn Lewis
d4f1b2d029
Add Nick Miyake to AUTHORS
Change-Id: I834cbcaeab613d50e9693be9f8272ac35b83ce3b
9 years ago
Nick Miyake
59cf7e6efb
Update License struct and add new RepositoryLicense struct
Update structs to reflect the new reponses returned from GitHub.
Fixes #471
9 years ago
Lucas Alcantara
905f04725b
changed to point to new Projects API
Created new service ProjectsService and removed methods in repos_projects that belong to ProjectsService.
Minor tweaks by @gmlewis following review.
Fixes #461 .
Closes #467 .
Change-Id: I8b85ff6e716151b505c843c905534bd5fe8257ae
9 years ago
Lucas Alcantara
f561108eef
changed updatedAt json to correct json value
Closes #469 .
Change-Id: Ia5e4b979cc7cf70734c4104eb5616e0eb9cd5c3d
9 years ago
Garrett Squire
575b0b3756
add support for merge method and repository squash settings
Closes #437 .
Closes #446 .
Change-Id: I7a9bd0717310ef016b2695fe0e5cffb8e8b86ff8
9 years ago
Glenn Lewis
55263f3052
Add Lucas Alcantara to AUTHORS
Change-Id: I8d2c9474de1585936f5cd7093b1a7404de6ac76d
9 years ago
Lucas Alcantara
f8a2c9578e
Add new webhooks for Labels and Milestones
Fixes #460 .
Closes #463 .
Change-Id: I34688c42a9328af10b4b61546e8bfd2c95c893aa
9 years ago
Glenn Lewis
a0472864f3
Add Ronak Jain to AUTHORS
Change-Id: I86b10e5038a8292337486d40fd9d0d8310e2c0c3
9 years ago
Ronak Jain
5494398587
removed authorization preview header
Fixes #464 .
Closes #465 .
Change-Id: I9bde509ef6bf9382c48344e58d4a77da4b33e4a3
9 years ago
Preston Van Loon
b30a8bd204
Add support for Pages Preview API GetPageBuild for getting single specific page build
Closes #415 .
Closes #447 .
Change-Id: I36d64eb59d494afcc872a04a1da9e0b11f396e46
9 years ago
Fabrice Vaillant
f7fcf6f52f
Switches to the new traffic API format ( #462 )
Fixes #458
9 years ago
Glenn Lewis
ed33550bbf
Update AUTHORS file
Change-Id: Iba31c9762d66cf42198009fcf7ae074211679d1a
9 years ago
Bradley Falzon
6afedaae20
Add review_comment{s,}_url fields to PullRequest
Generalise and add to PullRequestsService URL test
Fixes #453 .
Closes #454 .
Change-Id: Iaee7d8498d1d6a0813bbba14261e4393f77c9d1f
9 years ago
Anshuman Bhartiya
1bc362c773
added license_template to repo struct
Closes #443 .
Change-Id: I7c30d4091b11216e0aa1189abe001ac2e7476e49
9 years ago
Victor Vrantchan
b0386ddc32
Use nested commit for StatusEvent
Full documentation of StatusEvent webhook here:
https://developer.github.com/v3/activity/events/types/#statusevent
Use RepositoryCommit type for Commit field in StatusEvent.
Fixes #448 .
Closes #449 .
Change-Id: I9a2936a1893f50c3b507f6f295428db85ecf932b
9 years ago
Timothée Peignier
93d3f73032
Add support for integrations service
Closes #436 .
Change-Id: I02f7503a362ffc5ec09e24d0e3da0f8adfcd4b0c
9 years ago
Don Petersen
a1746f2820
Fix type of RepositoryRelease Author field.
The author JSON is in the format of a user, not a commit author, and so
the author field on all the release fetching methods were nil.
Closes #439 .
Change-Id: Ifc1e79a3c92b27ea65618b16a3a2fd2eb2873710
9 years ago
Dmitri Shuralyov
59307ef6be
Add and detect AbuseRateLimitError.
It's similar to RateLimitError, but it's a different type of rate limit
error. It is documented at:
https://developer.github.com/v3/#abuse-rate-limits
Parse and include the Retry-After header value, if present. It is
documented at:
https://developer.github.com/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits
According to GitHub support, its type is an integer value representing
seconds.
Helps #431 .
9 years ago
Glenn Lewis
3e246d2999
Add support for new Projects Preview API
Fixes #432 .
Change-Id: I4792114482f412f0eff54a6899a759fc9393ff88
9 years ago
Glenn Lewis
e4194fe26c
Add Timothée Peignier as author
Change-Id: Ia98b6c6aaaa579642fc097ac48ab7cb064eaf281
9 years ago
Timothée Peignier
b0b867f2d5
Add installation webhook events
Add support for the new webhooks event for installations.
See: https://developer.github.com/early-access/integrations/webhooks/
Closes #434 .
Change-Id: I74d3d50cb6b350322fc4515ad70097f0f70ae478
9 years ago
Antoine Pelisse
94a3cd9f53
Parse Webhook payload into actual event
Closes #427 .
Change-Id: I67faac8df63e0d55fcce4ca5f9ab50e26c04d6b3
9 years ago
Glenn Lewis
6c0472a769
Add Dave Henderson as author
Change-Id: Ia2ea767cc4da4a66ad20fab0382def0c10a688b3
9 years ago
Dave Henderson
0b167f8965
Adding Milestone support for PullRequests
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
9 years ago
Yumikiyo Osanai
a32b73b3f7
Update RateLimits comment
GitHub search API ratelimits are changed recently.
Reference: https://developer.github.com/v3/search/#rate-limit
Rate limit for unauthenticated requests change from 5 to 10 per minute.
And, rate limit for authenticated requests change from 20 to 30 per minute.
Signed-off-by: Yumikiyo Osanai <yumios.art@gmail.com>
9 years ago
Maryum
6d1b527d46
fix comment typo
Closes #424
9 years ago
Luke Young
073020b6c4
Add missing 'Type' field to 'GistFile' struct
9 years ago
chandresh-pancholi
a59a35745f
Fix code example in README file
Fixes #420
Closes #423
9 years ago
Will Norris
9fa26affe4
use slice of pointers rather than pointer to slice
9 years ago
Fabrice
8c8666ed5c
Add support for Repository Traffic API
Fixes #417
Closes #418
9 years ago
Dmitri Shuralyov
db3374506c
Travis: Add Go 1.7.
9 years ago
Juan Basso
b969816466
Adding missing field to search results
Added the field incomplete_results. It is docummented on https://developer.github.com/v3/search/#timeouts-and-incomplete-results
9 years ago
Juan Basso
56add9d407
Add some missing fields
Refs #103
Closes #411 .
Change-Id: Ia61f48de052fd61a98357ba6182ead613b454fa3
10 years ago
Glenn Lewis
215b9c6dec
add Juan Basso as author
Change-Id: I9a984b191e75fcd9e9fc3ca4ac563100464b9845
10 years ago
Juan Basso
a27d03e799
Fixed typo and removed unused vars
Refs #408
10 years ago
Juan Basso
331e3f6190
Fixing some lint issues
Closes #408
10 years ago
Dmitri Shuralyov
b5e5babef3
Set Content-Type to "application/json" for request bodies
According to https://developer.github.com/v3/#parameters :
For POST, PATCH, PUT, and DELETE requests, parameters
not included in the URL should be encoded as JSON with
a Content-Type of 'application/json'
Closes #407 .
Change-Id: Iee60a3ed6e06b85cc64f687fd28e7663c1fc34e3
10 years ago
Glenn Lewis
e1957cf0f6
add Huy Tr as author
Change-Id: I17b9482ac3c49af59b6d0b662a6e7d720073651d
10 years ago
Huy Tr
769837dee3
Add Request a Page Build API
Fixes #394 .
Closes #405 .
Change-Id: I00240a792bfcafd744e57a130af3168482f235d9
10 years ago
Dmitri Shuralyov
6a121d01ab
Fix Mark{,Repository}NotificationsRead methods.
Both of those endpoints use PUT method, which means they must send
the parameters as a JSON encoded body rather than query parameters.
Source: https://developer.github.com/v3/#parameters
Fixes #402 .
Closes #403 .
Change-Id: I444d1ce9ba881200282ff617454addc2e6eb4793
10 years ago