Commit graph

12 commits

Author SHA1 Message Date
Michael Kaye 095b55e640 Only create payload struct once.
(But keep making bytes.Buffer multiple times as these is read from by each http request)
2022-02-01 13:59:01 +00:00
Michael Kaye 4e3eeec92c genericWebhookURLs as a list rather than a single endpoint. 2022-02-01 13:26:29 +00:00
Michael Kaye 81865b0193 Initial attempt at a generic webhook for reports.
Background submission to a notification server that doesn't block rageshake submission.
2022-01-31 15:25:17 +00:00
Michael Kaye c674f7e243 Update comment to be accurate. 2022-01-24 13:41:36 +00:00
Michael Kaye ac76e5e706
Update submit.go
Refactor slightly to be clearer that we only add .gz if it's not already there.

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2022-01-24 13:38:50 +00:00
Michael Kaye 523333f5a0 Don't append a second .gz extension 2022-01-18 17:30:50 +00:00
Michael Kaye ff5ac238c4 Allow files ending "txt.gz" to be uploaded as a log file. 2022-01-18 17:25:44 +00:00
Faye Duxovni 86b4ccc1df add random string to report directories to prevent time-based collisions 2021-12-14 08:10:54 -05:00
Tulir Asokan 065b2b9a04
Add support for creating GitLab issues (#37)
Signed-off-by: Tulir Asokan <tulir@maunium.net>
2021-08-10 18:04:58 +01:00
Mathieu Velten fab3f9b37d
Add email support (#35)
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2020-09-16 11:25:56 +02:00
Manuel Stahl addce09400 Add support for Slack notifications
Signed-off-by: Manuel Stahl <manuel.stahl@awesome-technologies.de>
2019-07-29 20:50:20 +02:00
gernest 8870cef95a
move files to the source root
Signed-off-by: gernest <geofreyernest@live.com>
2019-04-10 12:22:44 +03:00
Renamed from src/github.com/matrix-org/rageshake/submit.go (Browse further)