Commit Graph

222 Commits

Author SHA1 Message Date
Derrick Hammer b74bcd5dd2
*Add newRouter function that defines a root endpoint and returns the pubkey
*Call newRouter in resetRouter
*Call resetRouter in start
2022-09-22 10:18:50 -04:00
Derrick Hammer 36da04bdfe
*Extract keypair logic to a helper function 2022-09-22 10:17:37 -04:00
Derrick Hammer 668e427b8c
*Change ssl to default to false, plugins will need to enable it on init 2022-09-22 08:00:02 -04:00
Derrick Hammer f8c19e2fd6
*Load env and arg configs after config files again to have them override in priority. 2022-09-22 07:51:58 -04:00
Derrick Hammer cd07913340
*Update cfg package 2022-09-21 17:40:25 -04:00
Derrick Hammer 18a7ca4aa8
*Update plugin folder location to be beside the config folder 2022-09-21 17:40:17 -04:00
Derrick Hammer 72d8b332f4
*Update cfg dep 2022-09-21 17:06:17 -04:00
Derrick Hammer 48a57d1259
*add compression 2022-09-21 17:06:10 -04:00
Derrick Hammer 1a2825df01
*Update cfg package 2022-09-21 16:40:19 -04:00
Derrick Hammer 49739eaac8
*If we don't have a seed, create one by saving to the config folder as account.json 2022-09-21 16:40:10 -04:00
Derrick Hammer 8d19edb8e0
*Remove seed as required option 2022-09-21 16:38:58 -04:00
Derrick Hammer e1092fb7d8
*Remove unneeded dash 2022-09-21 16:11:02 -04:00
Derrick Hammer 36a59ce5e6
*allow override of configDir 2022-09-21 16:10:45 -04:00
Derrick Hammer 6d0aef8ae2
*Ensure plugin list is unique 2022-09-21 16:03:12 -04:00
Derrick Hammer 8e5aa6f21b
*switch to @lumeweb/cfg 2022-09-21 16:01:10 -04:00
Derrick Hammer e0995be647
*Use new config fork and load directory for configs 2022-09-21 16:00:42 -04:00
Derrick Hammer 8d8672729e
*Skip native build check 2022-09-21 11:30:45 -04:00
Derrick Hammer 3074f05cd8
*bcrypto not needed in prebuild 2022-09-21 11:30:27 -04:00
Derrick Hammer 8f6fe728f2
*add node-gyp as a dev dep 2022-09-21 11:20:56 -04:00
Derrick Hammer bd76fc2815
*We no longer need to bundle the code 2022-09-21 11:19:15 -04:00
Derrick Hammer 7edc23d8b9
*We no longer need to bundle the code 2022-09-21 10:12:09 -04:00
Derrick Hammer 7c6bb6297e
*add logging for after save 2022-09-21 10:11:41 -04:00
Derrick Hammer fa8668b8c8
*Several bug fixes with saving and loading 2022-09-21 10:11:28 -04:00
Derrick Hammer 4b6e1d32f5
*Wrong variable used 2022-09-21 09:45:14 -04:00
Derrick Hammer 31a785b13e
*Need to create express before booting server 2022-09-21 09:08:30 -04:00
Derrick Hammer 8ab43c9e3a
*Remove unneeded pocket code 2022-09-21 09:00:34 -04:00
Derrick Hammer 243f350a54
*re-structure code 2022-09-21 08:59:22 -04:00
Derrick Hammer a1abf09c28
*Router functions are now in app 2022-09-21 08:56:24 -04:00
Derrick Hammer dc7bc3c5c4
*Consolidate all start functions to the main entry boot 2022-09-21 08:55:35 -04:00
Derrick Hammer 650666515b
*Move ssl start logic to its own start function 2022-09-21 08:55:05 -04:00
Derrick Hammer e2ccfa5220
*Move app server logic on port 80 to a dedicated component 2022-09-21 08:54:27 -04:00
Derrick Hammer b35989c8bb
*Update deps 2022-09-21 07:31:36 -04:00
Derrick Hammer f4211342e1
*Define new api to check ssl on boot and on demand 2022-09-21 07:31:29 -04:00
Derrick Hammer 2aa8300ec6
*Clean up deps 2022-09-21 07:27:47 -04:00
Derrick Hammer f0bdf0364e
*Remove --no-bytecode 2022-09-21 07:25:08 -04:00
Derrick Hammer 74b88393a6
*Include additional files to be packaged and remove ones that are in plugins 2022-09-21 07:16:08 -04:00
Derrick Hammer 7df0a5cf09
*clean up build script since most code has been ported to plugins 2022-09-21 07:15:39 -04:00
Derrick Hammer 3904dc72e3
*Update deps to use package forks that are CJS compat 2022-09-21 07:15:09 -04:00
Derrick Hammer aac4b26398
*Remove unneeded externals 2022-09-21 07:14:30 -04:00
Derrick Hammer 8b68ce04d2
*option name needs to be retries 2022-09-21 07:14:10 -04:00
Derrick Hammer 4a4b46df5b
*Remove use of dynamic imports 2022-09-21 07:13:48 -04:00
Derrick Hammer 5362d83af6
*Rename pluginFolder to pluginDir 2022-09-20 12:45:24 -04:00
Derrick Hammer 5c8c4cc1dd
*add 15 ms delay (found via trial/error) on stream writes since there appears to be a event loop based backlog preventing some streams from being processed, causing client detected timeouts 2022-09-19 16:48:25 -04:00
Derrick Hammer a3dc9aeb35
*Update deps 2022-09-09 06:25:06 -04:00
Derrick Hammer f2f6f05923
*Pass domain to dnsProvider 2022-09-09 06:24:59 -04:00
Derrick Hammer a12f6c0c89
*Update error codes 2022-09-09 06:19:08 -04:00
Derrick Hammer fe021500c6
*Call loadUtilFunctions before loading plugins 2022-09-09 06:18:59 -04:00
Derrick Hammer 68422f0c1a
*Add a helper function loadUtilFunctions 2022-09-09 06:18:39 -04:00
Derrick Hammer 1143edfb81
*plugins need to load first 2022-09-09 06:18:14 -04:00
Derrick Hammer 522807d8af
*missed setting activeIp 2022-09-09 06:17:58 -04:00