• exec/load/logonlist_lib.js

    From rswindell@VERT to CVS commit on Friday, August 16, 2019 02:45:11
    exec/load logonlist_lib.js NONE 1.1
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv4685

    Added Files:
    logonlist_lib.js
    Log Message:
    New library for dealing with the new "logon list" file format (logon.jsonl), used for "last few callers", "logons today", "logons yesterday", etc.
    Methods:
    - add([obj]) - optional object to add, auto-filled if not supplied
    - get([num], [age]) - optional number of records to return (0:all) and age/days - maint(backup_level) - daily maintenance

    A lot more detail is now recorded for each BBS Logon, so sysops can get
    crazy with the information provided in their logon list, if they wish. It is trivial to add more information (e.g. just add some properties to the add() argument object).



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Friday, August 16, 2019 03:57:29
    exec/load logonlist_lib.js 1.1 1.2
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv14551

    Modified Files:
    logonlist_lib.js
    Log Message:
    Don't include system.stats.total_logons in the logon object unless it's a terminal server (BBS) logon.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net