Commit Graph

1231 Commits

Author SHA1 Message Date
Derrick Hammer e89a9450e9
fix: don't tie contexts to tus http context 2024-03-09 16:55:10 -05:00
Derrick Hammer 0c90924f31
refactor: add checking tus for metadata before uploads 2024-03-09 15:37:58 -05:00
Derrick Hammer f3040399e4
feat: add GetUploadSize 2024-03-09 15:37:16 -05:00
Derrick Hammer 887f51f88d
fix: need to set upload id on siaUpload 2024-03-09 14:45:31 -05:00
Derrick Hammer 4020b9f7c7
fix: S5File::Exists needs to check tus before uploads 2024-03-09 14:27:07 -05:00
Derrick Hammer d0d67d2ae5
dep: update libs5 2024-03-09 13:23:07 -05:00
Derrick Hammer 1a1d34ef7a
dep: update libs5 2024-03-09 07:17:13 -05:00
Derrick Hammer 1da600f1ca
dep: update libs5 2024-03-09 07:00:55 -05:00
Derrick Hammer 2bff5d2b9e
refactor: switch to new libs5 kv db interface 2024-03-09 06:58:32 -05:00
Derrick Hammer 5e31dc2f02
dep: update libs5 2024-03-09 06:55:13 -05:00
Derrick Hammer 4261bb6a5d
refactor: if the file exists locally, pull from out own node before fetching it from the net 2024-03-07 16:59:50 -05:00
Derrick Hammer e489de1e86
dep: update libs5 2024-03-07 16:54:57 -05:00
Derrick Hammer 8a6516e157
fix: if root return a file with that set 2024-03-07 16:48:56 -05:00
Derrick Hammer 6e97b582ba
fix: pass Name to override using CID 2024-03-07 16:48:20 -05:00
Derrick Hammer 3e4eed12ae
fix: typo 2024-03-07 04:38:56 -05:00
Derrick Hammer 91d58ee87f
refactor: change login to respond with the jwt token in the body 2024-03-06 18:13:34 -05:00
Derrick Hammer 550398c701
feat: add swagger spec and support to account api 2024-03-06 04:58:04 -05:00
Derrick Hammer 6fb77d102a
refactor: add logic to find any unpinned files of a child manifest if the root is pinned but the children aren't 2024-03-05 16:27:29 -05:00
Derrick Hammer 111d0a7ead
dep: update libs5 2024-03-05 15:22:29 -05:00
Derrick Hammer dcbc54cec5
refactor: set p2p.max_connection_attempts to 10 2024-03-05 15:16:31 -05:00
Derrick Hammer 1f008c40b4
dep: update libs5 2024-03-05 15:14:43 -05:00
Derrick Hammer 0896a70cfb
dep: update libs5 2024-03-05 15:07:21 -05:00
Derrick Hammer 6479104d5a
dep: update libs5 2024-03-05 15:02:52 -05:00
Derrick Hammer c4a124b521
dep: update libs5 2024-03-05 14:26:31 -05:00
Derrick Hammer caac09cc6f
feat: add CtxAborted and use in account pin 2024-03-05 13:41:47 -05:00
Derrick Hammer e6d51cd9e7
dep: update libs5 2024-03-05 13:13:16 -05:00
Derrick Hammer 0df51358d6
chore: add todo 2024-03-05 12:59:52 -05:00
Derrick Hammer 14cd9fda7f
dep: don't need jape fork again 2024-03-05 12:46:47 -05:00
Derrick Hammer cfc8ea4eac
dep: security fix 2024-03-05 12:45:07 -05:00
Derrick Hammer fdfffb897c
fix: if not a manifest, call pinEntity directly 2024-03-05 12:41:28 -05:00
Derrick Hammer a5c1356847
fix: don't rely on content length, but do a basic heuristic by reading 1 byte past the max upload, if if we haven't hit the limit and the sizes don't match, then error, but otherwise take an optimistic stance 2024-03-05 12:38:41 -05:00
Derrick Hammer c0fa8d4ea3
dep: update libs5 2024-03-03 13:04:10 -05:00
Derrick Hammer 70e399cdd5
dep: update libs5 2024-03-03 12:58:57 -05:00
Derrick Hammer 56e076512b
dep: update libs5 2024-03-03 12:56:45 -05:00
Derrick Hammer a169e4c3be
dep: update libs5 2024-03-03 12:43:23 -05:00
Derrick Hammer 7791399fe4
dep: update libs5 2024-03-03 12:28:21 -05:00
Derrick Hammer a340967dd1
dep: update libs5 2024-03-03 12:13:37 -05:00
Derrick Hammer c6feee1351
fix: check if entry returns nil 2024-03-03 11:29:37 -05:00
Derrick Hammer ac3f0f8bdb
dep: update libs5 2024-03-03 11:29:12 -05:00
Derrick Hammer 7d16ec5b7d
dep: update libs5 2024-03-03 11:01:44 -05:00
Derrick Hammer 73623b8c36
fix: add CIDTypeDirectory to isCidManifest 2024-03-03 10:43:01 -05:00
Derrick Hammer f20b4ee916
fix: update usage of GetCachedStorageLocations 2024-03-03 09:33:21 -05:00
Derrick Hammer f4799e2b7d
dep: update libs5 2024-03-03 09:31:23 -05:00
Derrick Hammer 080fcbd559
fix: add special case to check for an index.html, and pass root and root type 2024-03-03 08:29:07 -05:00
Derrick Hammer bd5544198e
refactor: optionally track a "root" cid which will be used for webapp manifests to start. Have IsDir run heuristics to verify if it is a dir by checking the manifest tryfiles 2024-03-03 08:28:39 -05:00
Derrick Hammer 756a01d52f
fix: if the filename is a . treat as a special case for a dir 2024-03-03 07:39:18 -05:00
Derrick Hammer bd29ab4612
fix: if we are being requested the root while is a dot, create a file based on the root cid with the . name 2024-03-03 07:38:34 -05:00
Derrick Hammer 9d378f4197
fix: ignore / and . not existing 2024-03-03 07:18:03 -05:00
Derrick Hammer 201c9b992f
fix: need to deref r to replace it 2024-03-03 07:17:46 -05:00
Derrick Hammer 4483ad7ec5
dep: update libs5 2024-03-03 07:17:14 -05:00