Commit Graph

13 Commits

Author SHA1 Message Date
Bryan Ashby
4881c2123a First pass formatting with Prettier
* Added .prettierrc.json
* Added .prettierignore
* Formatted
2022-06-05 14:04:25 -06:00
Bryan Ashby
848d1f02b0 Merge branch '280-config-revamp' of github.com:NuSkooler/enigma-bbs into 280-config-revamp 2020-07-06 21:31:26 -06:00
Bryan Ashby
992ee6056e Log if a variable isn't found 2020-07-06 21:14:31 -06:00
Bryan Ashby
c91ae50c6b Fix oputil 2020-07-06 19:13:22 -06:00
Bryan Ashby
20bbbd2f59 Nicer handling of config file errors at startup 2020-06-18 21:29:24 -06:00
Bryan Ashby
a457296b39 * Remove 'date', 'datetime', and 'time' in favor of just 'timestamp' for env var directive
* Allow "1" === true for boolean types
2020-06-17 19:45:18 -06:00
Bryan Ashby
1a96ad41d2 Fix ConfigLoader configPaths if no includes 2020-06-15 21:25:05 -06:00
Bryan Ashby
8808447343 Fix hard coded config.hjson event in ConfigLoader
* ConfigLoader init can now take onReload handler
* Use onReload for config.hjson/system config event
2020-06-15 21:21:26 -06:00
Bryan Ashby
fb9d83ab6f Tidy up config, fix a couple minor bugs 2020-06-11 22:40:20 -06:00
Bryan Ashby
43a7bd9ba4 Use mapValuesDeep vs reduceDeep 2020-06-11 21:38:33 -06:00
Bryan Ashby
9394730011 New Config class working quite well for system config. Menu.hjson/etc. to come 2020-06-11 21:16:15 -06:00
Bryan Ashby
37bc2fc3aa Working well 2020-06-10 22:52:19 -06:00
Bryan Ashby
56472c80a8 Decent merge customizer 2020-06-10 19:15:49 -06:00