• src/sbbs3/js_bbs.cpp

    From rswindell@VERT to CVS commit on Friday, July 27, 2018 01:49:00
    src/sbbs3 js_bbs.cpp 1.164 1.165
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv19847

    Modified Files:
    js_bbs.cpp
    Log Message:
    Created 2 new bbs methods: select_node() and select_user().
    These are wrappers for the C++ function: sbbs::getnodetopage() and will
    be used by the privatemsg.js (Ctrl-P handler) and possibly other node/user interaction stuff in the future.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Friday, July 27, 2018 02:27:00
    src/sbbs3 js_bbs.cpp 1.165 1.166
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv25132

    Modified Files:
    js_bbs.cpp
    Log Message:
    Fix long-time JSDOC error: bbs.good_password() returns Boolean, not String.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Friday, July 27, 2018 21:32:00
    src/sbbs3 js_bbs.cpp 1.166 1.167
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv1969

    Modified Files:
    js_bbs.cpp
    Log Message:
    New JS 'bbs' properties:
    node_status - reflects the current node's 'status' value (see nodedefs.js) node_errors - current node's error counter
    node_useron - current node's logged-in user number (if applicable, else 0) node_connection - current node's connection rate or protocol
    node_misc - see nodedefs.js
    node_aux - see nodedefs.js
    node_extaux - see nodedefs.js

    This are read-only wrappers around the sbbs_t::thisnode property and have
    the same fundamental meaning as the properties of the same names in the system.node_list[] array.

    bbs.node_action is a little different as it is the authorative action value that should be sync'd with the node database (node.dab) and not necessarily
    the current value in the node database - it's also writeable.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Friday, July 27, 2018 21:37:00
    src/sbbs3 js_bbs.cpp 1.167 1.168
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv4273

    Modified Files:
    js_bbs.cpp
    Log Message:
    Fix copy/paste errors in previous commit.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Friday, July 27, 2018 22:37:00
    src/sbbs3 js_bbs.cpp 1.168 1.169
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv11181

    Modified Files:
    js_bbs.cpp
    Log Message:
    bbs.put_telegram() enhancements (mostly copy/pasted from chat.cpp):
    - now creates a log entry that the user sent a telegram to somebody
    - if a destination user number is not specified, one is prompted for
    - the destination user number is compared against the current user's
    restrictions (e.g. F-restricted users can't telegram the sysop)
    - if a telegram message text is not specified, one is prompted for

    unrelated fix to bbs.list_msgs(): if a 'find' argument was passed, too many increments of argn in call to macro: JSVALUE_TO_MSTRING



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Friday, July 27, 2018 23:39:00
    src/sbbs3 js_bbs.cpp 1.169 1.170
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv21474

    Modified Files:
    js_bbs.cpp
    Log Message:
    Fixed a couple of issues with the last commit.
    Make similar enhancements to the bbs.put_node_message() method:
    - if you message text is given, it is prompted for
    - if no node number is given, it is prompted for
    - if a node number value of -1 is specified, send message to all nodes
    - logs the activity



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Razor@VERT/SILENT to rswindell on Sunday, July 29, 2018 00:34:00
    Re: src/sbbs3/js_bbs.cpp
    By: rswindell to CVS commit on Thu Jul 26 2018 06:49 pm

    Modified Files:
    js_bbs.cpp
    Created 2 new bbs methods: select_node() and select_user().

    Hey Rob, how long before stuff like this usually shows up on http://www.synchro.net/docs/jsobjs.html ?

    ---
    Synchronet The Silent Strike - bbs.thesilentstrike.com
  • From Digital Man@VERT to Razor on Sunday, July 29, 2018 03:29:00
    Re: src/sbbs3/js_bbs.cpp
    By: Razor to rswindell on Sat Jul 28 2018 05:34 pm

    Re: src/sbbs3/js_bbs.cpp
    By: rswindell to CVS commit on Thu Jul 26 2018 06:49 pm

    Modified Files:
    js_bbs.cpp
    Created 2 new bbs methods: select_node() and select_user().

    Hey Rob, how long before stuff like this usually shows up on http://www.synchro.net/docs/jsobjs.html ?

    I try to update jsobjs.html with each release (last being, v3.16c).

    digital man

    This Is Spinal Tap quote #40:
    Morty the Mime: Come on, don't talk back, mime is money, come on, move it. Norco, CA WX: 74.2F, 72.0% humidity, 3 mph SE wind, 0.00 inches rain/24hrs

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From echicken@VERT/ECBBS to Razor on Sunday, July 29, 2018 06:40:00
    Re: src/sbbs3/js_bbs.cpp
    By: Razor to rswindell on Sat Jul 28 2018 17:34:44

    Created 2 new bbs methods: select_node() and select_user().

    Hey Rob, how long before stuff like this usually shows up on http://www.synchro.net/docs/jsobjs.html ?

    For a more up to date version of that document, try the super-secret super special edition here:

    http://nix.synchro.net:7070/jsobjs.html

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
    Synchronet electronic chicken bbs - bbs.electronicchicken.com
  • From Razor@VERT/SILENT to Digital Man on Sunday, July 29, 2018 21:41:00
    Re: src/sbbs3/js_bbs.cpp
    By: Digital Man to Razor on Sat Jul 28 2018 08:29 pm

    I try to update jsobjs.html with each release (last being, v3.16c).

    Does this get updated in /sbbs/docs/jsobjs.html on CVS sooner, then?

    ---
    Synchronet The Silent Strike - bbs.thesilentstrike.com
  • From Razor@VERT/SILENT to echicken on Sunday, July 29, 2018 21:44:00
    Re: src/sbbs3/js_bbs.cpp
    By: echicken to Razor on Sat Jul 28 2018 11:40 pm

    For a more up to date version of that document, try the super-secret super special edition here:
    http://nix.synchro.net:7070/jsobjs.html

    Ahh, that looks like what I'm looking for! Thanks, echicken.

    ---
    Synchronet The Silent Strike - bbs.thesilentstrike.com
  • From Nightfox@VERT/DIGDIST to echicken on Monday, July 30, 2018 00:53:00
    Re: src/sbbs3/js_bbs.cpp
    By: echicken to Razor on Sat Jul 28 2018 11:40 pm

    Hey Rob, how long before stuff like this usually shows up on
    http://www.synchro.net/docs/jsobjs.html ?

    For a more up to date version of that document, try the super-secret super special edition here:

    http://nix.synchro.net:7070/jsobjs.html

    Is that maintained by you?

    Nightfox

    ---
    Synchronet Digital Distortion: digitaldistortionbbs.com
  • From echicken@VERT/ECBBS to Nightfox on Monday, July 30, 2018 06:16:00
    Re: src/sbbs3/js_bbs.cpp
    By: Nightfox to echicken on Sun Jul 29 2018 17:53:17

    http://nix.synchro.net:7070/jsobjs.html

    Is that maintained by you?

    No, nix.synchro.net is Deuce. I think that particular instance is updated daily/automatically, so those docs are always current.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
    Synchronet electronic chicken bbs - bbs.electronicchicken.com
  • From Digital Man@VERT to Razor on Monday, July 30, 2018 07:21:00
    Re: src/sbbs3/js_bbs.cpp
    By: Razor to Digital Man on Sun Jul 29 2018 02:41 pm

    Re: src/sbbs3/js_bbs.cpp
    By: Digital Man to Razor on Sat Jul 28 2018 08:29 pm

    I try to update jsobjs.html with each release (last being, v3.16c).

    Does this get updated in /sbbs/docs/jsobjs.html on CVS sooner, then?

    No, but it does on that nix.synchro.net link that echicken posted (Thanks, Deuce!).

    digital man

    Synchronet/BBS Terminology Definition #58:
    XOFF = Transmit Off (ASCII 19, Ctrl-S)
    Norco, CA WX: 74.9F, 70.0% humidity, 0 mph S wind, 0.00 inches rain/24hrs

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Friday, October 26, 2018 03:25:00
    src/sbbs3 js_bbs.cpp 1.172 1.173
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv18704

    Modified Files:
    js_bbs.cpp
    Log Message:
    bbs.menu() now returns Boolean (the menu file was displayed successfully)


    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Monday, January 07, 2019 20:59:00
    src/sbbs3 js_bbs.cpp 1.173 1.174
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv12027

    Modified Files:
    js_bbs.cpp
    Log Message:
    Add JSDOC descriptions for the bbs.node* properties added in rev 1.167 -
    this should fix the missing/misaligned 'bbs' property descriptions in jsobjs.html


    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Saturday, May 04, 2019 03:03:00
    src/sbbs3 js_bbs.cpp 1.184 1.185
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/home/rswindell/sbbs/src/sbbs3

    Modified Files:
    js_bbs.cpp
    Log Message:
    Resolved GCC error: 'js_bbs_class' was declared 'extern' and later 'static' MSVC had no problem with this. <sigh>



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tuesday, July 16, 2019 08:03:02
    src/sbbs3 js_bbs.cpp 1.185 1.186
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv13996

    Modified Files:
    js_bbs.cpp
    Log Message:
    Setting bit-31 of (SS_FASTLOGON) bbs.sys_status would result in a JavaScript error (e.g. can't convert 2147745800 to an integer), so use JS_ValueToECMAUint32() rather than JS_ValueToInt32() where we possibly need
    a full 32-bit value.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Friday, January 10, 2020 00:08:09
    src/sbbs3 js_bbs.cpp 1.187 1.188
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/home/rswindell/sbbs/src/sbbs3

    Modified Files:
    js_bbs.cpp
    Log Message:
    Report msgbase object related errors that cause the script to terminate.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Tuesday, December 01, 2020 03:37:37
    https://gitlab.synchro.net/main/sbbs/-/commit/6d9a27280fa52e05362f3efa
    Modified Files:
    src/sbbs3/js_bbs.cpp
    Log Message:
    Throw an exception in bbs.exec_xtrn() when passed no argument

    ... or when passed an invalid external program code or number, rather just just returning false. The underlying exec_xtrn() C++ function may return false (failure) for other reasons, so let's not obfuscate the other potential failure causes.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Friday, December 25, 2020 06:34:40
    https://gitlab.synchro.net/main/sbbs/-/commit/0c5a88e4b517a1a87d9f7159
    Modified Files:
    src/sbbs3/js_bbs.cpp
    Log Message:
    Add BBS property: msg_from_bbsid

    Exposes the FTN BBSID value from the message header (if there is one).

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Thursday, May 27, 2021 06:09:11
    https://gitlab.synchro.net/main/sbbs/-/commit/485440f1ea548f7362b26dbc
    Modified Files:
    src/sbbs3/js_bbs.cpp
    Log Message:
    New bbs.view_file(filename) method.

    To list/view file/archive contents.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Friday, May 28, 2021 06:33:42
    https://gitlab.synchro.net/main/sbbs/-/commit/536b7e227007cfb00af1865c
    Modified Files:
    src/sbbs3/js_bbs.cpp
    Log Message:
    Add bbs.export_filelist() method

    This is the last thing needed to complete the new temp/archive menu module implemented in JavaScript for v3.19.

    File list generation can easily be done in JS (see filelist.js for example), but since we have this function already in C++ (i.e. for including filelists in QWK packets) - might as well make it available for use in JS.

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