Michael Fowler
77579bb4f1
fix: Use the default credential strategy in S3Client construction ( #7061 )
...
By omitting this option, we fall back to the hierarchy used by S3Client by
default. When defined, the provider chain will use the values of
AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY (and AWS_SESSION_TOKEN); in their
absence, the provider chain can retrieve credentials from a range of other
sources, including e.g. ECS credentials.
Although there are no longer any application reads from `env.AWS_ACCESS_KEY_ID`
and `env.AWS_SECRET_ACCESS_KEY`, they continue to serve a useful documentary
role.
2024-06-17 03:15:15 -07:00
Tom Moor
50bbe05334
Add range header support to files.get ( #6950 )
2024-05-28 05:12:25 -07:00
Tom Moor
8c307e1db5
fix: The XML you provided was not well-formed with server-to-server S3 uploads larger than multi-part minimum
2024-05-20 20:45:28 -04:00
Tom Moor
dd0bf64198
fix: AWS configuration with AWS_S3_ACCELERATE_URL specified
2024-05-19 09:53:36 -04:00
Nanguan Lin
3a7dd94e14
Migrate from s3 sdk v2 to v3 ( #6731 )
...
* chore: migrate from s3 sdk v2 to v3
* import signature-v4-crt
* downgrade minor version
* Add s3-presigned-post manually
* Change s3 mock
* Update server/storage/files/S3Storage.ts
* docs
* Upgrade aws-sdk
---------
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2024-05-19 06:01:42 -07:00
Tom Moor
cd4f3f9ff2
Use inline content disposition for common images and PDFs ( #6924 )
...
* Use inline content disposition for common images and PDFs
* Add double-click on widgets to download
2024-05-18 09:17:04 -07:00
Tom Moor
cf6a946c9c
chore: Normalize fs-extra usage
2023-11-15 19:43:17 -05:00
Tom Moor
726613bf1d
fix: Remove unzipper as it cannot handle zip within zip ( #6162 )
2023-11-15 16:32:17 -08:00
Apoorv Mishra
67b1fe5514
Local file storage ( #5763 )
...
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2023-09-20 15:12:03 -07:00
Tom Moor
8b4b2ca741
fix: S3Storage incorrectly setting hostname
2023-08-31 20:44:34 -04:00
Tom Moor
5c07694f6b
Refactor 'uploadFromUrl' to base storage implementation
...
Add safety around using fetch implementation
2023-08-20 13:13:17 -04:00
Tom Moor
74722b80f2
chore: Refactor file storage ( #5711 )
2023-08-20 07:04:34 -07:00