• exec/load/presence_lib.js

    From rswindell@1:103/705 to CVS commit on Wed Jan 9 23:26:31 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.


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Thu Jan 10 02:34:53 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?).

    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Thu Jan 10 03:28:04 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

    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Thu Jan 10 03:54:44 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.


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to CVS commit on Thu Jan 10 05:55:59 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.


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Thu Jan 10 10:29:43 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.


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Thu Jan 10 20:49:29 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.

    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Thu Jan 10 22:50:39 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).


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Fri Jan 11 01:29:12 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.

    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Fri Jan 25 00:34:54 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.


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Thu May 9 01: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.

    --- SBBSecho 3.07-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Wed Sep 25 19: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.


    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 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).


    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 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 liste.g. Hitting Ctrl-U while online, any nodes in "quiet mode" would notbe shown to the
    user even though that user was a sysop. This is nothow sbbs_t::whos_online() from getnode.cpp behaves. Now changed tobehave the same as whos_online().
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 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 undefinedIf you can't open the *.web file, don't attempt to add that session datato the returned users array.
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 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 displayEspecially for Guest (G-Exempt) accounts which support multipleconcurrent logons - the 'curxtrn' value stored in the user's recordmay not match the external program that was actually last executedon the node in question, so use the .aux property value (fromnode.dab) as is done in the C++ code (e.g. printnodedat()). This insuresthat 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 sincethat usage is relied upon by other modules, but when a number ispassed, 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 whyI didn't see the solution. <shrug>
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)