Commit Graph

40 Commits (238eb3ff9f36bcf7b4637957ae2dd98446105894)

Author SHA1 Message Date
Lunny Xiao 29f149bd9f
Move context from modules to services (#29440) 9 months ago
vincent f8a1bad883
Fix: system webhooks API bug (#28531) 11 months ago
Lunny Xiao df1e7d0067
Use db.Find instead of writing methods for every object (#28084) 1 year ago
JakobDev 76a85a4ce9
Final round of `db.DefaultContext` refactor (#27587) 1 year ago
谈笑风生间 309354c70e
New webhook trigger for receiving Pull Request review requests (#24481) 2 years ago
KN4CK3R 2173f14708
Add user webhooks (#21563) 2 years ago
Lunny Xiao c0015979a6
Support system hook API (#14537) 2 years ago
Jason Song 477a1cc40e
Improve utils of slices (#22379) 2 years ago
Jason Song 3dbd2d942b
Remove old HookEventType (#22358) 2 years ago
delvh 0f4e1b9ac6
Restructure `webhook` module (#22256) 2 years ago
KN4CK3R a35749893b
Move `convert` package to services (#22264) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
oliverpool b6e81357bd
Add Webhook authorization header (#20926) 2 years ago
Aaron F 3963625b6e
Webhook for Wiki changes (#20219) 2 years ago
oliverpool c81b26b0e5
refactor webhook *NewPost (#20729) 2 years ago
Wim cb50375e2b
Add more linters to improve code readability (#19989) 2 years ago
John Olheiser ea6efba9b3
Granular webhook events in editHook (#19251) 3 years ago
wxiaoguang 7a550b3af2
Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 3 years ago
Lunny Xiao 7a03473159
Use a standalone struct name for Organization (#17632) 3 years ago
Lunny Xiao 33fca2b537
Move webhook into models/webhook/ (#17579) 3 years ago
Lunny Xiao 9f31f3aa8a
Add an abstract json layout to make it's easier to change json library (#16528) 3 years ago
KN4CK3R 9b1b4b5433
Refactor Webhook + Add X-Hub-Signature (#16176) 3 years ago
zeripath f0e15250b9
Migrate to use jsoniter instead of encoding/json (#14841) 4 years ago
6543 a19447aed1
migrate from com.* to alternatives (#14103) 4 years ago
Lunny Xiao 9f100a45c6
Possible fix the webhook API creation (#13960) 4 years ago
Lunny Xiao 6edfa6bc88
Fix broken migration on webhook (#13911) 4 years ago
Lunny Xiao 42354dfe45
Move webhook type from int to string (#13664) 4 years ago
John Olheiser 3f1c0841cb
Granular webhook events (#9626) 5 years ago
6543 2848c5eb8f Swagger info corrections (#9441) 5 years ago
Lunny Xiao daab245167
Move code.gitea.io/gitea/routers/api/v1/convert to code.gitea.io/gitea/modules/convert (#8892) 5 years ago
Lunny Xiao a966a0298e Move more webhook codes from models to webhook module (#8802) 5 years ago
WGH 6ddd3b0b47 Implement webhook branch filter (#7791) 5 years ago
Tamal Saha 171b359877 Use gitea forked macaron (#7933) 5 years ago
techknowlogick 5fb1ad7011 Webhook Logs show proper HTTP Method, and allow change HTTP method in form (#6953) 6 years ago
Lunny Xiao 34eee25bd4
Move sdk structs to modules/structs (#6905) 6 years ago
John Olheiser cac9e6e760 Updates to API 404 responses (#6077) 6 years ago
Lanre Adelowo be48397945 Slack webhook channel name cannot be empty or just contain an hashtag (#4786) 6 years ago
Lunny Xiao 24941a1046
Add more webhooks support and refactor webhook templates directory (#3929) 7 years ago
Ethan Koenig 876bafb7ef Fix API status code for hook creation (#2814) 7 years ago
Ethan Koenig 9847b38518 Organization webhook API endpoints 8 years ago
Ethan Koenig 7b5b5178e1 Bug fix for edit-hook API endpoint 8 years ago
Lunny Xiao 3917ed45de golint fixed for routers (#208) 8 years ago
Sandro Santilli a1c5f02444 Fix import path of go-sdk (#141) 8 years ago
Sandro Santilli 4247304f5a Update import paths from github.com/go-gitea to code.gitea.io (#135) 8 years ago
Sandro Santilli 80eea77953 Use MixedCase constant names 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 8 years ago
Dennis Chen 5ff2dfb23e api: delete repository webhooks (#3275) 8 years ago