Commit Graph

27 Commits (4d3e2b23b86f5be8eaf649980ed3fa81b5997e3b)

Author SHA1 Message Date
Lunny Xiao c0015979a6
Support system hook API (#14537) 2 years ago
Jason Song 3dbd2d942b
Remove old HookEventType (#22358) 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
Lunny Xiao 34283a74e8
Allow detect whether it's in a database transaction for a context.Context (#21756) 2 years ago
oliverpool b6e81357bd
Add Webhook authorization header (#20926) 2 years ago
Lunny Xiao f337c32e86
Add index for hook_task table (#21545) 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
zeripath 716fcfcf72
Make every not exist error unwrappable to a fs.ErrNotExist (#20891) 2 years ago
Aaron F 3963625b6e
Webhook for Wiki changes (#20219) 2 years ago
Lunny Xiao 86c85c19b6
Refactor AssertExistsAndLoadBean to use generics (#20797) 2 years ago
Gabriel Vasile cf06e20c0d
Check webhooks slice length before calling xorm (#20642) 2 years ago
Wim cb50375e2b
Add more linters to improve code readability (#19989) 2 years ago
Wim 62104b4896
Alter hook_task TEXT fields to LONGTEXT (#20038) 2 years ago
Lunny Xiao 26095115f4
Move some repository related code into sub package (#19711) 3 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
Lunny Xiao b8911fb456
Use a struct as test options (#19393) 3 years ago
KN4CK3R 1d332342db
Add Package Registry (#16510) 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
KN4CK3R bf7b083cfe
Add replay of webhooks. (#18191) 3 years ago
Lunny Xiao d710af6669
Remove NewSession method from db.Engine interface (#17577) 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