• exec/load/presence_lib.js

    From rswindell@VERT to CVS commit on Sun Mar 29 01:04:10 2020
    exec/load presence_lib.js 1.12 1.13
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv18183

    Modified Files:
    presence_lib.js
    Log Message:
    I/O optimization of the nodelist() method by using the (new to v3.17c) system.get_node() method of reading a node's data record (from node.dab).


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Tue Sep 22 22:48:54 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/85c57e8efa63af198a62aaa0
    Modified Files:
    exec/load/presence_lib.js
    Log Message:
    Node's "quiet mode" were not displayed to sysop in "active" node list

    e.g. Hitting Ctrl-U while online, any nodes in "quiet mode" would not
    be shown to the user even though that user was a sysop. This is not
    how sbbs_t::whos_online() from getnode.cpp behaves. Now changed to
    behave the same as whos_online().
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Sun Sep 27 18:12:52 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/801ebd0c4687e75d74ab154b
    Modified Files:
    exec/load/presence_lib.js
    Log Message:
    Resolve TypeError: session is undefined

    If you can't open the *.web file, don't attempt to add that session data
    to the returned users array.
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sat Apr 9 14:37:27 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/82b3374fb06d25637e723c33
    Modified Files:
    exec/load/presence_lib.js
    Log Message:
    Fix long-standing issue with external program name display

    Especially for Guest (G-Exempt) accounts which support multiple
    concurrent logons - the 'curxtrn' value stored in the user's record
    may not match the external program that was actually last executed
    on the node in question, so use the .aux property value (from
    node.dab) as is done in the C++ code (e.g. printnodedat()). This insures
    that the node_status() output here matches the C/C++ code output
    (e.g. when logging on the terminal server).

    Still support the 'code-based' external program name look-up since
    that usage is relied upon by other modules, but when a number is
    passed, use the number to find the right external progarm name
    (and we need to subtract one, since aux is a 1-based number).

    I've looked at this problem a couple of times before and not sure why
    I didn't see the solution. <shrug>
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net