• exec/nodelist.js

    From rswindell@VERT to CVS commit on Tuesday, January 08, 2019 07:09:00
    exec nodelist.js 1.4 1.5
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv31774

    Modified Files:
    nodelist.js
    Log Message:
    Almost a complete rewrite of this module. What was once just a simple nodelist example is now actually a functional replacement for the 'exec/node list' command (e.g. using 'jsexec nodelist') and a replacement for the hard-coded Ctrl-U (who's online) handler. To install, run 'jsexec nodelist install'. Supports modopts.ini [nodelist] settings (default to false):
    - include_age
    - include_gender
    Other than the new age/gender options, *should* function identically to the hard-coded nodelist() and whos_online() functions from getnode.cpp


    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tuesday, January 08, 2019 07:28:00
    exec nodelist.js 1.5 1.6
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv1583

    Modified Files:
    nodelist.js
    Log Message:
    Fixed typo in previous commit.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Friday, January 11, 2019 04:53:00
    exec nodelist.js 1.7 1.8
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv32761

    Modified Files:
    nodelist.js
    Log Message:
    Include web users in output unless the -noweb argument is specified or 'include_web_users' is set to false in the [nodelist] section of the modopts.ini
    Document the arguments supported in comments.
    It's no '-noself' instead of '-notself' to exclude own node from output.
    Also more/better "use strict" enforcement.


    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Friday, January 11, 2019 09:34:00
    exec nodelist.js 1.8 1.9
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv18517

    Modified Files:
    nodelist.js
    Log Message:
    Read the default web_inactivity value from modopts.ini [web] inactivity value. - this change is dependant on the updated load/modopts.js.
    Cache the presence_lib and nodelist options in the bbs.mods object to speed
    up the re-loading of this script from the BBS. This means that changes to the presence_lib or modopts.ini will require the user log-off/back-on to experience the changes (only for the nodelist module).



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thursday, May 09, 2019 08:04:00
    exec nodelist.js 1.10 1.11
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv16766

    Modified Files:
    nodelist.js
    Log Message:
    Added command-line options / load arguments:
    -clear Clear the screen (if possible) before list
    -home Home the cursor (if possible) before list
    -loop [n] Loop the list, delaying n seconds (default: 2.0 seconds)


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