Commit graph

23 commits

Author SHA1 Message Date
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
c4d23e3481
Merge pull request #44 from matrix-org/michaelk/docs_about_rageshake_files
Docs about rageshake files
2022-01-25 10:00:15 +00:00
Michael Kaye
108594b531 Link into docs for the logs and compressed-logs formats. 2022-01-21 11:52:45 +00:00
Michael Kaye
4ce47beb7b Update go version to 1.16
The linting scripts don't run on 1.15 any more, so builds are not
running against 1.15 any more.

Technically it will still compile and run against go 1.15 but if we
can't verify it in CI, it's not known to be true in future.
2022-01-18 18:13:03 +00: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
Richard van der Hoff
e6ac4303ee move CI to buildkite 2020-06-04 13:08:27 +01:00
Richard van der Hoff
eb6090f5a3 Switch to go mod
gb vendor is dead, long live go mod
2019-06-18 14:58:53 +01:00
Richard van der Hoff
50df916f09 Remove support for < 1.11
go modules require 1.11.
2019-06-18 14:50:11 +01:00
Richard van der Hoff
aa8ec7dd5d
Update go version (#29)
golint no longer supports 1.7. (https://github.com/golang/go/issues/28291).

It's time to update.

(1.12 doesn't seem to work yet)
2019-06-18 10:31:45 +01:00
Richard van der Hoff
63d6917dfe If a log is uploaded with a sensible filename, preserve it (#18)
- the mobile guys want to be able to distinguish between crash.log and other
logs.
2017-05-04 15:58:23 +01:00
Richard van der Hoff
bc292e4399 Support for adding labels to github issues (#16) 2017-05-03 10:33:27 +01:00
Richard van der Hoff
530fcd69db Add support for attaching files to reports (#14)
* Create report dir before reading POST body

... so that we can stream uploaded files straight to disk, instead of reading
them into memory first.

* Add support for attaching files to reports

If a 'file' parameter is provided, save it as a file on disk. Also include a
link to it from the github issue.
2017-05-02 17:53:12 +01:00
Richard van der Hoff
0417e8d385 Support for compressed logfiles (#13)
Allow apps to upload gzipped log files
2017-04-18 15:47:45 +01:00
Richard van der Hoff
7cb9486333 Multipart upload support (#12)
Allow submission of the input data as a multipart form, instead of JSON.
2017-04-18 15:43:04 +01:00
Richard van der Hoff
40a6eec4e1 Send github URL back to application (#10)
I'm not sure if this is going to be useful, but it's fairly harmless, and is
annoying me by being on a branch.
2017-04-18 11:55:22 +01:00
Richard van der Hoff
11fbdebf64 Rename sample config file
This means that we can have a `rageshake.yaml` on the live server which is used
without faffing with parameters.
2017-04-12 15:27:50 +01:00
Richard van der Hoff
3b5b19cc90 Make github issue a bit more useful (#7)
* include the text from the report and other useful info
* include a link to the report details
* Pick github repo based on submitted app name
2017-04-12 15:06:40 +01:00
Richard van der Hoff
112158fd47 Add 'app' and 'data' fields to report API (#6) 2017-04-11 12:21:30 +01:00
Richard van der Hoff
3568dc9efa Switch to yaml for our config data (#5)
Env vars are getting unwieldy, and it's going to get worse.
2017-04-10 14:39:10 +01:00
Richard van der Hoff
03d538ae4c Create a (template) github issue on report 2017-04-07 17:12:42 +01:00
Richard van der Hoff
db5597375d Serve log files as plain text (#3)
If the client accepts gzip, just serve the file as a gzip-encoded plain text.

If it doesn't, gunzip it first.
2017-04-06 12:20:07 +01:00
Richard van der Hoff
19cacfe94b Add readme, contributing, license 2017-04-04 16:20:50 +01:00