Commit Graph

74 Commits

Author SHA1 Message Date
Derrick Hammer 48e3c690ce
feat: register storage service with cron 2024-01-19 17:47:14 -05:00
Derrick Hammer 4c92750dd0
feat: add tus getter 2024-01-19 16:51:41 -05:00
Derrick Hammer 6acf8a606a
feat: initial tus protocol and processing support 2024-01-19 15:51:31 -05:00
Derrick Hammer 8c4687fd67
feat: add storage CreateUpload 2024-01-17 14:46:22 -05:00
Derrick Hammer cc5fadeef3
fix: remove debug line 2024-01-16 01:54:46 -05:00
Derrick Hammer aa2ee9eee2
fix: handle both when IsError is true and when we have an error object 2024-01-16 01:36:19 -05:00
Derrick Hammer af4a2eed4a
fix: use Database not Db 2024-01-16 01:29:29 -05:00
Derrick Hammer 0c5827ce0b
Revert "fix: try to deref?"
This reverts commit a19af267cf.
2024-01-16 01:17:46 -05:00
Derrick Hammer a19af267cf
fix: try to deref? 2024-01-16 01:14:42 -05:00
Derrick Hammer 58f734d3b3
fix: use a 32 byte hash, not 64 2024-01-16 01:08:39 -05:00
Derrick Hammer a4e0e1fa58
refactor: have FileExists return the upload model if it exists 2024-01-16 01:01:57 -05:00
Derrick Hammer 866d105028
refactor: rename CIDExists to FileExists and have it work on hashes and check in hex format 2024-01-16 00:58:51 -05:00
Derrick Hammer 61696f42b8
feat: add GetHash 2024-01-16 00:48:06 -05:00
Derrick Hammer 62e22d0d39
feat: add CIDExists 2024-01-16 00:40:50 -05:00
Derrick Hammer 387ec56bec
fix: disable resty warnings 2024-01-15 14:45:35 -05:00
Derrick Hammer 699869ca3e
fix: wrong payload to bucket create 2024-01-15 14:36:06 -05:00
Derrick Hammer 138b7a8e8c
fix: wrong bucket create endpoint 2024-01-15 14:33:51 -05:00
Derrick Hammer d4ed4eb9a2
fic: add createBucketIfNotExists helper 2024-01-15 14:25:12 -05:00
Derrick Hammer 61304ad3d2
fix: wrong api endpoint (again) 2024-01-15 14:08:41 -05:00
Derrick Hammer e4626fdbb8
fix: wrong api endpoint 2024-01-15 14:06:16 -05:00
Derrick Hammer d6d15cff73
debug: add debug line 2024-01-15 14:03:57 -05:00
Derrick Hammer b0a7566466
fix: ensure Error() is not nil 2024-01-15 14:03:05 -05:00
Derrick Hammer ba44b58897
fix: need to create init for storage service to ensure it configures the http client after we have read the config 2024-01-15 08:38:05 -05:00
Derrick Hammer 8afc157d4f
feat: initial storage service 2024-01-14 23:52:54 -05:00