• exec/load/presence_lib.js

    From rswindell@VERT to CVS commit on Wed Jan 9 18:26:00 2019
    exec/load presence_lib.js NONE 1.1
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv27151

    Added Files:
    presence_lib.js
    Log Message:
    New library for user presence (e.g. node listings, who's online) reporting. Migrated mostly from exec/nodelist.js, some from fingerservice.js.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Wed Jan 9 21:34:00 2019
    exec/load presence_lib.js 1.1 1.2
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv21971

    Modified Files:
    presence_lib.js
    Log Message:
    Added a web_users() method to return an array of active web users. This is derived from a portion of ecwebv4's ndoelist.js.
    TODO (echicken, help!): fill-out the 'action' property from the web session and double-check on the logontime value (can we get this from the session blob?).


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Wed Jan 9 22:28:00 2019
    exec/load presence_lib.js 1.2 1.3
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv27668

    Modified Files:
    presence_lib.js
    Log Message:
    Added web_user_misc() method.
    Added properties to web_user object: do_not_disturb and msg_waiting


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Wed Jan 9 22:54:00 2019
    exec/load presence_lib.js 1.3 1.4
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv3903

    Modified Files:
    presence_lib.js
    Log Message:
    Check the data/msgs/*.msg file size (> 0) rather than just existence.
    0-byte .msg files are normal and do not mean a msg is waiting for the user.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From echicken@VERT to CVS commit on Thu Jan 10 00:55:00 2019
    exec/load presence_lib.js 1.4 1.5
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv20264

    Modified Files:
    presence_lib.js
    Log Message:
    Get web user's action from session file if possible.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thu Jan 10 05:29:00 2019
    exec/load presence_lib.js 1.5 1.6
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv7842

    Modified Files:
    presence_lib.js
    Log Message:
    Fix usernum parsing bug in web_users():
    numbers beginning w/0 are interpretted as octal by parseInt() by default.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thu Jan 10 15:49:00 2019
    exec/load presence_lib.js 1.6 1.7
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv31715

    Modified Files:
    presence_lib.js
    Log Message:
    Include web users in nodelist() output unless options.include_web_users = false Provide better example of constructing/using User objects.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thu Jan 10 17:50:00 2019
    exec/load presence_lib.js 1.7 1.8
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv31604

    Modified Files:
    presence_lib.js
    Log Message:
    Allow the web user action verb to be configurable via options.web_browsing (default: 'browsing' - to match web UI verbiage).



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thu Jan 10 20:29:00 2019
    exec/load presence_lib.js 1.8 1.9
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv17845

    Modified Files:
    presence_lib.js
    Log Message:
    Automatically exclude 0-aged users and blank genders from the output
    of the user_age_and_gender() method.
    Changed options.web_inactivity_timeout to just options.web_inactivity to be more consistent with the existing modopts.ini [web] option naming.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thu Jan 24 19:34:00 2019
    exec/load presence_lib.js 1.9 1.10
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv29743

    Modified Files:
    presence_lib.js
    Log Message:
    web_user_status() now accepts the 'browsing' word as the second argument and web_users() doesn't expect a 'browsing' argument.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Wed May 8 21:00:15 2019
    exec/load presence_lib.js 1.10 1.11
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv16214

    Modified Files:
    presence_lib.js
    Log Message:
    Fix: the NODE_LOGOUT status was not accounted for.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Wed Sep 25 15:47:09 2019
    exec/load presence_lib.js 1.11 1.12
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv30859

    Modified Files:
    presence_lib.js
    Log Message:
    Quick hack for Alterego to support custom/extended node status text.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sat Mar 28 21: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 18: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 14: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 10: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
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Sun Dec 8 04:11:19 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/5e2d0074ac70d740b35a0cce
    Modified Files:
    exec/load/presence_lib.js
    Log Message:
    Insert stats prefix after activity, in case it contains attr codes

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