Commit Graph

717 Commits

Author SHA1 Message Date
Derrick Hammer 2f9b684953
feat: add new File abstraction primarily to handle partial content/range requests 2024-01-24 19:07:35 -05:00
Derrick Hammer dcf05974e2
feat: add support for a range offset in GetFile 2024-01-24 19:05:54 -05:00
Derrick Hammer 95b57cffc0
fix: handle both cid and base64url hash 2024-01-24 17:15:21 -05:00
Derrick Hammer 562742fd8e
fix: disable auth for downloads temporarily 2024-01-24 17:07:50 -05:00
Derrick Hammer 47020fe738
fix: create StorageLocationTypeFull on StorageLocationTypeFull case 2024-01-24 16:43:17 -05:00
Derrick Hammer 5db53f6a21
dep: update libs5 2024-01-24 16:34:13 -05:00
Derrick Hammer f51c06bc24
fix: enable RespectForwardedHeaders 2024-01-24 14:46:46 -05:00
Derrick Hammer 4dd1f50dab
dep: update libs5 2024-01-24 13:56:24 -05:00
Derrick Hammer 4bb89fedf1
dep: update libs5 2024-01-24 13:53:48 -05:00
Derrick Hammer 523286df32
fix: use MaxUint32 2024-01-24 12:51:19 -05:00
Derrick Hammer 9b655b4a70
fix: preload uploads 2024-01-24 12:47:20 -05:00
Derrick Hammer 60c905181c
fix: manually encode list 2024-01-24 12:34:50 -05:00
Derrick Hammer c976ec31be
fix: create an AccountPinResponse with a custom msgpack encoder 2024-01-24 12:29:25 -05:00
Derrick Hammer e476ed4476
dep: update libs5 2024-01-24 11:59:15 -05:00
Derrick Hammer cd74127a6b
dep: update libs5 2024-01-24 11:51:40 -05:00
Derrick Hammer 4b9e362437
dep: update libs5 2024-01-24 11:23:41 -05:00
Derrick Hammer cc6df265d4
dep: update libs5 2024-01-24 11:11:18 -05:00
Derrick Hammer 7f2e38291e
dep: update libs5 2024-01-24 10:58:45 -05:00
Derrick Hammer fe2d1be764
fix: wrong download url 2024-01-24 10:32:44 -05:00
Derrick Hammer 77a4561f55
Revert "debug: revert tusd override"
This reverts commit 60a591f70b.
2024-01-24 09:51:13 -05:00
Derrick Hammer b3f8b483db
Revert "debug: revert prefix hack"
This reverts commit 9002064937.
2024-01-24 09:51:13 -05:00
Derrick Hammer 9002064937
debug: revert prefix hack 2024-01-24 09:34:05 -05:00
Derrick Hammer 60a591f70b
debug: revert tusd override 2024-01-24 09:26:38 -05:00
Derrick Hammer a93eca6a7c
fix: wrong download subdomain 2024-01-24 03:41:00 -05:00
Derrick Hammer fdfdf9b6a9
dep: update libs5 2024-01-24 03:38:09 -05:00
Derrick Hammer a4137102e6
fix: import cycle 2024-01-24 03:36:03 -05:00
Derrick Hammer 6a2b1b4a9b
feat: implement provider store 2024-01-24 03:28:47 -05:00
Derrick Hammer 35fa1c5e0d
dep: update libs5 2024-01-24 03:02:43 -05:00
Derrick Hammer 87fb81bf97
fix: wrong endpoint 2024-01-24 02:03:14 -05:00
Derrick Hammer 27cbe2d886
fix: wrong hash encoding 2024-01-24 02:00:53 -05:00
Derrick Hammer 5d715fcac4
fix: wrong endpoint 2024-01-24 01:59:09 -05:00
Derrick Hammer efcd5b0b8a
fix: set bucket to protocol name 2024-01-24 01:57:09 -05:00
Derrick Hammer 1948b9e332
dep: update libs5 2024-01-24 01:52:28 -05:00
Derrick Hammer 22eacc4af1
feat: implement /s5/download/:cid 2024-01-24 01:27:05 -05:00
Derrick Hammer 12093637ed
feat: add initial version of GetFile 2024-01-24 01:26:40 -05:00
Derrick Hammer fb1112f3a2
fix: we need to pin the file after creating the upload 2024-01-22 19:08:56 -05:00
Derrick Hammer 8df2ee9ee8
fix: we need to manually delete both the uploaded buffer file and the metafile 2024-01-22 19:06:28 -05:00
Derrick Hammer 7b96682ce0
feat: compute metadata file id and delete it 2024-01-22 18:54:19 -05:00
Derrick Hammer 1643dacdd4
refactor: store s3 client 2024-01-22 18:53:31 -05:00
Derrick Hammer 0eb67cd8da
refactor: add s3 import 2024-01-22 18:53:05 -05:00
Derrick Hammer 11e533577b
refactor: return bytes count from hashing to use for upload record 2024-01-22 18:52:37 -05:00
Derrick Hammer da298cc56f
refactor: return s3 client instance with BuildUploadBufferTus 2024-01-22 18:51:09 -05:00
Derrick Hammer bf36562fca
feat: create upload record after sending to renterd 2024-01-22 18:25:11 -05:00
Derrick Hammer 3fcb897e7a
fix: need to borrow the check from finishUploadIfComplete and invert it 2024-01-22 18:02:15 -05:00
Derrick Hammer 941ce27293
fix: only process completed upload if its final 2024-01-22 17:49:42 -05:00
Derrick Hammer e0c6c88e75
feat: add TusUploadCompleted method 2024-01-22 17:49:03 -05:00
Derrick Hammer aab4bb4d69
refactor: add completed column to tus_upload 2024-01-22 17:48:32 -05:00
Derrick Hammer 35cd041978
fix: can't use JapeMiddlewareFunc in type switch to cast 2024-01-22 17:06:39 -05:00
Derrick Hammer 2020a9f1d1
fix: change HttpMiddlewareFunc to not have a variable name 2024-01-22 17:03:54 -05:00
Derrick Hammer 6402410d75
fix: use HttpMiddlewareFunc 2024-01-22 17:00:57 -05:00