- Dec 03, 2015
-
-
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
-
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.
-
- Nov 25, 2015
-
-
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
-
rswindell authored
@-codes can now be center-justified by using the *new* -C suffix (like -L/R). Centered expanded values are not truncated to fit the @-code length however (that may change). SMB_AREAS and SMB_AREA_DESC @-codes now display "Email" and "Personal Email" rather than a blank/empty string when the current message base is the mail base.
-
rswindell authored
-
deuce authored
s/of/if/ where needed Document mouse actions: Right-click Left-click Drag This is mostly so I can test the CVS commit script some more. This is a fairly long commit message, and it's that way on purpose. Sorry IRC guys. Shout out to echicken, mcmlxxix, and the reset of the JS Hax0rz. You're awesome Digital Man and an inspiration to use all. Synchronet is ownz the F1D0N3t N0deL157. Peace out.
-
deuce authored
-
deuce authored
-
rswindell authored
-
sbbs authored
the wrong timezone (off by an hour) because we were passing an uninitialized time_t value to localtime_r(). -- oops.
-
sbbs authored
time was in effect, year-round, on Linux. Use the localtime() tm_gmtoff method of detecting the local time zone offset on Linux, don't rely on the global variables 'timezone' and 'daylight' behaving as they did in Borland C/DOS. From the Linux man page: Note that the variable daylight does not indicate that daylight saving time applies right now.
-
rswindell authored
Display local time and time zone in system info list. Display local time zone in Ctrl-T output.
-
rswindell authored
time zone.
-
rswindell authored
Daylight Savings Time (sic) into a single configuration setting now under the System menu (System->Local Time Zone), with updated help screens.
-
rswindell authored
-
- Nov 24, 2015
-
-
rswindell authored
-