Commit Graph

1054 Commits

Author SHA1 Message Date
Derrick Hammer a9c2ecade0
fix: if we get an ErrUnexpectedEOF due to being less than512 bytes, read it all instead 2024-03-02 04:45:09 -05:00
Derrick Hammer 8a112a8c12
refactor: make S5File implement fs.ReadDirFile and fs.DirEntry 2024-03-01 23:30:06 -05:00
Derrick Hammer 1dff84accf
refactor: make resolveDirCid a utility function 2024-03-01 23:28:05 -05:00
Derrick Hammer b87ba1e6bf
feat: add support for webapp and dir cid's in dnslink 2024-03-01 22:50:22 -05:00
Derrick Hammer 8e2adba1eb
feat: add initial fs interfaces for webapp and dir 2024-03-01 22:49:47 -05:00
Derrick Hammer 3dbd791314
feat: add S5FileInfo struct and refactorings needed to be used as a fs.File and in a fs.Fs 2024-03-01 22:49:17 -05:00
Derrick Hammer 022d6a94cc
dep: update libs5 2024-03-01 22:46:51 -05:00
Derrick Hammer f79a0dd448
fix: need to use hashBytes and an optional type 2024-03-01 22:46:42 -05:00
Derrick Hammer a1f36df8b9
refactor: change newFile to take the params struct directly and fill in the blanks 2024-03-01 21:59:49 -05:00
Derrick Hammer 65548e8ec7
refactor: pass cidType to new S5File 2024-03-01 21:44:02 -05:00
Derrick Hammer f63d567b53
refactor: add support for using a passed cid type 2024-03-01 21:32:06 -05:00
Derrick Hammer 217bb78b3b
fix: ExistingUploadID no longer needed 2024-03-01 20:56:22 -05:00
Derrick Hammer ddc21014a8
dep: update libs5 2024-03-01 20:55:16 -05:00
Derrick Hammer a28bd6b11e
refactor: add db index on bucket/key 2024-03-01 20:44:55 -05:00
Derrick Hammer 454deeae21
refactor: change renter UploadObjectMultipart to use a db table like we do with s3 to track multipart uploads persistently and generically so we can resume later 2024-03-01 20:42:42 -05:00
Derrick Hammer aefe9efaaa
fix: export struct and add json tags 2024-03-01 10:30:08 -05:00
Derrick Hammer aacdd48428
fix: we need to track when the queue is finished ourselves 2024-03-01 10:11:03 -05:00
Derrick Hammer b272e32185
fix: dont send an empty buffer to bao 2024-03-01 06:23:31 -05:00
Derrick Hammer d5e2770135
refactor: don't use a buffered chan 2024-03-01 05:14:47 -05:00
Derrick Hammer b46e12b972
fix: if for some edge case reason an upload id no longer exists, start over, but use db Save so we can update the record if we have an ID 2024-03-01 05:09:57 -05:00
Derrick Hammer 56100e5d50
fix: shadow cid 2024-03-01 04:55:46 -05:00
Derrick Hammer 866739007c
refactor: use golang-queue to parallel process pinning checks 2024-03-01 04:27:24 -05:00
Derrick Hammer 8f6e7d1acc
fix: dont add nil cids 2024-03-01 04:14:11 -05:00
Derrick Hammer 7ec4f26142
fix: only try to fetch proof file if we are over the post limit 2024-03-01 04:01:22 -05:00
Derrick Hammer a1572b256b
fix: init results 2024-03-01 04:00:39 -05:00
Derrick Hammer 6427d24b0f
dep: update libs5 2024-03-01 03:41:48 -05:00
Derrick Hammer 76cb45a3f4
dep: update libs5 2024-03-01 03:31:14 -05:00
Derrick Hammer 61832022f9
dep: update libs5 2024-03-01 03:26:05 -05:00
Derrick Hammer 823a1c68fc
dep: update libs5 2024-03-01 03:22:17 -05:00
Derrick Hammer 32fed7e495
dep: update libs5 2024-03-01 03:06:35 -05:00
Derrick Hammer c19290c0fc
dep: update libs5 2024-03-01 03:02:16 -05:00
Derrick Hammer 016ac72b8d
dep: update libs5 2024-03-01 02:50:39 -05:00
Derrick Hammer a8c40fb998
dep: update libs5 2024-03-01 02:46:49 -05:00
Derrick Hammer 59247c5128
dep: update libs5 2024-03-01 02:37:42 -05:00
Derrick Hammer 038a1f0a88
dep: update libs5 2024-03-01 02:30:20 -05:00
Derrick Hammer fe793b33be
dep: update libs5 2024-03-01 02:20:28 -05:00
Derrick Hammer 69de0440c1
dep: update libs5 2024-03-01 01:55:27 -05:00
Derrick Hammer cc41f87b14
dep: update libs5 2024-03-01 01:49:53 -05:00
Derrick Hammer eb26063015
dep: update libs5 2024-03-01 01:42:05 -05:00
Derrick Hammer 984e33d4a7
dep: update libs5 2024-03-01 01:37:02 -05:00
Derrick Hammer 652a80db3a
dep: update libs5 2024-03-01 01:32:23 -05:00
Derrick Hammer 39beb89c77
dep: update libs5 2024-03-01 01:25:26 -05:00
Derrick Hammer 2245a9b24e
dep: update libs5 2024-03-01 00:20:04 -05:00
Derrick Hammer bde35d28bd
dep: update libs5 2024-02-29 12:54:29 -05:00
Derrick Hammer d2832cc67a
dep: update libs5 2024-02-29 12:27:02 -05:00
Derrick Hammer 3f2757fb18
feat: add support for resolving a registry entry when pinning 2024-02-29 12:08:04 -05:00
Derrick Hammer b3df326980
feat: add support for recursively pinning a manifest and all its children 2024-02-29 12:02:49 -05:00
Derrick Hammer 4126c06cd8
dep: update libs5 2024-02-29 11:33:40 -05:00
Derrick Hammer 99a6f3a2f6
fix: StorageLocationTypeFile/StorageLocationTypeFull expiry should be an hour 2024-02-29 10:16:16 -05:00
Derrick Hammer e32a9b2070
fix: only say we have the file if no error 2024-02-29 09:55:51 -05:00