- Apr 15, 2020
-
-
rswindell authored
-
rswindell authored
I noticed that more than one caller of smb_open_sub() would not call smb_create() if the sub had not been previously "created" and in some of the instances where they did call smb_create(), if create failed, the message base was errorneously left open. So just do the create here to elmiinate the chance of error (forgetting) and redundancy of logic.
-
- Apr 14, 2020
-
-
rswindell authored
-
- Apr 13, 2020
-
-
deuce authored
MSS for the packet size. Fixes problem with telnet server where large transfers were full packets followed by a 12 byte packet. Also removes hack in webserver that always assumed timestamps were enabled. The Win32 code has not been tested, but is assumed to work perfectly.
-
rswindell authored
-
rswindell authored
SBBSCTRL "About" dialog box) and then exit.
-
rswindell authored
-
rswindell authored
download notification short-mesage (telegram) sent to an uploader from user_downloaded_file().
-
rswindell authored
and a gtkutils build target to build them all (e.g. "make gtkutils") to make life easier for Nelgin
-
- Apr 12, 2020
-
-
rswindell authored
-
rswindell authored
-
rswindell authored
Removed some unnecessary carriage returns from printf statements.
-
rswindell authored
-
rswindell authored
-
rswindell authored
after a file has been successfully (partially or fully) downloaded by a user: - arguments are [dir-code] [file path or name] [bytes] [count] Technically, all the argumnets are optional, but if only a bytes or file count is provided, the old behavior of the method is invoked (just increments statistics). This is intended for use by ecWeb's http-based file downloader thing. :-)
-
rswindell authored
-
rswindell authored
documented (it says if the section is *undefined*, the root section is read)
-
rswindell authored
-
rswindell authored
(new) scfg_t.text member. This will make it much easier for non-Terminal Server JS modules (and the functions they execute) make use of the text.dat strings.
-
rswindell authored
iniGetAllObjects() to sort of "normalize" the key names into easily-useable (and consistent) JavaScript property names.
-
rswindell authored
actually used by SBBSecho currently and is only here for use by BinkIT.
-
- Apr 11, 2020
-
-
rswindell authored
error (e.g. trigger a bad QWK packet copy to be created). The debug-level log messages is still generated however.
-
rswindell authored
than a string input dialog.
-
rswindell authored
through messages (in index order, I presume), same as -/Bkspace and +/Enter. I also have the Home key move to the first message and End key move to the last. <shrug>
-
rswindell authored
server (uck). Needs an lputs() callback or similar.
-
rswindell authored
together to keep things atomic: 1. Eliminate eprintf() as sbbs_t::lputs() and sbbs_t::lprintf() do the "right thing" (e.g. log to the event log when called from the event_thread). 2. Moved upload_stats() and download_stats() from ftpsrvr.c to getstats.c where I plan to make use of them for JS-based upload/download file support.
-
- Apr 10, 2020
-
-
rswindell authored
"ONLY", add "SYSOP" to the access requirements automatically. Exception: when importing SUBS.TXT (since it includes Access Requirements already).
-
- Apr 09, 2020
-
-
rswindell authored
file containing only the good or bad messages, leaving the orignal *.pkt file intact. The -recover option will *only* create a *.good file (renamed from .recovered). Now, if the recovered (good) or bad output file has no messages or is the exact same size as the original pkt file, the output file is automatically deleted.
-
deuce authored
-
rswindell authored
valid pkdmsg type. This will allow better re-sync with a badly corrupted packet. I waffled about whether it should try to read the variable header fields if the DateTime field of the fixed header is invalid. Currently, it does. The pkdmsg header does not have very good identifying marks to re-sync with, so it's still possible that a valid msg that follows a corrupted one could get skipped. I would need some good set of varying examples of corrupted packets to test with, but I'm sure it's possible to "do better".
-
rswindell authored
-
rswindell authored
is called without a "mode" specified. This uses the new default SCAN_INDEX mode. If you need the old behavior (does not invoke the listmsgs_mod), specify a different mode value (e.g. SCAN_READ). All of the mode values (other than SCAN_INDEX) will not start the list message module, but rather use the internal C++ logic. This provides an intuitive way to actually invoke the list messages module from JS without hard-coding bbs.exec("?module") into a cmd shell, for example.
-
rswindell authored
duplicates of all the parsed packet files, but excluding all corrupted packed messages. The recovered packet files are named *.recovered. Also improved the corrupted packed message header detection to make this feature more useful. Created at the request of Nelgin who promises to test and use, for better or for worse, in sickness and in health, from this day forward, yadda yadda yadda.
-
rswindell authored
If the RECIPIENTTOLIST header fields exists and the RFC822 header field does not exist, that means the original RFC822 "To" field was not MIME-encoded, which is the majority of email. The routine that converted an smbmsg_t to an RFC822 header did not use this new field however (ignored it). Whoops. So multiple recipients were reflect in the To field and the original destination address(es) in the To field weren't passed on either. Thanks, Frank!
-
- Apr 08, 2020
-
-
rswindell authored
Copyright year 2020.
-
rswindell authored
globally and per-module. Command-line options still take precedence. For jsdoor builds, jsdoor.ini is supported in whatever directory jsdoor is run from. Changed the default log level from Debug to Informational. (If you need the old default, set LogLevel=debug in your ctrl/jsexec.ini file).
-
rswindell authored
Update Copyright year to 2020.
-
rswindell authored
text to an empty strings ("") in the ctrl/text.dat file, even the Name/Alias prompt! Now this does mean that only terminal protocols where the username is provided as part of the negotiation could be used to create new user accounts (i.e. not Telnet), which I suppose could be fine for an RLogin-only game server . If no user name is supplied by either protocol or prompt, an error is logged and the function fails.
-
rswindell authored
Fixed bug: for RLogin and SSH, if an invalid (e.g. blank) passsword was provided during the handshake, an "Invalid Logon" would be displayed followed by a "Passowrord: " prompt, giving the user an opportunity to reenter the correct password. Only problem: this only worked for sysop accounts. Normal users would just be disconnected after they entere (any) password, correct or not. This bug is very old in the RLogin support and appears to have been copy/pasted for the SSH Login bit too.
-
rswindell authored
and RLogin attempts. It looks like someone copy/pasted the wrong lines from login.cpp.
-