• exec/logonlist.js

    From Rob Swindell@VERT 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 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 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 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 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