Skip to content
Snippets Groups Projects
  1. Nov 22, 2020
  2. 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
  3. Nov 20, 2020
  4. Nov 19, 2020
  5. Nov 18, 2020
  6. Nov 17, 2020
  7. 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
  8. 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
  9. Nov 12, 2020
    • Rob Swindell's avatar
      Clarify in the help text that first directory is cloned... · d37bd8c8
      Rob Swindell authored
      when there is no "template directory" selected/configured.
      d37bd8c8
    • Rob Swindell's avatar
      Reduce unnecessary posted-to username searches. Auto-UTF8 in savemsg(). · 1060bd21
      Rob Swindell authored
      When posting to "All" or replying to a message that was posted by networked (not local) user, don't attempt to search for that username in the local user base to inform them of the posted message to them.
      
      savemsg() is the underlying C function for saving a new message (mail or post) to a message base from several places, including JS modules. If there was no "charset" specified in the passed message header, check to see if the message body text is non-ASCII but valid UTF-8, and if it is, set the FIDO_CHARSET header field to the appropriate UTF-8 charset identifier string. This would *also* address Issue #177 reported by Michael J. Ryan. It's possible, but unlikely, that a message text would contain valid CP437 that *also* happened to be valid UTF-8. If that does happen to occur (e.g. in posted ANSI art?), we might want to revert this enhancement to savemsg() and leave to the caller's to detect/specify the charset, always.
      1060bd21
  10. Nov 11, 2020
Loading