• exec/load/newsutil.js

    From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Wednesday, November 13, 2024 14:31:53
    https://gitlab.synchro.net/main/sbbs/-/commit/bebed0b413b07ffb20caa05e
    Modified Files:
    exec/load/newsutil.js
    Log Message:
    Import and export the message "editor" as the NNTP "user-agent" header field

    The message editor is exported/imported to/from FTN as the "NOTE" kludge.

    For Accession, per irc.synchro.net
    --- SBBSecho 3.21-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Saturday, November 16, 2024 14:42:10
    https://gitlab.synchro.net/main/sbbs/-/commit/e904206bf5cb23c9e5dede2d
    Modified Files:
    exec/load/newsutil.js
    Log Message:
    Fix the regex in the parsing of the "References" header field

    We only want one Message-ID (we'll use the last, since that appears to be the message being replied to based on SLRN behavior). This fixes reply linkage
    when posing from newsreaders that put multiple message-IDs in the
    references header field. This is required for SBBSecho to do its magic
    creation of the FTN REPLY kludge during export.

    This is the fix that Accession was looking for, I think.
    --- SBBSecho 3.22-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Saturday, November 16, 2024 15:14:42
    https://gitlab.synchro.net/main/sbbs/-/commit/bdf72516a77aeda5257e5b53
    Modified Files:
    exec/load/newsutil.js
    Log Message:
    In-Reply-To is not a valid NNTP article header field

    ... so this was just redundant noise. Altough "References" is a valid header field *both* for email and nntp articles, "In-Reply-To" is for email only.
    per RFC 5536
    --- SBBSecho 3.22-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Saturday, November 16, 2024 16:34:38
    https://gitlab.synchro.net/main/sbbs/-/commit/9bf86ab10c206945417c45d9
    Modified Files:
    exec/load/newsutil.js
    Log Message:
    Store original "references" header field as an RFC822HEADER in SMB

    If an original references header field was supplied with the message, include *that* in the header (since it should contain all the IDs of the replied-to message thread) rather than just the message's reply_id (a single message
    ID) when sending via NNTP. This maintains more NNTP post integrity when
    sending back out via NNTP.

    Not sure why we were storing received "references" in the hdr.references returned by parse_news_header(), we don't seem to be using it anywere. Maybe copied from 822header.js or mailproc_util.js? Seems like cruft, so remove it.

    Also, don't ever send an "In-Reply-To" heder field via NNTP (it's not valid /used for NNTP articles, per RFC 5536).
    --- SBBSecho 3.22-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Sunday, December 01, 2024 00:22:31
    https://gitlab.synchro.net/main/sbbs/-/commit/1e740508b9eb8a2b0e5083da
    Modified Files:
    exec/load/newsutil.js
    Log Message:
    MIME-encode To and From header fields that contain non-ASCII chars

    This fixes the display of gitlab pushes from Deucе in conforming news readers. --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)