diff --git a/art/themes/luciano_blocktronics/theme.hjson b/art/themes/luciano_blocktronics/theme.hjson index 1e2f9b4a..a7fd3863 100644 --- a/art/themes/luciano_blocktronics/theme.hjson +++ b/art/themes/luciano_blocktronics/theme.hjson @@ -254,15 +254,19 @@ mainInfoFormat10: "|00|11{now} {currentUserName} |08- |03mail|08: " mainInfoFormat11: "|00|10{callsToday:>5}" mainInfoFormat12: "|00|10{postsToday:>5}" + mainInfoFormat13: "|00|10{uploadsToday:>2} |08/ |10{uploadBytesToday!sizeWithoutAbbr} |02{uploadBytesToday!sizeAbbr}" + mainInfoFormat14: "|00|10{downloadsToday:>2} |08/ |10{downloadsBytesToday!sizeWithoutAbbr} |02{downloadsBytesToday!sizeAbbr}" - mainInfoFormat18: "|00|10{lastLoginUserName:<27} |02{lastLogin}" + mainInfoFormat15: "|00|10{lastLoginUserName:<26} |02{lastLogin}" - mainInfoFormat19: "|00|10{freeMemoryBytes!sizeWithoutAbbr} |02{freeMemoryBytes!sizeAbbr} free |08/ |10{totalMemoryBytes!sizeWithoutAbbr} |02{totalMemoryBytes!sizeAbbr}" - mainInfoFormat20: "|00|10{systemCurrentLoad} |02% |08/ |10{systemAvgLoad} |02load avg|08." - mainInfoFormat21: "|00|10{processUptimeSeconds!durationSeconds}" + mainInfoFormat16: "" - mainInfoFormat23: "|00|10{totalCalls:>5}" - mainInfoFormat24: "|00|10{totalPosts:>5}" + mainInfoFormat17: "|00|10{freeMemoryBytes!sizeWithoutAbbr} |02{freeMemoryBytes!sizeAbbr} free |08/ |10{totalMemoryBytes!sizeWithoutAbbr} |02{totalMemoryBytes!sizeAbbr}" + mainInfoFormat18: "|00|10{systemCurrentLoad} |02% |08/ |10{systemAvgLoad} |02load avg|08." + mainInfoFormat19: "|00|10{processUptimeSeconds!durationSeconds}" + + mainInfoFormat20: "|00|10{totalCalls:>5}" + mainInfoFormat21: "|00|10{totalPosts:>5}" mainInfoFormat22: "|00|10{totalFiles} |08/ |10{totalFileBytes!sizeWithoutAbbr} |02{totalFileBytes!sizeAbbr}" quickLogLevel: info @@ -277,8 +281,10 @@ } 0: { mci: { - TL19: { width: 23 } - TL20: { width: 23 } + TL17: { width: 23 } + TL18: { width: 23 } + TL19: { width: 10 } + VM1: { height: 5 widht: 37 diff --git a/art/themes/luciano_blocktronics/wfc.ans b/art/themes/luciano_blocktronics/wfc.ans index a8f5087a..bf07f2fa 100644 Binary files a/art/themes/luciano_blocktronics/wfc.ans and b/art/themes/luciano_blocktronics/wfc.ans differ diff --git a/core/stat_log.js b/core/stat_log.js index 5595b203..90246b4e 100644 --- a/core/stat_log.js +++ b/core/stat_log.js @@ -380,8 +380,8 @@ class StatLog { const loadStats = { // Not avail on BSD, yet. - average : _.get(sysInfo, 'currentLoad.avgLoad', 0).toFixed(2), - current : _.get(sysInfo, 'currentLoad.currentLoad', 0).toFixed(2), + average : parseFloat(_.get(sysInfo, 'currentLoad.avgLoad', 0).toFixed(2)), + current : parseFloat(_.get(sysInfo, 'currentLoad.currentLoad', 0).toFixed(2)), }; this.setNonPersistentSystemStat(SysProps.SystemLoadStats, loadStats); diff --git a/docs/_docs/modding/wfc.md b/docs/_docs/modding/wfc.md new file mode 100644 index 00000000..3f07054a --- /dev/null +++ b/docs/_docs/modding/wfc.md @@ -0,0 +1,29 @@ +--- +layout: page +title: Waiting For Caller (WFC) +--- +## The Waiting For Caller (WFC) Module +The `wfc.js` module provides a Waiting For Caller (WFC) type dashboard from a bygone era. ENiGMA½'s WFC can be accessed over secure connections for accounts with the proper ACS. See **Security** information. + +## Security + +## Theming +The following MCI codes are available: +* MCI 1 (`VM1`): Node status list with the following format items available: + * `{text}`: Username or `*Pre Auth*`. + * `{action}`: Current action/menu. + * `{timeOn}`: How long the node has been connected. +* MCI 2 (`VM2`): Quick log with the following format keys available: + * `{timestamp}`: Log entry timestamp in `quickLogTimestampFormat` format. + * `{level}`: Log entry level from Bunyan. + * `{levelIndicator}`: `T` for TRACE, `D` for DEBUG, `I` for INFO, `W` for WARN, `E` for ERROR, or `F` for FATAL. + * `{nodeId}`: Node ID. + * `{sessionId}`: Session ID. + * `{message}`: Log message. +* MCI 10...99: Custom entries with the following format keys available: + * `{nowDate}`: Current date in the `dateFormat` style, defaulting to `short`. + * `{nowTime}`: Current time in the `timeFormat` style, defaulting to `short`. + * `{now}`: Current date and/or time in `nowDateTimeFormat` format. + * `{processUptimeSeconds}`: Process (the BBS) uptime in seconds. + * `{totalCalls}`: Total calls to the system. + * `{totalPosts}`: Total posts to the system. \ No newline at end of file