forked from gitea/gitea
1
0
Fork 0
gitea/public/img
S7evinK 828a27feeb
Add Matrix webhook (#10831)
* 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>
2020-03-28 15:09:55 +02:00
..
auth OAuth2: add Yandex provider (#8335) (#10564) 2020-03-05 00:08:52 +02:00
404.png Optimize png images via Google zopflipng [ci skip] (#1639) 2017-04-30 20:04:36 +08:00
500.png Optimize png images via Google zopflipng [ci skip] (#1639) 2017-04-30 20:04:36 +08:00
apple-touch-icon.png fix apple-touch-icon, regenerate images (#10065) 2020-01-30 08:05:40 +02:00
avatar_default.png optimize all images in public/img (#6427) 2019-03-25 17:23:17 -04:00
checkmark.png ui for repo/create page 2014-03-03 00:22:20 +08:00
dingtalk.ico Add dingtalk webhook (#2777) 2017-11-21 06:26:43 +02:00
discord.png Implementation of discord webhook (#2402) 2017-08-28 13:06:45 +08:00
favicon.ico optimize all images in public/img (#6427) 2019-03-25 17:23:17 -04:00
favicon.png optimize all images in public/img (#6427) 2019-03-25 17:23:17 -04:00
feishu.png Add feishu webhook support (#10229) 2020-02-12 08:48:28 +00:00
gitea-192.png optimize all images in public/img (#6427) 2019-03-25 17:23:17 -04:00
gitea-512.png optimize all images in public/img (#6427) 2019-03-25 17:23:17 -04:00
gitea-lg.png optimize all images in public/img (#6427) 2019-03-25 17:23:17 -04:00
gitea-safari.svg Add Safari pinned tab icon (#2799) 2017-10-28 20:01:42 -05:00
gitea-sm.png optimize all images in public/img (#6427) 2019-03-25 17:23:17 -04:00
gogs.ico Add Gitea Webhook (#1755) 2017-05-29 02:17:15 -05:00
loading.png optimize public/img/loading.png (#10372) 2020-02-19 16:16:30 -06:00
matrix.svg Add Matrix webhook (#10831) 2020-03-28 15:09:55 +02:00
msteams.png fix apple-touch-icon, regenerate images (#10065) 2020-01-30 08:05:40 +02:00
openid-16x16.png optimize all images in public/img (#6427) 2019-03-25 17:23:17 -04:00
repo_default.png fix apple-touch-icon, regenerate images (#10065) 2020-01-30 08:05:40 +02:00
slack.png optimize all images in public/img (#6427) 2019-03-25 17:23:17 -04:00
telegram.png fix apple-touch-icon, regenerate images (#10065) 2020-01-30 08:05:40 +02:00