Skip to content
Snippets Groups Projects
  1. May 31, 2023
    • Rob Swindell's avatar
      Add -out=filename as redirection isn't always an option · 12155a2b
      Rob Swindell authored
      e.g. when running filelist.js as a timed event, you can't redirect stdout
      (without running via jsexec), so let's support specifying an output
      filename with an option (-out=filename).
      12155a2b
    • Rob Swindell's avatar
      Truncate trailing whitespace from FidoNet message header fields · d6eadf36
      Rob Swindell authored
      It's unclear whether trailing whitespace is supposed to be significant or not
      (FidoNet specs don't say), but I don't see any reason why "John Doe" and
      "John Doe " should be considered unique senders or recipients. Remove any
      trailing whitespace from message subjects too.
      
      This change makes the trailing whitespace truncation in SMB hash functions
      unnecessary (at least for SBBSecho-imported messages), but most (all?) other
      message transports don't allow for this nonsense in the first place.
      d6eadf36
  2. May 30, 2023
    • Rob Swindell's avatar
      Strip the "in-transit" attribute flag from imported packed-messages · b1852011
      Rob Swindell authored
      Log a warning message when either the "local" or "in-transit" flag has been
      stripped from ("Sanitized") imported packed-messages.
      
      Keyop reported a chksmb warning on a FidoNet message that contained the
      'in-transit' attribute:
      <Keyop> Message flagged as 'In Transit'     (?): 1
      <Keyop> fidonet_fidosoft Message Base has Errors!
      
      The message in question appears just to be a corrupted echomail msg coming
      from HPT:
      Sender           '56:43 '
      To               Tommi Koivula
      Subject          test
      X-FTN-AREA       FIDOSOFT.HUSKY
      X-FTN-TID        hpt/os2-wc 1.9.0-cur 2021-03-14
      
      SBBSecho didn't use to convert/import the "in-transit" flag on imported
      netmail or echomail messages, ... until commit 446ab0ef, which
      was needed to support the TickFix robot. So now, let's just sanitize the
      packed-message attributes a little sooner in the import process and log a
      warning when such sanitization has taken place.
      b1852011
    • Rob Swindell's avatar
      Allow the 'in-transit' attribute flag to be removed from msgs in any msgbase · e2102d19
      Rob Swindell authored
      If a msgbase internal code is passed on the command-line, use that msgbase
      instead of 'mail' (where the use of the 'in-transit' flag is normally expected
      to be seen). For Keyop.
      e2102d19
    • Rob Swindell's avatar
      Add option (for deon) to notify offline users of new received email (SMTP) msgs · 29204587
      Rob Swindell authored
      The notification of offline users was removed from the mail server 13 years
      ago (commit 729eb16b) without a lot of fanfare or explanation. Add an
      option for notification of offline users (in addition to online users) for
      those sysops that want that behavior.
      
      Use the userdat is_user_online() function in place of the getnodedat() loop,
      which also wasn't considering nodes in "logon" status as having a user online.
      29204587
  3. May 27, 2023
  4. May 26, 2023
  5. May 25, 2023
  6. May 24, 2023
    • Rob Swindell's avatar
      Moar new stuff · d40d6112
      Rob Swindell authored
      d40d6112
    • Rob Swindell's avatar
      Resolve failure to touch files when non-owner on *nix · 77fd082f
      Rob Swindell authored
      ftouch(), semfile_signal(), and JS file_utime() would fail to update a file's access/mod times with errno=EPERM if not run as the file's owner. From "man utime":
      
      EPERM times is not NULL, the caller's effective UID does not match the owner of the file, and the caller is not privileged (Linux: does not have the CAP_FOWNER capability).
      
      So use a NULL times parameter value when updating to a file's time stamp(s) to the current time.
      77fd082f
    • Rob Swindell's avatar
      Comment header block update (only) · 01cf3f87
      Rob Swindell authored
      01cf3f87
    • Deucе's avatar
      A few scaling fixes for X11 mode... · 08a78bbc
      Deucе authored
      - getscaling() incorrectly used an int intermediate variable
        This would force scaling to an integer value when read.
      - Only parse ConfigureNotify events describing a change to the SyncTERM window
        It appears that XWayland on ChromeOS was occasionally sending a
        ConfigureNotify event describing some other window to SyncTERM,
        and that window had a 1x1 size, which would cause SyncTERM to
        assert minimum size again (usually 640x480), which would set
        scaling to 1.0.
      08a78bbc
    • Rob Swindell's avatar
      Increase maximum path and command-line lengths from 63 to 100 characters · 1c63f4d2
      Rob Swindell authored
      One of the benefits of the new .ini format config files. :-)
      
      This increase introduced a few potential buffer overrun warnings (all writes
      to smb_t.file ?)
      1c63f4d2
Loading