2018-11-26 02:05:16 +00:00
|
|
|
/* jslint node: true */
|
|
|
|
'use strict';
|
|
|
|
|
|
|
|
//
|
|
|
|
// Common SYSTEM/global properties/stats used throughout the system.
|
|
|
|
//
|
|
|
|
// This IS NOT a full list. Custom modules & the like can create
|
|
|
|
// their own!
|
|
|
|
//
|
|
|
|
module.exports = {
|
2022-06-12 20:12:03 +00:00
|
|
|
LoginCount: 'login_count',
|
|
|
|
LoginsToday: 'logins_today', // non-persistent
|
|
|
|
LastLogin: 'last_login', // object { userId, sessionId, userName, userRealName, timestamp }; non-persistent
|
2018-11-26 02:05:16 +00:00
|
|
|
|
2022-06-05 20:04:25 +00:00
|
|
|
FileBaseAreaStats: 'file_base_area_stats', // object - see file_base_area.js::getAreaStats
|
|
|
|
FileUlTotalCount: 'ul_total_count',
|
|
|
|
FileUlTotalBytes: 'ul_total_bytes',
|
|
|
|
FileDlTotalCount: 'dl_total_count',
|
|
|
|
FileDlTotalBytes: 'dl_total_bytes',
|
2018-11-26 02:05:16 +00:00
|
|
|
|
2022-06-12 20:12:03 +00:00
|
|
|
FileUlTodayCount: 'ul_today_count', // non-persistent
|
|
|
|
FileUlTodayBytes: 'ul_today_bytes', // non-persistent
|
|
|
|
FileDlTodayCount: 'dl_today_count', // non-persistent
|
|
|
|
FileDlTodayBytes: 'dl_today_bytes', // non-persistent
|
2020-11-26 22:53:21 +00:00
|
|
|
|
2022-06-12 20:12:03 +00:00
|
|
|
MessageTotalCount: 'message_post_total_count', // total non-private messages on the system; non-persistent
|
|
|
|
MessagesToday: 'message_post_today', // non-private messages posted/imported today; non-persistent
|
2018-11-28 04:21:00 +00:00
|
|
|
|
2022-06-12 20:12:03 +00:00
|
|
|
SysOpUsername: 'sysop_username', // non-persistent
|
|
|
|
SysOpRealName: 'sysop_real_name', // non-persistent
|
|
|
|
SysOpLocation: 'sysop_location', // non-persistent
|
|
|
|
SysOpAffiliations: 'sysop_affiliation', // non-persistent
|
|
|
|
SysOpSex: 'sysop_sex', // non-persistent
|
|
|
|
SysOpEmailAddress: 'sysop_email_address', // non-persistent
|
2018-11-26 02:05:16 +00:00
|
|
|
|
2022-06-12 20:12:03 +00:00
|
|
|
NextRandomRumor: 'random_rumor',
|
2020-11-22 19:25:19 +00:00
|
|
|
|
2022-06-12 20:12:03 +00:00
|
|
|
SystemMemoryStats: 'system_memory_stats', // object { totalBytes, freeBytes }; non-persistent
|
|
|
|
SystemLoadStats: 'system_load_stats', // object { average, current }; non-persistent
|
2022-08-02 05:09:18 +00:00
|
|
|
ProcessTrafficStats: 'system_traffic_bytes_ingress', // object { ingress, egress }; non-persistent
|
2022-05-02 01:58:00 +00:00
|
|
|
|
2022-06-12 20:12:03 +00:00
|
|
|
TotalUserCount: 'user_total_count', // non-persistent
|
|
|
|
NewUsersTodayCount: 'user_new_today_count', // non-persistent
|
2018-11-26 02:05:16 +00:00
|
|
|
};
|