-
src/sbbs3/js_bbs.cpp
From
rswindell@VERT to
CVS commit on Thu Jul 26 14:49:00 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.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Thu Jul 26 15:27:00 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.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Fri Jul 27 10:32:00 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.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Fri Jul 27 10:37:00 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.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Fri Jul 27 11:37:00 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
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Fri Jul 27 12:39:00 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
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
Razor@VERT/SILENT to
rswindell on Sat Jul 28 13:34:00 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
-
From
Digital Man@VERT to
Razor on Sat Jul 28 16:29:00 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
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
echicken@VERT/ECBBS to
Razor on Sat Jul 28 19:40:00 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
-
From
Razor@VERT/SILENT to
Digital Man on Sun Jul 29 10:41:00 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
-
From
Razor@VERT/SILENT to
echicken on Sun Jul 29 10:44:00 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
-
From
Nightfox@VERT/DIGDIST to
echicken on Sun Jul 29 13:53:00 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
-
From
echicken@VERT/ECBBS to
Nightfox on Sun Jul 29 19:16:00 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
-
From
Digital Man@VERT to
Razor on Sun Jul 29 20:21:00 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
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Thu Oct 25 16:25:00 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)
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Mon Jan 7 07:59:00 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
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Mon Feb 18 18:15:00 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.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Thu Apr 11 09:30:00 2019
src/sbbs3 js_bbs.cpp 1.180 1.181
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/tmp/cvs-serv20899
Modified Files:
js_bbs.cpp
Log Message:
Resolve MSVC warning about boolean conversion.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Fri May 3 16: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>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Mon Jul 15 21: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.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Thu Jan 9 11: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.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Sun Mar 1 10: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.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Thu Mar 19 21: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.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Thu Apr 23 21: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*'
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
Rob Swindell@VERT to
Git commit to main/sbbs/master on Mon Nov 30 14: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.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
Rob Swindell@VERT to
Git commit to main/sbbs/master on Thu Dec 24 17:34:40 2020
-
From
Rob Swindell@VERT to
Git commit to main/sbbs/master on Sun Feb 14 18:17:15 2021
-
From
Rob Swindell@VERT to
Git commit to main/sbbs/master on Sun Apr 4 09:38:22 2021
-
From
Rob Swindell@VERT to
Git commit to main/sbbs/master on Wed May 26 19:09:11 2021
-
From
Rob Swindell@VERT to
Git commit to main/sbbs/master on Thu May 27 19:33:42 2021
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 Sat Jan 1 18:27:55 2022
-
From
Rob Swindell (on ChromeOS)@VERT to
Git commit to main/sbbs/master on Sat Feb 25 21:54:11 2023
-
From
Rob Swindell (in GitKraken)@VERT to
Git commit to main/sbbs/master on Sun Feb 26 12:38:20 2023
-
From
Rob Swindell (on ChromeOS)@VERT 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 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 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 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 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 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 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".
---
þ 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 Tue Oct 31 22:20:02 2023
-
From
Rob Swindell (on Windows 11)@VERT to
Git commit to main/sbbs/master on Sat Dec 23 13:55:55 2023
-
From
Rob Swindell (on Windows 11)@VERT to
Git commit to main/sbbs/master on Tue Feb 6 12:35:50 2024
-
From
Rob Swindell (on Windows 11)@VERT to
Git commit to main/sbbs/master on Sat Mar 23 17:11:55 2024