• exec/init-fidonet.js

    From Michael Long@VERT to Git commit to sbbs/master on Sun Nov 1 12:37:27 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/00e33392d72bb762ede8c8c6
    Modified Files:
    exec/init-fidonet.js
    Log Message:
    change from hardcoded 200 to http_request.status.ok

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Michael Long@VERT to Git commit to sbbs/master on Sun Nov 1 12:37:27 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/11a8733a1172849fbf7f078e
    Modified Files:
    exec/init-fidonet.js
    Log Message:
    use unzip on windows

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Michael Long@VERT to Git commit to sbbs/master on Sun Nov 1 12:37:27 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/e25dfe65e626e721990c7c72
    Modified Files:
    exec/init-fidonet.js
    Log Message:
    Revert "use unzip on windows"

    This reverts commit 11a8733a1172849fbf7f078eeeeec6b9e4a84fb7.

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Michael Long@VERT to Git commit to sbbs/master on Sun Nov 1 12:37:27 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/cd36a63ddb16787bfc65c9d9
    Modified Files:
    exec/init-fidonet.js
    Log Message:
    Revert "change from hardcoded 200 to http_request.status.ok"

    This reverts commit 00e33392d72bb762ede8c8c6eac895078f64be06.

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Sun Nov 1 13:28:29 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/5b4e44de9fb29fb3ba8a61f3
    Modified Files:
    exec/init-fidonet.js
    Log Message:
    Simplify the changes to get_linked_node()

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Sun Nov 1 13:41:01 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/c73f9bdb0aee3bb438edd2e5
    Modified Files:
    exec/init-fidonet.js
    Log Message:
    Fix up the unzip command-line introduced in mlong's enhancements

    1. You can't include % specifiers in the string passed to system.exec()
    - this is just a wrapper for system(), it doesn't recongize Synchronet
    command-line specifiers.
    - so I just prepend the exec_dir for Win32, leave off for *nix.
    - it appears this wasn't tested since that command-line would not work.

    2. Added 'j' option to unzip. We don't want the extraction of infopacks with
    sub-directories to be creating sub-directories under our ctrl dir.
    We should consider extracting to a temp dir instead of the ctrl dir if
    we don't have absolute control over what's being extracted from downloaded
    zip files. This could be dangerous if we're not extremely careful.

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Sun Nov 1 14:31:45 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/9aaa2dd017de677d6a03c3fe
    Modified Files:
    exec/init-fidonet.js
    Log Message:
    Use constant for temp node number (9999) instead of repeating the magic number

    Don't display the new network's domain if it's not defined.

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Thu Dec 24 18:41:34 2020
    https://gitlab.synchro.net/main/sbbs/-/commit/c74ab4184640f9cb37258e65
    Modified Files:
    exec/init-fidonet.js
    Log Message:
    Don't prompt to send application netmail to same address twice in a row

    This repetition would happen when the hub's address was the same as their 'fido' key value.

    ---
    þ 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 Oct 24 12:14:19 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/cd75c5fe3fc2f38c4d07cf3e
    Modified Files:
    exec/init-fidonet.js
    Log Message:
    Pass the ctrl directory on the SCFG command-line

    Fixes issue were jsexec was used to invoke this script and a ctrl dir (different than the contents of the SBBSCTRL env var) was passed on the command-line (i.e. testing purpose). Use the correct ctrl directory.

    Create the data/text directory if it doesn't already exist. This dir
    is normally created whenever SBBS is run, so it should normally already
    exist, but if someone runs this script via jsexec before (ever) running
    sbbs, then it's possible the data/text directory does not yet exist.

    ---
    þ 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 Mon Nov 4 17:33:00 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/803ef7605c568b2d115d84e1
    Modified Files:
    exec/init-fidonet.js
    Log Message:
    Address sysops sending emails to net-coordinators w/invalid reply-to address

    Issue raised by Dumas Walker (CAPCITY2) on DOVE-Net: apparently some new
    sysops run this script before their configured hostname (e.g. mybbs.synchro.net) is valid or their mail server has been tested (can successfully receive Internet e-mail).

    This attempts to address this concern by:
    1. displaying a warning that it's important that the address given is valid
    2. attempt to validate that the host portion of the provided address is valid
    (has a DNS address record or MX record)

    Uses dns.js for MX-record lookup - thanks Deuce!

    This script does not validate that the email host can actually receive mail
    or that the name portion of the mail address is valid: that would require an outbound connection to the host's TCP port 25, which may be blocked by ISPs
    (if remote) or if its a local server (e.g. the same machine as the BBS), that wouldn't confirm that its reachable by Internet hosts. And not all mail
    servers support the necessary SMTP commands to validate recipient addresses.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net