Michael Kaye
2ac7af0c18
Move comments onto their own line
2022-04-13 13:31:54 +01:00
Michael Kaye
79454de54f
Add a comment about each part of the payload.
2022-04-13 13:29:19 +01:00
Michael Kaye
62e52e880d
Rename parsedPayload into just "payload", it's not just about parsing any more.
2022-04-13 13:21:46 +01:00
Michael Kaye
7cb7309097
Add ID field containing the prefix used to create the listing.
...
This listing needs to be unique for the rageshake to be stored to disk,
so can be relied upon in future to be unique(enough) for other services
working with the rageshake.
2022-04-01 14:17:59 +01:00
Michael Kaye
1d008a0aad
Run go fmt
over the codebase
2022-04-01 14:17:48 +01:00
Michael Kaye
18c8a83173
Allow upload of files with a .json postfix.
2022-02-08 10:58:21 +00:00
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