-
exec/init-fidonet.js
From
rswindell@VERT to
CVS commit on Saturday, March 14, 2020 19:00:59
exec init-fidonet.js NONE 1.1
Update of /cvsroot/sbbs/exec
In directory cvs:/tmp/cvs-serv20645
Added Files:
init-fidonet.js
Log Message:
An initial FidoNet setup script (interactive, executed via JSexec).
As a result of a making a "how-to" video for YouTube, I realized the initial FidoNet setup for a new sysop/node is harder than it should be. This script prompts the sysop for a bunch of details and automates pretty much all of
the initial setup for FidoNet support in Synchronet. You're welcome. :-)
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Saturday, March 14, 2020 20:01:02
exec init-fidonet.js 1.1 1.2
Update of /cvsroot/sbbs/exec
In directory cvs:/tmp/cvs-serv444
Modified Files:
init-fidonet.js
Log Message:
Cosmetic changes.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Saturday, March 14, 2020 23:57:23
exec init-fidonet.js 1.2 1.3
Update of /cvsroot/sbbs/exec
In directory cvs:/tmp/cvs-serv8245
Modified Files:
init-fidonet.js
Log Message:
Use system.exec() to run "binkit.js install" rather than load(). binkit.js calls exit() when exits the parent script when called from a load()'d
module. :-(
Touch the fidoout.now sem file after creating the AreaFix netmail message.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Sunday, March 15, 2020 00:10:21
exec init-fidonet.js 1.3 1.4
Update of /cvsroot/sbbs/exec
In directory cvs:/tmp/cvs-serv10196
Modified Files:
init-fidonet.js
Log Message:
Display the revision of the script to the sysop.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Sunday, March 15, 2020 00:50:45
exec init-fidonet.js 1.4 1.5
Update of /cvsroot/sbbs/exec
In directory cvs:/tmp/cvs-serv15553
Modified Files:
init-fidonet.js
Log Message:
Prompt for sysop name. Mention binkstats.ini
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Sunday, March 15, 2020 00:59:39
exec init-fidonet.js 1.5 1.6
Update of /cvsroot/sbbs/exec
In directory cvs:/tmp/cvs-serv16699
Modified Files:
init-fidonet.js
Log Message:
Fix the user count check and use the specified sysop name as the "From"
name in the created AreaFix netmail message.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Sunday, March 15, 2020 11:42:42
exec init-fidonet.js 1.6 1.7
Update of /cvsroot/sbbs/exec
In directory cvs:/tmp/cvs-serv1480
Modified Files:
init-fidonet.js
Log Message:
Prompt for/save the hub's name (i.e. name of hub sysop).
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Monday, March 16, 2020 21:08:43
exec init-fidonet.js 1.7 1.8
Update of /cvsroot/sbbs/exec
In directory cvs:/tmp/cvs-serv14527
Modified Files:
init-fidonet.js
Log Message:
Display a more obvious banner before the first prompt.
Soutch the ctrl/recycle semaphore after making all config changes.
No longer touch the data/fidoout.now semaphore after creating netmail message (unnecessary as the MsgBase.save_msg() call already does this).
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Saturday, March 21, 2020 17:41:37
exec init-fidonet.js 1.8 1.9
Update of /cvsroot/sbbs/exec
In directory cvs:/tmp/cvs-serv30761
Modified Files:
init-fidonet.js
Log Message:
Fix bug with detection of the network message group's pre-existence
(could create duplicate groups).
Added EchoList configuration to sbbsecho.ini (optional/prompted).
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Monday, March 23, 2020 20:48:26
exec init-fidonet.js 1.9 1.10
Update of /cvsroot/sbbs/exec
In directory cvs:/tmp/cvs-serv3639
Modified Files:
init-fidonet.js
Log Message:
Confirm inbound and outbound directories in sbbsecho.ini and attempt to
create the directories.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Monday, March 30, 2020 00:30:15
exec init-fidonet.js 1.11 1.12
Update of /cvsroot/sbbs/exec
In directory cvs:/tmp/cvs-serv12228
Modified Files:
init-fidonet.js
Log Message:
Added support for othernet lookups via the [domain:<name>] sections in the sbbsecho.ini file.
The command-line can now support an optional network-name or zone
followed by an optional echolist-URL.
For zones 1 and 21, the echolist URLs have hard-coded defaults that are
(at least currently) valid. If anyone has the other URLs for the EchoLists of other FidoNet zones or Othernets, please let me know. The URLs must be
an http or https link to an EchoList in backbone.na format.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Monday, March 30, 2020 01:35:05
exec init-fidonet.js 1.12 1.13
Update of /cvsroot/sbbs/exec
In directory cvs:/tmp/cvs-serv24718
Modified Files:
init-fidonet.js
Log Message:
Added better abortability (e.g. with Ctrl-C) when run from the BBS (e.g. as a door or when using the ;EXEC sysop command).
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Monday, March 30, 2020 22:09:32
exec init-fidonet.js 1.13 1.14
Update of /cvsroot/sbbs/exec
In directory cvs:/tmp/cvs-serv26685
Modified Files:
init-fidonet.js
Log Message:
Better automated supports for Othernets (e.g. fsxNet). I could use more
http[s] URLs of the echolists of active Othernets.
Uses the new scfg -faddr option to specify your FidoNet address to use
when importing the downloaded echolist.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Tuesday, March 31, 2020 18:53:13
exec init-fidonet.js 1.14 1.15
Update of /cvsroot/sbbs/exec
In directory cvs:/tmp/cvs-serv2556
Modified Files:
init-fidonet.js
Log Message:
Use the ctrl/init-fidonet.ini file for the list of FidoNet zones and othernets (metadata).
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Tuesday, March 31, 2020 20:52:21
exec init-fidonet.js 1.15 1.16
Update of /cvsroot/sbbs/exec
In directory cvs:/tmp/cvs-serv22310
Modified Files:
init-fidonet.js
Log Message:
Support manual download/extraction of echolist by sysop during setup
procedure. The echolist in the .ini file may now be just a filename or other URL-type.
Re-ordered somethings and changed some wording slightly.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Wednesday, April 01, 2020 00:44:54
exec init-fidonet.js 1.16 1.17
Update of /cvsroot/sbbs/exec
In directory cvs:/tmp/cvs-serv30160
Modified Files:
init-fidonet.js
Log Message:
A re-ordering of prompts to allow the sending of an application email early
(if desired).
Read the sbbsecho.ini for the existing sysop name setting and the existing uplink/hub settings. This make re-running this script (e.g. after receiving your permanent node address) less of a headache.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Wednesday, April 01, 2020 01:09:55
exec init-fidonet.js 1.17 1.18
Update of /cvsroot/sbbs/exec
In directory cvs:/tmp/cvs-serv3242
Modified Files:
init-fidonet.js
Log Message:
Require a '@' in the email address to attempt the sending of an application email (via Internet).
Support code_prefix's from the init-fidonet.ini. If undefined (not present), the default will be used (e.g. "<netname>_"), if blank, non will be used -
for the creation of the new message group during setup.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Wednesday, April 01, 2020 01:27:10
exec init-fidonet.js 1.18 1.19
Update of /cvsroot/sbbs/exec
In directory cvs:/tmp/cvs-serv6891
Modified Files:
init-fidonet.js
Log Message:
code_prefix -> areatag_prefix
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Thursday, April 02, 2020 01:21:13
exec init-fidonet.js 1.19 1.20
Update of /cvsroot/sbbs/exec
In directory cvs:/tmp/cvs-serv3293
Modified Files:
init-fidonet.js
Log Message:
More details in the auto-application email body text (BBS name, adddress).
Give the sysop an opportunity to abort the app-mail send.
Support fidonet address ("fido" key) in .ini file, for network coordinator (this is separate from the Othernet/hub addrss "addr" key).
Handle exceptions i HTTPRequest().get().
Fix the HTTP response code reporting (typo).
Give opportunity to abort the retry cycle of http download failures.
Don't try to import 0-byte echolist files.
Give the sysop the opportunity to send an application netmail to the network coordinator's fidonet address (if defined) if they did't send to the Othernet addres.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Friday, April 03, 2020 00:54:14
exec init-fidonet.js 1.20 1.21
Update of /cvsroot/sbbs/exec
In directory cvs:/tmp/cvs-serv23177
Modified Files:
init-fidonet.js
Log Message:
Add Fid-related log/stats files to "Operator" G-files section (optionally)
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Saturday, April 04, 2020 15:11:51
exec init-fidonet.js 1.21 1.22
Update of /cvsroot/sbbs/exec
In directory cvs:/tmp/cvs-serv16782
Modified Files:
init-fidonet.js
Log Message:
Read the init-fidonet.ini from the exec directory, not ctrl (it was moved). Allow 'Q' to quit the zone selection prompt and exit the module.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Sunday, April 05, 2020 14:19:12
exec init-fidonet.js 1.22 1.23
Update of /cvsroot/sbbs/exec
In directory cvs:/tmp/cvs-serv8778
Modified Files:
init-fidonet.js
Log Message:
Added support for "areatag_exclude" key to remove useless area tags such "netmail" from the downloading/imported echolist.
Added support for "areamgr" key to support hubs that any hub's that may not receive area manager request emails directed "AreaFix".
Send a verbose AreaFix request messge, by default (actually list each echo),
as not all AreaMgr's support the "%+ALL" directive.
Remove accidental debug alert added in previous commit.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Sunday, April 05, 2020 17:01:11
exec init-fidonet.js 1.23 1.24
Update of /cvsroot/sbbs/exec
In directory cvs:/tmp/cvs-serv2801
Modified Files:
init-fidonet.js
Log Message:
Add support for new "also" key, for secondary net admin info. It's a free form field, but preferred is: Name <email> fido-addr
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Wednesday, April 08, 2020 15:51:04
exec init-fidonet.js 1.25 1.26
Update of /cvsroot/sbbs/exec
In directory cvs:/tmp/cvs-serv14655
Modified Files:
init-fidonet.js
Log Message:
Include more details in the node number application form (packet/bundle
type).
Fix typo line 454 ReferenceError: paseInt is not defined, reported by Coz!
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Friday, April 17, 2020 21:55:49
exec init-fidonet.js 1.26 1.27
Update of /cvsroot/sbbs/exec
In directory cvs:/tmp/cvs-serv10619
Modified Files:
init-fidonet.js
Log Message:
Allow the sysop to actually change the hub's address.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
Michael Long@VERT to
Git commit to sbbs/master on Wednesday, October 21, 2020 11:31:54
-
From
Rob Swindell@VERT to
Git commit to sbbs/master on Wednesday, October 21, 2020 11:31:54
-
From
Michael Long@VERT to
Git commit to sbbs/master on Friday, October 23, 2020 11:15:10
-
From
Rob Swindell@VERT to
Git commit to sbbs/master on Friday, October 23, 2020 11:15:10
-
From
Rob Swindell (on Debian Linux)@VERT to
Git commit to main/sbbs/master on Thursday, October 24, 2024 12:14:19
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 Monday, November 04, 2024 17:33:00
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