Lunny Xiao
38803cbe75
Refactor codes to remove structs and depend them on code.gitea.io/gitea/modules/structs ( #171 )
...
* refactor codes to remove structs and depend them on code.gitea.io/gitea/modules/structs
* fix testing
2019-05-11 18:38:52 +03:00
Lunny Xiao
09af79ce21
add commit file status ( #135 )
2018-12-31 17:34:11 -05:00
Harshit Bansal
d9394234b9
Update SDK to include head_commit
in PushPayload
. ( #131 )
2018-11-28 00:56:25 +02:00
Peter Hoffmann
11c860c8e4
fix: Add secret to all webhook's payload where it has been missing ( #126 )
...
affects webhooks for:
* Delete
* Fork
* IssueComment
* Release
Resolves : go-gitea/gitea#4732 , go-gitea/gitea#5173
Signed-off-by: Berengar W. Lehr <Berengar.Lehr@kompetenztest.de>
2018-10-27 22:55:26 +08:00
Lunny Xiao
b2308e3f70
add release hook types ( #107 )
2018-05-18 14:06:32 +08:00
Lunny Xiao
7fa627fa5d
add more webhook types ( #106 )
2018-05-10 20:54:05 +08:00
Vlad Temian
a184f2d334
Run go fmt
for the entire project ( #85 )
2018-01-09 02:26:05 +02:00
Ethan Koenig
1da52cf95f
Updates to swagger documentation ( #77 )
2017-11-12 11:10:33 +02:00
Antoine GIRARD
bc243ad6c2
Improve swagger doc ( #67 )
...
* Add some swagger response type
* Add some swagger parameters
* Add some swagger parameters
* Use HookList in place of []*Hook
2017-08-21 16:23:17 +08:00
Ethan Koenig
a39112334b
Support for repo creation/deletion webhooks ( #55 )
2017-05-04 11:19:40 +08:00
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