• exec/load/logonlist_lib.js

    From Rob Swindell@1:103/705 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 daysIf days_ago argument is undefined (as is the case when performinga "last few callers" query/list), then pull upto the maximum lastnumber of callers from previous days as necessary.Part of fix for issue #371
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Friday, October 20, 2023 20:19:52
    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).


    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)