Commit Graph

63 Commits (d5f2c9d74d63443cc2abbcabc268cf1121f58e8b)

Author SHA1 Message Date
Giteabot 6705b215db
Fix incorrect `HookEventType` of pull request review comments (#23650) (#23678) 2 years ago
zeripath 35d2fa744a
Fix intermittent panic in notify issue change content (#23019) 2 years ago
Lunny Xiao c53ad052d8
Refactor the setting to make unit test easier (#22405) 2 years ago
Lunny Xiao bd820aa9c5
Add context cache as a request level cache (#22294) 2 years ago
Brecht Van Lommel c8139c0f64
Webhooks: for issue close/reopen action, add commit ID that caused it (#22583) 2 years ago
John Olheiser e7f1d45eb5
fix: omit avatar_url in discord payload when empty (#22393) 2 years ago
delvh 0f4e1b9ac6
Restructure `webhook` module (#22256) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
zeripath 787f6c3227
Ensure that Webhook tasks are not double delivered (#21558) 2 years ago
Jim Kirisame c8f3eb6acb
Fix wechatwork webhook sends empty content in PR review (#21762) 2 years ago
KN4CK3R 044c754ea5
Add `context.Context` to more methods (#21546) 2 years ago
Jim Kirisame 0ace4cee33
Fix webhook attachment text is not set in review comment (#21763) 2 years ago
oliverpool b6e81357bd
Add Webhook authorization header (#20926) 2 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
KN4CK3R 1887c95254
Decouple HookTask from Repository (#17940) 2 years ago
KN4CK3R cad9adeff4
Display total commit count in hook message (#21400) 2 years ago
Akshay Mankar f0aed8205b
Fix formatted link for PR review notifications to matrix (#21319) 2 years ago
Aaron F 3963625b6e
Webhook for Wiki changes (#20219) 2 years ago
zeripath 38a4961f9e
Update a few go dependencies (#21022) 2 years ago
Lunny Xiao 86c85c19b6
Refactor AssertExistsAndLoadBean to use generics (#20797) 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
Yehonatan Ezron f2439b7e4c
fix(telegram): fix link bot to release tag (#19830) 3 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
Lunny Xiao 7c164d5a91
Use queue instead of memory queue in webhook send service (#19390) 3 years ago
Lunny Xiao b8911fb456
Use a struct as test options (#19393) 3 years ago
wxiaoguang 4f27c28947
Remove legacy `unknwon/com` package (#19298) 3 years ago
zeripath c88547ce71
Add Goroutine stack inspector to admin/monitor (#19207) 3 years ago
zeripath d6fa138e7c
Only send webhook events to active system webhooks and only deliver to active hooks (#19234) 3 years ago
Dr. Tobias Quathamer 3349fd8f79
Add packagist webhook (#18224) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
KN4CK3R bf7b083cfe
Add replay of webhooks. (#18191) 3 years ago
zjjhot e34632bb53
Add issue hyperlinks in the webhook of wechatwork (#18102) 3 years ago
Gusted ff2fd08228
Simplify parameter types (#18006) 3 years ago
qwerty287 9d943bf374
Add missing `X-Total-Count` and fix some related bugs (#17968) 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 3 years ago
wxiaoguang 013fb73068
Use `hostmatcher` to replace `matchlist`, improve security (#17605) 3 years ago
wxiaoguang 750a8465f5
A better go code formatter, and now `make fmt` can run in Windows (#17684) 3 years ago
zeripath bbffcc3aec
Multiple Escaping Improvements (#17551) 3 years ago
wxiaoguang 81926d61db
Decouple unit test, remove intermediate `unittestbridge` package (#17662) 3 years ago
wxiaoguang df64fa4865
Decouple unit test code from business code (#17623) 3 years ago
Lunny Xiao 33fca2b537
Move webhook into models/webhook/ (#17579) 3 years ago
wxiaoguang 599ff1c054
Only allow webhook to send requests to allowed hosts (#17482) 3 years ago
John Olheiser 760d61b411
Add specific event type to header (#17222) 3 years ago
Eng Zer Jun f2e7d5477f
refactor: move from io/ioutil to io and os package (#17109) 3 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 3 years ago
wxiaoguang 6532aa2ed3
Open the DingTalk link in browser (#17084) 3 years ago
Lunny Xiao f9acad82ca
Add proxy settings and support for migration and webhook (#16704) 3 years ago
6543 2289580bb7
[API] generalize list header (#16551) 3 years ago
Lunny Xiao 9f31f3aa8a
Add an abstract json layout to make it's easier to change json library (#16528) 3 years ago