Commit graph

4 commits

Author SHA1 Message Date
Antoine GIRARD
9da3bab000
Add the verification payload in commits.
Follow :
- https://developer.github.com/v3/git/commits/
- https://developer.github.com/v3/repos/commits/
2017-03-08 18:22:43 +01:00
Morgan Bazalgette
87b8065c0d Issue webhook payload (#38)
* Add Issue webhook payload

* Add copyright header

* Whoops, wrote license header in wrong file...

* Move fields of PR/Issue payload to BaseIssuePayload

* Fix license header

* remove BaseIssuePayload

* Add comment to IssuePayload.JSONPayload

* Fix comment mentioning IssuePayload

* Reorder structs

* Mimic GitHub webhooks

Since the Gitea webhooks currently mimic for a big part the way GitHub does webhook, issue comments HookIssueActions have been removed to be added again at a later stage and milestone_set and milestone_cleared have been changed to milestoned and demilestoned, respectively.

* Change also constant names
2017-02-13 19:50:09 +08:00
Bo-Yi Wu
2487ebd26e replac go fmt with gofmt command.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-12-31 10:19:06 +01:00
Ethan Koenig
d628d07f73 Webhook functions for organizations (#26) 2016-12-24 10:50:46 +08:00
Renamed from gitea/repo_hook.go (Browse further)