forked from gitea/gitea
1
0
Fork 0
gitea/modules/webhook
S7evinK bf60146444
Don't use legacy method to send Matrix Webhook (#12348)
* Don't use legacy send for messages

* Add migrations to ensure Matrix webhooks use PUT

* Set HTTP method to PUT as default

* Fix sql condition..

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

* Rename getTxnID -> getMatrixTxnID

* Use local variable instead of constant value

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2020-07-30 18:04:19 -04:00
..
deliver.go Don't use legacy method to send Matrix Webhook (#12348) 2020-07-30 18:04:19 -04:00
deliver_test.go Webhook support custom proxy (#8760) 2019-11-08 16:25:53 -05:00
dingtalk.go Fix comments webhook panic (#12046) 2020-06-24 23:39:43 -04:00
dingtalk_test.go prefer NoError/Error over Nil/NotNil (#12271) 2020-07-19 12:53:40 +03:00
discord.go Fix comments webhook panic (#12046) 2020-06-24 23:39:43 -04:00
feishu.go Fix comments webhook panic (#12046) 2020-06-24 23:39:43 -04:00
general.go Fix comments webhook panic (#12046) 2020-06-24 23:39:43 -04:00
general_test.go Refactor webhooks to reduce code duplication (#9422) 2019-12-28 08:55:09 +00:00
main_test.go Move webhook to a standalone package under modules (#8747) 2019-11-01 22:51:22 +00:00
matrix.go Don't use legacy method to send Matrix Webhook (#12348) 2020-07-30 18:04:19 -04:00
matrix_test.go Don't use legacy method to send Matrix Webhook (#12348) 2020-07-30 18:04:19 -04:00
msteams.go Fix comments webhook panic (#12046) 2020-06-24 23:39:43 -04:00
slack.go Fix comments webhook panic (#12046) 2020-06-24 23:39:43 -04:00
slack_test.go prefer NoError/Error over Nil/NotNil (#12271) 2020-07-19 12:53:40 +03:00
telegram.go Fix comments webhook panic (#12046) 2020-06-24 23:39:43 -04:00
telegram_test.go prefer NoError/Error over Nil/NotNil (#12271) 2020-07-19 12:53:40 +03:00
webhook.go Add Matrix webhook (#10831) 2020-03-28 15:09:55 +02:00
webhook_test.go Move more webhook codes from models to webhook module (#8802) 2019-11-03 22:13:25 +00:00