Derrick Hammer
|
c051ef8e44
|
feat: add Mime to File
|
2024-01-25 19:17:48 -05:00 |
Derrick Hammer
|
be27728b42
|
feat: need to support mime type in small uploads
|
2024-01-25 19:15:01 -05:00 |
Derrick Hammer
|
f3be950ba7
|
feat: detect and add mime type to upload so we don't need to make extra requests on runtime
|
2024-01-25 19:05:52 -05:00 |
Derrick Hammer
|
00a58a3b98
|
feat: add mimetype column to tus_upload and upload
|
2024-01-25 18:58:56 -05:00 |
Derrick Hammer
|
541fcff779
|
feat: add cors support
|
2024-01-25 18:25:10 -05:00 |
Derrick Hammer
|
73bd74faeb
|
refactor: use storage NewFile
|
2024-01-25 16:34:31 -05:00 |
Derrick Hammer
|
d21044baed
|
fix: exists is missing
|
2024-01-25 16:32:37 -05:00 |
Derrick Hammer
|
e00922f49d
|
feat: add NewFile helper in storage
|
2024-01-25 16:31:05 -05:00 |
Derrick Hammer
|
15ba6e9695
|
feat: create interface for File
|
2024-01-25 16:30:45 -05:00 |
Derrick Hammer
|
a90344daf0
|
refactor: use errors.Is
|
2024-01-25 10:39:45 -05:00 |
Derrick Hammer
|
f4b981f97f
|
fix: remove return false
|
2024-01-25 09:58:53 -05:00 |
Derrick Hammer
|
46b407bd9a
|
feat: broadcast file if tus has the upload as well
|
2024-01-25 09:53:02 -05:00 |
Derrick Hammer
|
e1556f2f68
|
feat: add support for ranges in tus s3 store
|
2024-01-25 09:50:17 -05:00 |
Derrick Hammer
|
d91355796b
|
dep: use our tus fork again to have s3 range support
|
2024-01-25 09:44:37 -05:00 |
Derrick Hammer
|
8797460bf8
|
refactor: revert to using http.StripPrefix
|
2024-01-25 09:23:23 -05:00 |
Derrick Hammer
|
2c7300af6d
|
dep: switch back to mainline tus
|
2024-01-25 09:21:21 -05:00 |
Derrick Hammer
|
fce08283a2
|
fix: both clients need specific api paths
|
2024-01-25 09:02:49 -05:00 |
Derrick Hammer
|
6d8beb0331
|
fix: need to set api path
|
2024-01-25 08:55:59 -05:00 |
Derrick Hammer
|
8f138a5df7
|
fix: wrong config keys
|
2024-01-25 08:48:05 -05:00 |
Derrick Hammer
|
263f34b89f
|
Revert "fix: need to pass protocol scheme"
This reverts commit 8528df5d96 .
|
2024-01-25 08:47:38 -05:00 |
Derrick Hammer
|
8528df5d96
|
fix: need to pass protocol scheme
|
2024-01-25 08:44:54 -05:00 |
Derrick Hammer
|
f544c30430
|
refactor: move to using renterd's bus and worker http clients
|
2024-01-25 08:37:15 -05:00 |
Derrick Hammer
|
ce95437191
|
fix: reset read to false on init
|
2024-01-24 19:58:10 -05:00 |
Derrick Hammer
|
84bb08144b
|
fix: add a read state so we can noop a seek when we have not done anything yet
|
2024-01-24 19:47:25 -05:00 |
Derrick Hammer
|
14d8760c1f
|
fix: pass name to http.ServeContent
|
2024-01-24 19:23:42 -05:00 |
Derrick Hammer
|
c3646fa4d4
|
refactor: have name return base58 cid
|
2024-01-24 19:23:17 -05:00 |
Derrick Hammer
|
7b7c705c0d
|
feat: add CID method
|
2024-01-24 19:22:31 -05:00 |
Derrick Hammer
|
6cac5c6a28
|
fix: actually implement Name
|
2024-01-24 19:16:50 -05:00 |
Derrick Hammer
|
6d998eeff4
|
fix: we need SeekEnd to spoof and just return the length of the file for http.ServeContent
|
2024-01-24 19:14:06 -05:00 |
Derrick Hammer
|
bf15faf33f
|
feat: need else on hash check
|
2024-01-24 19:10:19 -05:00 |
Derrick Hammer
|
bf25d7bfda
|
feat: use new file abstraction and use http.ServeContent
|
2024-01-24 19:08:13 -05:00 |
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 |