• exec/logonlist.js

    From rswindell to CVS commit on Monday, April 27, 2020 01:16:46
    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.

  • From rswindell to CVS commit on Sunday, June 21, 2020 14:15:09
    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.


  • From Rob Swindell to Git commit to main/sbbs/master on Wednesday, March 09, 2022 14:24:43
    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.
  • From Rob Swindell to Git commit to main/sbbs/master on Wednesday, March 09, 2022 18:31:19
    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.
  • From Rob Swindell (on Debian Linux) to Git commit to main/sbbs/master on Sunday, June 09, 2024 15:50:31
    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.
  • From Rob Swindell (on Debian Linux) to Git commit to main/sbbs/master on Sunday, June 09, 2024 16:07:49
    https://gitlab.synchro.net/main/sbbs/-/commit/b89eb698f7c1bdde12b0f1db
    Modified Files:
    exec/logonlist.js
    Log Message:
    Add some usage comments
  • From Rob Swindell (on Debian Linux) to Git commit to main/sbbs/master on Wednesday, July 17, 2024 13:18:08
    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)