Commit Graph

5 Commits (7cd47046ea6e1fde2c88290a42f345795aee0ea4)

Author SHA1 Message Date
James Lakin a9f4489bbc
System-wide webhooks ()
* 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>
Lunny Xiao 83a8944fcf
Add feishu webhook support ()
Add feishu webhook support
Lunny Xiao a966a0298e Move more webhook codes from models to webhook module ()
* Move more webhook codes from models to webhook module
Lunny Xiao f518fe6662
Rename HookQueue to hookQueue ()
* Rename HookQueue to hookQueue

* fix lint
Lunny Xiao 0e7f7df3cf Move webhook to a standalone package under modules ()
* Move webhook to a standalone package under modules

* fix test

* fix comments