-
exec/init-fidonet.js
From
rswindell@VERT to
CVS commit on Sat Mar 14 20:00:59 2020
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 Sat Mar 14 21:01:02 2020
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 Sun Mar 15 00:57:23 2020
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 Sun Mar 15 01:10:21 2020
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 Sun Mar 15 01:50:45 2020
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 Sun Mar 15 01:59:39 2020
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 Sun Mar 15 12:42:42 2020
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 Mon Mar 16 22:08:43 2020
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 Sat Mar 21 18:41:37 2020
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 Mon Mar 23 21:48:26 2020
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 Mon Mar 30 01:30:15 2020
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 Mon Mar 30 02:35:05 2020
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 Mon Mar 30 23:09:32 2020
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 Tue Mar 31 19:53:13 2020
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 Tue Mar 31 21:52:21 2020
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 Wed Apr 1 01:44:54 2020
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 Wed Apr 1 02:09:55 2020
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 Wed Apr 1 02:27:10 2020
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 Thu Apr 2 02:21:13 2020
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 Fri Apr 3 01:54:14 2020
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 Sat Apr 4 16:11:51 2020
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 Sun Apr 5 15:19:12 2020
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 Sun Apr 5 18:01:11 2020
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 Wed Apr 8 16:51:04 2020
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 Fri Apr 17 22:55:49 2020
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
rswindell@VERT to
CVS commit on Tue May 12 10:23:30 2020
exec init-fidonet.js 1.28 1.29
Update of /cvsroot/sbbs/exec
In directory cvs:/tmp/cvs-serv2720
Modified Files:
init-fidonet.js
Log Message:
Address RefrenceError: SUB_NAME is not defined.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
Michael Long@VERT to
Git commit to sbbs/master on Wed Oct 21 12:31:54 2020
-
From
Rob Swindell@VERT to
Git commit to sbbs/master on Wed Oct 21 12:31:54 2020
-
From
Michael Long@VERT to
Git commit to sbbs/master on Fri Oct 23 12:15:10 2020
-
From
Rob Swindell@VERT to
Git commit to sbbs/master on Fri Oct 23 12:15:10 2020
-
From
Michael Long@VERT to
Git commit to sbbs/master on Sun Nov 1 12:37:27 2020
-
From
Michael Long@VERT to
Git commit to sbbs/master on Sun Nov 1 12:37:27 2020
-
From
Michael Long@VERT to
Git commit to sbbs/master on Sun Nov 1 12:37:27 2020
-
From
Michael Long@VERT to
Git commit to sbbs/master on Sun Nov 1 12:37:27 2020
-
From
Rob Swindell@VERT to
Git commit to sbbs/master on Sun Nov 1 13:28:29 2020
-
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
-
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