gitea/modules/webhook
S7evinK 828a27feeb
Add Matrix webhook ()
* Add Matrix webhook

Signed-off-by: Till Faelligen <tfaelligen@gmail.com>

* Add template and related translations for Matrix hook

Signed-off-by: Till Faelligen <tfaelligen@gmail.com>

* Add actual webhook routes and form

Signed-off-by: Till Faelligen <tfaelligen@gmail.com>

* Add missing file

Signed-off-by: Till Faelligen <tfaelligen@gmail.com>

* Update modules/webhook/matrix_test.go

* Use stricter regex to replace URLs

Signed-off-by: Till Faelligen <tfaelligen@gmail.com>

* Escape url and text

Signed-off-by: Till Faelligen <tfaelligen@gmail.com>

* Remove unnecessary whitespace

* Fix copy and paste mistake

Co-Authored-By: Tulir Asokan <tulir@maunium.net>

* Fix indention inconsistency

* Use Authorization header instead of url parameter

* Add raw commit information to webhook

Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: Tulir Asokan <tulir@maunium.net>
..
deliver.go Add Matrix webhook ()
deliver_test.go Webhook support custom proxy ()
dingtalk.go Granular webhook events ()
dingtalk_test.go Refactor webhooks to reduce code duplication ()
discord.go Granular webhook events ()
feishu.go Granular webhook events ()
general.go Only show sender if it makes sense ()
general_test.go Refactor webhooks to reduce code duplication ()
main_test.go Move webhook to a standalone package under modules ()
matrix.go Add Matrix webhook ()
matrix_test.go Add Matrix webhook ()
msteams.go Granular webhook events ()
slack.go Granular webhook events ()
slack_test.go Only show sender if it makes sense ()
telegram.go Granular webhook events ()
telegram_test.go Refactor webhooks to reduce code duplication ()
webhook.go Add Matrix webhook ()
webhook_test.go Move more webhook codes from models to webhook module ()