• exec/load/newsutil.js

    From Rob Swindell (on Debian Linux)@VERT 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

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT 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.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT 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

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT 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).

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT 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.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Sunday, May 04, 2025 17:35:53
    https://gitlab.synchro.net/main/sbbs/-/commit/e713206ef81812865ce88033
    Modified Files:
    exec/load/newsutil.js
    Log Message:
    Include format=fixed or flowed in exported content-type news header fields

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Friday, November 14, 2025 12:14:31
    https://gitlab.synchro.net/main/sbbs/-/commit/faa6f9fb839ad90a6836828a
    Modified Files:
    exec/load/newsutil.js
    Log Message:
    Don't make reply_id an array when parsing "References" header field

    Bug introduced in commit 9bf86ab10c206945417c45d98f096c758a1ecf7f

    Reported and root-caused by Carlos Navarro (2:341/234.1) - thank you!

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Accession@VERT/PHARCYDE to All on Friday, November 14, 2025 17:48:32
    Hey Rob!

    On Thu, Nov 14 2025 14:14:31 -0600, you wrote:

    https://gitlab.synchro.net/main/sbbs/-/commit/faa6f9fb839ad90a6836828a Modified Files:
    exec/load/newsutil.js
    Log Message:
    Don't make reply_id an array when parsing "References" header field

    Bug introduced in commit 9bf86ab10c206945417c45d98f096c758a1ecf7f

    Reported and root-caused by Carlos Navarro (2:341/234.1) - thank you!
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net

    I suppose now would be as good a time as any to test this update.

    Regards,
    Nick

    ... Sarcasm, because beating people up is illegal.
    ---
    þ Synchronet þ _thePharcyde telnet://bbs.pharcyde.org (Wisconsin)
  • From Accession@VERT/PHARCYDE to All on Friday, November 14, 2025 17:52:23
    Hey Rob!

    On Thu, Nov 14 2025 14:14:31 -0600, you wrote:

    https://gitlab.synchro.net/main/sbbs/-/commit/faa6f9fb839ad90a6836828a Modified Files:
    exec/load/newsutil.js
    Log Message:
    Don't make reply_id an array when parsing "References" header field

    Bug introduced in commit 9bf86ab10c206945417c45d98f096c758a1ecf7f

    Reported and root-caused by Carlos Navarro (2:341/234.1) - thank you!
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net

    Welp, I forgot I had a modified newsutil.js in my mods directory. Let's
    try that again!

    Regards,
    Nick

    ... Sarcasm, because beating people up is illegal.
    ---
    þ Synchronet þ _thePharcyde telnet://bbs.pharcyde.org (Wisconsin)