- Jan 27, 2021
-
-
echicken authored
If file type is known to ctrl/mime_types.ini, and if files_inline is true in modopts.ini->[web], and if it's not application/octet-stream, set content-disposition to inline.
-
echicken authored
-
echicken authored
-
echicken authored
Would be overridden if a Region or Host line is encountered. This dumbness brought to you by FTS-5000.005. nelgin to test against his extensive nodelist collection.
-
Rob Swindell authored
-
Kayz authored
-
Kayz authored
-
Rob Swindell authored
-
Deucе authored
var x = null; if (typeof x == 'object') print(Object.keys(x).join(', '));
-
Deucе authored
typeof (new Array()) === 'object' but an Array not not be an Object(?)
-
Rob Swindell authored
-
- Jan 26, 2021
-
-
Rob Swindell authored
-
Rob Swindell authored
fix misleading code comments See merge request !86
-
Kayz authored
-
Michael Long authored
-
Deucе authored
-
Kayz authored
-
Michael Long authored
-
Rob Swindell authored
Add the name of the BBS and the IP address, protocol, and port of the requesting user/client. If prompt=false in the modopts.ini, don't prompt for (allow change of) destination email address. Extra security-conscious systems may actually verify email addresses and want to disallow sending of files to other (non-verified) addresses.
-
Rob Swindell authored
-
Deucе authored
To import, the private key and cert must be encrypted using the system password. On export, the cert/key are encrypted with the system password.
-
Deucе authored
While PKCS#12 export likely works "fine", PKCS#12 import almost certainly doesn't. Cryptlib supports a basic strict PKCS#12 read, while OpenSSL used wild and crazy extensions.
-
Deucе authored
-
Rob Swindell authored
enhancements to external menu mod See merge request !83
-
Kayz authored
-
Deucе authored
If not possible, leave log_level and options undefined.
-
Deucе authored
File class.
-
Deucе authored
Doing so prevents extending the prototype.
-
- Jan 25, 2021
-
-
Deucе authored
-
Deucе authored
-
Deucе authored
Get both the webroot and web hostname from sbbs.ini rather than use system.inet_addr. system.inet_addr is configured in the messages section, so it's implied that it's for email addresses. Also, allow configuring the sysop email address with the SysopEmail global key in the ini file. This is a cleanup and duplicate of !82
-
Rob Swindell authored
-
Rob Swindell authored
The mail server no longer decodes base64-encoded messages itself (i.e. due to support of single-part MIME binary file attachments). So detect a base64-encoded message body and decode it for external mail processors here.
-
Rob Swindell authored
Options for new emailfiles module.
-
- Jan 24, 2021
-
-
Rob Swindell authored
-
Rob Swindell authored
The default character set for outbound mail is now auto-determined (when not explicitly specified for a message) between UTF-8, ASCII, and CP437. The [mail] DefaultCharset setting (which fell-back to iso-8859-1 if blank) is no longer "a thing". Also: specify 8-bit content-transfer-encoding for the (potentially UTF-8 or CP-437) plain text portion of a MIME-encoded message with file attachment (7-bit was wrong) and pass down the text sub-type (e.g. could be "html") for inclusion in the mime-part header (don't assume text/plain, but still use that as default). Also: log an error when failing to delete an attached file (e.g. from data/file/*.out).
-
Rob Swindell authored
Updated comment block as well, fixing typos and providing a better description and example usage.
-
Rob Swindell authored
Some (important) File methods did not support .ini files that used the !include directive because they were using the xpdev iniRead* API (which performs no "pre-processing") instead of xpdev iniGet*. Impacted methods: - iniGetValue() - iniGetKeys() - iniGetObject() The other existing ini* methods already worked fine with nested (!include'd) .ini files. It's possible there's a slight performance penalty with the new implementation since the entire .ini file is always read for each operation and previously it was possible that only a few "lines" were read to find the key(s) of interest. However, since .ini files are not typically huge and the iniRead/file-stream method likely read large (e.g. 8-32K) blocks anyway (which is usually the entire .ini file) - I don't actually suspect any observable impact to performance. This change was needed for the new ctrl/modopts.d support. Added new method useful for debugging nested .ini files: - iniReadAll()
-
Rob Swindell authored
This allows auto-inclusion of sub-directories of config files (e.g. !include modopts.d/*.ini). This, along with the next commit to js_file.c, allows module authors (or sysops) to keep their module-specific settings in a module-specific file (rather than always merging-with/managing the monolithic/shared modopts.ini). The [modname] section heading is still required in the included .ini file. Replaced use of non-thread-safe STRERROR() with safe_strerror().
-