Sandro Santilli
80eea77953
Use MixedCase constant names
...
See https://github.com/golang/go/wiki/CodeReviewComments#mixed-caps
8 years ago
Thomas Boerger
4c6c16f358
Replaced go-gogs-client with go-sdk imports
8 years ago
Rémy Boulanouar
2d68bd1ef9
Change import reference to match gitea instead of gogs ( #37 )
8 years ago
Kurt Madel
67fb0fe6a5
added support to set pull_request event from api ( #3513 )
8 years ago
Unknwon
60110adc06
models/webhook: restrict deletion to be explicitly with repo and org ID
9 years ago
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>
9 years ago
Unknwon
3d93532c87
#3274 fix can't get webhook detail of organization
9 years ago
Unknwon
d62ab49978
#3057 retrieve webhook with repo_id
...
This prevents user retrieve arbitrary webhook by changing URL to
access webhook from other unauthorized repositories.
9 years ago
Unknwon
e6f927f61a
#1692 api: admin list and create team under organization
9 years ago
Unknwon
9bd9ad4205
#1692 add CRUD issue APIs
...
- Fix go-gogs-client#10
- Related to #809
9 years ago
Unknwon
dd6faf7f9b
Convert all API handers to use *context.APIContext
9 years ago
Unknwon
514382e2eb
Rename module: middleware -> context
9 years ago
Unknwon
9cd16c5b12
#1692 add organization APIs
9 years ago
Unknwon
56dd430a10
refactor API routes and some work for #976
9 years ago
Unknwon
f455125d4d
fix #878
9 years ago
Unknwon
aff49b1c9e
unified API error response
9 years ago
Unknwon
65843b803b
add webhook default events
9 years ago
Unknwon
55ddf225bb
webhook APIs
9 years ago
Unknwon
f509c59ac1
new create webhook event
9 years ago
Unknwon
23f42d92c9
add webhook recent deliveries
9 years ago
Unknwon
2881456421
new webhooks list UI
9 years ago
Unknwon
dea3a8c6a4
WIP: create PR - choose branch
10 years ago
Unknwon
ac4a10456e
api: able to create repo and fix #726
...
- POST /user/repos
- POST /org/:org/repos
10 years ago
Unknwon
37d8d3afe9
more APIs on #12
10 years ago
Unknwon
52d66ba6c8
#12 , use go-gogs-client
10 years ago
Unknwon
9dc3c93a6a
#12 , add/edit hook
10 years ago
Unknwon
8eb5120fbd
#12 , API: list user repos, list repo hooks
10 years ago