Derrick Hammer
|
637b656d36
|
refactor(auth): move getCurrentUserId to auth package and make public
|
2023-06-29 05:41:26 -04:00 |
Derrick Hammer
|
30ad92fb8d
|
refactor: rename to FileStatusResponse
|
2023-06-15 00:25:38 -04:00 |
Derrick Hammer
|
bb26cfca5b
|
fix: rewrite streaming logic and centralize in a helper function
|
2023-06-11 03:19:07 -04:00 |
Derrick Hammer
|
385a51e504
|
refactor: fix not_found status code
|
2023-06-10 02:50:20 -04:00 |
Derrick Hammer
|
b77bebe3b1
|
feat: add files/upload/limit endpoint
|
2023-06-10 01:58:45 -04:00 |
Derrick Hammer
|
3b1e860256
|
feat: add proof download
|
2023-06-09 15:52:58 -04:00 |
Derrick Hammer
|
be03a6c686
|
feat: add PostPinBy controller endpoint for pinning a file
|
2023-06-09 07:39:43 -04:00 |
Derrick Hammer
|
892f093d93
|
feat: pin file after basic upload
|
2023-06-09 07:06:33 -04:00 |
Derrick Hammer
|
f941ee46d4
|
fix: we can't use AddHandler inside BeginRequest
|
2023-06-09 04:16:58 -04:00 |
Derrick Hammer
|
e98e2d0c89
|
refactor: add jwt auth middleware to files controller
|
2023-06-09 04:06:03 -04:00 |
Derrick Hammer
|
34be432af7
|
refactor: use controller base class
|
2023-06-09 04:05:19 -04:00 |
Derrick Hammer
|
d18be0acc8
|
refactor: move error helpers to controller.go
|
2023-06-07 13:17:49 -04:00 |
Derrick Hammer
|
98fd2a097e
|
refactor: move more response structs to response package
|
2023-06-07 13:17:11 -04:00 |
Derrick Hammer
|
38b76155af
|
feat: add a status endpoint and move cid validation to a utility method
|
2023-06-06 16:34:05 -04:00 |
Derrick Hammer
|
7845f95776
|
refactor: move logger to its own package
|
2023-05-22 19:05:53 -04:00 |
Derrick Hammer
|
ed6220fc7d
|
refactor: optionally compare passed hash with computed one and reject if they don't match
|
2023-05-22 11:00:24 -04:00 |
Derrick Hammer
|
bef2ed7431
|
refactor: add logging
|
2023-05-19 09:04:47 -04:00 |
Derrick Hammer
|
aa702ffd02
|
refactor: move to new golang bao implementation
|
2023-05-17 09:52:25 -04:00 |
Derrick Hammer
|
673f7c6dfd
|
refactor: have Upload take both a io.ReaderSeeker and os.File and update usages based of if we are streaming a small file or handling a big one via filename
|
2023-05-15 15:47:46 -04:00 |
Derrick Hammer
|
b44b12f85e
|
refactor: change download controller method to use a path argument and not a query
|
2023-05-10 15:09:18 -04:00 |
Derrick Hammer
|
73bc836cbc
|
refactor: change files controller to use new files service api
|
2023-05-10 14:40:29 -04:00 |
Derrick Hammer
|
8f3af2084c
|
refactor: rename services to controllers
|
2023-05-10 07:07:56 -04:00 |