Commit Graph

1120 Commits

Author SHA1 Message Date
Derrick Hammer 3c55ed2853
feat: add initial account services api 2024-02-13 19:07:24 -05:00
Derrick Hammer 75d9c7f46e
feat: add first and last name to user model 2024-02-13 19:06:04 -05:00
Derrick Hammer 78accd1f02
fix: add missing content responses to upload api's 2024-02-13 00:32:16 -05:00
Derrick Hammer 04948bde2c
fix: duplicate imports 2024-02-09 20:35:48 -05:00
Derrick Hammer 94fd1a6af0
fix: put buf generate command 1st 2024-02-09 16:06:07 -05:00
Derrick Hammer a43957b1db
chore: unneeded const 2024-02-09 15:58:44 -05:00
Derrick Hammer 227ac9b403
fix: wrong proof extension 2024-02-09 15:58:15 -05:00
Derrick Hammer a4afda0ecc
feat: add proof download s5 protocol file discovery 2024-02-09 15:55:04 -05:00
Derrick Hammer 0c00e2e7d9
feat: add proof download support to download endpoint 2024-02-09 15:49:34 -05:00
Derrick Hammer 850b575e1c
feat: add Proof method to fetch bao file 2024-02-09 15:43:38 -05:00
Derrick Hammer 28d966cbe2
refactor: switch to using a Params struct and store Renter 2024-02-09 15:42:53 -05:00
Derrick Hammer e7ac46de32
fix: update method calls and hash object usage 2024-02-09 15:28:50 -05:00
Derrick Hammer fc9724df2c
refactor: change PutFileSmall return value 2024-02-09 15:28:28 -05:00
Derrick Hammer c790c525ae
feat: implement adding bao hashing and uploading proofs 2024-02-09 15:23:33 -05:00
Derrick Hammer 2a1abb852b
refactor: have bao hash return totalReadSize 2024-02-09 15:22:46 -05:00
Derrick Hammer fc61da0d01
feat: add bao blake3 support via go-plugin grpc 2024-02-09 15:05:16 -05:00
Derrick Hammer b939ea109c
refactor: add tags to swagger 2024-02-07 20:31:42 -05:00
Derrick Hammer 7c945f0a2d
refactor: clean up and remove version check 2024-02-07 20:21:44 -05:00
Derrick Hammer 89cdd01698
fix: update swagger json url 2024-02-07 20:20:13 -05:00
Derrick Hammer 8e04de591e
fix: add content type header to byteHandler 2024-02-07 20:19:56 -05:00
Derrick Hammer 172b040365
refactor: more refactoring on swagger handlers 2024-02-07 20:19:22 -05:00
Derrick Hammer 279cc484fc
refactor: merge flowchartsman/swaggerui into our own code base to simplify routing 2024-02-07 19:18:11 -05:00
Derrick Hammer 69ae351d94
fix: schema fixes 2024-02-07 18:25:20 -05:00
Derrick Hammer 192ac364c5
fix: schema fixes 2024-02-07 18:14:43 -05:00
Derrick Hammer 0f3f92442a
fix: schema fixes 2024-02-07 17:56:16 -05:00
Derrick Hammer be92e036f3
feat: initial swagger support 2024-02-07 17:39:18 -05:00
Derrick Hammer d13c15212c
fix: need to create a special mock handler for tus cors, and make cores a dedicated middleware function 2024-02-03 20:11:47 -05:00
Derrick Hammer 6655abe61b
fix: need to allow Upload-Length through cors 2024-02-03 20:02:11 -05:00
Derrick Hammer 8a1e586b28
fix: need to allow Upload-Concat through cors 2024-02-03 20:00:40 -05:00
Derrick Hammer 39b4977d52
fix: need to allow Expires through cors 2024-02-03 19:59:43 -05:00
Derrick Hammer 130abe6098
fix: need to allow Authorization through cors 2024-02-03 19:58:17 -05:00
Derrick Hammer 5784afe064
fix: need to create custom cors middleware instance for tus 2024-02-03 19:55:32 -05:00
Derrick Hammer 6894cd7e54
refactor: put cors middleware 1st 2024-02-03 19:46:02 -05:00
Derrick Hammer 6323fbe166
dep: update jape fork with options support 2024-02-03 19:42:36 -05:00
Derrick Hammer d57a14d9a3
fix: need to add options routes 2024-02-03 19:34:55 -05:00
Derrick Hammer fd721077e5
fix: need to apply cors to tus upload 2024-02-03 19:25:13 -05:00
Derrick Hammer b82353cfa9
fix: fix need to add a root path on filename 2024-02-02 16:45:50 -05:00
Derrick Hammer a3846a8e07
fix: etag has to be provided to multipart complete 2024-02-01 21:14:44 -05:00
Derrick Hammer 185f5de87a
fix: ensure limit is greater than 0 2024-02-01 21:03:19 -05:00
Derrick Hammer 9063a80f8c
fix: need to use partNumber in MultipartCompletedPart 2024-02-01 19:35:05 -05:00
Derrick Hammer 5456773b81
fix: need to use a part number that is 1 indexed based 2024-02-01 19:32:06 -05:00
Derrick Hammer dc9b3b4fda
fix: add error handler if we max out our retries 2024-02-01 19:26:23 -05:00
Derrick Hammer c1915321e1
fix: if retry limit is reached pass the ErrRetryLimitReached error 2024-02-01 19:18:06 -05:00
Derrick Hammer 9825c904da
fix: remove defer chan close 2024-02-01 19:15:02 -05:00
Derrick Hammer d15ec4e81e
fix: need the reader to be created and closed inside the task 2024-02-01 19:02:24 -05:00
Derrick Hammer 9330bb36bf
fix: fix after and error functions 2024-02-01 18:51:05 -05:00
Derrick Hammer 0a6efaf0e3
fix: cron needs to be set on renter 2024-02-01 18:33:17 -05:00
Derrick Hammer 8abc41e46f
fix: pass by ref 2024-02-01 18:25:32 -05:00
Derrick Hammer 446e81ca19
fix: renter needs to be set on storage 2024-02-01 18:12:09 -05:00
Derrick Hammer 15b527933f
feat: implement initial version of multipart uploads 2024-02-01 02:03:04 -05:00