• exec/logonlist.js

    From rswindell@1:103/705 to CVS commit on Sun Jun 21 14:15:09 2020
    exec logonlist.js 1.8 1.9
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv7686

    Modified Files:
    logonlist.js
    Log Message:
    Use console.putmsg() rather than console.print() to display last_few_callers_msg, allowing sysop (Codefenix) to include a Ctrl-A" code
    to nest a display file in the list header.


    --- SBBSecho 3.11-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/5e428c35e1fef5b67c6ef689
    Modified Files:
    exec/logonlist.js
    Log Message:
    By default, '-l' (last few callers) option will pull from previous daysIf modopts.ini [logonlist] last_few_days is set (to a number), that willdictate the maximum number of previous days to pull last few callers from(e.g. set to '0' for previous behavior).Also, '-l' can now be used with a command-line option (e.g. '-l <num>')to specify the number of callers to display (overriding the modopts.inilast_fwe_callers value).This should address issue (feature request) #371.
    --- SBBSecho 3.15-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 18:31:19 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/958dac64ae56cd64dd794368
    Modified Files:
    exec/logonlist.js
    Log Message:
    Fix off-by-one error in previous commitThe default (when no argument to the '-l' option is provided) is to usethe last_few_callers value from the modopts.ini file. This was broken.
    --- 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:01:22 2023
    exec logonlist.js 1.3 1.4
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv11690

    Modified Files:
    logonlist.js
    Log Message:
    Only list the node if the record.total is non-null/zero/undefined/false.
    This exclude the "Web" node since "HTTP" is already listed as the protocol used, it's a bit redundant.


    --- SBBSecho 3.20-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 logonlist.js 1.1 1.2
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv11709

    Modified Files:
    logonlist.js
    Log Message:
    Include instructions for modifying command-shells to use this module
    (manual install step).
    Don't use the LastFewCallersFmt string from the text.dat, it requires a
    numeric node number and we want to support non-numeric (e.g. "W" for "Web") "nodes" here. This string, like the others, can be over-ridden via [logonlist] in ctrl/modopts.ini.


    --- 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 15:50:31 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/5b1d415ad1b5c49e6525e6f4
    Modified Files:
    exec/logonlist.js
    Log Message:
    If passing a non-zero integer, display logons from that many days ago

    Similar to -y option, but supports going further back than just yesterday.
    --- 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 16:07:49 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/b89eb698f7c1bdde12b0f1db
    Modified Files:
    exec/logonlist.js
    Log Message:
    Add some usage comments
    --- 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 Wed Jul 17 13:18:08 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/bc10c82c6d47d78820497e08
    Modified Files:
    exec/logonlist.js
    Log Message:
    Allow time format to be set via modopts.ini [logonlist] time_fmt

    ... in strftime format (https://cplusplus.com/reference/ctime/strftime/)

    If you (sysop) have last_few_callers_fmt set to a custom value in your modopts.ini, you'll need to update that format as a result of this change:
    the number and type of arguments have now changed: instead of the logon
    time be passed as hours and minutes (integers), it's now passed as a single
    a string. That string is the result of a call to strftime() with the time_fmt or (by default), "%H:%M".

    This change was made to accommodate request by NeoArata (THEREALM)
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)