- Dec 04, 2015
- 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().
-
rswindell authored
is not "Internet" (e.g. QWKnet or FidoNet).
-
- 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 29, 2015
-
-
nightfox authored
-
- Nov 28, 2015
-
-
nightfox authored
Updated the display of kludge lines & header lines so that the label & value will be on one line if they fit that way, to save screen space and reduce the need for scrolling. Also, added a couple of color configuration options to DefaultTheme.cfg: hdrLineLabelColor and hdrLineValueColor, which lets the sysop specify the colors to use for the header/kludge line labels & values. Also, updated the readme file & revision history file. This is still a 'beta' version but is fairly stable.
-
- 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
-
nightfox authored
Implemented a workaround with the Frame object when displaying ANSI messages to get the background to refresh/redraw better so that text doesn't get left over when scrolling the message up & down
-
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
-
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
smb_getmsgtxt() can now return *just* the plain-text part of a multipart MIME encoded message by setting the GETMSGTXT_PLAIN bit in the mode argument. This is useful for reading (many) MIME encoded emails via the Terminal server. The full MIME body text is left in place for those message viewing methods which can nicely handle (e.g. display) non-plain-text parts.
-
rswindell authored
-
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.
-
rswindell authored
-1 on success and 0 on failure. Luckily, no caller has been checking the return value.
-
nightfox authored
-
nightfox authored
Will now refresh an ANSI message when closing the list of kludge lines/message headers (sysop command), etc. Also, updated to output an ANSI normal attribute on exit (for ANSI users), so that the screen's background color won't get messed up (that's in addition to outputting the Synchronet 'normal' attribute for the same reason). Also, updated to apply all of the header field labels based on the list at the following page: http://synchro.net/docs/smb.html#Header Field Types
-
- Nov 25, 2015
-
-
nightfox authored
-
nightfox authored
Improved reading of messages with ANSI content - It now can use a scrollable user interface when reading messages with ANSI content. Also added a new option in the configuration file, readerInterfaceStyleForANSIMessages, to specify whether to use the scrollable interface or the traditional interface when reading ANSI messages. It will use frame.js and scrollbar.js, if available on the BBS machine, for reading ANSI messages with a scrollable interface (but it still uses its own scrolling behavior for non-ANSI messages, as before). This is still a 'beta' version, as there are some more changes I'd like to make before making an official release.
-
rswindell authored
-
rswindell authored
files and editors have the correct sender name in all situations (not just when posting on "real name only" sub-boards). "ANONYMOUS" postings work too, but mainly Internet & FidoNet Netmail were fixed. Use removecase() for NETMAIL.MSG (in case there's a lowercase version). Use subj in place of title and to in place of dest in argument names. Some constification of argument types.
-
rswindell authored
-