- Apr 15, 2020
-
-
rswindell authored
-
- Aug 02, 2019
-
-
rswindell authored
auxattr flag since we normally want the attach file to be deleted automatically when the message is delivered. SBBSecho now won't be deleting the file attachment unless this flag (or the .msg \1FLAGS "KFS" equivalent flag) is set.
-
- Aug 01, 2019
-
-
rswindell authored
to putmg() when displaying messages in the sub on the terminal server. E.g. to disable word-wrap for *all* messages displayed in a sub, set P_WORDWRAP in sub_t.n_pmode.
-
- Jul 08, 2019
-
-
rswindell authored
fidodefs.h:47:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define FIDO_CHARSET_UTF8 "CHRS: UTF-8 4" /* FTS-5003 */ ^ writemsg.cpp:645:15: note: in expansion of macro 'FIDO_CHARSET_UTF8' *charset = FIDO_CHARSET_UTF8;
-
rswindell authored
(e.g. applies to email and netmail now too).
-
- Apr 12, 2019
-
-
rswindell authored
(default: off) - when enabled, the current terminal width (columns) will be saved in the msg header. When using the internal msg editor or raw intput mode, the columns are always saved in the message editor. fseditor.js should have this option enabled.
-
- Feb 20, 2019
-
-
rswindell authored
(JS bbs.post_msg()): If the WM_QUOTE mode flag is *not* set, then it will auto- create the quote file (quotes.txt) and add the WM_QUOTE mode bit before calling sbbs_t::writemsg(). So if existing JS scripts call bbs.post_msg(..., WM_QUOTE) with a custom-created quote file (e.g. with msg tails), that'll still work as before (e.g. DDMsgReader.js). bbs.email() and bbs.netmail() now support an optional reply_header_object argument which works like bbs.post_msg(). These methods (and the underlying C++ methods: sbbs_t::email(), netmail(), inetmail(), all auto-create the quote file now, when the WM_QUOTE mode flag is *not* set. The auto-created quotes.txt now includes the plain-text version of MIME-encoded messages. the bbs.post_msg(), email(), and netmail() methods now all support reply header objects that came directly from bbs.get_msg_header() *or* copies of such header objects (but the auto-quoting feature won't work when supplied this type of header object). So if passed a header object returned from bbs.get_msg_header(), we can now use the message base (for auto-quoting) and the underlying msg storage directly (no JS parsing necessary). This is what the new js_GetMsgHeaderObjectPrivates() function is used for. js_ParseMsgHeaderObject() (and the underlying parse_header_object() function) now supports either an actual internally-generated msg header object (e.g. returned from bbs.get_msg_header()) or one that is a copy or hand-constructed. quotemsg() no longer tries to get a copy of the msg index/header. It shouldn't have to since we can now get to underlying msg storage in the js_msgbase.c via js_GetMsgHeaderObjectPrivates(). quotemsg() now reads only the plain-text portion of MIME-encoded messages. As part of this effort, I modernized the method prototypes using default argument values (e.g. WM_NONE for wm_mode arguments) and removed some extraneous WM_EMAIL and WM_NETMAIL specifications (these wm_mode flags are automatically added by the sbbs_t::email() and *netmail() functions). savemsg() now *does* support reply-IDs/thread-linkage via the additional 'remsg' argument (when non-NULL). Replaced some use of nulstr with NULL. Replaced more boilerplate SMB open code with calls to smb_open_sub().
-
- Feb 17, 2019
-
-
rswindell authored
-
rswindell authored
So I created a single add_msg_ids() function (mostly migrated from postmsg.cpp) to make this incredibly easy so any/everywhere that adds a message to a message base should be able to call it. This function also creates reply-IDs (when relevant) and program ID (Fido-PID) header fields: - FIDOPID (always) - FIDOMSGID (if an echomail post) - FIDOREPLYID (if an echomail reply-post) - RFC822MSGID (always) - RFC822REPLYID (if a reply)
-
- Oct 30, 2018
-
-
rswindell authored
message text (when relevant and available) - this helps when re-wrapping the message text (e.g. for quoting) and not always guessing "80 columns".
-
- Aug 03, 2018
-
-
rswindell authored
sbbs::lputs() will log the current user alias already, logline()->lputs() would create log messages with the user alias twice.
-
- Jun 10, 2018
-
-
rswindell authored
- similar to what we do in netmail() with the WM_NETMAIL flag. If you call writemsg() without WM_EMAIL set, it tries to use the subnum as an index into the sub-board array and will crash.
-
- Apr 17, 2018
-
-
rswindell authored
attachment is attempted but unsupported.
-
- Feb 20, 2018
-
-
rswindell authored
-
- Nov 24, 2017
-
-
rswindell authored
logic everywhere. Enforce the sys_misc SM_DELREADM flag (SCFG->Message Options->Kill Read E-mail) in more places (set the Kill After Read flag automatically). Create a Message-ID (RFC822-style) for locally created email messages.
-
- Dec 02, 2016
-
-
rswindell authored
-
- Dec 06, 2015
-
-
rswindell authored
addresses (e.g. FidoNet and QWK) using the new smblib feature.
-
- Nov 26, 2015
-
-
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
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.
-
- Sep 20, 2015
-
-
rswindell authored
-
- Apr 28, 2015
-
-
rswindell authored
was never used. This was intended to be a method for internationalization, letting the sysop change which key is used as the uiniversal "quit" key. This commit replaces most of the uses of the hard-coded 'Q' for quit wtih the 3rd charcter in the text.dat YNQP string. Some hard-coded menus still have the 'Q' key hard-coded and will need to be addressed later. The text.h YN index macro was changed to YNQP and the JS text index variable name will change as well.
-
- Dec 19, 2012
-
-
rswindell authored
-
- Jun 15, 2012
-
-
deuce authored
-
deuce authored
to allow the caller to skip the question (ie: for new user feedback validation) This replaces the "never prompt for validation user" patch since: DigitalMan: I suppose if someone has an issue, a new mode bit could be burned for that Is clearly permission.
-
rswindell authored
to forward to external mail address), don't prompt the user if they wish to forward (always forward). More safe string copying/formatting.
-
- Oct 19, 2011
-
-
rswindell authored
all exported functions and data types using a 32-bit time_t (time32_t).
-
- Aug 30, 2011
-
-
rswindell authored
especially through SMTP (where these values are exposed via the Originator-info header field): SENDERUSERID, SENDERSERVER, and SERVERTIME.
-
- Aug 25, 2011
-
-
rswindell authored
unlimited number of emails per day.
-
- Jul 21, 2011
-
-
rswindell authored
That is, if any of the following text.dat entries are set to a blank/emtpy string (by editing ctrl/text.dat or via run-time script modification), the question will not be asked of the user allowing greater sysop-customization of hard-coded processes (e.g. new user application): ClearUploadQueueQ ClearDownloadQueueQ HangUpAfterXferQ ChatWithGuruInsteadQ ForwardMailQ DownloadBatchQ LogOffQ DeleteErrorLogQ ClearErrCounter DeleteGuruLogQ AutoTerminalQ AnsiTerminalQ ColorTerminalQ ExAsciiTerminalQ CallingFromNorthAmericaQ ReadYourMailNowQ NScanAllGrpsQ SScanAllGrpsQ NewPasswordQ ContinueQ EnterYourPhoneNumber UserInfoCorrectQ UseExternalEditorQ DownloadAttachedFileQ AddSubToNewScanQ (new) RemoveFromNewScanQ DisplaySubjectsOnlyQ Post SearchExtendedQ ViewSysInfoFileQ ViewLogonMsgQ WithLineNumbersQ
-
- Mar 06, 2010
-
-
rswindell authored
inserting (long) typedefs to prevent warnings, but in the case of the JS File() class, actually supporting file lengths > 32-bit.
-
- Oct 25, 2009
-
-
rswindell authored
Added FTN PID header field to all messages created by sbbs.
-
- Oct 18, 2009
-
-
rswindell authored
Don't prompt for "delete mail from everyone" when there is only one e-mail waiting for the user. Use some existing text.dat entries (some old and some recently added) where identical static strings were still being used for no apparent reason. Added several text.dat entries for the QWK settings menu, node status, and some other single-line messages (replacing static strings).
-
- Mar 20, 2009
-
-
rswindell authored
name.
-
rswindell authored
-
rswindell authored
-
rswindell authored
Added HOST and IP keywords to allow restricted access/privileges to/for specific remote hostnames or IP addresses (wildcards allowed). All string-argument type ARS keywords (e.g. SHELL, PROT, etc.) now support .can style wildcards. The current remote client is now used for protocol, host, and IP ARS checking, when available, so this requires passing the client pointer around (which explains why so many files are touched by this change) and takes care of a long standing to-do item (the user's 'modem' value was used for the PROT value checking, which was not always correct).
-
- Jun 04, 2008
-
-
deuce authored
by properly const-ifying the appropriate functions and variables. Not yet tested on Win32
-
- Jul 10, 2007
-
-
deuce authored
-
- Aug 23, 2006
-
-
rswindell authored
single function. * editfile() now modifies a temporary copy of the file which solves 2 problems: A. editors restricted to the temp dir (e.g. PICO) can now be used to edit other files (e.g. sig files) B. DOS editors can now be used to edit files with long filenames (e.g. .plan files)
-
- Jun 07, 2006
-
-
rswindell authored
Uploads in E-mail is set to "No". This option has been in SCFG for 10(+?) years and was never used. :-)
-