Michael Kaye
523333f5a0
Don't append a second .gz
extension
2022-01-18 17:30:50 +00:00
Michael Kaye
d337ec9843
Update test to look for file to not gain an additional .gz
extension.
2022-01-18 17:28:01 +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
c442ced2e1
Merge pull request #39 from matrix-org/fayed/fix-collisions
...
Add random string to report directories to prevent time-based collisions
2022-01-11 11:27:48 -05: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
5dbe86072c
1.2
2020-09-16 11:35:38 +02: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
1042a93da1
fix thinkos in RELEASING.md
2020-06-05 09:33:50 +01:00
Richard van der Hoff
3a795e7b80
Script to check changelog
2020-06-05 09:32:39 +01:00
Richard van der Hoff
1bdce214a2
how to do a release
2020-06-04 14:09:22 +01:00
Richard van der Hoff
e3d6c42362
1.1
2020-06-04 13:15:38 +01:00
Richard van der Hoff
e6ac4303ee
move CI to buildkite
2020-06-04 13:08:27 +01:00
Richard van der Hoff
47178dc5c5
clean up lint scripts
2020-06-04 12:53:08 +01:00
Richard van der Hoff
37b7b7158f
fix lint
2020-06-04 12:52:39 +01:00
Richard van der Hoff
feb1af9686
scripts for buildkite
2020-06-04 12:15:47 +01:00
Richard van der Hoff
ee4e7cf773
add changelog files for things that have changed since v1.0
2020-06-04 11:34:34 +01:00
Richard van der Hoff
690e59d258
Merge pull request #32 from Awesome-Technologies/docker
...
Add Dockerfile
2019-09-02 12:16:36 +01:00
Manuel Stahl
a602d31206
Add Dockerfile
...
Signed-off-by: Manuel Stahl <manuel.stahl@awesome-technologies.de>
2019-08-29 09:07:08 +02:00
Richard van der Hoff
de2fd6afb9
Merge pull request #28 from Awesome-Technologies/slack
...
Add support for Slack notifications
2019-08-27 17:13:38 +01: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
Richard van der Hoff
93419b0c18
Merge pull request #31 from matrix-org/rav/go_mod
...
Switch to go modules
2019-06-18 15:03:10 +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
47687b074e
Merge remote-tracking branch 'origin/pull/26/head' into rav/go_mod
2019-06-18 14:58:46 +01:00
Richard van der Hoff
cd504c24e6
Merge pull request #30 from matrix-org/rav/go_mod_prep
...
Preparation for switching to go modules
2019-06-18 14:57:33 +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
45cceda6d4
fix name of golint
...
apparently this is the right module name for golint 🤷
2019-06-18 14:49:27 +01:00
Richard van der Hoff
ee67dc1f2e
pre-commit hook: avoid avoid setting GIT_DIR when running go
...
It seems that `go get` explodes and craps over your git directory if you set
GIT_DIR, and some of the go tools run `go get` indirectly, so let's jump
through some hoops to fix it.
2019-06-18 14:42:29 +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
gernest
8870cef95a
move files to the source root
...
Signed-off-by: gernest <geofreyernest@live.com>
2019-04-10 12:22:44 +03:00
Geofrey Ernest
6b3f2b4e5f
sort lexicographically data fields ( #25 )
...
* sort lexicographically data fields
Fixes #23
* remove reduntant error check
This doesn't look nice with the rest of the code.
I think error handling on writes can be ignored here or addressed in a
separate PR
2019-04-10 09:36:24 +01:00
Matthew Hodgson
10c36dc480
do not backtick quote the user message, given it contains GH urls now
2018-09-28 20:45:29 +01:00
Richard van der Hoff
7f9cd51ede
Fix comment
2018-03-06 10:49:30 +00:00
Richard van der Hoff
e88a448a20
Read request body before sending response
2018-03-06 10:23:24 +00:00
Richard van der Hoff
00b9337e01
Avoid rejecting whole thing if one file fails
...
because there will probably still be useful info
2017-12-04 14:00:05 +00:00
Richard van der Hoff
92e9797fe9
close request body
2017-12-04 12:49:48 +00:00
Richard van der Hoff
5fac31b9b4
Better errors when parsing multipart
2017-12-04 12:38:03 +00:00
Richard van der Hoff
c4be680abc
add github.com/pkg/errors
2017-12-04 12:37:31 +00:00
Richard van der Hoff
c7d9018647
Try to avoid setting an empty github issue title ( #20 )
...
Github complains if the title is empty, so work a bit harder on making sure
that we have a valid title even if the first line of the text is empty.
2017-09-08 12:11:56 +01:00
Richard van der Hoff
0452567cd7
Unbreak github submits for json rageshakes ( #19 )
...
Make sure we read the appname from JSON rageshakes, so that issues are
correctly filed into github.
(This was affecting riot-web 0.9.9 and earlier; later versions are using the
multipart interface; riot-android was special-cased anyway; riot-ios has never
used the JSON interface.)
2017-05-10 10:42:44 +01:00
Richard van der Hoff
debd4f9535
Fix handling of reports with no labels
...
because go, and because nil != [], and because my testing wasn't adequate.
2017-05-04 16:21:09 +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
f630c6a78a
Save uploaded logs during upload ( #17 )
...
I got fed up with shoving everything into the structure the JSON api uses for
upload, so now parseRequest returns its own structure, and saves the log files
to disk in the same way as the other attachments.
This also means that we can test the saving of log files more representatively.
2017-05-04 15:54:25 +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
9bbdf64e5f
Include details from the report in the github issue ( #15 )
...
... to make triaging easier.
2017-05-02 17:39:16 +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
8505268edf
Zero-pad logfile names ( #11 )
...
- so that they are sorted properly
2017-04-18 13:06:21 +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