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 = {
|
|
|
|
LoginCount : 'login_count',
|
2018-11-26 03:13:48 +00:00
|
|
|
LoginsToday : 'logins_today', // non-persistent
|
2020-11-27 02:51:00 +00:00
|
|
|
LastLogin : 'last_login', // object { userId, sessionId, userName, userRealName, timestamp }; non-persistent
|
2018-11-26 02:05:16 +00:00
|
|
|
|
|
|
|
FileBaseAreaStats : 'file_base_area_stats', // object - see file_base_area.js::getAreaStats
|
|
|
|
FileUlTotalCount : 'ul_total_count',
|
|
|
|
FileUlTotalBytes : 'ul_total_bytes',
|
2018-11-28 04:29:35 +00:00
|
|
|
FileDlTotalCount : 'dl_total_count',
|
|
|
|
FileDlTotalBytes : 'dl_total_bytes',
|
2018-11-26 02:05:16 +00:00
|
|
|
|
2020-11-26 22:53:21 +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
|
|
|
|
|
2018-11-28 04:21:00 +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
|
|
|
|
|
2020-11-27 02:51:00 +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
|
|
|
|
|
|
|
NextRandomRumor : 'random_rumor',
|
2020-11-22 19:25:19 +00:00
|
|
|
|
2020-11-27 02:51:00 +00:00
|
|
|
SystemMemoryStats : 'system_memory_stats', // object { totalBytes, freeBytes }; non-persistent
|
|
|
|
SystemLoadStats : 'system_load_stats', // object { average, current }; non-persistent
|
2022-05-02 01:58:00 +00:00
|
|
|
|
|
|
|
TotalUserCount : 'user_total_count', // non-persistent
|
2022-05-07 16:48:40 +00:00
|
|
|
NewUsersTodayCount : 'user_new_today_count', // non-persistent
|
2018-11-26 02:05:16 +00:00
|
|
|
};
|