Commit Graph

65 Commits

Author SHA1 Message Date
Derrick Hammer 0e3a25aa8a
feat: add import metadata db service based off the upload metadata service 2024-03-22 16:36:59 -04:00
Derrick Hammer 960c2b01d9
refactor: move all config defaults and add some validations. remove initCheckRequiredConfig. 2024-02-28 09:04:47 -05:00
Derrick Hammer 6e3e096be9
refactor: change NewLogger to use config manager, and have CM pass nil to newConfig 2024-02-27 03:54:00 -05:00
Derrick Hammer 3da1ae3e5f
feat: add core.portal_name required config to be used for communication 2024-02-26 07:32:46 -05:00
Derrick Hammer 81e540c2ce
feat: initial mailer module with password reset and email verification templates 2024-02-26 07:30:53 -05:00
Derrick Hammer 40b3504c1d
refactor: rewrite main api router to be a class, lazy init it, and introduce RoutableAPI which can dynamically handle incoming requests if the main routes aren't matched 2024-02-25 08:36:32 -05:00
Derrick Hammer f6f9a7f97a
feat: add custom logger wrapper to use zap logger for database 2024-02-24 08:41:40 -05:00
Derrick Hammer 8602d5ed97
fix: use snake_case 2024-02-23 08:21:45 -05:00
Derrick Hammer 856b7fb627
fix: update config management in init functions 2024-02-22 03:39:29 -05:00
Derrick Hammer 0125fb4d01
dep: move back to sia core v0.1.12 2024-02-22 02:56:19 -05:00
Derrick Hammer a42cda1ced
dep: need to update dependencies, downgrade sia core, downgrade kin-openapi, and switch to coreutils wallet 2024-02-22 02:46:37 -05:00
Derrick Hammer 7f12ee5b0d
refactor: implement new configuration management system 2024-02-22 02:13:59 -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 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