Commit Graph

1075 Commits

Author SHA1 Message Date
Derrick Hammer b9fab1a4b5
fix: add db config to required config 2024-01-15 21:00:08 -05:00
Derrick Hammer 3a44305c44
refactor: rename to startProtocolRegistry 2024-01-15 20:58:53 -05:00
Derrick Hammer 82fe380b02
feat: initial database support and models 2024-01-15 20:58:20 -05:00
Derrick Hammer 2040d4edbc
fix: break import cycle 2024-01-15 20:10:15 -05:00
Derrick Hammer 66e1cba39b
refactor: move init and startup process to a functional approach for readability 2024-01-15 20:07:08 -05:00
Derrick Hammer 8ceb8c1eb9
refactor: logger does not need to be a singleton 2024-01-15 19:43:00 -05:00
Derrick Hammer eae3de419c
deps: update libs5 2024-01-15 19:35:03 -05:00
Derrick Hammer 6784cbf453
refactor: optimize 2024-01-15 15:16:48 -05:00
Derrick Hammer 387ec56bec
fix: disable resty warnings 2024-01-15 14:45:35 -05:00
Derrick Hammer 0cd60b7db0
fix: use CIDFromHash 2024-01-15 14:41:24 -05:00
Derrick Hammer 699869ca3e
fix: wrong payload to bucket create 2024-01-15 14:36:06 -05:00
Derrick Hammer 138b7a8e8c
fix: wrong bucket create endpoint 2024-01-15 14:33:51 -05:00
Derrick Hammer d4ed4eb9a2
fic: add createBucketIfNotExists helper 2024-01-15 14:25:12 -05:00
Derrick Hammer dc239b0cba
dep: update libs5 2024-01-15 14:14:04 -05:00
Derrick Hammer 61304ad3d2
fix: wrong api endpoint (again) 2024-01-15 14:08:41 -05:00
Derrick Hammer e4626fdbb8
fix: wrong api endpoint 2024-01-15 14:06:16 -05:00
Derrick Hammer d6d15cff73
debug: add debug line 2024-01-15 14:03:57 -05:00
Derrick Hammer b0a7566466
fix: ensure Error() is not nil 2024-01-15 14:03:05 -05:00
Derrick Hammer 01029430cb
dep: update libs5 2024-01-15 13:55:27 -05:00
Derrick Hammer f080dbc943
dep: update libs5 2024-01-15 13:41:14 -05:00
Derrick Hammer 2ef6df540f
dep: update libs5 2024-01-15 13:38:29 -05:00
Derrick Hammer a8f9dfdbd3
dep: update libs5 2024-01-15 13:20:15 -05:00
Derrick Hammer 0c49c70b98
dep: update libs5 2024-01-15 13:11:36 -05:00
Derrick Hammer a641e57656
dep: update libs5 2024-01-15 13:04:18 -05:00
Derrick Hammer df815c1ebf
dep: update libs5 2024-01-15 12:59:40 -05:00
Derrick Hammer ef9ecbf8e9
dep: update libs5 2024-01-15 12:14:44 -05:00
Derrick Hammer 73ab5b8214
refactor: add a means of saving the config if any default value is not set 2024-01-15 12:02:15 -05:00
Derrick Hammer 8ab200541e
fix: add default for protocol.s5.p2p.maxOutgoingPeerFailures 2024-01-15 11:50:31 -05:00
Derrick Hammer 4b1622511e
dep: update libs5 2024-01-15 11:46:14 -05:00
Derrick Hammer 41481fe89d
dep: update libs5 2024-01-15 11:39:20 -05:00
Derrick Hammer eb9f4513b5
dep: update libs5 2024-01-15 11:16:12 -05:00
Derrick Hammer 3f07a580ec
dep: update libs5 2024-01-15 10:55:02 -05:00
Derrick Hammer 0281936511
refactor: put logger as its own package with a custom config for the log level, allow it to be configurable with a default, add an init func for it, and have the config init use a temp logger 2024-01-15 10:02:58 -05:00
Derrick Hammer ba44b58897
fix: need to create init for storage service to ensure it configures the http client after we have read the config 2024-01-15 08:38:05 -05:00
Derrick Hammer 592b20c561
fix: check header for prefix/starts with 2024-01-15 08:29:09 -05:00
Derrick Hammer 4f50d645ad
fix: pass a buffer.Reader copying from Buffer 2024-01-15 08:20:28 -05:00
Derrick Hammer 35aa206687
fix: use s5 bucket 2024-01-15 08:09:37 -05:00
Derrick Hammer a16bcc788d
fix: make core.sia.url and core.sia.key required 2024-01-15 08:04:05 -05:00
Derrick Hammer 7ef2f819a8
fix: use GetHttpRouter 2024-01-15 07:56:37 -05:00
Derrick Hammer 908411f33f
feat: initial s5 basic upload 2024-01-15 07:54:13 -05:00
Derrick Hammer 9ebdeb74c6
refactor: set default options starting with core.post-upload-limi, and save the config when none exists 2024-01-14 23:54:01 -05:00
Derrick Hammer 492bd5b9de
dep: update libs5 2024-01-14 23:53:09 -05:00
Derrick Hammer 8afc157d4f
feat: initial storage service 2024-01-14 23:52:54 -05:00
Derrick Hammer 27773a7909
deps: update libs5 2024-01-13 11:23:24 -05:00
Derrick Hammer 27375a858f
deps: update 2024-01-12 15:11:23 -05:00
Derrick Hammer 7fd30e571c
refactor: make core.domain required 2024-01-12 10:40:39 -05:00
Derrick Hammer 89935f2f00
refactor: consolidate log lines and pass more protocol info 2024-01-12 10:38:57 -05:00
Derrick Hammer 59a3ac6b64
fix: pass domain as protocol subdomain 2024-01-12 10:32:19 -05:00
Derrick Hammer 866fa89cee
feat: add logging of S5 identity 2024-01-12 10:16:04 -05:00
Derrick Hammer ab6b71813d
fix: update error message 2024-01-12 09:30:55 -05:00