- Aug 08, 2024
-
-
Rob Swindell authored
And really, more importantly, the msg header field_list array length would always be interpretted as 0-length! ... introduced in commit 54523145
-
Rob Swindell authored
... introduced in commit 54523145
-
Rob Swindell authored
Include -pause and -loop options in usage help output. Don't delay (sleep) one second when looping and -pause option is used. Flush the output before waiting for key-press (-pause option is used). This should all address issue #365. Sorry for the long wait.
-
Rob Swindell authored
This is helpful when auto-starting a download using the user's pre-selected default download protocol, reminds the user to start the appropriate transfer protocol on their end (when necessary). Goes along with the previous commited fix to issue #767
-
Rob Swindell authored
When a user has a "default download protocol" selected (configured for their user account), don't display a menu of file transfer protocols when we're just going to auto-select their default anyway (e.g. when downloading a QWK packet). This change also introduces an argument (%s, the protocol name) in the StartXferNow text.dat string, so that if/when the user forgets which default download transfer protocol they had selected, they'll be reminded ("oh yeah, I need start an XMODEM download!"). This fixes issue #767
-
Rob Swindell authored
As was discovered as part of investigation into issue #769, a JavaScript could crash SBBS (cause a segfault) due to a NULL pointer dereference when the script passes 'null' to native JS functions where an object is expected. The issue raised was with console.gotoxy(), but it turns out that *many* Synchronet native JS functions would call JSVAL_TO_OBJECT() and then, without checking for NULL/nullptr, pass its return value to JS api functions such as JS_GetPrivate, JS_GetProperty, JS_GetClass, JS_ObjectIsFunction, JS_IsArrayObject, JS_GetArrayLength, JS_DefineProperty, JS_Enumerate, etc. All of these JS API functions dereference the passed object pointer without NULL/nullptr checking. The fix here is to either call JSVAL_IS_NULL() or JSVAL_NULL_OR_VOID() and if true, not call JSVAL_TO_OBJECT() and/or check the return value for the NULL value before using as an argument to any other JS API functions.
-
- Aug 07, 2024
-
-
Rob Swindell authored
The calling script will still terminate if it does this, but at least the caller will get a useful JS exception. Related to fix for issue #769
-
Rob Swindell authored
I'm not sure under what script conditions this could happen, but apparently Nelgin was able to produce this null pointer deref (and segfault) using DDMsgReader. This should fix issue #769
-
- Aug 06, 2024
-
-
Rob Swindell authored
Fix messages with blank bodies not showing up on iphone See merge request !449
-
-
- Aug 05, 2024
-
-
Rob Swindell authored
DDMsgReader Fix: Indexed newscan mode for new users now shows the number of new messages in sub-boards like it's supposed to. Reported by Nelgin. See merge request !448
-
Eric Oulashin authored
DDMsgReader Fix: Indexed newscan mode for new users now shows the number of new messages in sub-boards like it's supposed to. Reported by Nelgin.
-
echicken authored
-
Rob Swindell authored
Overrides whatever is passed on the command-line. Works around issue of '%' character included in password bein interpretted as a command-line specifier (e.g. %s). Increment revision to 2.0.
-
- Aug 04, 2024
-
-
Rob Swindell authored
See issue #765 for background.
-
Rob Swindell authored
to the getkey inactivity timeout. By setting a socket timeout shorter or equal to the getkey timeout, the getkey timeout effectively does nothing.
-
Rob Swindell authored
If a sysop doesn't want this warning to do anything, then no need to save and restore the current (last displayed) line of text.
-
Rob Swindell authored
We've had this value as the default in sbbs.ini for a while now, so should be safe to use as the upgrading-sysop (who wouldn't have this value in their sbbs.ini file, most likely) setting. Not all default sbbs.ini values are true "defaults" (meaning, if they don't exist in the file, then same value would be used) - but we should do an audit and correct those mismatches at some point.
-
- Jul 23, 2024
-
-
Rob Swindell authored
Missing quote mark added. See merge request !446
-
-
- Jul 22, 2024
-
-
Rob Swindell authored
Add ssl support for server to server connections. See merge request !445
-
-
- Jul 21, 2024
-
-
Rob Swindell authored
So that hitting 'N' at pause prompt will abort the loop. Reported by phigz via irc.synchro.net
-
- Jul 20, 2024
-
-
Rob Swindell authored
Add ssl support for server to server connections. See merge request !443
-
-
- Jul 17, 2024
-
-
Rob Swindell authored
... in strftime format (https://cplusplus.com/reference/ctime/strftime/) If you (sysop) have last_few_callers_fmt set to a custom value in your modopts.ini, you'll need to update that format as a result of this change: the number and type of arguments have now changed: instead of the logon time be passed as hours and minutes (integers), it's now passed as a single a string. That string is the result of a call to strftime() with the time_fmt or (by default), "%H:%M". This change was made to accommodate request by NeoArata (THEREALM)
-
- Jul 16, 2024
-
-
Rob Swindell authored
If -p (or -P) is the last option given with no argument following, then no password would be sent to the server (via PASS message). For Odusseus71
-
Rob Swindell authored
... for non-sysops
-
- Jul 12, 2024
-
-
Rob Swindell authored
looks better, more consistent with the log messages before/after it.
-
Rob Swindell authored
We removed the large-scope 'i', but didn't update the Unix-only blocks of code (dealing with UNIX domain spy sockets).
-
Rob Swindell authored
This is just a code quality (readability) improvement. No functional change.
-
Rob Swindell authored
-
Rob Swindell authored
The other server stats (e.g. error_count, served) are zeroed upon startup, so the highwater mark should be zeroed too.
-
Rob Swindell authored
Like the other servers. A sysop likely would want to know which services/protocols had what utilization (as a portion of the total highwater mark), so that'll have to be added later.
-
Rob Swindell authored
We don't log highwater valeus of 1, though those are published to MQTT. Not dealing with 'services' server yet, cause that's kind of tricky with the sysop likely wanting to know per-service stats (served counter, highwater mark, etc.)
-
Rob Swindell authored
-
- Jul 11, 2024
-
-
Rob Swindell authored
Only log the hightwater mark when it's > 1. :-)
-
- Jul 10, 2024
-
-
Rob Swindell authored
... for (soon) reuse in fileman.js
-
- Jul 02, 2024
-
-
Rob Swindell authored
Also updated log output format, avoid redundancy
-
Rob Swindell authored
... since that messes up the bulletin->file numbering which is often hard-coded in bullseye.asc
-