• src/sbbs3/js_bbs.cpp

    From rswindell@VERT to CVS commit on Thursday, March 06, 2014 13:35:15
    src/sbbs3 js_bbs.cpp 1.146 1.147
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv2392

    Modified Files:
    js_bbs.cpp
    Log Message:
    Fix a few issues with js_rlogin_gate: use of uinitialized variable (fail), and avoid freeing NULL pointers when called without all the (optional) arguments.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From deuce@VERT to CVS commit on Wednesday, April 29, 2015 15:09:48
    src/sbbs3 js_bbs.cpp 1.148 1.149
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv14888

    Modified Files:
    js_bbs.cpp
    Log Message:
    Add JSDOC for bbs.rlogin_terminal



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Monday, August 17, 2015 00:04:04
    src/sbbs3 js_bbs.cpp 1.149 1.150
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv11870

    Modified Files:
    js_bbs.cpp
    Log Message:
    bbs.cursub_code and bbs.curdir_code property values will now be blank strings rather than 0 (a number) when the current sub-board or directory is invalid (e.g. no user logged in yet).


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From deuce@VERT to CVS commit on Friday, August 21, 2015 22:32:50
    src/sbbs3 js_bbs.cpp 1.150 1.151
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv26447

    Modified Files:
    js_bbs.cpp
    Log Message:
    Fix warnings.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From deuce@VERT to CVS commit on Saturday, January 09, 2016 23:06:46
    src/sbbs3 js_bbs.cpp 1.152 1.153
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv7746

    Modified Files:
    js_bbs.cpp
    Log Message:
    Work around crash in termination when running the JSDocs build. I've not
    seen this in a regular build, so I'm not sure if this is a "real bug" or
    not.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Wednesday, August 09, 2017 13:03:46
    src/sbbs3 js_bbs.cpp 1.154 1.155
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/home/rswindell/sbbs/src/sbbs3

    Modified Files:
    js_bbs.cpp
    Log Message:
    Bug-fix for previous commit.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Wednesday, August 09, 2017 13:18:42
    src/sbbs3 js_bbs.cpp 1.155 1.156
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv8158

    Modified Files:
    js_bbs.cpp
    Log Message:
    bbs.check_syspass() now accepts an optional 'sys_pw' argument. If supplied, password is not prompted for, otherwise, the behavior is the same as before (the SY: prompt is displayed and the system password must be entered by the user).


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Lord Time@VERT/TIME to rswindell on Wednesday, August 09, 2017 14:16:38
    src/sbbs3 js_bbs.cpp 1.155 1.156
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv8158

    Modified Files:
    js_bbs.cpp
    Log Message:
    bbs.check_syspass() now accepts an optional 'sys_pw' argument. If supplied, password is not prompted for, otherwise, the behavior is the same as before (the SY: prompt is displayed and the system password must be entered by the user).



    you can't do this (today updates) - lol I just got the 8/3/17 dev_build in (yesterday)



    ---

    Rob Starr
    Lord Time SysOp of
    Time Warp of the Future BBS
    Telnet://Time.Darktech.Org:24 or
    Telnet://Time.Synchro.Net:24 (qwk or ftn & e-mail)
    ICQ # 11868133 or # 70398519 Jabber : lordtime2000@gmail.com
    Yahoo : lordtime2000 AIM : LordTime20000 Astra : lord_time
    X-Box : Lord Time 2000 oovoo : lordtime2000 Skype : lordtime@tds.net
    ---
    þ Synchronet þ Time Warp of the Future BBS - Home of League 10 IBBS Games
  • From Digital Man@VERT to Lord Time on Wednesday, August 09, 2017 17:10:19
    Re: Re: src/sbbs3/js_bbs.cpp
    By: Lord Time to rswindell on Wed Aug 09 2017 02:16 pm

    src/sbbs3 js_bbs.cpp 1.155 1.156
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv8158

    Modified Files:
    js_bbs.cpp
    Log Message:
    bbs.check_syspass() now accepts an optional 'sys_pw' argument. If supplied, password is not prompted for, otherwise, the behavior is the same as before (the SY: prompt is displayed and the system password must be entered by the user).



    you can't do this (today updates) - lol I just got the 8/3/17 dev_build in (yesterday)

    Unless you plan to make some custom JS login module(s), you don't need the update, so don't rush. :-)

    digital man

    Synchronet/BBS Terminology Definition #23:
    FSP = FidoNet Standards Proposal
    Norco, CA WX: 87.1øF, 42.0% humidity, 13 mph E wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Lord Time@VERT/TIME to Digital Man on Wednesday, August 09, 2017 21:11:21
    Re: Re: src/sbbs3/js_bbs.cpp
    By: Lord Time to rswindell on Wed Aug 09 2017 02:16 pm

    src/sbbs3 js_bbs.cpp 1.155 1.156
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv8158

    Modified Files:
    js_bbs.cpp
    Log Message:
    bbs.check_syspass() now accepts an optional 'sys_pw' argument. If supplied, password is not prompted for, otherwise, the behavior is the same as before (the SY: prompt is displayed and the system password must be entered by the user).


    you can't do this (today updates) - lol I just got the 8/3/17 dev_build in (yesterday)

    Unless you plan to make some custom JS login module(s), you don't need the update, so don't rush. :-)

    not going to make any, just want to keep up and find any bugs


    ---

    Rob Starr
    Lord Time SysOp of
    Time Warp of the Future BBS
    Telnet://Time.Darktech.Org:24 or
    Telnet://Time.Synchro.Net:24 (qwk or ftn & e-mail)
    ICQ # 11868133 or # 70398519 Jabber : lordtime2000@gmail.com
    Yahoo : lordtime2000 AIM : LordTime20000 Astra : lord_time
    X-Box : Lord Time 2000 oovoo : lordtime2000 Skype : lordtime@tds.net
    ---
    þ Synchronet þ Time Warp of the Future BBS - Home of League 10 IBBS Games
  • From Kirkman@VERT/GUARDIAN to rswindell on Thursday, August 10, 2017 08:53:48
    Re: src/sbbs3/js_bbs.cpp
    By: rswindell to CVS commit on Wed Aug 09 2017 01:18 pm

    bbs.check_syspass() now accepts an optional 'sys_pw' argument. If supplied, password is not prompted for, otherwise, the behavior is the same as before (the SY: prompt is displayed and the system password must be entered by the user).

    I tried the new code yesterday.

    I'm having success with normal logins:
    loginAttempt = bbs.login( userNum, null, password );


    But I'm NOT having success with the system password:

    loginAttempt = bbs.login( userNum, null, password, systemPassword );
    or:
    sysPassAttempt = bbs.check_syspass( systemPassword );


    The methods return false each time, even though I have debugged and verified I'm passing in the correct system password.

    --Josh

    ////--------------------------------------------------
    BiC -=- http://breakintochat.com -=- bbs wiki and blog

    ---
    þ Synchronet
  • From Digital Man@VERT to Kirkman on Thursday, August 10, 2017 10:32:36
    Re: src/sbbs3/js_bbs.cpp
    By: Kirkman to rswindell on Thu Aug 10 2017 08:53 am

    Re: src/sbbs3/js_bbs.cpp
    By: rswindell to CVS commit on Wed Aug 09 2017 01:18 pm

    bbs.check_syspass() now accepts an optional 'sys_pw' argument. If supplied, password is not prompted for, otherwise, the behavior is the same as before (the SY: prompt is displayed and the system password must be entered by the user).

    I tried the new code yesterday.

    I'm having success with normal logins:
    loginAttempt = bbs.login( userNum, null, password );


    But I'm NOT having success with the system password:

    loginAttempt = bbs.login( userNum, null, password, systemPassword );
    or:
    sysPassAttempt = bbs.check_syspass( systemPassword );


    The methods return false each time, even though I have debugged and verified I'm passing in the correct system password.

    Thanks for the test feedback. I'll give it a go and see what I find.

    digital man

    Synchronet/BBS Terminology Definition #36:
    NUL = ASCII 0
    Norco, CA WX: 84.3øF, 52.0% humidity, 2 mph NNW wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Digital Man@VERT to Kirkman on Thursday, August 10, 2017 10:42:32
    Re: src/sbbs3/js_bbs.cpp
    By: Digital Man to Kirkman on Thu Aug 10 2017 10:32 am

    Re: src/sbbs3/js_bbs.cpp
    By: Kirkman to rswindell on Thu Aug 10 2017 08:53 am

    Re: src/sbbs3/js_bbs.cpp
    By: rswindell to CVS commit on Wed Aug 09 2017 01:18 pm

    bbs.check_syspass() now accepts an optional 'sys_pw' argument. If supplied, password is not prompted for, otherwise, the behavior is the same as before (the SY: prompt is displayed and the system password must be entered by the user).

    I tried the new code yesterday.

    I'm having success with normal logins:
    loginAttempt = bbs.login( userNum, null, password );


    But I'm NOT having success with the system password:

    loginAttempt = bbs.login( userNum, null, password, systemPassword ); or:
    sysPassAttempt = bbs.check_syspass( systemPassword );


    The methods return false each time, even though I have debugged and verified I'm passing in the correct system password.

    Thanks for the test feedback. I'll give it a go and see what I find.

    It appears to be working for me. One thing that might be tripping you up: the string comparison in check_syspass() is case-sensitive, so you'll need to do your own upper-case conversion since the system password is forced to uppercase everywhere else. I guess I'll go ahead and make that a case-insensitive string compare.

    digital man

    Synchronet "Real Fact" #36:
    Synchronet's Windows DLLs are built with Microsoft Visual Studio/C++.
    Norco, CA WX: 84.7øF, 49.0% humidity, 3 mph ESE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Kirkman@VERT/GUARDIAN to Digital Man on Thursday, August 10, 2017 21:25:31
    It appears to be working for me. One thing that might be tripping you up: the string comparison in check_syspass() is case-sensitive, so you'll need to do your own upper-case conversion since the system password is forced to uppercase everywhere else.

    That's exactly what it was. I didn't realize it needed to be uppercase.

    --Josh

    ////--------------------------------------------------
    BiC -=- http://breakintochat.com -=- bbs wiki and blog

    ---
    þ Synchronet
  • From rswindell@VERT to CVS commit on Sunday, January 07, 2018 15:08:43
    src/sbbs3 js_bbs.cpp 1.156 1.157
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv7246

    Modified Files:
    js_bbs.cpp
    Log Message:
    Fix some JSDOC property description typos.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Monday, February 19, 2018 22:32:37
    src/sbbs3 js_bbs.cpp 1.159 1.160
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv9960

    Modified Files:
    js_bbs.cpp
    Log Message:
    Fix Coverity-scan reported "Resource leak" in JS bbs.cmdstr().
    Luckily, it doesn't appear anyone actually uses this function.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Friday, February 23, 2018 10:57:36
    src/sbbs3 js_bbs.cpp 1.161 1.162
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv19885

    Modified Files:
    js_bbs.cpp
    Log Message:
    Move the additional free() call that was added to bbs.replace_text(), otherwise we are always freeing the pointer that was asigned the text.dat list and things will crash (thanks for the report, Rastus).


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thursday, July 26, 2018 18:49:52
    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 Thursday, July 26, 2018 19:27:24
    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 14:32:58
    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 14:37:17
    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 15:37:55
    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 16:39:22
    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 Saturday, July 28, 2018 17:34:44
    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 Saturday, July 28, 2018 20:29:33
    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.2øF, 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 Saturday, July 28, 2018 23:40:47
    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 14:41:11
    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 14:44:12
    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 Sunday, July 29, 2018 17:53:17
    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 Sunday, July 29, 2018 23:16:24
    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 00:21:56
    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.9øF, 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 Thursday, October 25, 2018 20:25:27
    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 12:59:56
    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 Monday, February 18, 2019 23:15:29
    src/sbbs3 js_bbs.cpp 1.175 1.176
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv17813

    Modified Files:
    js_bbs.cpp
    Log Message:
    Fix bbs.post_msg() JSDOC description: mode defaults to WM_NONE, not WM_MODE. Renamed js_postmsg() -> js_post_msg() for good measure.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Friday, May 03, 2019 20:03:05
    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 01: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 Thursday, January 09, 2020 16: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 rswindell@VERT to CVS commit on Sunday, March 01, 2020 15:30:26
    src/sbbs3 js_bbs.cpp 1.188 1.189
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv8335

    Modified Files:
    js_bbs.cpp
    Log Message:
    "null" is an object (according to JSVAL_IS_OBJECT) but can't be converted
    to an object with JSVAL_TO_OBJECT(). Go figure.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Friday, March 20, 2020 01:14:51
    src/sbbs3 js_bbs.cpp 1.189 1.190
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv20500

    Modified Files:
    js_bbs.cpp
    Log Message:
    New bbs method: change_msg_attr() for changing a message's attributes
    Fixed some JSDOC strings.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Friday, April 24, 2020 01:33:58
    src/sbbs3 js_bbs.cpp 1.193 1.194
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/home/rswindell/sbbs/src/sbbs3

    Modified Files:
    js_bbs.cpp
    Log Message:
    Resolve gcc warning: ISO C++ forbids converting a string constant to 'char*'



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Monday, November 30, 2020 19: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 Thursday, December 24, 2020 22: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 Sunday, February 14, 2021 23:17:15
    https://gitlab.synchro.net/main/sbbs/-/commit/829b425a66a9a9a19bca692e
    Modified Files:
    src/sbbs3/js_bbs.cpp
    Log Message:
    Fix memory leaks in error paths of js_show_msg_header()

    Identified by Coverity.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sunday, April 04, 2021 13:38:22
    https://gitlab.synchro.net/main/sbbs/-/commit/f576cbc69be99cfff5adace5
    Modified Files:
    src/sbbs3/js_bbs.cpp
    Log Message:
    Fix unsigned int compare to negative - caught by Coverity-scan

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Wednesday, May 26, 2021 23: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 Thursday, May 27, 2021 23: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
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Saturday, January 01, 2022 23:27:55
    https://gitlab.synchro.net/main/sbbs/-/commit/d8dcfa98fdb2d26137dcfaa5
    Modified Files:
    src/sbbs3/js_bbs.cpp
    Log Message:
    Resolve GCC warning

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on ChromeOS)@VERT to Git commit to main/sbbs/master on Saturday, February 25, 2023 21:54:11
    https://gitlab.synchro.net/main/sbbs/-/commit/4bf1af95762799dd9ebcc75c
    Modified Files:
    src/sbbs3/js_bbs.cpp
    Log Message:
    Create bbs.batch_clear() method

    Pass argument of 'true' to clear upload queue, otherwise download queue
    is cleared.

    This fixes issue #488

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (in GitKraken)@VERT to Git commit to main/sbbs/master on Sunday, February 26, 2023 12:38:20
    https://gitlab.synchro.net/main/sbbs/-/commit/eb8ecbae6e4391883338181d
    Modified Files:
    src/sbbs3/js_bbs.cpp
    Log Message:
    Fix typo in JSDOC help for batch_clear() method.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on ChromeOS)@VERT to Git commit to main/sbbs/master on Sunday, March 05, 2023 19:12:15
    https://gitlab.synchro.net/main/sbbs/-/commit/7a5c6e363d8874a5a4943800
    Modified Files:
    src/sbbs3/js_bbs.cpp
    Log Message:
    Add JS bbs methods: save_msg_scan() and reload_msg_scan()

    These methods aren't normally needed (msg scan config/ptrs are
    automatically loaded upon logon and saved upon logoff), but for users
    (e.g. sysops) that can be logged-in concurrently or experimenting with
    scans, these methods can be useful and I plan to expose in a loadable
    module next.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on ChromeOS)@VERT to Git commit to main/sbbs/master on Saturday, March 11, 2023 14:09:39
    https://gitlab.synchro.net/main/sbbs/-/commit/c9e2c1fbbc5c573e4ad6b08c
    Modified Files:
    src/sbbs3/js_bbs.cpp
    Log Message:
    bbs.logoff() now returns a boolean: false if log-off was denied

    Previously, there was no good way for the caller to determine if the\
    user opted (when prompted) to actually log-off or not.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Wednesday, March 15, 2023 23:54:43
    https://gitlab.synchro.net/main/sbbs/-/commit/fbf99ab6addaae3794c52c91
    Modified Files:
    src/sbbs3/js_bbs.cpp
    Log Message:
    Add 'first_node' and 'last_node' properties to JS bbs object

    This allows scripts (e.g. login.js) to have custom behavior (e.g. shortening the maximum inactivity timeout) based on how close the current node is to the configured last node number. There may be other uses too, but for the vast majority of Synchronet systems, first_node will always be 1 and last_node the same as system.nodes/lastnode. Ugh, inconsistent naming. :-(

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Saturday, December 23, 2023 13:55:55
    https://gitlab.synchro.net/main/sbbs/-/commit/9896f220e68d1b8379b08840
    Modified Files:
    src/sbbs3/js_bbs.cpp
    Log Message:
    Address cppcheck false positive

    error: Uninitialized struct member: node.misc [uninitStructMember]

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Tuesday, February 06, 2024 12:35:50
    https://gitlab.synchro.net/main/sbbs/-/commit/90b93e4a1eb53532faca437a
    Modified Files:
    src/sbbs3/js_bbs.cpp
    Log Message:
    Support optional msg_header argument to bbs.expand_atcodes()

    For Nightfox's use in DDMsgReader.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Saturday, March 23, 2024 17:11:55
    https://gitlab.synchro.net/main/sbbs/-/commit/ec3f6c0d2baa5d9f90a3e70f
    Modified Files:
    src/sbbs3/js_bbs.cpp
    Log Message:
    Fix CID 486181: Resource leak (RESOURCE_LEAK)

    A couple of error paths in expand_atcodes() method could leak heap memory.

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