Kohsuke Kawaguchi
88d52c44ad
Recording parent GHRepository
2016-12-17 07:03:40 -08:00
Kohsuke Kawaguchi
2d7d4bbd4e
Merge pull request #320 with some additional changes
2016-12-17 06:56:41 -08:00
Kohsuke Kawaguchi
e6ee278fde
Another version that directly reads BLOB without going through an intermediate object.
2016-12-17 06:55:44 -08:00
Kohsuke Kawaguchi
6380cf9ed0
Added a method to retrieve the actual bytes of BLOB
...
... which is probably more useful than the getContent() method
2016-12-17 06:47:24 -08:00
Kohsuke Kawaguchi
2e78dc52c7
Merge pull request #323 from jglick/bad-json
...
Fix syntactically malformed test JSON
2016-12-17 06:24:43 -08:00
Jesse Glick
c5009ab44b
Fix syntactically malformed test JSON.
2016-12-16 15:04:10 -05:00
Kanstantsin Shautsou
0780e10fa2
Added ghRepo.getBlob(String) method
...
Signed-off-by: Kanstantsin Shautsou <kanstantsin.sha@gmail.com >
2016-12-13 15:28:08 +03:00
Kohsuke Kawaguchi
0731f63237
Added order parameter
2016-11-26 14:45:03 -08:00
Kohsuke Kawaguchi
a29896042b
Merge pull request #315 from davidxia/dxia/patch1
...
Fix typos in javadocs
2016-11-26 14:38:45 -08:00
David Xia
68ebc08c9d
Fix typos in javadocs
...
Replace "pagenated" with "paginated".
2016-11-26 00:44:52 -05:00
Kohsuke Kawaguchi
a1df526f93
[maven-release-plugin] prepare for next development iteration
2016-11-21 08:53:42 -08:00
Kohsuke Kawaguchi
0023ecefa4
[maven-release-plugin] prepare release github-api-1.81
github-api-1.81
2016-11-21 08:53:38 -08:00
Kohsuke Kawaguchi
511f156603
Added the membership API for the authenticated user.
2016-11-19 15:26:04 -08:00
Kohsuke Kawaguchi
3f223b1ba0
Support assignees when creating a new issue
2016-11-19 14:50:47 -08:00
Kohsuke Kawaguchi
a1528a1a63
API to add/set/remove assignees from an issue
2016-11-19 14:48:43 -08:00
Kohsuke Kawaguchi
b8bfddbf3a
Code simplification
2016-11-19 14:30:35 -08:00
Kohsuke Kawaguchi
47fc813027
Assignees of the repository.
...
(Personally this concept makes no sense for me, so I don't know what this API really does. I'm just following their API docs)
2016-11-19 14:29:27 -08:00
Kohsuke Kawaguchi
c7f2228a44
[maven-release-plugin] prepare for next development iteration
2016-11-16 22:52:14 -08:00
Kohsuke Kawaguchi
b0e0f045f8
[maven-release-plugin] prepare release github-api-1.80
github-api-1.80
2016-11-16 22:52:10 -08:00
Kohsuke Kawaguchi
1296514794
this field is not yet used
2016-11-16 22:49:13 -08:00
Kohsuke Kawaguchi
18e797095f
rewrote assert with JUnit ones
2016-11-16 22:36:16 -08:00
Kohsuke Kawaguchi
85aa2ad4e6
Added reaction API
2016-11-16 19:10:37 -08:00
Kohsuke Kawaguchi
818f6dc045
Issue #309 : Added user listing
2016-11-16 18:26:49 -08:00
Kohsuke Kawaguchi
1c162c6390
Merge pull request #304
2016-11-16 18:19:26 -08:00
Kohsuke Kawaguchi
def3a28fb5
Restoring backward compatibility of names
2016-11-16 18:18:45 -08:00
Kohsuke Kawaguchi
d1378a0236
Merge pull request #306 from stephenc/offline-support
...
Add offline support to the API to make parsing events easier
2016-11-16 18:12:39 -08:00
Stephen Connolly
e544c7a65a
Fix the push event payload
2016-11-14 12:52:22 +00:00
Kanstantsin Shautsou
24f48f668c
Add portion of auth/application API. ( #307 )
...
* Add portion of auth/application API.
Signed-off-by: Kanstantsin Shautsou <kanstantsin.sha@gmail.com >
* fixup
2016-11-11 15:56:03 +01:00
Stephen Connolly
9988a090ac
Add some more tests
2016-11-11 14:27:09 +00:00
Stephen Connolly
d36e145d06
Need to be able to tell if this is a creation / deletion of a ref for multibranch projects
2016-11-11 14:18:47 +00:00
Stephen Connolly
498d63ea00
Typos spotted by Jesse
2016-11-08 15:48:39 +00:00
Stephen Connolly
7dc620a3ba
More details emerge on the PingEvent payload
2016-11-08 15:29:27 +00:00
Stephen Connolly
66145e1d23
Seems there is an undocumented but important PING event used by github-plugin
2016-11-08 15:26:33 +00:00
Stephen Connolly
7bf8621afe
Need the pusher details for github-plugin
2016-11-08 15:14:42 +00:00
Stephen Connolly
ce3f74232e
Ensure a use case required by github-plugin is valid
2016-11-08 15:11:35 +00:00
Stephen Connolly
5b92d4b88c
Fix findbugs false alarms
2016-11-08 15:04:02 +00:00
Stephen Connolly
4daf6ba057
Add offline support to the API to make parsing events easier
...
- When we receive events from a webhook, it is non-trivial to determine which GitHub instance the event came from
or for that matter even if the event actually came from GitHub or GitHub Enterprise.
- In order to ensure that the logic for parsing events does not get replicated in clients, we need to be
able to call GitHub.parseEventPayload(Reader,Class) without knowing which GitHub the event originates from
and without the resulting objects triggering API calls back to a GitHub
- Thus we add GitHub.offline() to provide an off-line connection
- Thus we modify some of the object classes to return best-effort objects when off-line
- Add support for more of the event types into GHEventPayload
- Add tests of the event payload and accessing critical fields when using GitHub.offline()
2016-11-08 12:56:52 +00:00
Jason Song
955e9899af
Fix fields of GHRepository
2016-11-04 00:09:59 +08:00
Kohsuke Kawaguchi
fa3d0887ef
[maven-release-plugin] prepare for next development iteration
2016-10-24 19:23:18 -07:00
Kohsuke Kawaguchi
5d5c6cf71c
[maven-release-plugin] prepare release github-api-1.79
github-api-1.79
2016-10-24 19:23:14 -07:00
Kohsuke Kawaguchi
89aac45f41
Merge pull request #299
2016-10-24 19:15:46 -07:00
Kohsuke Kawaguchi
4965fd5f4c
Noting possible TODO for the future
2016-10-24 19:15:38 -07:00
Kohsuke Kawaguchi
87fbb8ec98
Copy/paste error
2016-10-24 19:07:32 -07:00
Kohsuke Kawaguchi
0d92d4ba61
[maven-release-plugin] prepare for next development iteration
2016-10-24 14:10:35 -07:00
Kohsuke Kawaguchi
b0df93bbcb
[maven-release-plugin] prepare release github-api-1.78
github-api-1.78
2016-10-24 14:10:30 -07:00
Kohsuke Kawaguchi
290d0b226a
Merge pull request #295 from jglick/pageSize
...
Use maximum permitted page size
2016-10-24 14:04:05 -07:00
Kohsuke Kawaguchi
8b3469610c
Merge pull request #300 from stephenc/commit-dates
...
Expose the commit dates
2016-10-24 14:03:14 -07:00
Stephen Connolly
50b47fb73b
Expose the commit dates
2016-10-24 21:12:56 +01:00
Ben Sheats
5334cb8688
url encode hashes in ref names
2016-10-21 11:40:01 -04:00
Jesse Glick
38983df42d
If we are a returning a collection of all things, we might as well use the maximum page size to minimize HTTP requests.
2016-09-19 09:48:23 -07:00