Commit Graph

52 Commits

Author SHA1 Message Date
Derrick Hammer af0f3e19de
refactor: switch to using Supply 2024-02-17 03:12:44 -05:00
Derrick Hammer a76d13e75d
feat: add metadata service 2024-02-16 21:56:38 -05:00
Derrick Hammer 04948bde2c
fix: duplicate imports 2024-02-09 20:35:48 -05:00
Derrick Hammer aff6e8106c
refactor: split renter methods to a dedicated renter service 2024-01-31 21:27:38 -05:00
Derrick Hammer 2de10a7401
feat: add cli switch fx-debug to disable our custom logger 2024-01-30 17:45:36 -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 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 d212907f5d
fix: need pointer of logger 2024-01-28 04:19:29 -05:00
Derrick Hammer 2887a63a7a
fix: missing account module 2024-01-28 03:55:09 -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 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 eaa515345e
feat: add startCron to start list 2024-01-19 17:48:42 -05:00
Derrick Hammer c397cc9fcb
fix: add initCron to init list 2024-01-19 17:44:08 -05:00
Derrick Hammer 1f8ad3ac1a
feat: s3 config key to required config 2024-01-19 15:47:18 -05:00
Derrick Hammer 0eb6a9a3a3
feat: added a cron service 2024-01-19 15:46:37 -05:00
Derrick Hammer 5323e43bdb
fix: initDatabase no longer needs to pass p to init 2024-01-19 15:45:02 -05:00
Derrick Hammer 5b6084986f
refactor: init doesn't need portal passed 2024-01-19 12:43:16 -05:00
Derrick Hammer d017b0741c
fix: use DatabaseService 2024-01-16 01:30:06 -05:00
Derrick Hammer d36bf67e85
fix: remove duplicate Db getter 2024-01-16 01:29:17 -05:00
Derrick Hammer c2075989fa
fix: need a Database and DatabaseService getter, and a getter on Database 2024-01-16 01:24:47 -05:00
Derrick Hammer 47602854a0
feat: bare bones account service 2024-01-16 00:19:36 -05:00
Derrick Hammer 539d5ead65
fix: make core.db.name required 2024-01-15 23:59:58 -05:00
Derrick Hammer 212832eda1
refactor: since Portal.Logger can return a temporary logger, just use it 2024-01-15 22:44:28 -05:00
Derrick Hammer a8a39d523e
fix: if logger is not ready, use a temporary one 2024-01-15 22:42:55 -05:00
Derrick Hammer 6076073dce
fix: logger needs to be inited before config check 2024-01-15 22:35:00 -05:00
Derrick Hammer 51a1f6051b
fix: implement database getter 2024-01-15 22:02:10 -05:00
Derrick Hammer 05c0aba484
feat: initial casbin support 2024-01-15 22:01:40 -05:00
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 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 a16bcc788d
fix: make core.sia.url and core.sia.key required 2024-01-15 08:04:05 -05:00
Derrick Hammer 8afc157d4f
feat: initial storage service 2024-01-14 23:52:54 -05:00
Derrick Hammer 7fd30e571c
refactor: make core.domain required 2024-01-12 10:40:39 -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 fecc99b081
refactor: use core.port 2024-01-12 09:17:26 -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 8917be5077
fix: add init func for config 2024-01-11 23:32:02 -05:00