Derrick Hammer
|
fc042570ab
|
refactor: change to store the hash as a raw, but also make it unique with an index
|
2024-02-17 23:17:26 -05:00 |
Derrick Hammer
|
162af1e274
|
refactor: switch to using package init functions with build tags to selectively build protocol support
|
2024-02-17 07:40:22 -05:00 |
Derrick Hammer
|
ac9a1a0b92
|
feat: implement StorageProtocol
|
2024-02-17 05:20:42 -05:00 |
Derrick Hammer
|
263473db41
|
refactor: add PreInit and Node setter to store s5 node
|
2024-02-17 05:16:52 -05:00 |
Derrick Hammer
|
997e362d90
|
refactor: add concept of a pre-init function that gets called before init
|
2024-02-17 05:16:24 -05:00 |
Derrick Hammer
|
0ac4d318b7
|
refactor: use a lazy setter approach for storageProtocol
|
2024-02-17 04:41:12 -05:00 |
Derrick Hammer
|
97297036c7
|
refactor: swap Protocol for to StorageProtocol
|
2024-02-17 04:06:25 -05:00 |
Derrick Hammer
|
b52383b123
|
refactor: add StorageProtocol to S5ProtocolResult
|
2024-02-17 04:05:42 -05:00 |
Derrick Hammer
|
6f3f6015fe
|
fix: TusHandlerParams missing fx.In
|
2024-02-17 03:38:44 -05:00 |
Derrick Hammer
|
cdd458129b
|
fix: initParams missing fx.In
|
2024-02-17 03:33:55 -05:00 |
Derrick Hammer
|
857ffe4fdd
|
refactor: need to use a param struct to get protocol value group
|
2024-02-17 03:28:05 -05:00 |
Derrick Hammer
|
afc0b7a343
|
refactor: replicate what we did in api and remove the need for an InitFunc
|
2024-02-17 03:24:44 -05:00 |
Derrick Hammer
|
f34c041401
|
fix: UploadExists/GetUpload needs ctx
|
2024-02-17 02:39:42 -05:00 |
Derrick Hammer
|
6845dac609
|
refactor: add context to all tus apis
|
2024-02-16 22:08:34 -05:00 |
Derrick Hammer
|
c468a81543
|
refactor: remove tus out of method names
|
2024-02-16 22:03:34 -05:00 |
Derrick Hammer
|
93e727ab3b
|
refactor: epic protocol and storage design refactor
|
2024-02-16 22:00:53 -05:00 |
Derrick Hammer
|
a4afda0ecc
|
feat: add proof download s5 protocol file discovery
|
2024-02-09 15:55: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
|
6d34f5b683
|
refactor: change struct naming convention from "impl" to "default"
|
2024-01-31 20:29:27 -05:00 |
Derrick Hammer
|
791b291ce7
|
fic: add node init
|
2024-01-30 15:48:05 -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
|
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
|
b4e2e962e5
|
fix: we can use modules in the builders after all
|
2024-01-28 05:22:11 -05:00 |
Derrick Hammer
|
568ec2857a
|
fix: add LifecyclesParams struct
|
2024-01-28 04:44:33 -05:00 |
Derrick Hammer
|
6c31a0a79f
|
fix: result actually needs value group item without slice
|
2024-01-28 04:35:43 -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
|
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
|
4a66be5b87
|
refactor: wrap in a module
|
2024-01-28 03:03:29 -05:00 |
Derrick Hammer
|
8c89796341
|
refactor: use a centralized list key for enabled protocols
|
2024-01-28 03:01:12 -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
|
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
|
47020fe738
|
fix: create StorageLocationTypeFull on StorageLocationTypeFull case
|
2024-01-24 16:43:17 -05:00 |
Derrick Hammer
|
fe2d1be764
|
fix: wrong download url
|
2024-01-24 10:32:44 -05:00 |
Derrick Hammer
|
a93eca6a7c
|
fix: wrong download subdomain
|
2024-01-24 03:41:00 -05:00 |
Derrick Hammer
|
a4137102e6
|
fix: import cycle
|
2024-01-24 03:36:03 -05:00 |
Derrick Hammer
|
6a2b1b4a9b
|
feat: implement provider store
|
2024-01-24 03:28:47 -05:00 |
Derrick Hammer
|
c4f0226d1a
|
refactor: re-implement s5 routes
|
2024-01-16 12:20:43 -05:00 |
Derrick Hammer
|
69b1938e87
|
feat: add AccountRegisterChallenge handler
|
2024-01-16 11:31:33 -05:00 |
Derrick Hammer
|
185269afea
|
feat: add upload create call
|
2024-01-16 02:01:18 -05:00 |
Derrick Hammer
|
276719f47f
|
feat: handle existing files
|
2024-01-16 01:05:09 -05:00 |
Derrick Hammer
|
2040d4edbc
|
fix: break import cycle
|
2024-01-15 20:10:15 -05:00 |