Maikel Linke
|
19ef047193
|
Create observable reports blob early
This will allow us to check for completion of the report later in case
websockets fail.
|
2024-08-16 14:37:57 +10:00 |
|
Maikel Linke
|
a110ee0982
|
Simplify Active Storage config for test env
|
2023-11-15 10:29:05 +01:00 |
|
Maikel Linke
|
eaff1ed921
|
Store report files on the local disk
|
2023-11-15 10:29:05 +01:00 |
|
Maikel Linke
|
20af19c912
|
Simplify report file storage
|
2023-11-15 10:29:05 +01:00 |
|
Neal Chambers
|
4ffd3759cc
|
Fix Style/HashSyntax
|
2023-09-12 23:19:05 +09:00 |
|
Maikel Linke
|
08aff56e20
|
Expire report files after 1 week, maximum for S3
We didn't see this in tests which use disk storage. But AWS S3 has a
maximum of one week for URL expiry.
|
2023-05-15 19:41:45 +02:00 |
|
Maikel Linke
|
299bc253a4
|
Expire report download links in a month, not 5mins
|
2023-05-15 19:41:45 +02:00 |
|
Maikel Linke
|
630169f8bb
|
Preserve encoding of stored reports
Active Storage reads stored strings as ASCII and that can clash with
Rails' default UTF-8 encoding when special characters are present.
|
2023-04-28 16:38:06 +10:00 |
|
Maikel Linke
|
ebb15781d5
|
Store report's filename within the blob
For future downloads outside the ReportsController.
|
2023-04-14 11:29:35 +10:00 |
|
Maikel Linke
|
028c4f4281
|
Simplify ReportJob by extracting model for result
This makes the code heaps simpler.
|
2023-04-14 11:29:35 +10:00 |
|