Commit Graph

660 Commits

Author SHA1 Message Date
Derrick Hammer 2c30477465
refactor: update putfile and gethash call names 2024-01-19 15:52:26 -05:00
Derrick Hammer 6acf8a606a
feat: initial tus protocol and processing support 2024-01-19 15:51:31 -05:00
Derrick Hammer b50c16ff2a
feat: implement a tus locker based on mysql 2024-01-19 15:50:09 -05:00
Derrick Hammer 6a8936b9c9
feat: add initial tus db models 2024-01-19 15:49:41 -05:00
Derrick Hammer 1f8ad3ac1a
feat: s3 config key to required config 2024-01-19 15:47:18 -05:00
Derrick Hammer 0eb6a9a3a3
feat: added a cron service 2024-01-19 15:46:37 -05:00
Derrick Hammer 5323e43bdb
fix: initDatabase no longer needs to pass p to init 2024-01-19 15:45:02 -05:00
Derrick Hammer fbbb22145d
dep: add aws sdk, gocron, and tusd 2024-01-19 15:44:18 -05:00
Derrick Hammer 2693c892a4
refactor: use service interface 2024-01-19 12:49:06 -05:00
Derrick Hammer 2500b3f047
feat: add generic service interface 2024-01-19 12:48:37 -05:00
Derrick Hammer 5b6084986f
refactor: init doesn't need portal passed 2024-01-19 12:43:16 -05:00
Derrick Hammer 8044591697
feat: support auth in header, cookie, and query arg 2024-01-18 20:56:49 -05:00
Derrick Hammer 82f34726d6
debug: add logging 2024-01-18 14:38:15 -05:00
Derrick Hammer 12de0342f5
debug: add logging 2024-01-18 14:28:32 -05:00
Derrick Hammer 8161d36f0e
fix: bad response for existing file 2024-01-18 13:53:04 -05:00
Derrick Hammer 17fdad7d07
dep: update libs5 2024-01-18 13:52:46 -05:00
Derrick Hammer 31b6a70180
dep: update libs5 2024-01-18 12:28:46 -05:00
Derrick Hammer 677635aa08
refactor: remove auth from metadata endpoint 2024-01-18 12:18:45 -05:00
Derrick Hammer 1a62ab2855
dep: update libs5 2024-01-18 12:16:17 -05:00
Derrick Hammer ad0e6964eb
dep: update libs5 2024-01-18 12:12:20 -05:00
Derrick Hammer 4e72ddbde8
dep: update libs5 2024-01-18 10:18:06 -05:00
Derrick Hammer f957ef5d78
feat: implement /s5/metadata/:cid 2024-01-17 22:19:42 -05:00
Derrick Hammer 510a57162c
feat: implement /s5/debug/storage_locations/:hash 2024-01-17 22:02:36 -05:00
Derrick Hammer 0c88e80a66
feat: implement /s5/blob/:cid 2024-01-17 21:23:33 -05:00
Derrick Hammer dfd03673c9
fix: pin the file if it exists 2024-01-17 17:21:15 -05:00
Derrick Hammer 6545faad6a
refactor: have PinByHash use PinByID 2024-01-17 17:19:46 -05:00
Derrick Hammer 310c23b95e
refactor: have PinByID check for a pin before adding one 2024-01-17 17:18:58 -05:00
Derrick Hammer 7fde67aea5
fix: use PinByID and pin after creating the upload 2024-01-17 17:16:12 -05:00
Derrick Hammer b56a8ba5ac
feat: add PinByID 2024-01-17 17:14:45 -05:00
Derrick Hammer 8ff09b5f02
dep: update libs5 2024-01-17 17:03:39 -05:00
Derrick Hammer b3e1840fac
fix: missing http verb 2024-01-17 16:59:53 -05:00
Derrick Hammer 72c3167e5f
feat: implement POST /s5/registry/subscription 2024-01-17 16:46:13 -05:00
Derrick Hammer acb9604b02
feat: implement POST /s5/registry 2024-01-17 16:20:51 -05:00
Derrick Hammer cde3f90d2d
feat: implement GET /s5/registry 2024-01-17 16:05:31 -05:00
Derrick Hammer 1fcd7fdfdc
dep: update libs5 2024-01-17 16:04:35 -05:00
Derrick Hammer 7248570e6b
feat: implement /s5/debug/download_urls/:cid 2024-01-17 15:36:21 -05:00
Derrick Hammer 32be5fe6e1
dep: update libs5 2024-01-17 15:36:13 -05:00
Derrick Hammer c338a41efd
refactor: use CreateUpload 2024-01-17 14:49:35 -05:00
Derrick Hammer 5fec2f08ff
feat: implement /s5/upload/directory 2024-01-17 14:46:37 -05:00
Derrick Hammer 8c4687fd67
feat: add storage CreateUpload 2024-01-17 14:46:22 -05:00
Derrick Hammer d16731807c
dep: update libs5 2024-01-17 14:23:51 -05:00
Derrick Hammer 6a8a3c436a
feat: implement /s5/pin/:cid 2024-01-17 13:13:37 -05:00
Derrick Hammer 66dabf5150
feat: implement /s5/delete/:cid 2024-01-17 13:04:32 -05:00
Derrick Hammer 1a5aaa3927
feat: add DeletePinByHash 2024-01-17 13:03:52 -05:00
Derrick Hammer a5cbb4c4fb
fix: tier to use AccountTier struct 2024-01-17 12:38:52 -05:00
Derrick Hammer 1cf2d9880c
feat: add /s5/account/pins.bin endpoint 2024-01-17 12:33:05 -05:00
Derrick Hammer cc61a090b6
feat: add AccountPins 2024-01-17 12:32:50 -05:00
Derrick Hammer cf422aef0e
feat: add /s5/account/stats endpoint 2024-01-17 12:03:08 -05:00
Derrick Hammer ef872bf344
feat: add /s5/account endpoint 2024-01-17 11:52:54 -05:00
Derrick Hammer 897fec75ad
fix: update use of CIDFromHash 2024-01-17 11:31:48 -05:00