- Dec 07, 2015
-
-
rswindell authored
Don't add TZUTC kludge lines to exported netmail and echomail messages when there is already a TZUTC FidoNet control line in the message header (unexpected but apparently, GoldEd+ does this). If there are other duplicate FTN control/kludge lines created by SBBSecho exporting messages added to SMBs by GoldEd+, we should address those too, even though I believe in most cases, you should configure the editor to *not* add these header fields in the first place. Do not convert exisiting Origin Line's to effectively comments (replacing * with # in " * Origin") if the current sub-board has been configured to not add network tag/origin-lines.
-
rswindell authored
Bug-fix: MSG_TO_NET would not expand properly (to a blank string) when the to_net.type header value was NET_NONE.
-
rswindell authored
Display translated to/from/reply net-type (from numeric to string).
-
rswindell authored
Don't include the to/from network-arddress in the displayed header if the net-type value is NET_NONE (not a normal/expected combination).
-
- Dec 06, 2015
-
-
rswindell authored
addresses (e.g. FidoNet and QWK) using the new smblib feature.
-
rswindell authored
and RECIPIENTNETADDR fields in messages posted to sub-boards. Apparently GoldEd+ does this and it triggered a chain of bugs (mostly cosmetic), but bugs that bugged me, so I'm squashing them. Now messages being export to QWK will not include the RECIPIENTNETTYPE/ADDR information unless it's netmail. Ditto for importing. Also, the net_type is more accurately determined (i.e. if there's no '@' in the address, as there not be any expected for QWK and Fido net addresses).
-
rswindell authored
All other command options remain case insensitive.
-
- Dec 05, 2015
-
-
deuce authored
to stdout). Previous behaviour was: 1) By default, send error messages to errfp (stderr), and other log messages to confp (stdout). 2) If -e and one of -o or -q are specified, also send a copy of error messages to statfp (defaults to stderr, changed to /dev/null by -n) 3) If -e is specified, also send a copy of error messages to confp (defaults to stdout) If -e, -o, were both specified, this resulted in an error log entry going into the file specified by -e, the file specified by -o, and confp (stdout by default). New behaviour: 1) By default, send error messages to errfp (stderr), and other log messages to statfp (stderr). 2) If -e is specified, send error messages to the specified file and statfp (stderr). 3) Always send status messages to statfp (stderr). Set up some more stuff for jsdoor... Call gethostname() since there is no "SCFG value" for it. Send "status messages" (log messages that aren't errors, and the banner) to /dev/null by default (ie: force the "-n" argument) Send "error messages" (log messages that are error according to log level) to "error.log" by default (ie: force the "-eerror.log" argument)
-
- Dec 04, 2015
-
-
rswindell authored
-
rswindell authored
Don't report a JavaScript warning ("Disconnected") until the OperationCallback has been executed 10 times with the user offline. This gives the executing script ample time to recognize the disconnected state and exit gracefully. Script that do not check/notice that the user has disconnected will still be auto-terminated (by default) and this warning will still be logged in those cases. The value 10 was picked at random and appears to work fine.
-
rswindell authored
version of configured time zone, e.g. "PST").
-
rswindell authored
to errorlog() so the data/error.log is less ambiguous about where an error occurred.
-
rswindell authored
-
rswindell authored
*after* the to-net-addr value (if there is one), so the header display makes more logical sense when viewing QWK netmail sent to a QWKnet node on the QWKnet hub system. Update the msgtotxt() prototype to follow the norm (e.g. passing through the mode argument to smb_getmsgtxt())
-
deuce authored
paragraph"... track the length instead. Speeds up word_wrap() with huge messages that don't have many paragraphs.
-
rswindell authored
*after* the to-net-addr value (if there is one), so the header display makes more logical sense when viewing QWK netmail sent to a QWKnet node on the QWKnet hub system.
-
rswindell authored
menu.
-
rswindell authored
a QWK packet downloaded from a QWKnet hub.
-
- Dec 03, 2015
-
-
rswindell authored
MsgBase.save_msg() method. The bug was that it was forcing the idx.to value to 0 which would only work (in theory) for mail going to a QWKnet hub. Now, save_msg() will check the 'to_net_addr' property of the header object (or recipient objects) and actually verify that it/they are routeable QWKnet address(es) and throw an exception if not. If the first hop is a QWKnet node, sets the to_ext (and thus, idx.to value) to the account number of the node. This also looks up full-routes via the route.dat and replaces the to_net_addr value with the full route if necessary. I guess nobody (including me) tried sending QWKnet netmail via JS before.
-
rswindell authored
logging in a user. Apparently it's possible to disconnect during an SSH login and have this function return with useron.number set to a valid user number even though there was no successful login, leading to undesireable things happening in logout().
-
- Dec 02, 2015
-
-
deuce authored
removed from the ring buffer. This prevents the session thread from closing the socket before send() is called with the data. Fixed issue seen on techdorks.net with the 404.ssjs file (and likely others where static files were truncated on send).
-
deuce authored
-
deuce authored
This ensures that all data that has been send()ed is transmitted. Timeout after max_inactivity (max delay is max_inactivity*2).
-
- Nov 30, 2015
-
-
rswindell authored
-
rswindell authored
-
rswindell authored
-
rswindell authored
-
rswindell authored
after a user (has been) disconnected and before the node transitions to waiting for connection (WFC) status. Usually the duration of this status is very short, but it can be longer (e.g. for running log-out module and event) and for (new) msg-scan pointer fix-ups. Updated logout() to remove some cruft and add some more log/debug output. Automatic new-scan pointer fix-ups when performing new-message scans (if the current pointer is greater than the last message number, set it to the last message number) and when saving message pointers. Passing user_t* to get/putmsgptrs() instead of message number now (to better detect Guest account).
-
- Nov 27, 2015
-
-
rswindell authored
messages), you can now set the Guest accounts new-msg-scan values. The default is 0 (no new messages).
-
rswindell authored
messages), you can now set the Guest accounts new-msg-scan values. The default is 0 (no new messages). Using a value of 0 for this or the New User Days of Messages value results in a very fast message pointer initialization (no "Loading Message Pointers..." delay).
-
rswindell authored
-
- Nov 26, 2015
-
-
rswindell authored
-
rswindell authored
-
sbbs authored
-
rswindell authored
Sysop can set the number of days-worth of new messages that new users will see in their first new-message scan (the default is 0, no new messages). This does lengthen the amount of time that the first "Loading message pointers" is displayed (it has to go and open all the message bases), but at least new users are no longer bombarded with thousands of very old messages when they answer "Yes" to the "Scan for New Messages" prompt. This setting is in SCFG->System->New User Values->Days of New Messages. Set it to some really high number (maximum of 9999) if you want the old behavior.
-
rswindell authored
MsgBase.get_msg_body() method: added an additional boolean argument (following the 'include_tails' argument), which defaults to false (disabled). Pass true for this argument to enable this feature. Yes, JS-authors could do this parsing easily via JS, but I figure so long as this feature is in the SMBLIB, might as well expose it to JS for consistency (e.g. in 3rd party message reader mods).
-
rswindell authored
start at the first message, don't display message automatically.
-
rswindell authored
default (in the Terminal server), use Raw I/O mode (Ctrl-Z) to toggle this behavior off/on (same as word-wrap toggle).
-
rswindell authored
writemsg() now handles the anonymous name in the drop files (using WM_ANON for the first time?). A little mixed-case NETMAIL.MSG paranoia (for case-sensitive file systems). More use of SAFEPRINTF(). More use of removecase(). More attribute flags represented (with a single character) in the 'A' column of mail and sub-board message listings.
-
- Nov 25, 2015
-
-
rswindell authored
-