• exec/load/logonlist_lib.js

    From Rob Swindell@1:103/705 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 maintFix for Altere's logons yesterday list that isn't rotating out because nobodylogged on today.
    --- SBBSecho 3.13-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 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 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 Fri Oct 20 20:19:52 2023
    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)
  • From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Sun Jun 9 17:51:13 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/8307cbeaea8c402f5b7bda6c
    Modified Files:
    exec/load/logonlist_lib.js
    Log Message:
    When pulling from previous days to fulfill the "last few callers list", insert

    Insert (using unshift) to the beginning of the list, rather than append (using push) to the end of the list.

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