Liam Newman
804fa60317
Deprecate asList and asSet
2020-02-24 18:40:23 -08:00
Liam Newman
d77b99d3d4
Remove fetchArray method
2020-02-24 18:28:18 -08:00
Liam Newman
0c3c490d58
Merge pull request #707 from rdvdijk/add-rocket-eyes-reactions
...
Add support for rocket and eyes reactions.
2020-02-22 19:33:08 -08:00
Liam Newman
122833b0e3
Merge branch 'master' into checks
2020-02-22 18:48:50 -08:00
Liam Newman
a0baf33459
Fix for NullPointer in issue search results
...
User reported #708 which made me realize that search tests were basically all disabled.
This terms on two basic search tests and also makes it so GHIssue can continue to work without
a GHRepository set on it.
Fixes #708
2020-02-22 17:01:12 -08:00
Andrej Vano
0ee66ea928
[Status] Add GHEventPayload.Status class
2020-02-22 18:14:03 +01:00
Andrej Vano
f68d4aaf5b
[CheckRun] Add ability to access HEAD SHA
2020-02-22 18:10:27 +01:00
Liam Newman
888abc9e2a
Removed extraneous author javadocs
2020-02-21 15:58:39 -08:00
Liam Newman
a68fe3b39d
More javadoc because words are hard
2020-02-21 12:04:25 -08:00
Liam Newman
1904c82941
PR feedback
2020-02-21 10:52:28 -08:00
Roel van Dijk
6fc9dd4b30
Add support for rocket and eyes reactions.
2020-02-21 10:59:17 +01:00
Liam Newman
158a31e924
Added javadocs and other cleanup
...
Whenever I submit a PR and then start looking at it as a reviewer, I immediately find a bunch of things that need changing.
2020-02-20 18:53:13 -08:00
Liam Newman
b70b924db4
Inital implmentation of RateLimitChecker
...
This is a stripped down rate limit checking implmentation that handles the infrastructure
of deciding how to get rate limit information and leaves it to other implementers to
decided what kind of checks they want to do and how long they want to wait.
The implmentation supports checkers that sleep less than the full time until the
rate limit is expected to reset, allowing for polling and notifying clients of why their query
is not returning.
A basic checker which sleeps until the rate limit is expected to reset is included as working example..
2020-02-20 16:03:46 -08:00
Liam Newman
1db4fca9db
Comment tweaks
2020-02-18 09:02:52 -08:00
Liam Newman
bd0e0cdfa4
Revert synchronization in iterators
...
These were not synchronized before we should leave them fix this in a future change
2020-02-17 20:08:52 -08:00
Liam Newman
acc5a89dff
Class clean up
...
We don't need two layers of PageIterator just to get the final response.
Also made iterators thread-safe.
And added more detailed comments.
2020-02-17 12:55:44 -08:00
Liam Newman
b7af635a9a
Address PR feedback
2020-02-16 21:33:19 -08:00
Liam Newman
dc33e28452
Create GitHubHttpUrlConnectionClient to encapsulate interactions with HttpUrlConnection
2020-02-13 08:37:07 -08:00
Liam Newman
9da4781759
Update src/main/java/org/kohsuke/github/GitHub.java
2020-02-12 23:59:15 -08:00
Liam Newman
0c6959cb4a
Merge remote-tracking branch 'github-api/master' into tast/response-info
2020-02-12 23:52:45 -08:00
Liam Newman
ff3136df70
Move a few static helpers to GitHubClient
2020-02-12 23:48:33 -08:00
Liam Newman
90489e4392
JavaDocs and refactoring
2020-02-12 22:42:12 -08:00
Liam Newman
ad45a74f87
Further clean up of refactored classes
2020-02-12 22:42:12 -08:00
Liam Newman
f6c75e1f99
More refactoring
2020-02-12 22:42:12 -08:00
Liam Newman
dd9245f6f2
Progress commit on moving to Client/Request/Response refactor
2020-02-12 22:42:12 -08:00
Liam Newman
82276837ac
Created Client/Request/Response classes
2020-02-12 22:42:12 -08:00
Liam Newman
bd68252b44
Test cleanup
2020-02-12 22:42:12 -08:00
Liam Newman
6b1258e33a
Major rewrite of Requester
2020-02-12 22:42:12 -08:00
Liam Newman
ab965969dd
Merge branch 'master' into collaborator-permissions
2020-02-12 22:31:03 -08:00
James Vaughn
edc697dd73
fixed javadoc isues
2020-02-07 21:27:00 -06:00
James Vaughn
54a059ff68
updated signatures for addCollaborators methods
...
updated javadoc comments for addCollaborators methods
combined both modifyCollaborators methods into one method
updated addColloaborators test to match new method signature
2020-02-07 21:13:23 -06:00
Liam Newman
289282e235
Move OTP detection earlier
...
Like other errors we've been waiting until later to catch, this one is detectable so
whe should do that before the downstream exception needs to be thrown.
2020-02-06 16:59:49 -08:00
Liam Newman
825c36c15e
Tweaks for clarity
2020-02-06 14:11:16 -08:00
Liam Newman
1234c2e99e
Add tests for rate limit
2020-02-06 13:33:29 -08:00
Liam Newman
b8fae1308d
Streamline fetch and retry process
2020-02-06 08:01:17 -08:00
James Vaughn
dddcf624e6
finished suggested formatting changes
2020-02-05 21:30:52 -06:00
James Vaughn
5a799400a9
fixed minor formatting issues
2020-02-04 21:10:29 -06:00
James Vaughn
8bcad7b3f9
Merge branch 'collaborator-permissions' of https://github.com/jimmysombrero/github-api into collaborator-permissions
2020-02-02 22:03:08 -06:00
James Vaughn
d767575f76
Added test for addCollaborators
...
Mark old addCollaborators methods depricated
2020-02-02 22:02:56 -06:00
jimmysombrero
7214c7d393
Merge branch 'master' into collaborator-permissions
2020-02-01 22:40:54 -06:00
James Vaughn
205e5ab03d
Merge branch 'collaborator-permissions' of https://github.com/jimmysombrero/github-api into collaborator-permissions
2020-02-01 22:39:28 -06:00
James Vaughn
6576beae76
Added missing methods to keep the API from breaking
...
added tests for addCollaborators()
2020-02-01 22:39:14 -06:00
spierce
84dd06d769
[ #690 ]Implement the ability to read total_private_repos for GHPerson
2020-01-31 13:44:43 -06:00
Liam Newman
c5cb16abfb
Merge branch 'master' into collaborator-permissions
2020-01-31 08:32:35 -08:00
Liam Newman
c5c8596664
Reduce output from connection retry
2020-01-29 17:04:24 -08:00
jimmysombrero
0e310fa96a
Merge branch 'master' into collaborator-permissions
2020-01-28 15:21:25 -06:00
Tim Jacomb
7e600c43ed
Var-args instead of list
2020-01-27 07:52:08 +00:00
Tim Jacomb
0f32783488
Revert updatePrivacy
2020-01-27 07:40:16 +00:00
Tim Jacomb
32754ffcf5
Cleanup based on review
2020-01-27 07:24:01 +00:00
Tim Jacomb
64aae75680
Allow updating privacy status
2020-01-26 11:02:01 +00:00