Liam Newman
432585cb75
Merge remote-tracking branch 'github-api/master' into ghmeta
2019-11-14 09:05:20 -08:00
PauloMigAlmeida
6aad80904a
Implement Meta endpoint
...
Signed-off-by: PauloMigAlmeida <paulo.miguel.almeida.rodenas@gmail.com >
2019-11-14 15:52:43 +13:00
Liam Newman
a3b126282d
Remove package comments
2019-11-13 15:20:02 -08:00
Liam Newman
5f597379b5
JavaDoc warning fixes
2019-11-13 14:53:42 -08:00
Liam Newman
9d8460bb81
Enable automatic code formatter with CI validation
...
This may be controversial but it we're doing it. Having code formatting needs to be consistent
and a non-issue during code review. I'm willing modify the configuration if people see a strong
need, but formatting needs to be present and enforced.
2019-11-13 13:28:23 -08:00
Liam Newman
8943af9840
Cleanup tabs and whitespace
2019-11-13 12:47:19 -08:00
Liam Newman
d23c718036
Merge pull request #603 from madhephaestus/master
...
Add Functionality of OTP to support user 2fa
2019-11-13 12:43:23 -08:00
Kevin Harrington
e138c6fd61
Switch interface to existing Supplier class
2019-11-13 00:26:20 -05:00
Kevin Harrington
4a78690fde
Remove old function prototype and replace it with the lambda model.
2019-11-12 18:10:05 -05:00
Kevin Harrington
5ae062719e
re-run the data capture with the overloaded function
2019-11-12 17:56:25 -05:00
Kevin Harrington
421c0a11fb
Implement @PauloMigAlmeida suggested lambda style OTP workflow
2019-11-12 17:32:24 -05:00
Liam Newman
03e9623073
Updates based on review feedback
...
Created GHRateLimit.Record
Add the four rate limit records to GHRateLimit
Moved getLimt(), getRemaining(), and so on to point to core record for ease of use.
Fixed update check for header to not replace existing with older when remaining count is lower.
NOTE: Did not expose records other than core and did not resolve header update behavior to respect non-core records.
2019-11-11 14:29:36 -08:00
Kevin Harrington
8567c5e6a1
Update src/main/java/org/kohsuke/github/GitHub.java
...
spelling
Co-Authored-By: Liam Newman <bitwiseman@gmail.com >
2019-11-10 10:26:51 -05:00
Kevin Harrington
331084fefd
comments
2019-11-09 16:47:26 -05:00
Kevin Harrington
62bf691ac1
Add Functionality of OTP to github
...
close #602 by adding an API to request a token using an OTP.
2019-11-09 16:43:25 -05:00
Liam Newman
9c80b7cf54
Various clean up and fixes for GHRateLimit
2019-11-06 20:38:10 -08:00
Liam Newman
1ecad7031f
Handle GHRateLimit expiration and server time inconsistency
2019-11-06 17:17:26 -08:00
Liam Newman
7b7445b601
Clean up GHRateLimit
...
Improves the way reset date is calculated - uses server date if possible.
Fixes #383
2019-11-06 11:11:53 -08:00
Liam Newman
61f3a3219f
Fix tt incompatible tags
2019-10-31 15:41:09 -07:00
Liam Newman
8faecba0a2
Fix site errors
2019-10-31 13:33:14 -07:00
Liam Newman
4802c97e89
Fix GitHub.printDate()
...
GitHub.printDate() was not setting GMT timezone resulting in completely bogus output.
2019-10-30 14:57:56 -07:00
Austin Witt
eb36cb4436
Merge remote-tracking branch 'upstream/master' into get-user-orgs
2019-10-23 14:39:54 -05:00
Liam Newman
9dd44c13e4
Update for AuthorizationList
2019-10-11 13:05:13 -07:00
Liam Newman
f28edbcf8f
Simplify creation of PagedIterables from requests
2019-10-11 13:05:13 -07:00
Liam Newman
4c3e1afcca
Merge branch 'master' into get-user-orgs
2019-10-08 10:57:48 -07:00
Martin van Zijl
3559aef1a1
Fixes per review.
...
- Added missing brace at end of listMyAuthorizations().
- Added unit test for listMyAuthorizations().
2019-10-08 13:21:48 +13:00
Martin van Zijl
94ceb5eaaf
Merge branch 'master' into issue_459_list_authorizations
2019-10-08 12:42:18 +13:00
Liam Newman
5cc88a0075
WireMock Project Tests
2019-10-04 10:27:47 -07:00
Gunnar Skjold
fc08711111
Expanded GHProject with columns and cards. Also added tests for projects, columns and cards
2019-10-04 10:11:18 -07:00
Martin van Zijl
b20c2babec
Added support for projects.
...
Fixes issue #425
2019-10-04 10:11:18 -07:00
Liam Newman
0ca10bc2ac
Merge branch 'master' into issue_459_list_authorizations
2019-10-04 00:43:14 -07:00
Liam Newman
9c6f977202
Merge branch 'master' into get-user-orgs
2019-10-03 23:55:56 -07:00
PauloMigAlmeida
a163c565a8
Merge branch 'master' of https://github.com/kohsuke/github-api
...
Conflicts:
src/main/java/org/kohsuke/github/GitHubBuilder.java
src/test/java/org/kohsuke/github/GitHubTest.java
2019-10-04 11:56:38 +13:00
Liam Newman
9042ff46c7
Clean up Previews
2019-09-25 15:47:07 -07:00
PauloMigAlmeida
dacdf08309
Merge branch 'master' of https://github.com/kohsuke/github-api
2019-09-14 17:00:24 +12:00
Josh Soref
0dba882817
spelling: create a
2019-09-11 19:28:32 -04:00
Josh Soref
c419883814
spelling: single
2019-09-11 19:28:24 -04:00
Josh Soref
6f0ccbf2b5
grammar: agreement: returns...organizations
2019-09-11 19:28:14 -04:00
Josh Soref
54332c0bd1
this api is no longer a preview...
2019-09-11 19:27:40 -04:00
Josh Soref
5f80674e89
finish thought...
2019-09-11 19:27:04 -04:00
Josh Soref
c4d0d8ff06
grammar: operations-require
2019-09-11 19:26:47 -04:00
Josh Soref
8ac1b7082a
brand: GitHub Enterprise
2019-09-11 19:26:14 -04:00
Josh Soref
f146ae8be4
spelling: user
2019-09-11 19:25:55 -04:00
Josh Soref
e7728fdc94
spelling: log-in
2019-09-11 19:25:44 -04:00
Liam Newman
ffdd54d2fa
Merge branch 'master' into get-user-orgs
2019-09-09 19:40:00 -07:00
Paulo Almeida
96bcf24047
Merge branch 'master' of https://github.com/kohsuke/github-api
...
# Conflicts:
# pom.xml
2019-08-26 12:31:23 +12:00
Paulo Miguel Almeida
4703f2d1f5
Add tests for GithubApp integration;
...
Add wiremock-standalone library;
Signed-off-by: Paulo Almeida <paulo.miguel.almeida.rodenas@gmail.com >
2019-08-10 19:01:12 +12:00
Wouter Gerarts
a0fb0d170c
Remove unnessesairy "throws"
...
All IOExceptions are already caught within the method itself.
2019-07-12 17:46:34 +02:00
Liam Newman
dccb43f4dc
Merge pull request #517 from jamesatha/repo-by-id
...
Adds the ability to get a repository by ID
2019-06-19 17:11:03 -07:00
Paulo Almeida
9f35eb1a85
Add @Preview and @Deprecated annotations to methods in which the API is still in preview
2019-06-12 11:32:03 +12:00