Commit Graph

133 Commits (master)
 

Author SHA1 Message Date
Aravinth Manivannan bd93487c2d
fix: install ca certs
ci/woodpecker/push/woodpecker Pipeline was successful Details
1 year ago
Aravinth Manivannan eaa54e466c
fix; cp bin to /rageshake/
ci/woodpecker/push/woodpecker Pipeline was successful Details
rageshake stores logs and screenshot in the same directory as the binary.
Copying binary to /bin/ will, well, mess /bin/ up. Not good.
1 year ago
Aravinth Manivannan a536481248
fix: switch to using debian base images
ci/woodpecker/push/woodpecker Pipeline was successful Details
1 year ago
Aravinth Manivannan befb3780cc
fix: golang docker img
ci/woodpecker/push/woodpecker Pipeline was successful Details
1 year ago
Aravinth Manivannan 69e36736ca
debug: publish imgs without testing
ci/woodpecker/push/woodpecker Pipeline was successful Details
1 year ago
Aravinth Manivannan 5ab35a58a9
feat: build only x864 linux docker img
ci/woodpecker/push/woodpecker Pipeline failed Details
1 year ago
Aravinth Manivannan 7b72715bda
feat: add woodpecker badge
ci/woodpecker/push/woodpecker Pipeline failed Details
1 year ago
Aravinth Manivannan 6975c3faa1
feat: publish docker img from CI
ci/woodpecker/push/woodpecker Pipeline failed Details
1 year ago
Michael Kaye 85b721070a 1.7 1 year ago
Michael Kaye 02237888c9
Merge pull request #54 from matrix-org/michaelk/persist_unique_id_in_shakes
Persist prefix as a unique id in rageshakes
1 year ago
Michael Kaye 2ac7af0c18 Move comments onto their own line 1 year ago
Michael Kaye 79454de54f Add a comment about each part of the payload. 1 year ago
Michael Kaye 62e52e880d Rename parsedPayload into just "payload", it's not just about parsing any more. 1 year ago
Michael Kaye 8cdcc4bba8 Add changelog entry for unique ID 1 year ago
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.
1 year ago
Michael Kaye 1d008a0aad Run `go fmt` over the codebase 1 year ago
Michael Kaye eb19aca921 1.6 2 years ago
Michael Kaye b01b5a5863
Merge pull request #53 from matrix-org/michaelk/tarball_of_files
Serve a tarball containing the contents of a given directory.
2 years ago
Michael Kaye 1137cb2c04 Correct the use of return 2 years ago
Michael Kaye ba8725a3aa Factor out serveDirectory into it's own method 2 years ago
Michael Kaye 77e66be90f Guard against including directories in tarball, handle http errors better, add documentation. 2 years ago
Michael Kaye 714cc44807 Update documentation 2 years ago
Michael Kaye 7b2d70a3c9 Fix last minute refactor fial. 2 years ago
Michael Kaye a2caf1c546 More whitespace 2 years ago
Michael Kaye f318399536 changelog.d 2 years ago
Michael Kaye 2a4434281c Fix whitespace 2 years ago
Michael Kaye 78060556a2 Serve a tarball containing the contents of a given directory.
This will make it easier to get all logs for a given bug; preventing users
needing to run scripts to download all files.

 - we cannot make the link exist in the directory listing as there are scripts
   that automate downloads which would pick this up.

 - Unsure if "?format=tar.gz" is the right option to enable this; I couldn't think
   of something easy to do but hard to not get picked up by existing automation, and
   wouldn't conflict with existing filenames.
2 years ago
Michael Kaye b7ffb434e9 1.5 2 years ago
Michael Kaye cc2374e431
Merge pull request #52 from matrix-org/michaelk/allow_json_files
Allow upload of files with a .json postfix.
2 years ago
Michael Kaye a7724b7bc8 Serve .json files as application/json. 2 years ago
Michael Kaye 53e8947cb9 Changelog.d 2 years ago
Michael Kaye 18c8a83173 Allow upload of files with a .json postfix. 2 years ago
Michael Kaye 589e9254e7 1.4 2 years ago
Michael Kaye a8c57f2eb9
Merge pull request #50 from matrix-org/michaelk/proxy_rageshake_requests
A generic webhook for notifications about reports.
2 years ago
Michael Kaye 095b55e640 Only create payload struct once.
(But keep making bytes.Buffer multiple times as these is read from by each http request)
2 years ago
Michael Kaye 4e3eeec92c genericWebhookURLs as a list rather than a single endpoint. 2 years ago
Michael Kaye 8e001408d8 Reduce cyclometric complexity 2 years ago
Michael Kaye d8a5acd2e2 Makefile was for personal testing, should not have been committed. 2 years ago
Michael Kaye adc43f50ec Changelog.d 2 years ago
Michael Kaye 81865b0193 Initial attempt at a generic webhook for reports.
Background submission to a notification server that doesn't block rageshake submission.
2 years ago
Michael Kaye 29c2f9a48f Merge the updates to go 1.15 then go 1.16 into a single changelog line. 2 years ago
Michael Kaye a9deeaafa5 1.3 2 years ago
Michael Kaye 8beb68cd85
Merge pull request #41 from matrix-org/michaelk/permit_gz_extension
Allow files ending "txt.gz" or "log.gz" to be uploaded as a log file.
2 years ago
Michael Kaye c4d23e3481
Merge pull request #44 from matrix-org/michaelk/docs_about_rageshake_files
Docs about rageshake files
2 years ago
Michael Kaye 5d59304d9b Add changelog 2 years ago
Michael Kaye d830523731 All platforms (web, ios, android) provide feedback in various formats, none of which
contain log files.
2 years ago
Michael Kaye c674f7e243 Update comment to be accurate. 2 years ago
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>
2 years ago
Quentin Gliech 3f4fa7242c
Merge pull request #47 from matrix-org/sandhose/docker-improvements
Build and push multi-arch Docker images on ghcr.io
2 years ago
Michael Kaye 108594b531 Link into docs for the logs and compressed-logs formats. 2 years ago