1
0
Fork 0
forgejo/modules
James Lakin a9f4489bbc
System-wide webhooks (#10546)
* Create system webhook column (and migration)

* Create system webhook DB methods

Based on the default webhook ones

* Modify router to handle system webhooks and default ones

* Remove old unused admin nav template

* Adjust orgRepoCtx to differentiate system and default webhook URLs

* Assign IsSystemWebhook when creating webhooks

* Correctly use booleans for IsSystemWebhook

* Use system webhooks when preparing webhooks for payload

* Add UI and locale changes

* Use router params to differentiate admin hook pages

* Fix deleting admin webhooks and rename method

* Add clarity to webhook docs

* Revert "Remove old unused admin nav template"

This reverts commit 191a20a738.

* Rename WebHooksNewPost to GiteaHooksNewPost for clarity

* Reintroduce blank line lost during merge conflict

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
2020-03-09 00:08:05 +02:00
..
analyze Add detected file language to code search (#10256) 2020-02-20 16:53:55 -03:00
auth Granular webhook events (#9626) 2020-03-06 07:10:48 +02:00
avatar
base Remove Unused Functions (#10516) 2020-03-02 00:05:44 +02:00
cache
charset
context
convert Display pull request head branch even the branch deleted or repository deleted (#10413) 2020-03-02 22:31:55 +00:00
cron
generate
git Change default value of DefaultCommandExecutionTimeout to match cheatsheet (#10581) 2020-03-02 22:13:01 -03:00
gitgraph
graceful Restore graceful restart on SIGHUP (#10224) 2020-02-11 13:29:45 +08:00
highlight
httplib
indexer Handle panic in indexer initialisation better (#10534) 2020-02-28 22:00:09 +00:00
lfs Fix LFS max file size enforcement (#10593) 2020-03-03 14:57:27 -06:00
log
markup Fix task-list checkbox styling (#10668) 2020-03-08 21:17:03 +02:00
metrics
migrations
notification Granular webhook events (#9626) 2020-03-06 07:10:48 +02:00
options
password
pprof
private
process
public
queue Fix Workerpool deadlock (#10283) 2020-02-15 18:44:58 +00:00
recaptcha
references
repofiles Check for tag, not just new tag (#10663) 2020-03-08 13:27:11 +08:00
repository Various fixes in login sources (#10428) 2020-02-23 13:52:05 -06:00
secret
session
setting Make PR message on pushes configurable (#10664) 2020-03-08 08:34:38 -05:00
ssh
structs Granular webhook events (#9626) 2020-03-06 07:10:48 +02:00
sync
task
templates Remove Unused Functions (#10516) 2020-03-02 00:05:44 +02:00
test Code Refactor of IssueWatch related things (#10401) 2020-02-26 03:32:22 -03:00
timeutil
upload
user
util inform participants on UI too (#10473) 2020-02-28 05:16:41 -03:00
validation
webhook System-wide webhooks (#10546) 2020-03-09 00:08:05 +02:00