Ethan Koenig
27fcf8d30a
Bug fixes for webhook API (#650)
пре 7 година
Ethan Koenig
9847b38518
Organization webhook API endpoints
пре 7 година
Ethan Koenig
7b5b5178e1
Bug fix for edit-hook API endpoint
пре 7 година
Lunny Xiao
3917ed45de
golint fixed for routers (#208)
пре 7 година
Sandro Santilli
a1c5f02444
Fix import path of go-sdk (#141)
From code.gitea.io/go-sdk/gitea
To code.gitea.io/sdk/gitea
пре 7 година
Sandro Santilli
4247304f5a
Update import paths from github.com/go-gitea to code.gitea.io (#135)
- Update import paths from github.com/go-gitea to code.gitea.io
- Fix import path for travis
See https://docs.travis-ci.com/user/languages/go#Go-Import-Path
пре 7 година
Sandro Santilli
80eea77953
Use MixedCase constant names
See https://github.com/golang/go/wiki/CodeReviewComments#mixed-caps
пре 7 година
Thomas Boerger
4c6c16f358
Replaced go-gogs-client with go-sdk imports
пре 7 година
Rémy Boulanouar
2d68bd1ef9
Change import reference to match gitea instead of gogs (#37)
пре 7 година
Kurt Madel
67fb0fe6a5
added support to set pull_request event from api (#3513)
пре 7 година
Unknwon
60110adc06
models/webhook: restrict deletion to be explicitly with repo and org ID
пре 8 година
Dennis Chen
5ff2dfb23e
api: delete repository webhooks (#3275)
Allows the deletion of a webhook from a repository at the
/:user/:repo/hooks/:id endpoint.
Solves drone/drone issue #1603 .
Signed-off-by: Dennis Chen <barracks510@gmail.com>
пре 8 година
Unknwon
3d93532c87
#3274 fix can't get webhook detail of organization
пре 8 година
Unknwon
d62ab49978
#3057 retrieve webhook with repo_id
This prevents user retrieve arbitrary webhook by changing URL to
access webhook from other unauthorized repositories.
пре 8 година
Unknwon
e6f927f61a
#1692 api: admin list and create team under organization
пре 8 година
Unknwon
9bd9ad4205
#1692 add CRUD issue APIs
- Fix go-gogs-client#10
- Related to #809
пре 8 година
Unknwon
dd6faf7f9b
Convert all API handers to use *context.APIContext
пре 8 година
Unknwon
514382e2eb
Rename module: middleware -> context
пре 8 година
Unknwon
9cd16c5b12
#1692 add organization APIs
пре 8 година
Unknwon
56dd430a10
refactor API routes and some work for #976
пре 8 година
Unknwon
f455125d4d
fix #878
пре 8 година
Unknwon
aff49b1c9e
unified API error response
пре 8 година
Unknwon
65843b803b
add webhook default events
пре 8 година
Unknwon
55ddf225bb
webhook APIs
пре 8 година
Unknwon
f509c59ac1
new create webhook event
пре 8 година
Unknwon
23f42d92c9
add webhook recent deliveries
пре 8 година
Unknwon
2881456421
new webhooks list UI
пре 8 година
Unknwon
dea3a8c6a4
WIP: create PR - choose branch
пре 9 година
Unknwon
ac4a10456e
api: able to create repo and fix #726
- POST /user/repos
- POST /org/:org/repos
пре 9 година
Unknwon
37d8d3afe9
more APIs on #12
пре 9 година
Unknwon
52d66ba6c8
#12, use go-gogs-client
пре 9 година
Unknwon
9dc3c93a6a
#12, add/edit hook
пре 9 година
Unknwon
8eb5120fbd
#12, API: list user repos, list repo hooks
пре 9 година