XiongKezhi
768f60709f
Add Output and more tests
2020-03-03 23:45:01 +08:00
XiongKezhi
16faaae199
Add GHCheckSuite
2020-03-01 21:59:16 +08:00
Andrej Vano
0ee66ea928
[Status] Add GHEventPayload.Status class
2020-02-22 18:14:03 +01:00
Alex Taylor
a80b5b6abc
Fixed the findbugs errors
2019-12-14 15:38:34 -05:00
Alex Taylor
bc8f0aa223
Update GHEventPayload.java
...
updated to meet standards
2019-11-27 15:18:43 -05:00
Alex Taylor
8f787e9976
Added the Check Run event
...
Added the check run event and the objects used there along with a valid test
2019-11-27 13:30:45 -05:00
Liam Newman
d02af5ccb0
Switch property mapper to snake case
...
Jackson to automatically map property names using known patterns.
GitHub uses snake_case.
2019-11-18 19:05:43 -08:00
Liam Newman
da11702f68
Modify formatting to columnize
...
Turns out I do care about formatting a little. We have a lot of builders and chained methods.
I think it is easier to follow long chains when lined up veritcally.
2019-11-15 15:18:07 -08:00
Liam Newman
757b9b2118
Add JavaDocs
...
Do using IntelliJ JavaDocs plugin. Better to have something than nothing.
2019-11-14 13:24:28 -08:00
Liam Newman
a3b126282d
Remove package comments
2019-11-13 15:20:02 -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
Kohsuke Kawaguchi
3cfcad76ac
Merge pull request #417 from twcurrie/tcurrie/revisions
...
Added release payload.
2018-08-30 05:21:24 +02:00
Werner
e368a17420
Adds the GHEventPayload.Issue class
2018-07-01 12:23:13 +02:00
Trevor Currie
587438938c
Added release payload.
2018-02-22 09:38:25 -08:00
Matt Nelson
0f81d1dbb3
Add support for pr review/review comment events
2017-10-05 18:14:15 -05:00
Kohsuke Kawaguchi
60bfea2d3b
Bug fix
2017-09-09 13:22:16 -07:00
Kohsuke Kawaguchi
17edd33703
Reorganized imports following #337
2017-09-09 12:00:23 -07: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
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
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
Oleg Nenashev
79c5b2edd5
FindBugs: Fix over 100 issues and enforce FindBugs
2015-07-20 12:28:41 +03:00
Stephen Connolly
01b8b10344
Fix NPE found when resolving issues from search api
2015-07-06 11:07:05 +01:00
Kanstantsin Shautsou
fc3b6d2c2e
[CID-107535] Missing call to superclass
...
Similar to other events
2015-03-23 02:23:44 +03:00
Kohsuke Kawaguchi
11fcb9d456
Report the repository the push happened to
...
Fixes issue #144 .
2015-02-15 08:42:32 -08:00
Kohsuke Kawaguchi
60fe143b07
detect the common problem
...
If the caller tries to parse a pull event into a pull_request event, we'd choke with NPE. This change avoids that.
2014-04-30 13:27:37 -07:00
Kohsuke Kawaguchi
25e117b412
oops
2013-11-12 12:47:37 -08:00
Kohsuke Kawaguchi
edde3ab2fb
added one more field based on observations
2013-11-12 12:17:57 -08:00
Kohsuke Kawaguchi
ec20e518be
adding a new payload implementation for PushEvent
2013-11-12 12:14:34 -08:00
Kohsuke Kawaguchi
b932ba856d
fixed NPE
2013-05-07 11:07:12 -07:00
Honza Brázdil
0d2ecfbc67
add repository to Pull Request payload and wrap the PR with the repository
2013-05-02 18:11:40 +02:00
Kohsuke Kawaguchi
ba6c6a17ae
doc improvement
2013-04-16 12:18:50 -07:00
Kohsuke Kawaguchi
c21d61a70d
TAB -> WS
2013-04-16 12:17:30 -07:00
Honza Brázdil
e8a2a69649
Implement GHEventPayload.IssueComment
2013-04-13 17:09:03 +02:00
Kohsuke Kawaguchi
dac2a56671
fully populate the root field upon deserialization
2012-02-12 07:43:06 -08:00
Kohsuke Kawaguchi
a4026d46ce
after an experiment, revisiting the design
2012-01-08 18:30:19 -08:00