Commit Graph

1247 Commits

Author SHA1 Message Date
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
Derrick Hammer 95cfa393b4
fix: no need for singleton hack, use Replace not Decorate 2024-01-31 22:51:51 -05:00
Derrick Hammer 9a87004f31
fix: need to add lifecycle hook to start tusWorker 2024-01-31 21:28:31 -05:00
Derrick Hammer d88638dfc3
fix: need to invoke storage init to setup tus 2024-01-31 21:28:02 -05:00
Derrick Hammer aff6e8106c
refactor: split renter methods to a dedicated renter service 2024-01-31 21:27:38 -05:00
Derrick Hammer 6d34f5b683
refactor: change struct naming convention from "impl" to "default" 2024-01-31 20:29:27 -05:00
Derrick Hammer 8449b13a4a
dep: update libs5 2024-01-31 20:21:38 -05:00
Derrick Hammer 2de10a7401
feat: add cli switch fx-debug to disable our custom logger 2024-01-30 17:45:36 -05:00
Derrick Hammer 57c4a1ae7d
dep: update libs5 2024-01-30 17:26:52 -05:00
Derrick Hammer 7b24a2001c
dep: update libs5 2024-01-30 17:09:37 -05:00
Derrick Hammer e787efaa92
dep: update libs5 2024-01-30 16:54:47 -05:00
Derrick Hammer 8dec7fc75a
dep: update libs5 2024-01-30 16:07:58 -05:00
Derrick Hammer 56ddeef010
dep: update libs5 2024-01-30 16:01:31 -05:00
Derrick Hammer 791b291ce7
fic: add node init 2024-01-30 15:48:05 -05:00
Derrick Hammer 435fe8b754
dep: update libs5 2024-01-30 15:46:46 -05:00
Derrick Hammer 883504225e
fix: lifecycle setup needs to return nil 2024-01-30 14:53:50 -05:00
Derrick Hammer 64c3795876
fix: need to hack the condtructor and make a global var as the constructor is getting called twice? 2024-01-30 14:51:23 -05:00
Derrick Hammer 3a49375638
fix: need to not return logger, but decorate the one we do have and replace with the one in the config 2024-01-30 14:32:46 -05:00
Derrick Hammer e477d681d4
Revert "fix: use cfg.Logger"
This reverts commit b86b597cb8.
2024-01-30 14:28:50 -05:00
Derrick Hammer b86b597cb8
fix: use cfg.Logger 2024-01-30 14:21:55 -05:00
Derrick Hammer 9224dcd119
fix: db and logger need to be in S5ProtocolResult 2024-01-30 14:20:33 -05:00
Derrick Hammer a4737ab4b8
dep: update libs5 2024-01-30 14:17:48 -05:00
Derrick Hammer 45567fcda0
fix: update imports 2024-01-30 14:14:05 -05:00
Derrick Hammer 1721fbf832
fix: update imports 2024-01-30 00:33:57 -05:00