-
src/sbbs3/js_bbs.cpp
From
rswindell@1:103/705 to
CVS commit on Sun Jan 7 15:08:43 2018
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.
--- SBBSecho 3.03-Win32
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
rswindell@1:103/705 to
CVS commit on Mon Feb 19 22:32:37 2018
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.
--- SBBSecho 3.03-Win32
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
rswindell@1:103/705 to
CVS commit on Fri Feb 23 10:57:36 2018
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).
--- SBBSecho 3.03-Win32
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
rswindell@1:103/705 to
CVS commit on Thu Jul 26 18:49:52 2018
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.
--- SBBSecho 3.05-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
rswindell@1:103/705 to
CVS commit on Thu Jul 26 19:27:24 2018
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.
--- SBBSecho 3.05-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
rswindell@1:103/705 to
CVS commit on Fri Jul 27 14:32:58 2018
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.
--- SBBSecho 3.05-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
rswindell@1:103/705 to
CVS commit on Fri Jul 27 14:37:17 2018
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.
--- SBBSecho 3.05-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
rswindell@1:103/705 to
CVS commit on Fri Jul 27 15:37:55 2018
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
--- SBBSecho 3.05-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
rswindell@1:103/705 to
CVS commit on Fri Jul 27 16:39:22 2018
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
--- SBBSecho 3.05-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
Razor@1:103/705 to
rswindell on Sat Jul 28 17:34:44 2018
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
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
Digital Man@1:103/705 to
Razor on Sat Jul 28 20:29:33 2018
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
--- SBBSecho 3.05-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
echicken@1:103/705 to
Razor on Sat Jul 28 23:40:47 2018
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
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
Razor@1:103/705 to
Digital Man on Sun Jul 29 14:41:11 2018
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
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
Razor@1:103/705 to
echicken on Sun Jul 29 14:44:12 2018
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
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
Nightfox@1:103/705 to
echicken on Sun Jul 29 17:53:17 2018
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
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
echicken@1:103/705 to
Nightfox on Sun Jul 29 23:16:24 2018
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
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
Digital Man@1:103/705 to
Razor on Mon Jul 30 00:21:56 2018
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
--- SBBSecho 3.05-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
rswindell@1:103/705 to
CVS commit on Thu Oct 25 20:25:27 2018
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)
--- 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 12:59:56 2019
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
--- SBBSecho 3.06-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
rswindell@1:103/705 to
CVS commit on Mon Feb 18 23:15:29 2019
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.
--- SBBSecho 3.06-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
rswindell@1:103/705 to
CVS commit on Fri May 3 20:03:05 2019
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>
--- SBBSecho 3.07-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
rswindell@1:103/705 to
CVS commit on Tue Jul 16 01:03:02 2019
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.
--- SBBSecho 3.07-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
rswindell@1:103/705 to
CVS commit on Thu Jan 9 16:08:09 2020
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.
--- SBBSecho 3.10-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
rswindell@1:103/705 to
CVS commit on Sun Mar 1 15:30:26 2020
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.
--- SBBSecho 3.10-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
rswindell@1:103/705 to
CVS commit on Fri Mar 20 01:14:51 2020
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.
--- SBBSecho 3.10-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
rswindell@1:103/705 to
CVS commit on Fri Apr 24 01:33:58 2020
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*'
--- SBBSecho 3.10-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
Rob Swindell@1:103/705 to
Git commit to main/sbbs/master on Mon Nov 30 19:37:37 2020
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.
--- SBBSecho 3.11-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
Rob Swindell@1:103/705 to
Git commit to main/sbbs/master on Thu Dec 24 22:34:40 2020
-
From
Rob Swindell@1:103/705 to
Git commit to main/sbbs/master on Sun Feb 14 23:17:15 2021
-
From
Rob Swindell@1:103/705 to
Git commit to main/sbbs/master on Sun Apr 4 13:38:22 2021
-
From
Rob Swindell@1:103/705 to
Git commit to main/sbbs/master on Wed May 26 23:09:11 2021
-
From
Rob Swindell@1:103/705 to
Git commit to main/sbbs/master on Thu May 27 23:33:42 2021
https://gitlab.synchro.net/main/sbbs/-/commit/536b7e227007cfb00af1865c
Modified Files:
src/sbbs3/js_bbs.cpp
Log Message:
Add bbs.export_filelist() methodThis 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.
--- SBBSecho 3.14-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
Rob Swindell@1:103/705 to
Git commit to main/sbbs/master on Sat Jan 1 23:27:55 2022
-
From
Rob Swindell (on ChromeOS)@1:103/705 to
Git commit to main/sbbs/master on Sat Feb 25 21:54:11 2023
-
From
Rob Swindell (in GitKraken)@1:103/705 to
Git commit to main/sbbs/master on Sun Feb 26 12:38:20 2023
-
From
Rob Swindell (on ChromeOS)@1:103/705 to
Git commit to main/sbbs/master on Sun Mar 5 19:12:15 2023
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 areautomatically loaded upon logon and saved upon logoff), but for users(e.g. sysops) that can be logged-in concurrently or experimenting withscans, these methods can be useful and I plan
to expose in a loadablemodule next.
--- SBBSecho 3.20-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
Rob Swindell (on ChromeOS)@1:103/705 to
Git commit to main/sbbs/master on Sat Mar 11 14:09:39 2023
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 deniedPreviously, there was no good way for the caller to determine if the\user opted (when prompted) to actually log-off or not.
--- SBBSecho 3.20-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
Rob Swindell (on Debian Linux)@1:103/705 to
Git commit to main/sbbs/master on Wed Mar 15 23:54:43 2023
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 objectThis allows scripts
(e.g. login.js) to have custom behavior (e.g. shorteningthe maximum inactivity timeout) based on how close the current node is to theconfigured last node number. There may be other uses too, but for the vastmajority of Synchronet systems, first_node will always be 1 and last_node thesame as system.nodes/lastnode. Ugh, inconsistent naming. :-(
--- SBBSecho 3.20-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
Rob Swindell (on Windows 11)@1:103/705 to
Git commit to main/sbbs/master on Tue Oct 31 22:06:16 2023
https://gitlab.synchro.net/main/sbbs/-/commit/27d5fb9a275478e4579a03e3
Modified Files:
src/sbbs3/js_bbs.cpp
Log Message:
Multi-language support
New method: bbs.load_user_text() to load/reload user's language file. The user's select language file (if there is one) is automatically loaded upon logon to the terminal server, but if the user changes their language
(e.g. via user_settings.js), we needed a way to force re-load of the language text. This is the way.
bbs.text() now accepts an optional second (bool) argument that if true, will return a string from the default language strings (in text.dat), and not a string from any alternate language files (ctrl/text.*.ini) that might've been loaded. This allows user_settings.js to always get the name of the default language string (LANG), e.g. "English".
--- SBBSecho 3.20-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
Rob Swindell (on Windows 11)@1:103/705 to
Git commit to main/sbbs/master on Tue Oct 31 22:20:02 2023
-
From
Rob Swindell (on Windows 11)@1:103/705 to
Git commit to main/sbbs/master on Sat Dec 23 13:55:55 2023
-
From
Rob Swindell (on Windows 11)@1:103/705 to
Git commit to main/sbbs/master on Tue Feb 6 12:35:50 2024
-
From
Rob Swindell (on Windows 11)@1:103/705 to
Git commit to main/sbbs/master on Sat Mar 23 17:11:55 2024