0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-28 22:33:32 +01:00
gitea/routers/repo
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
..
activity.go
attachment.go
blame.go make avatar lookup occur at image request (#10540) 2020-03-27 14:34:39 +02:00
branch.go Handle push rejection in branch and upload (#10854) 2020-03-28 01:13:18 -03:00
commit.go
compare.go
download.go
editor_test.go
editor.go Handle push rejection in branch and upload (#10854) 2020-03-28 01:13:18 -03:00
http.go
issue_dependency.go
issue_label_test.go
issue_label.go
issue_lock.go
issue_stopwatch.go
issue_timetrack.go
issue_watch.go
issue.go
lfs.go
main_test.go
middlewares.go
milestone.go
pull_review.go
pull.go Handle push rejection in branch and upload (#10854) 2020-03-28 01:13:18 -03:00
release_test.go
release.go
repo.go
search.go
setting_protected_branch.go
setting.go
settings_test.go
topic.go
view.go
webhook.go Add Matrix webhook (#10831) 2020-03-28 15:09:55 +02:00
wiki_test.go
wiki.go