Commit Graph

1281 Commits

Author SHA1 Message Date
Derrick Hammer d51c52b985
fix: bad address 2024-01-28 05:13:43 -05:00
Derrick Hammer 309cc50845
chore: cleanup imports 2024-01-28 05:09:14 -05:00
Derrick Hammer 46da3bdcee
fix: add invoke to ensure http server triggers 2024-01-28 05:08:19 -05:00
Derrick Hammer 47422524b8
refactor: move HTTP server to its own constructor 2024-01-28 05:07:13 -05:00
Derrick Hammer e6c1bab602
fix: set levels 2024-01-28 04:57:43 -05:00
Derrick Hammer 470bce2209
fix: fix fx logger 2024-01-28 04:53:44 -05:00
Derrick Hammer 18a54917a0
fix: add LifecyclesParams struct 2024-01-28 04:45:34 -05:00
Derrick Hammer 568ec2857a
fix: add LifecyclesParams struct 2024-01-28 04:44:33 -05:00
Derrick Hammer 610d5fe268
fix: add init to create an empty router 2024-01-28 04:44:16 -05:00
Derrick Hammer 6c31a0a79f
fix: result actually needs value group item without slice 2024-01-28 04:35:43 -05:00
Derrick Hammer 646a65f814
fix: need to use group tag 2024-01-28 04:23:58 -05:00
Derrick Hammer a410cc55f0
fix: dont return pointer 2024-01-28 04:22:49 -05:00
Derrick Hammer d212907f5d
fix: need pointer of logger 2024-01-28 04:19:29 -05:00
Derrick Hammer 4348ff6dfe
fix: HttpHandler needs a Result struct 2024-01-28 04:18:32 -05:00
Derrick Hammer 57516a2f4a
fix: wrong module name 2024-01-28 04:17:56 -05:00
Derrick Hammer 2aec82281d
fix: Protocol needs to ve a slice 2024-01-28 04:17:47 -05:00
Derrick Hammer c326d9b61b
fix: we cannot wrap the build into a module as it causes provide issues 2024-01-28 04:17:22 -05:00
Derrick Hammer 5fd601407f
chore: unused function 2024-01-28 04:02:40 -05:00
Derrick Hammer ceabb95f6d
fix: we need to pass out the api in both struct and interface form for fx to read it properly 2024-01-28 04:01:36 -05:00
Derrick Hammer 10ecaebbf2
fix: we need to pass out the protocol in both struct and interface form for fx to read it properly 2024-01-28 03:58:49 -05:00
Derrick Hammer 98c1784518
fix: S5ProviderStore cannot rely on S5Protocol, so we need to provide for it too 2024-01-28 03:57:59 -05:00
Derrick Hammer 2887a63a7a
fix: missing account module 2024-01-28 03:55:09 -05:00
Derrick Hammer faa7387106
fix: missing provide for gocron 2024-01-28 03:54:33 -05:00
Derrick Hammer ab3dd648e1
fix: missing SetupLifecycles 2024-01-28 03:29:52 -05:00
Derrick Hammer 9bb7a4cc83
fix: WithLogger is inside Decorate 2024-01-28 03:13:11 -05:00
Derrick Hammer 4a66be5b87
refactor: wrap in a module 2024-01-28 03:03:29 -05:00
Derrick Hammer 80484079d6
refactor: we dont need to register the router 2024-01-28 03:03:04 -05:00
Derrick Hammer 8c89796341
refactor: use a centralized list key for enabled protocols 2024-01-28 03:01:12 -05:00
Derrick Hammer f7057142eb
fix: add init func to s5 api 2024-01-28 02:51:35 -05:00
Derrick Hammer 55f515157d
refactor: move BuildS5TusApi and export middlewares to break import cycle 2024-01-28 02:48:02 -05:00
Derrick Hammer 92cddb40c3
dep: update aws dep 2024-01-28 02:40:44 -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 c051ef8e44
feat: add Mime to File 2024-01-25 19:17:48 -05:00
Derrick Hammer be27728b42
feat: need to support mime type in small uploads 2024-01-25 19:15:01 -05:00
Derrick Hammer f3be950ba7
feat: detect and add mime type to upload so we don't need to make extra requests on runtime 2024-01-25 19:05:52 -05:00
Derrick Hammer 00a58a3b98
feat: add mimetype column to tus_upload and upload 2024-01-25 18:58:56 -05:00
Derrick Hammer 541fcff779
feat: add cors support 2024-01-25 18:25:10 -05:00
Derrick Hammer 73bd74faeb
refactor: use storage NewFile 2024-01-25 16:34:31 -05:00
Derrick Hammer d21044baed
fix: exists is missing 2024-01-25 16:32:37 -05:00
Derrick Hammer e00922f49d
feat: add NewFile helper in storage 2024-01-25 16:31:05 -05:00
Derrick Hammer 15ba6e9695
feat: create interface for File 2024-01-25 16:30:45 -05:00
Derrick Hammer a90344daf0
refactor: use errors.Is 2024-01-25 10:39:45 -05:00
Derrick Hammer f4b981f97f
fix: remove return false 2024-01-25 09:58:53 -05:00
Derrick Hammer 46b407bd9a
feat: broadcast file if tus has the upload as well 2024-01-25 09:53:02 -05:00
Derrick Hammer e1556f2f68
feat: add support for ranges in tus s3 store 2024-01-25 09:50:17 -05:00
Derrick Hammer d91355796b
dep: use our tus fork again to have s3 range support 2024-01-25 09:44:37 -05:00
Derrick Hammer 8797460bf8
refactor: revert to using http.StripPrefix 2024-01-25 09:23:23 -05:00
Derrick Hammer 2c7300af6d
dep: switch back to mainline tus 2024-01-25 09:21:21 -05:00
Derrick Hammer fce08283a2
fix: both clients need specific api paths 2024-01-25 09:02:49 -05:00