• exec/nodelist.js

    From rswindell@1:103/705 to CVS commit on Mon Jan 7 23:09:56 2019
    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

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


    --- 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:53:15 2019
    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.

    --- 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:34:48 2019
    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).


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Tue Jan 29 02:29:34 2019
    exec nodelist.js 1.9 1.10
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv23188

    Modified Files:
    nodelist.js
    Log Message:
    Use the nodelist_options.js library for easy caching of the nodelist options (in bbs.mods).

    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Ragnarok@1:103/705 to rswindell on Tue Jan 29 11:41:46 2019
    Re: exec/nodelist.js
    By: rswindell to CVS commit on Tue Jan 29 2019 02:29:34

    exec nodelist.js 1.9 1.10
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv23188

    Modified Files:
    nodelist.js
    Log Message:
    Use the nodelist_options.js library for easy caching of the nodelist options (in bbs.mods).

    i cannot find this file in the cvs

    saludos!


    Ragnarok
    ---
    Dock sud BBS
    http://bbs.docksud.com.ar
    ■ Synchronet ■ Dock Sud BBS TLD 24 HS - http://bbs.docksud.com.ar - telnet://bbs.docksud.com.ar
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Ragnarok on Tue Jan 29 14:49:30 2019
    Re: exec/nodelist.js
    By: Ragnarok to rswindell on Tue Jan 29 2019 11:41 am

    Re: exec/nodelist.js
    By: rswindell to CVS commit on Tue Jan 29 2019 02:29:34

    exec nodelist.js 1.9 1.10
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv23188

    Modified Files:
    nodelist.js
    Log Message:
    Use the nodelist_options.js library for easy caching of the nodelist options (in bbs.mods).

    i cannot find this file in the cvs

    Thanks, just added it (nodelist_options.js) to the load dir.

    digital man

    Synchronet/BBS Terminology Definition #68:
    UART = Universal Asynchronous Receiver/Transmitter
    Norco, CA WX: 69.8°F, 42.0% humidity, 5 mph ENE wind, 0.00 inches rain/24hrs --- 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:04:18 2019
    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)

    --- SBBSecho 3.07-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)