Commit Graph

940 Commits

Author SHA1 Message Date
Derrick Hammer 34ba5b42f8
dep: update libs5 2024-01-29 20:53:07 -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 9b891f6ec7
dep: update libs5 2024-01-29 14:34:32 -05:00
Derrick Hammer 6b66250c08
dep: update libs5 2024-01-29 13:46:43 -05:00
Derrick Hammer a2ee46dbb3
refactor: change retry task to use the same job UUID, so we can track then 2024-01-28 16:39:04 -05:00
Derrick Hammer 4bb34315eb
feat: add support for tags in RetryableTask 2024-01-28 16:32:20 -05:00
Derrick Hammer 2a067102da
refactor: use new RetryableTask abstraction and move task function as a private method 2024-01-28 16:26:15 -05:00
Derrick Hammer 1af1ea9505
feat: create a cron job abstraction with a RetryableTask method, RetryableTaskParams struct, CronJob struct, and CreateJob method 2024-01-28 16:23:38 -05:00
Derrick Hammer b4e2e962e5
fix: we can use modules in the builders after all 2024-01-28 05:22:11 -05:00
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