Derrick Hammer
|
6d34f5b683
|
refactor: change struct naming convention from "impl" to "default"
|
2024-01-31 20:29:27 -05:00 |
Derrick Hammer
|
1721fbf832
|
fix: update imports
|
2024-01-30 00:33:57 -05:00 |
Derrick Hammer
|
e034e1d54e
|
refactor: restructure s5 protocol/api to use new fx module and new library structure. Also move the proto/api to its own package for organization
|
2024-01-29 15:11:57 -05:00 |
Derrick Hammer
|
a410cc55f0
|
fix: dont return pointer
|
2024-01-28 04:22:49 -05:00 |
Derrick Hammer
|
4348ff6dfe
|
fix: HttpHandler needs a Result struct
|
2024-01-28 04:18:32 -05:00 |
Derrick Hammer
|
2dc8fc56f5
|
refactor: epic refactor to use uber fx microframework/DI framework to manage dependency graph, remove the portal object, and remove the interfaces package
|
2024-01-28 02:20:59 -05:00 |
Derrick Hammer
|
ad54cc70b3
|
fix: need to pass content type header before ServeContent
|
2024-01-25 19:18:35 -05:00 |
Derrick Hammer
|
be27728b42
|
feat: need to support mime type in small uploads
|
2024-01-25 19:15:01 -05:00 |
Derrick Hammer
|
73bd74faeb
|
refactor: use storage NewFile
|
2024-01-25 16:34:31 -05:00 |
Derrick Hammer
|
14d8760c1f
|
fix: pass name to http.ServeContent
|
2024-01-24 19:23:42 -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
|
95b57cffc0
|
fix: handle both cid and base64url hash
|
2024-01-24 17:15:21 -05:00 |
Derrick Hammer
|
523286df32
|
fix: use MaxUint32
|
2024-01-24 12:51:19 -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
|
a4137102e6
|
fix: import cycle
|
2024-01-24 03:36:03 -05:00 |
Derrick Hammer
|
6a2b1b4a9b
|
feat: implement provider store
|
2024-01-24 03:28:47 -05:00 |
Derrick Hammer
|
22eacc4af1
|
feat: implement /s5/download/:cid
|
2024-01-24 01:27:05 -05:00 |
Derrick Hammer
|
e9db71f3b8
|
refactor: move middleware to its own package to prevent import cycles
|
2024-01-19 17:04:25 -05:00 |
Derrick Hammer
|
2c30477465
|
refactor: update putfile and gethash call names
|
2024-01-19 15:52:26 -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
|
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
|
7fde67aea5
|
fix: use PinByID and pin after creating the upload
|
2024-01-17 17:16:12 -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
|
7248570e6b
|
feat: implement /s5/debug/download_urls/:cid
|
2024-01-17 15:36:21 -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
|
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
|
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
|
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 |
Derrick Hammer
|
708bd82879
|
fix: need to seek to reset reader
|
2024-01-17 11:04:24 -05:00 |
Derrick Hammer
|
03f0d80ae5
|
fix: use AuthUserIDKey in context
|
2024-01-17 09:09:48 -05:00 |
Derrick Hammer
|
a41cdbf52c
|
fix: use the userid context key
|
2024-01-17 09:05:39 -05:00 |
Derrick Hammer
|
1d019d905b
|
fix: use a type switch
|
2024-01-17 09:02:13 -05:00 |
Derrick Hammer
|
af71f68ea9
|
fix: needs to be uint64
|
2024-01-17 08:58:58 -05:00 |
Derrick Hammer
|
bf65e845f3
|
fix: access sub directly
|
2024-01-17 08:57:45 -05:00 |
Derrick Hammer
|
e9aa676d94
|
fix: use public key, not private
|
2024-01-17 08:53:10 -05:00 |