Commit graph

73 commits

Author SHA1 Message Date
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
Antoine GIRARD
f5de21caad Implement GPG related api (#36)
* Implement method for calling gpg related api
2017-01-21 03:24:48 +01:00
Ethan Koenig
61a9dda39e Rename gitea/releases.go -> gitea/release.go (#34) 2017-01-01 10:20:21 +08:00
Ethan Koenig
5266f2bd7b Functions for releases 2016-12-31 10:19:50 +01: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
0b35be3070 Functions for forks 2016-12-27 11:21:16 -05:00
Ethan Koenig
d628d07f73 Webhook functions for organizations (#26) 2016-12-24 10:50:46 +08:00
Thomas Boerger
46f52f751d Merge pull request #27 from ethantkoenig/collaborators
Functions for Collaborators
2016-12-22 09:11:55 +01:00
Ethan Koenig
54a391b88f Functions for Collaborators 2016-12-21 11:05:53 -05:00
Martin Hebnes Pedersen
76837c0ea4 Backward compatibility (username vs. login)
Reintroduce the username field for user object on JSON marshal to fix backward
compatibility. Fixes Drone 0.4 compatibility issues.
2016-12-16 01:08:43 +01:00
Ethan Koenig
559190dbdc EditTeamOption struct (#25) 2016-12-08 10:20:10 +08:00
Kim "BKC" Carlbäcker
140df7f34c Tag-hooks are useless without the shasum (#21) 2016-11-29 15:37:12 +08:00
Kim "BKC" Carlbäcker
4ea32995e4 More endpoints for issue-api 2016-11-28 07:47:09 +01:00
Lunny Xiao
0d0c73819d ask for go get from code.gitea.io/sdk/gitea 2016-11-11 21:52:21 +08:00
Lunny Xiao
c05a7bb741 bug fixed & lint fixed 2016-11-10 23:08:54 +08:00
Kim "BKC" Carlbäcker
cc453bfe27 Merge pull request #9 from go-gitea/fix/github-compliance
GitHub-API compliance
2016-11-10 12:33:06 +01:00
Matthias Loibl
156c90f41d Merge pull request #12 from lunny/go_lint_fix
WIP: fix most of all the lint errors
2016-11-10 11:00:57 +01:00
Lunny Xiao
c9135ef778 fix most of all the lint errors 2016-11-10 17:44:00 +08:00
Kim "BKC" Carlbäcker
163100bc1a Merge pull request #7 from go-gitea/fix/issue-comment
Finish Issue-Comments
2016-11-10 10:24:19 +01:00
Kim "BKC" Carlbäcker
fea83e692a Merge branch 'api-pull-request-support' of https://github.com/lstahlman/go-gogs-client 2016-11-09 19:57:21 +01:00
Kim "BKC" Carlbäcker
66fbec9354 GitHub-API compliance 2016-11-09 17:08:29 +01:00
Kim "BKC" Carlbäcker
a3afbca7dc More data and methods for issue-comments 2016-11-09 16:57:33 +01:00
Thomas Boerger
4218c36205 Moved source files into subfolder 2016-11-07 11:26:36 -02:00