Skip to content
Snippets Groups Projects
  1. Nov 23, 2020
    • Rob Swindell's avatar
      The great C function dependency refactor of 2020 · cee2d280
      Rob Swindell authored
      The goal of this commit is that: only modules that either are part-of sbbs.dll/libsbbs.so or need to link with/use that library, will #include "sbbs.h" and thus be dependent on its subsequent includes (e.g. cryptlib.h, jsapi.h). This should mean extdeps.mk can be trimmed way down.
      
      I also removed CVS keyword/comments and trimmed up the boilerplate copyright notice in modified and added source/header files in this commit.
      
      There is no functional change in behavior in this comment.
      cee2d280
    • Rob Swindell's avatar
      My first opportunity to use IS_ALPHANUMERIC ()instead of isalnum() · fe576d7c
      Rob Swindell authored
      and I blew it. Here's to learning new tricks.
      fe576d7c
  2. Nov 22, 2020
  3. Nov 21, 2020
    • Rob Swindell's avatar
      Better FTN netmail gating support · efa8c523
      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.
      efa8c523
    • Rob Swindell's avatar
      Use a more-liberal username matching algorithm · 1717f75a
      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.
      1717f75a
    • Rob Swindell's avatar
      The Received/trace header should contain the forward-path for "for" · ba920fb7
      Rob Swindell authored
      instead of the potentially-alias'd delivery address. The angle-brackets
      (now included) appear to be standards-compliant.
      ba920fb7
    • Rob Swindell's avatar
      Revert "A better check of a user's netmail-forwarding address." · ff3d163e
      Rob Swindell authored
      This reverts commit d4ceeba3.
      ff3d163e
    • Rob Swindell's avatar
      A better check of a user's netmail-forwarding address. · d4ceeba3
      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.
      d4ceeba3
    • Rob Swindell's avatar
      Replace use of WinSock1 import lib with WinSock2 import lib.. · 0bd92457
      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 
      0bd92457
    • Deucе's avatar
      Remove useless documentation. · affced6d
      Deucе authored
      affced6d
    • Rob Swindell's avatar
      Support forwarding FTN netmail to user's forward-to netmail address · f69c16e2
      Rob Swindell authored
      There's no new opt-in option for this new feature - maybe there should be.
      For geneb.
      f69c16e2
  4. Nov 20, 2020
  5. Nov 19, 2020
  6. Nov 18, 2020
  7. Nov 17, 2020
  8. Nov 14, 2020
    • Rob Swindell's avatar
      Restore console to "cooked" mode before daemonizing(). · 75b871a7
      Rob Swindell authored
      Previously, the console would be left in "raw" mode after invoking
      'jsexec -d <module>'.
      75b871a7
    • Rob Swindell's avatar
      More control over output streams · 6eac2079
      Rob Swindell authored
      Added options -A[filename] and -S[filename] to allow more control over which output streams go where (for mlong and his troubles with running ircd via systemd).
      
      -A controls "all messages" either sending all to stdout or the specified filename. This override the automatic suppression of the console output stream when run without a controlling TTY.
      
      -S controls "status message" (includes non-error level log messages), either sending the status messages to stdout or the specified filename. This also overrides the automatic suppression of the console output stream when run without a controlling TTY.
      6eac2079
  9. Nov 13, 2020
    • Rob Swindell's avatar
      JS File.iniGetObject() and .iniGetAllObjects() now support blank strings · 6d6451c8
      Rob Swindell authored
      If an .ini file is read by either the iniGetObject() or iniGetAllObjects() methods and contains a key with a blank value, that property would be created with an "undefined" value.
      
      Both the iniGetObject() and iniGetAllObjects() methods now accept an additional Boolean argument (which defaults to false), to specify that "blanks" are acceptable. When the "blanks" argument is true, then keys with empty values in the .ini file are created as properties with empty string values (length of 0).
      
      This is going to be useful for modopts.js to read potentially-blank strings from modopts.ini and differentiate between a blank string key and a missing key.
      6d6451c8
    • Rob Swindell's avatar
      Add timestamp of node.log file to crash.log · 8b4363c2
      Rob Swindell authored
      When a preexisting node.log file is found, a terminal server crash is suspected. Include the timestamp of the node.log in the message appended to the system log (data/logs/*.log) to help identify the likely time of the crash.
      8b4363c2
  10. Nov 12, 2020
Loading