Commit Graph

39 Commits (dd8e6ae270b4b5e91a152a145978029dacb938ff)

Author SHA1 Message Date
oliverpool 26653b196b
Store webhook event in database (#29145) 8 months ago
6543 a3f05d0d98
remove util.OptionalBool and related functions (#29513) 9 months ago
delvh 778ad795fd
Refactor deletion (#28610) 11 months ago
Lunny Xiao dd30d9d5c0
Remove GetByBean method because sometimes it's danger when query condition parameter is zero and also introduce new generic methods (#28220) 11 months ago
Lunny Xiao 882e502327
Fix comment permissions (#28213) 12 months ago
Lunny Xiao df1e7d0067
Use db.Find instead of writing methods for every object (#28084) 12 months ago
JakobDev 76a85a4ce9
Final round of `db.DefaultContext` refactor (#27587) 1 year ago
Lunny Xiao 673cf6af76
make writing main test easier (#27270) 1 year ago
silverwind 88f835192d
Replace `interface{}` with `any` (#25686) 1 year ago
谈笑风生间 309354c70e
New webhook trigger for receiving Pull Request review requests (#24481) 2 years ago
yp05327 dbb3736785
Fix incorrect webhook time and use relative-time to display it (#24477) 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 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) 2 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