- 21 Nov, 2020 16 commits
-
-
Rob Swindell authored
Revert the previous change to the mailsrvr (don't try to parse the MS Outlook singled-quoted names in to/from header fields). Instead, use the new matchusername() to perform a liberal name match against the name portion of the destination email address and if it matches, go ahead and use the quoted-name field. Otherwise, use the name portion of the destination address as the TO field for the FTN netmail message.
-
Rob Swindell authored
- Ignore all non-trailing non-alphanumeric characters when comparing a string against a user's name. Previously, spaces and dots and underscores were mostly-treated as equivalent and white-space was sometimes compressed for comparison purposes (if the user name contained both spaces and dots). This updated algo helps to insure that deliberate or accidental name collisions cannot be created but also aids usability (e.g. users can make some minor cosmetic adjustments to their user name and still be considered the "same user" for most comparison purposes). - Terminate the comparison string at an '@' (ignore everything after). This resolves the FAQ of why users can't login with "username@domain" and aides some other username/address matching algorithms (e.g. in the mailserver). '@'s are illegal characters for usernames already. Expose the new algorithm via new function matchusername(). Use the algorithm in matchuser() and lookup_user(). Unrelated: don't lower-case the 'localuser' part of email addresses in usermailaddr() - cosmetic only.
-
Rob Swindell authored
instead of the potentially-alias'd delivery address. The angle-brackets (now included) appear to be standards-compliant.
-
Rob Swindell authored
-
Rob Swindell authored
This reverts commit 796c3db7.
-
Rob Swindell authored
is_supported_netmail_addr() actually takes the system configuration and QWK routing table into account. No sense forwarding to a non-deliverable address.
-
Rob Swindell authored
Replace use-of/linking-with wsock32.lib with ws2_32.lib to fix issues such as this one coming-up with the HAProxy feature merge: unresolved external symbol __imp__inet_pton@12 referenced in function _xpms_accept
-
Deuce authored
-
Deuce authored
-
Deuce authored
-
Rob Swindell authored
There's no new opt-in option for this new feature - maybe there should be. For geneb.
-
Deuce authored
Sorry guys. :(
-
Deuce authored
-
Deuce authored
This one should build even on Win32.
-
Deuce authored
-
Deuce authored
Needed by MinGW32... we'll see if MSVC needs it as well soon.
-
- 20 Nov, 2020 11 commits
-
-
Deuce authored
This doesn't make anything much faster since the bulk of the time is building ctyptlib which doesn't support -j, but at least Cyan won't complain every time he creates an ebuild anymore.
-
Deuce authored
This requires anything that includes sbbs.h to have cryptlib and mozjs already built/isntalled... to track this, I've added the new extdeps.mk file. This is pretty terrible though... not sure how important that dependency really is.
-
Rob Swindell authored
Parse single-quoted "name" portion of email-addr header fields. I don't think this is going to fully solve the issue with FTN netmail gated to SMTP and replied via Outlook, but it's a start. Try that Nelgin.
-
Deuce authored
This is because it includes js_version.h if JAVASCRIPT is defined, and JAVASCRIPT is defined for everything using CFLAGS. It may be worth re-working the JAVASCRIPT define, but that's a bunch of extra work. This is the first (and easiest) step in getting parallel builds working.
-
Rob Swindell authored
-
Rob Swindell authored
160M is the value used by the Mozilla/SpiderMonkey JSShell project, so I'm rationalizing that as an acceptable default. Of course, it would be good to optimize memory usage in JS scripts, so we'll work on that too. So, if you're a JS developer, best to play with lower values here to see if/where you're being potentially wasteful in your memory usage, but most sysops just want everything "to work".
-
Deuce authored
Not sure how I missed this bit.
-
Deuce authored
Deleted users would be "properly" loaded as 'X' which would mean they wouldn't show up in rankings and couldn't be attacked.
-
Rob Swindell authored
... but do it do it correctly. This allows for automated game-reset, e.g. via cron job or timed event.
-
Rob Swindell authored
-
Rob Swindell authored
-
- 19 Nov, 2020 7 commits
-
-
Deuce authored
-
Deuce authored
-
Deuce authored
This can likely be built on Windows, but since I expect I'll be the only one supporting this for the forseeable future, get the build I release in here.
-
Rob Swindell authored
As reported by plt from the I, the R, and the C. Also, abort menu upon Ctrl-C.
-
Stephen Hurd authored
-
Stephen Hurd authored
-
Deuce authored
Then, add JSDOC support to crypto class constant objects. Also, since crypto stuff is almost half of all the docs, move all the crypto classes and objects to the end. It would be nice if these massive lists were hidden by default line the menu tree at the start.
-
- 18 Nov, 2020 6 commits
-
-
Stephen Hurd authored
Previously, properties were only supported via the TinyID mechanism in the JS API. This limited the properties to have a unique signed 8-bit integer ID, which prevented more than 256 properties from existing in a built-in object. The id value can be a name however, a TinyID is not required. For property descriptions with an ID outside the range of 8 bits, define them using just the name. When this is done, the getter and setter functions will need to convert the names to an ID themself. This isn't ideal... ideally, each would have a unique getter and setter, but doing it this way puts of requiring an internal JS API refactor and allows the CryptCert class to have all the defined properties. As implied... CryptCert now supports all properties, and JS Docs will be created for them. This section is yuge!
-
Stephen Hurd authored
-
Deuce authored
-
Deuce authored
Copy/paste without the update required a single character to have seven different values... which is unlikely to actually happen.
-
Rob Swindell authored
The calls to cryptlib are still broken, so that's a to-do item. e.g. calling cryptstatuSOK() in st_crypt.c init_crypt() throws an exception: "Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call. This is usually a result of calling a function declared with one calling convention with a function pointer declared with a different calling convention."
-
Rob Swindell authored
-