• exec/load/logonlist_lib.js

    From rswindell@VERT to CVS commit on Thursday, August 15, 2019 19: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 Thursday, August 15, 2019 20: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
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Tuesday, March 16, 2021 14:04:13
    https://gitlab.synchro.net/main/sbbs/-/commit/445f2c7733f9d752b1c8335b
    Modified Files:
    exec/load/logonlist_lib.js
    Log Message:
    Insure there's always a logon.jsonl file before calling file_backup() in maint

    Fix for Altere's logons yesterday list that isn't rotating out because nobody logged on today.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Wednesday, March 09, 2022 14:24:43
    https://gitlab.synchro.net/main/sbbs/-/commit/608b6f10df03e30f6be5ab55
    Modified Files:
    exec/load/logonlist_lib.js
    Log Message:
    get() method supports reading entries from multiple days

    If days_ago argument is undefined (as is the case when performing
    a "last few callers" query/list), then pull upto the maximum last
    number of callers from previous days as necessary.

    Part of fix for issue #371

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