Commit Graph

348 Commits

Author SHA1 Message Date
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
Derrick Hammer de407b2803
fix: fatal if protocol.s5 is not set 2024-01-12 09:30:23 -05:00
Derrick Hammer 4819bf45ac
refactor: move port check after identity init 2024-01-12 09:27:45 -05:00
Derrick Hammer 1e3addac8b
refactor: add check to ensure core.port is set 2024-01-12 09:20:43 -05:00
Derrick Hammer 2caaa07da8
refactor: try to use core.externalPort if set, else use core.port 2024-01-12 09:17:53 -05:00
Derrick Hammer fecc99b081
refactor: use core.port 2024-01-12 09:17:26 -05:00
Derrick Hammer 4d75f5659c
ci: use git provider 2024-01-12 08:27:48 -05:00
Derrick Hammer 862570bc57
ci: disable github provider 2024-01-12 08:24:12 -05:00
Derrick Hammer e6f3df2882
refactor: use a sub logger 2024-01-12 08:22:59 -05:00
Derrick Hammer 522ed11d50
refactor: store portal identity 2024-01-12 08:22:40 -05:00
Derrick Hammer 0bd089e046
refactor: update Initialize signature 2024-01-12 08:22:21 -05:00
Derrick Hammer b5c540ab8e
refactor: change Protocol Initialize to take a portal instance 2024-01-12 08:21:41 -05:00
Derrick Hammer 2fb08f35ed
feat: implement identity and seed generation 2024-01-12 08:15:36 -05:00
Derrick Hammer 7ccfaa57da
fix: use logger.Fatal 2024-01-12 06:37:11 -05:00
Derrick Hammer 5fbac2ae13
fix: use config for db 2024-01-12 06:37:01 -05:00
Derrick Hammer fa4a3e6f2a
fix: pass domain and port info to s5 http config 2024-01-11 23:33:11 -05:00
Derrick Hammer c7af6286ad
fix: namespace config under protocol 2024-01-11 23:32:31 -05:00
Derrick Hammer 8917be5077
fix: add init func for config 2024-01-11 23:32:02 -05:00
Derrick Hammer b8572ea712
fix: use logger and return errors 2024-01-11 23:23:22 -05:00
Derrick Hammer a54341dd68
fix: subdomain comes before domain 2024-01-11 23:22:56 -05:00
Derrick Hammer a57e575a82
fix: change config path 2024-01-11 23:22:33 -05:00
Derrick Hammer 519426ba7d
feat: bare bones s5 support, and more dynamic loading of subsystems 2024-01-11 23:13:10 -05:00
Derrick Hammer 82aded34ac
cleanup: remove random files 2024-01-11 21:32:47 -05:00
Derrick Hammer 959005f29c
ci: set defaultBranch 2024-01-11 21:09:21 -05:00
Derrick Hammer 444de35e31
feat: initial new portal bones 2024-01-11 19:11:53 -05:00
Derrick Hammer c80046e95f
Merge remote-tracking branch 'origin/develop' into develop
# Conflicts:
#	package.json
2024-01-11 14:59:16 -05:00
Derrick Hammer 8e8ea8ce86
ci: try switching to go-semantic-release 2024-01-11 14:58:44 -05:00
Derrick Hammer c7bce2ff23
refactor: Prune old code base to prepare for rewrite 2024-01-11 14:49:50 -05:00