forgejo/routers/api/v1
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: 07df6614dc84cdd2e9f39c57577fa1062bd70012
Related: https://github.com/go-gitea/gitea/pull/13176#pullrequestreview-510868421
Author-Change-Id: IB#1105174

* Parameter description fixed

Parameter description fixed.

Fixes: 07df6614dc84cdd2e9f39c57577fa1062bd70012
Related: https://github.com/go-gitea/gitea/pull/13176#pullrequestreview-514086107
Author-Change-Id: IB#1105174
2021-02-11 12:34:34 -05:00
..
admin Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
misc Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
notify move notification APIFormat (#13783) 2020-12-02 09:24:35 +00:00
org [API] Add pagination to ListBranches (#14524) 2021-02-03 20:06:13 +01:00
repo Add dismiss review feature (#12674) 2021-02-11 18:32:25 +01:00
settings Added option to disable migrations (#13114) 2020-12-21 15:39:41 +01:00
swagger Add dismiss review feature (#12674) 2021-02-11 18:32:25 +01:00
user Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
utils [API] Add pagination to ListBranches (#14524) 2021-02-03 20:06:13 +01:00
api.go Added option to disable webhooks (#13176) 2021-02-11 12:34:34 -05:00