• exec/load/presence_lib.js

    From rswindell@VERT to CVS commit on Thursday, January 10, 2019 07:26:00
    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 Thursday, January 10, 2019 10:34:00
    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 Thursday, January 10, 2019 11:28:00
    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 Thursday, January 10, 2019 11:54:00
    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 Thursday, January 10, 2019 13:55:00
    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 Thursday, January 10, 2019 18:29:00
    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 Friday, January 11, 2019 04:49:00
    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 Friday, January 11, 2019 06:50:00
    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 Friday, January 11, 2019 09:29:00
    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 Friday, January 25, 2019 08:34:00
    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 Thursday, May 09, 2019 08:00:00
    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 Thursday, September 26, 2019 02:47:09
    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 Rob Swindell@VERT to Git commit to sbbs/master on Wednesday, September 23, 2020 05:48:54
    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 Monday, September 28, 2020 01:12:52
    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