• exec/load/newsutil.js

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Sun Dec 3 17:33:19 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/40c87dc4166afdc21a5f1e43
    Modified Files:
    exec/load/newsutil.js
    Log Message:
    Correct comment about return value of function

    Why does a function this small need a comment describing its return value in the first place? <sigh>

    ---
    þ 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 Thu Dec 21 00:10:00 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/b256f4ae6b0aea93e488c150
    Modified Files:
    exec/load/newsutil.js
    Log Message:
    Convert LATIN-1 to ISO-8859-1 charset on export to NNTP

    From: Carlos Navarro (2:341/234.1)

    Messages that use CHRS: LATIN-1 are not displayed properly in newsreaders (Synchronet's NNTP server renders them with the default charset=IBM437).

    This fix may work: edit exec/load/newsutil.js, at line 77 insert

    case "LATIN-1 2":
    charset = "ISO-8859-1";
    break;

    If you want to test: ¨éíóú ñ (accented aeiou, n with tilde)

    ---
    þ 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 Wed Nov 13 14:31:53 2024
    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 Sat Nov 16 14:42:10 2024
    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 Sat Nov 16 15:14:42 2024
    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 Sat Nov 16 16:34:38 2024
    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 Sun Dec 1 00:22:31 2024
    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