• exec/load/logonlist_lib.js

    From rswindell@VERT to CVS commit on Thu Aug 15 23:45:11 2019
    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 Fri Aug 16 00:57:29 2019
    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 Tue Mar 16 14:04:13 2021
    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 Wed Mar 9 14:24:43 2022
    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