0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-27 18:04:04 -05:00
forgejo/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
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