Commit Graph

32 Commits (4416a4199b3e6a1181c73893345be4ca8343d9b8)

Author SHA1 Message Date
oliverpool 26653b196b
Store webhook event in database (#29145) 9 months ago
6543 a3f05d0d98
remove util.OptionalBool and related functions (#29513) 9 months ago
Lunny Xiao df1e7d0067
Use db.Find instead of writing methods for every object (#28084) 1 year ago
puni9869 4971a10543
Warn instead of reporting an error when a webhook cannot be found (#26039) 1 year ago
wxiaoguang 6f9c278559
Rewrite queue (#24505) 2 years ago
KN4CK3R 2173f14708
Add user webhooks (#21563) 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
KN4CK3R 044c754ea5
Add `context.Context` to more methods (#21546) 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
Wim cb50375e2b
Add more linters to improve code readability (#19989) 2 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
wxiaoguang 4f27c28947
Remove legacy `unknwon/com` package (#19298) 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
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 3 years ago
Lunny Xiao 33fca2b537
Move webhook into models/webhook/ (#17579) 3 years ago
6543 2289580bb7
[API] generalize list header (#16551) 3 years ago
lengyuqu 078e2b2c39
Add support for corporate WeChat webhooks (#15910) 3 years ago
KN4CK3R 9b1b4b5433
Refactor Webhook + Add X-Hub-Signature (#16176) 3 years ago
a1012112796 7bf61a89d3
fix a small nit (#14769) 4 years ago
Paweł Bogusławski 7d7007dca7
Added option to disable webhooks (#13176) 4 years ago
Lunny Xiao 9f73cae635
Fix wrong type on hooktask to convert typ from char(16) to varchar(16) (#14148) 4 years ago
Lunny Xiao 9f100a45c6
Possible fix the webhook API creation (#13960) 4 years ago
Lunny Xiao ea914d0f7a
Fix bug for webhook and feishu caused by API changed (#13937) 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
S7evinK 7af2ccd511
Avoid sending "0 new commits" webhooks (#12212) 4 years ago
S7evinK 828a27feeb
Add Matrix webhook (#10831) 5 years ago
James Lakin a9f4489bbc
System-wide webhooks (#10546) 5 years ago
Lunny Xiao 83a8944fcf
Add feishu webhook support (#10229) 5 years ago
Lunny Xiao a966a0298e Move more webhook codes from models to webhook module (#8802) 5 years ago
Lunny Xiao f518fe6662
Rename HookQueue to hookQueue (#8778) 5 years ago
Lunny Xiao 0e7f7df3cf Move webhook to a standalone package under modules (#8747) 5 years ago