Commit Graph

13 Commits

Author SHA1 Message Date
Aiden Foxx
53c0f51d54 Update AmazonWebServicesS3Storage.ts (#7976) 2021-09-11 09:53:16 -04:00
Nicola Krumschmidt
d64ca14348 Explicitly set catch parameters to any type (#7654)
This fixes not being able to build the repo due to type issues
introduced by the Typescript 4.4 option "useUnknownInCatchVariables",
which is enabled by default in strict mode.
2021-08-27 10:33:30 -04:00
rijkvanzanten
925c3fa3fa Fix range requests in s3 driver
Fixes #5380
2021-05-24 16:13:00 -04:00
rijkvanzanten
eb68195cd5 Default ACL to undefined instead of ''
Fixes #5435
2021-05-21 21:47:41 -04:00
Aiden Foxx
017646a834 Fixed double root on storage.get (#5788) 2021-05-20 10:26:57 -04:00
Pascal Jufer
acd41eb0be Syntax fixes (#5367)
* Declare return types on functions

And a very few other type related minor fixes

* Minor syntax fixes

* Remove unnecessary escape chars in regexes
* Remove unnecessary awaits
* Replace deprecated req.connection with req.socket
* Replace deprecated upload with uploadOne
* Remove unnecessary eslint-disable-next-line comments
* Comment empty functions / catch or finally clauses
* Fix irregular whitespaces
* Add missing returns (null)
* Remove unreachable code
* A few logical fixes
* Remove / Handle non-null assertions which are certainly unnecessary (e.g. in
tests)
2021-04-29 12:11:43 -04:00
rijkvanzanten
cc868ae60c Normalize the filepath when retrieving fullpath
Fixes #4751
2021-04-14 17:53:55 -04:00
Dustin
632895eb68 Storage: S3 ACL & Content Type (#4694)
* add S3 env config for ACL. pass along file type for S3 upload

* add STORAGE_<LOCATION>_ACL to S3 docs
2021-04-07 12:15:47 -04:00
Maarten Docter
22ad2d61e7 Replace path.normalize with normalize-path (#4643)
* Replace path.normalize with normalize-path

* Update package-lock

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-03-25 17:43:21 -04:00
rijkvanzanten
028cae4771 Fix delete when using root option in s3
Fixes #4460
2021-03-12 16:30:03 -05:00
Rijk van Zanten
5f08b5e331 Support root option in S3/Azure/GCS (#4364)
* Support `root` option in S3

* Ignore GCS key files for local testing

* Default root to empty string

* Add dev watchers to drive-* packages

* Add file rootpath to Azure
2021-03-03 16:37:44 -05:00
Rijk van Zanten
b81cfe0a49 Implement byte-range requests on /assets (#4136)
Fixes #3640
2021-02-17 17:56:44 -05:00
Rijk van Zanten
35830a5dfe Move Flydrive home and implement Azure (#4110)
* Add new packages

* Update docs

* Update linked packages

* Setup file pointers

* Don't require getStream to be async

* List credits

* Load azure in storage

* Fix typo in docs

* Fix another typo

* Remove not about raising an issue
2021-02-16 18:33:50 -05:00