Skip to content
Snippets Groups Projects
  1. Jun 01, 2023
  2. May 31, 2023
    • Deucе's avatar
      Use /bin/pwd instead of pwd to get the PWD. · 2ba9dc40
      Deucе authored
      Some shell pwd implementations default to the "Logical" PWD, which
      can contain symlinks.  The POSIX standard for /bin/pwd is to return
      the "Physical" PWD with all symlinks resolved.  Some shells don't
      support the -P option the the built-in pwd, so we don't want to
      reply on that.
      
      For some reason, we're redefining the PWD env variable which should
      by the phyical path, but I'm not really interested in tracking down
      all the windy history for this.
      
      Basically, this bit me once, and now it's fixed.
      2ba9dc40
    • Rob Swindell's avatar
      Truncate trailing whitespace from FidoNet message header fields · 373dca29
      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.
      373dca29
  3. May 30, 2023
    • Rob Swindell's avatar
      Strip the "in-transit" attribute flag from imported packed-messages · 73783e2b
      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.
      73783e2b
    • Rob Swindell's avatar
      Add option (for deon) to notify offline users of new received email (SMTP) msgs · 543620f3
      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.
      543620f3
  4. May 27, 2023
  5. May 26, 2023
  6. May 25, 2023
  7. May 24, 2023
  8. May 22, 2023
    • Rob Swindell's avatar
      Support new -S option to not check Subject CRCs · 66b28bc9
      Rob Swindell authored
      the Subject CRC calculation was changed in May of 2022 (trailing whitespace is
      removed prior to calculation), so messages imported before this date/revision
      of sbbs might be detected as having an invalid/mismatch Subject CRC. This -S
      option can be used to suppress such errors (for Keyop).
      
      Don't support /option syntax any longer in non-*nix builds (just -options).
      Options are now case-sensitive (i.e. -S and -s are different options).
      Bump version to 3.20.
      66b28bc9
  9. May 20, 2023
  10. May 15, 2023
    • Rob Swindell's avatar
      Remove more references to smbactiv · 52b1a8ea
      Rob Swindell authored
      As Deon pointed out:
      
      I saw that smbactive was removed recently (719b7523), but a quick search of
      code, sees reminants in GNUmakefile and other files, which I'm wondering is a
      cause of the problem...?
      52b1a8ea
  11. May 09, 2023
  12. May 08, 2023
  13. May 07, 2023
  14. May 06, 2023
    • Rob Swindell's avatar
      Perform input translation (e.g. DEL<->BKSPC, PETSCII chars) in input_thread() · 0fba2f87
      Rob Swindell authored
      My first idea was to have a per-external-program setting to enable input
      translation, but Deuce suggested it would be better done in input_thread() and
      after some thought, I agree. Translations are not done in data/file transfer
      mode, so use the CON_RAW_IN console flag to indicate this condition. So even
      JS console.getbyte() will return a translated char unless the console is set
      raw input mode (this could be surprising behavior for some!).
      
      I considered saving/restoring the console mode when performing a file transfer
      but will leave that to a time when obviously needed.
      
      This fixes issue #497 in automatic way (no option needed).
      0fba2f87
Loading