forgejo-federation/routers
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
..
admin Upgrade xorm to v1.0.0 (#10646) 2020-03-22 11:12:55 -04:00
api/v1 Handle push rejection in branch and upload (#10854) 2020-03-28 01:13:18 -03:00
dev Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
org Language statistics bar for repositories (#8037) 2020-02-11 11:34:17 +02:00
private Allow to set protected file patterns that can not be changed under no conditions (#10806) 2020-03-27 00:26:34 +02:00
repo Add Matrix webhook (#10831) 2020-03-28 15:09:55 +02:00
routes Add Matrix webhook (#10831) 2020-03-28 15:09:55 +02:00
user make avatar lookup occur at image request (#10540) 2020-03-27 14:34:39 +02:00
utils Handle push rejection message in Merge & Web Editor (#10373) 2020-02-22 15:08:48 +02:00
home.go Add detected file language to code search (#10256) 2020-02-20 16:53:55 -03:00
init.go Language statistics bar for repositories (#8037) 2020-02-11 11:34:17 +02:00
install.go Add support for database schema in PostgreSQL (#8819) 2020-01-20 16:45:14 +01:00
metrics.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
swagger_json.go Swagger.v1.json template (#3572) 2018-07-28 03:19:01 +03:00