forgejo/services/webhook
Paweł Bogusławski 7d7007dca7
Added option to disable webhooks (#13176)
* Added option to disable web hooks

This mod introduces DISABLE_WEB_HOOKS parameter in [security] section
of app.ini (by default set to false). If set to true it disables web
hooks feature. Any existing undelivered web hook tasks will be cancelled.
Any existing web hook definitions will be left untouched in db but
its delivery tasks will be ignored.

Author-Change-Id: IB#1105130

* Webhook spelling fixed

Webhook spelling fixed.

Fixes: 07df6614dc
Related: https://github.com/go-gitea/gitea/pull/13176#pullrequestreview-510868421
Author-Change-Id: IB#1105174

* Parameter description fixed

Parameter description fixed.

Fixes: 07df6614dc
Related: https://github.com/go-gitea/gitea/pull/13176#pullrequestreview-514086107
Author-Change-Id: IB#1105174
2021-02-11 12:34:34 -05:00
..
deliver.go Added option to disable webhooks (#13176) 2021-02-11 12:34:34 -05:00
deliver_test.go Move webhook type from int to string (#13664) 2020-12-08 11:41:14 +01:00
dingtalk.go Move webhook type from int to string (#13664) 2020-12-08 11:41:14 +01:00
dingtalk_test.go Move webhook type from int to string (#13664) 2020-12-08 11:41:14 +01:00
discord.go Move webhook type from int to string (#13664) 2020-12-08 11:41:14 +01:00
feishu.go Fix bug for webhook and feishu caused by API changed (#13937) 2020-12-11 17:04:04 +01:00
general.go Move webhook type from int to string (#13664) 2020-12-08 11:41:14 +01:00
general_test.go Move webhook type from int to string (#13664) 2020-12-08 11:41:14 +01:00
main_test.go Move webhook type from int to string (#13664) 2020-12-08 11:41:14 +01:00
matrix.go Move webhook type from int to string (#13664) 2020-12-08 11:41:14 +01:00
matrix_test.go Move webhook type from int to string (#13664) 2020-12-08 11:41:14 +01:00
msteams.go Move webhook type from int to string (#13664) 2020-12-08 11:41:14 +01:00
payloader.go Move webhook type from int to string (#13664) 2020-12-08 11:41:14 +01:00
slack.go Move webhook type from int to string (#13664) 2020-12-08 11:41:14 +01:00
slack_test.go Move webhook type from int to string (#13664) 2020-12-08 11:41:14 +01:00
telegram.go Move webhook type from int to string (#13664) 2020-12-08 11:41:14 +01:00
telegram_test.go Move webhook type from int to string (#13664) 2020-12-08 11:41:14 +01:00
webhook.go Added option to disable webhooks (#13176) 2021-02-11 12:34:34 -05:00
webhook_test.go Move webhook type from int to string (#13664) 2020-12-08 11:41:14 +01:00