forgejo/modules/setting
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
..
cache.go
cors.go
cron.go
database.go Fix SQLite concurrency problems by using BEGIN IMMEDIATE (#10368) 2020-02-27 07:51:37 +08:00
database_sqlite.go
database_test.go
git.go Make PR message on pushes configurable (#10664) 2020-03-08 08:34:38 -05:00
indexer.go Add detected file language to code search (#10256) 2020-02-20 16:53:55 -03:00
indexer_test.go
log.go
mailer.go
markup.go
migrations.go
queue.go
repository.go
service.go
session.go
setting.go Multiple LFS improvements (#10667) 2020-03-09 19:56:18 +00:00
task.go
webhook.go Add Matrix webhook (#10831) 2020-03-28 15:09:55 +02:00