Commit Graph

133 Commits

Author SHA1 Message Date
Aravinth Manivannan bd93487c2d
fix: install ca certs
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-08-18 18:14:44 +05:30
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.
2022-08-18 17:32:57 +05:30
Aravinth Manivannan a536481248
fix: switch to using debian base images
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-08-18 17:15:22 +05:30
Aravinth Manivannan befb3780cc
fix: golang docker img
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-08-18 15:47:37 +05:30
Aravinth Manivannan 69e36736ca
debug: publish imgs without testing
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-08-18 15:46:28 +05:30
Aravinth Manivannan 5ab35a58a9
feat: build only x864 linux docker img
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-08-18 15:44:52 +05:30
Aravinth Manivannan 7b72715bda
feat: add woodpecker badge
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-08-18 14:29:08 +05:30
Aravinth Manivannan 6975c3faa1
feat: publish docker img from CI
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-08-18 14:28:10 +05:30
Michael Kaye 85b721070a 1.7 2022-04-14 14:15:31 +01:00
Michael Kaye 02237888c9
Merge pull request #54 from matrix-org/michaelk/persist_unique_id_in_shakes
Persist prefix as a unique id in rageshakes
2022-04-14 14:13:08 +01:00
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 8cdcc4bba8 Add changelog entry for unique ID 2022-04-06 15:59:09 +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 eb19aca921 1.6 2022-02-22 15:54:18 +00:00
Michael Kaye b01b5a5863
Merge pull request #53 from matrix-org/michaelk/tarball_of_files
Serve a tarball containing the contents of a given directory.
2022-02-22 15:51:37 +00:00
Michael Kaye 1137cb2c04 Correct the use of return 2022-02-22 15:40:46 +00:00
Michael Kaye ba8725a3aa Factor out serveDirectory into it's own method 2022-02-17 11:47:21 +00:00
Michael Kaye 77e66be90f Guard against including directories in tarball, handle http errors better, add documentation. 2022-02-17 11:38:36 +00:00
Michael Kaye 714cc44807 Update documentation 2022-02-17 11:37:05 +00:00
Michael Kaye 7b2d70a3c9 Fix last minute refactor fial. 2022-02-09 16:31:56 +00:00
Michael Kaye a2caf1c546 More whitespace 2022-02-09 16:12:05 +00:00
Michael Kaye f318399536 changelog.d 2022-02-09 16:11:37 +00:00
Michael Kaye 2a4434281c Fix whitespace 2022-02-09 16:10:55 +00:00
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.
2022-02-09 16:06:44 +00:00
Michael Kaye b7ffb434e9 1.5 2022-02-08 15:03:54 +00:00
Michael Kaye cc2374e431
Merge pull request #52 from matrix-org/michaelk/allow_json_files
Allow upload of files with a .json postfix.
2022-02-08 15:02:09 +00:00
Michael Kaye a7724b7bc8 Serve .json files as application/json. 2022-02-08 14:20:45 +00:00
Michael Kaye 53e8947cb9 Changelog.d 2022-02-08 11:01:12 +00:00
Michael Kaye 18c8a83173 Allow upload of files with a .json postfix. 2022-02-08 10:58:21 +00:00
Michael Kaye 589e9254e7 1.4 2022-02-01 14:03:48 +00:00
Michael Kaye a8c57f2eb9
Merge pull request #50 from matrix-org/michaelk/proxy_rageshake_requests
A generic webhook for notifications about reports.
2022-02-01 14:02:14 +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 8e001408d8 Reduce cyclometric complexity 2022-01-31 16:24:25 +00:00
Michael Kaye d8a5acd2e2 Makefile was for personal testing, should not have been committed. 2022-01-31 16:07:17 +00:00
Michael Kaye adc43f50ec Changelog.d 2022-01-31 15:30:37 +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 29c2f9a48f Merge the updates to go 1.15 then go 1.16 into a single changelog line. 2022-01-25 10:30:47 +00:00
Michael Kaye a9deeaafa5 1.3 2022-01-25 10:28:53 +00:00
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.
2022-01-25 10:00:46 +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 5d59304d9b Add changelog 2022-01-24 13:48:01 +00:00
Michael Kaye d830523731 All platforms (web, ios, android) provide feedback in various formats, none of which
contain log files.
2022-01-24 13:47:01 +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
Quentin Gliech 3f4fa7242c
Merge pull request #47 from matrix-org/sandhose/docker-improvements
Build and push multi-arch Docker images on ghcr.io
2022-01-21 15:21:52 +01:00
Michael Kaye 108594b531 Link into docs for the logs and compressed-logs formats. 2022-01-21 11:52:45 +00:00