• exec/logonlist.js

    From rswindell@VERT to CVS commit on Thu Aug 15 16:37:20 2019
    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.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thu Aug 15 17:00:17 2019
    exec logonlist.js 1.2 1.3
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv14675

    Modified Files:
    logonlist.js
    Log Message:
    Don't display the system total logons if it's not populated.
    Support a 3-char "node num" (e.g. "Web").



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thu Sep 5 17:35:24 2019
    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.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Wed Oct 30 08:27:25 2019
    exec logonlist.js 1.4 1.5
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv9721

    Modified Files:
    logonlist.js
    Log Message:
    Don't 0-pad the hour as it does butt-up against the user's location.
    Renamed the option noone_logged_on_fmt to nobody_logged_on_fmt (grammar).



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Fri Apr 3 04:47:15 2020
    exec logonlist.js 1.5 1.6
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv24642

    Modified Files:
    logonlist.js
    Log Message:
    Beautification for listing logons from users with > 999 logons in a day (!).


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Wed Apr 22 08:56:38 2020
    exec logonlist.js 1.6 1.7
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv25024

    Modified Files:
    logonlist.js
    Log Message:
    Use the "Use Location in User Lists" system option to decide if the user's "location" or "note" is to be included in the displayed logon lists.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sun Apr 26 21:16:46 2020
    exec logonlist.js 1.7 1.8
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv22475

    Modified Files:
    logonlist.js
    Log Message:
    These steps (in comments) are no longer needed to enable in cmd shells.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sun Jun 21 10: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.



    ---
    þ 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 09: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 days

    If modopts.ini [logonlist] last_few_days is set (to a number), that will dictate 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.ini last_fwe_callers value).

    This should address issue (feature request) #371.

    ---
    þ 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 13: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 commit

    The default (when no argument to the '-l' option is provided) is to use
    the last_few_callers value from the modopts.ini file. This was broken.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT 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.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT 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

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT 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)

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