Release Notes
Major changes and additions, newest first. This page is generated from WHATSNEW.md in the repository. For the full detail behind any entry, see the linked issue or GitHub.
This document attempts to track major changes and additions in ENiGMA½. For details, see GitHub.
Unreleased
Section titled “Unreleased”Merged since the last release: on master now, and in the next release.
- New user names can no longer start with a dash. The default
users.usernamePatternnow rejects a name that begins with-(for example-x), at sign-up and inoputil user rename. Names starting with other symbols ($tarman,_Phantom_,~Kludge~) and names with a dash elsewhere (Bob-Smith) are still allowed.
0.7.0 (2026-12-04)
Section titled “0.7.0 (2026-12-04)”-
Archive extraction refuses member names that look like options (GHSA-2224-668p-mr6m). When ENiGMA½ extracts named files from an archive, such as the FILE_ID.DIZ or NFO of an upload, it no longer passes the archiver a name that starts with
-or@(or/on Windows) or holds a line break, whatever the archiver; the rest are still extracted, and the refused names are logged. An upload whose only description file has such a name gets its description as if it had none. The default7Zip,Arj,RarandTarGzextract arguments now end option parsing with--. A non-batch (e.g. X-modem) upload now uses its file name as the upload menu checked it, without any leading-,+or@; one it cannot use fails the transfer. See UPGRADE if you define your own archivers. -
Sysop page alert commands run without a shell (GHSA-83wh-ghfq-32gh). With
sysopChat.pageAlert: command,sysopChat.pageAlertCommandis now split into a program and its arguments and run directly, with{userName},{nodeId}and{message}substituted into each argument on its own. The page’s details are also passed in the environment asENIG_PAGE_USERNAME,ENIG_PAGE_MESSAGE,ENIG_PAGE_NODEandENIG_PAGE_SESSION, and a script that reads them is the recommended form. A command using shell syntax is not run, and an error is logged. Only one alert command runs at a time, it is stopped after 30 seconds, and a page message is now at most 256 characters whatever the theme allows. See UPGRADE and Page Alert Command. -
Each release comes with a retro scene pack. Next to the source archives, a release now carries an 8.3-named ZIP for BBS file areas:
ENIG0700.ZIPfor 0.7.0,E0700RC1.ZIPfor 0.7.0-rc.1. It holds aFILE_ID.DIZ, anENIGMA.NFO, theENIGMA.DOCQuick Start Manual and a Xibalba ad, and carries a ZIP comment. The source is in an innerENIGMA.ZIPthat unpacks toenigma-bbs-X.Y.Z/like the other archives, withEXTRACT.SH(Linux, macOS, the BSDs) andEXTRACT.BAT(Windows) to unpack it and print the next steps. Text is CP437 with CR LF line ends and every entry is dated the day of the release, so an upload processor (ENiGMA½’s included) takes the DIZ and NFO as the file’s descriptions. It is listed inSHA256SUMSand has build provenance like the other archives. -
A failed login takes as long whether or not the account exists (#1179). A password check (PBKDF2) ran only for an account that exists, so an unknown user name was refused in about half the time a wrong password took, and a locked, disabled or inactive account (refused by its status before the password is checked) in about a millisecond. The REST API answers every failed login with the same 401, so the answer time alone told which names were taken; telnet, SSH, the web terminal and NNTP were timed the same way. A password login for an unknown name, or for an account refused by its status, now derives a key from the password all the same, with the current parameters and a fixed dummy salt (made once at first use, never stored), so it takes as long as a wrong password. So does a wrong password for an account still on the old, much cheaper password hash (it is upgraded at its next successful login), and a login with no usable password or stored hash, which is now refused as a wrong password. It counts toward the per-address failed login limit and goes through the board-wide cap on password checks as a wrong password does. The answers are unchanged: an account’s status message still says it is locked, disabled or awaiting activation. SSH public key logins derive nothing, as before.
-
A login that fails after the password checks out leaves nobody logged in (#1182). When the login’s setup (moving the caller to an area they can read) or recording it (the login counts and last login time) failed on a database write, the caller was told the login failed, but the client’s user stayed filled in and authenticated, and the
UserLoginevent had already gone to the WFC ticker and the user’s event log. Now the user goes back to nobody, a warning is logged, and the event goes out only once the login is set up and recorded. A 2FA login still sends it once the password checks out, as before, and is reset in the same way if recording it fails after the one-time password, though by then its event has gone out. Thanks to alvaroalonsoparrondo-a11y for the fix. -
A description file’s SAUCE record no longer ends up in the description (#1109). A
FILE_ID.DIZ, README or.NFOthat carries a SAUCE record, as is common in ANSI art packs, was stored with the record (its title, author, group, font name and binary fields) at the end of the description. Those binary fields can hold control characters: a form feed in one made SyncTERM clear the file browse screen while the description was drawn, leaving the caller with no visible commands. The record, its comment block and the end-of-file marker (0x1A) before them are now cut off when the file is scanned, at the place the record itself gives; its contents are still kept, separately, as before. A file with no SAUCE record is never cut, even where it contains a0x1A, the CP437 right arrow. Descriptions already in the file base keep their record until the files are scanned again:oputil.js fb scan --full --update AREA_TAGre-reads the description files in an area and updates the entries whose description changed. It replaces a description that came from a TIC file too, so in a file echo area name just the affected files with a wildcard glob as the last argument (... AREA_TAG 'blndr*.zip'; a plain file name is not read as a glob). -
The SSH server logs the algorithms each client negotiates. Each completed key exchange is logged at
infoas “SSH handshake”, with the key exchange (kex), host key (hostKey), the cipher, MAC and compression each way (cipherCS/cipherSC,macCS/macSC,compressCS/compressSC; the MAC is<implicit>with an AEAD cipher such asaes128-gcm@openssh.com), the client’s identification (identRaw,software) andremoteAddress. A rekey is logged too, withrekey: true. A key exchange that fails is logged atwarnas “SSH handshake failed”, with the error, in place of the generic “SSH connection error”. When the client has no algorithm in common with the server, itscategorysays which list ran dry (kex,hostKey,cipherCS,cipherSC,macCS,macSC,compressCSorcompressSC); any other cause, such as a bad signature, isother. Nothing about which algorithms are offered has changed; this is so the legacy ones inloginServers.ssh.algorithmscan be pruned knowing which callers still use them. -
Art keeps its colours after an MCI code. When art was shown, each MCI code was blanked in the colour the code started in, and the terminal was left in that colour, so a colour change in the art between two codes was lost. On the
luciano_blocktronicslogin screen (USERLOG.ANS) the dark grey blocks after the user name and password fields were drawn black on black. The art’s own colour is now restored after each code. Art with no colour change between its codes is sent exactly as before. Theluciano_blocktronicstheme also fits its views to the art: the login matrix menu no longer blanks a column of the green bar, and on the WFC the node list no longer runs into the pane beside it and the total files line shows a whole-number size (16 / 137 MB) that no longer overwrites the box border. Two new format transforms,sizeWholeWithAbbrandsizeWholeWithoutAbbr, give a size rounded to a whole number, assizeWithAbbrandsizeWithoutAbbrdo with two decimals. -
Failed logins are limited per address, and password checks board-wide (#1224). Each address may make
users.failedLogin.perAddressfailed logins (default 10) perperAddressWindowMinutes(default 10), across telnet, SSH, the web terminal, NNTP and the REST API. Past that, its further password checks wait 1, 2, 4, then 5 seconds before they run, one at a time (a check that has waited its turn 30 seconds goes ahead anyway); none is refused because of the address, and reconnecting does not reset it. Loopback and addresses intrustedProxiesare never slowed, since they may stand for many callers. A warning is logged the first time an address goes over. Separately, only a few password checks run at once (half the libuv thread pool and one fewer than the CPUs, at least 1: 2 by default), so a flood of logins can no longer tie up the threads that file access and compression share; the rest wait their turn, and past several hundred waiting a login fails at once. NNTP had no limit on failedAUTHINFOattempts before, other than the account lock. The REST API’s/auth/loginno longer answers an unknown user name before checking: it goes through the same check as any login, so it waits, and counts toward the budget, just as a wrong password does; its answers are unchanged. SetperAddressto0to turn the per-address limit off. See Security. -
Docker: uploads, avatars and mail survive recreating the container (#1217, #1221, #1227). The file base stores uploads under
/enigma-bbs/file_base/by default, which is whatconfig newwrites, but the volume is/enigma-bbs/filebase; the default FTN/BSO and inbound email paths are under/enigma-bbs/mail/, but the volume is/mail. So uploads, queued outbound mail and untossed inbound mail stayed in the container and were lost when it was recreated, as the documented upgrade does. When nothing is mounted atfile_baseormail, the container now links each to its volume.userdata(avatars) is now a volume too.wwwcan be mounted for custom web content, and an emptywwwmount is given the stock web files. The image’s stock art, config, mods and web files are in/enigma-bbs-pre, and at each start the container logs how many of them your mounted directories lack, such as the art for a new feature;-e ENIGMA_STOCK_FILES=copy-missingcopies those in, never touching a file you have, andoffsilences it. See UPGRADE and Docker. -
The install script no longer installs
masterbecause GitHub could not be asked, and leaves amasterinstall where it is (#1220, #1211). WithENIGMA_VERSION=latest(the default), a failed release lookup (rate limited, timeout, no network) was treated as “no release exists” and installedmaster. Now only GitHub’s answer that there is no release installsmaster(as before the first release); a failed lookup shows in the header as unknown and stops the installer, with how to carry on, only when an option that installs ENiGMA½ runs (Quit still works), and the lookup is time-limited.GITHUB_TOKEN, if set, is used for it (sent toapi.github.comonly); if GitHub rejects it (401) the lookup is retried without it, with a warning. Running the script over an existing install on a branch, or on a commit that is not a release, no longer moves it to the latest release: it stays where it is, unlessENIGMA_VERSIONis set (ENIGMA_VERSION=latestmoves it). An install exactly on a release tag still upgrades to the latest one, and an install git cannot read (such as “dubious ownership”) is reported instead of being changed. Also fixed: error messages repeated the time and printed a literal%b, and were never red; menu option 2 (Install ENiGMA½) did not check that git and curl are installed; and option 3 downloaded the source twice. -
A bad BinkP inbound port no longer crashes startup or leaves the TLS listener up (#1222). A non-numeric, negative or out-of-range
inbound.port(orinbound.tls.port) made Node throw fromlisten()instead of reporting an error, so BinkP startup failed with no clear message and, with TLS on, the TLS listener could stay up. Both ports are now checked first (a whole number from 0 to 65535; 0 still means any free port): a bad one is logged as “Could not start the inbound server” and BinkP inbound stays off. -
SyncTERM and other strict SSH clients can connect (#1193). The SSH server identified itself as
SSH-2.0-enigma-bbs-0.6.3-beta-srv. RFC 4253 allows no hyphens afterSSH-2.0-, and clients that follow it, such as SyncTERM (DeuceSSH), dropped the connection during the handshake. It is nowSSH-2.0-ENiGMA_BBS_<version>, e.g.SSH-2.0-ENiGMA_BBS_0.7.0, with any hyphen (or other character the RFC disallows) in the version written as an underscore. The legacy key exchanges and ciphers older clients need are unchanged. -
The Docker image ships sexyz 3.7 (#896), rebuilt from Synchronet
4f87bfacacfor amd64, arm64 and armv7 (was 3.6). -
Docker images are tagged by release (#1197).
enigmabbs/enigma-bbsis published as:X.Y.Zand:X.Yfor each release,:X.Y.Z-rc.Nfor a release candidate, and:edgefor every push tomaster. From 0.7.0,:latestis the latest release instead ofmaster; until then it still followsmaster. Images carry OCI labels for their version, commit and source. See UPGRADE and Docker. -
The version says when you are between releases (#1194).
main.js --version,oputil.js --versionand the startup log now get the version from one place. On a release it is the release, e.g.0.7.0. On a git checkout that is not exactly on a release tag it says how far past one it is, ingit describestyle:0.7.0-14-gabc1234is 14 commits after 0.7.0, at commitabc1234, and-dirtyis added when tracked files are modified. Before the first release tag it is thepackage.jsonversion and the commit, e.g.0.6.3-beta-gabc1234. Please include it in bug reports. What callers and the outside world see says less: theVNandVLMCI codes (the login screen, the WFC and the like), NodeInfo and the REST API’s/system/infoshow just the release’s major.minor.patch, e.g.0.7.0, with no pre-release tag or commit. A newVRMCI code shows just the commit, e.g.abc1234orabc1234-dirty, for the sysop’s own screens such as the WFC; it is empty when the commit is not known. Without git (an install from an archive), it is thepackage.jsonversion, as before; the Docker image is built with the full string, since it has no.git. Anything sent to other systems in a fixed format keeps the plain release version: the FTN tearline, PID and Via lines, QWK packets, door drop files, the SSH identification string, MRC and BBSLink. -
The install script installs the latest release, or the version you ask for (#1198).
install.shalways installedmaster. A new setting,ENIGMA_VERSION, chooses:latest(the default) installs the latest release on GitHub, a version such as0.7.0installs that release (tagv0.7.0), andmasteror another branch name installs that branch. Until the first release is published, or if GitHub cannot be reached,latestinstallsmasterand says so. Releases are installed as a full clone with the tag checked out, so a later upgrade isgit fetch --tags && git checkout <tag>.ENIGMA_BRANCHstill works, and the script still comes frommaster. Running the script over an existing install now fetches tags, and brings a branch it checks out up to date (before, an existingmasterstayed where it was). The header shows the version being installed. See Install Script. -
The install script installs the Node.js version ENiGMA½ requires.
install.shinstalled Node.js 20, but ENiGMA½ needs 22 or newer (enginesinpackage.json), so a fresh install ran on a Node.js it does not support. The script now reads the version fromenginesin thepackage.jsonof the branch it installs, so the Node.js it installs always matches the code it installs. It also checks outENIGMA_BRANCHbefore reading anything from the tree, including when only ENiGMA½ itself is installed (menu option 2), which did not check it out at all. -
BinkP says so when its inbound port is taken, instead of stopping part-way. If the inbound port (
binkp.inbound.port, default 24554) or the TLS port was already in use, BinkP startup stopped without a word: the pull schedule, crashmail and the config watch never started, and only a low-level listen error was logged. It now logs “Could not start the inbound server” with the port and closes any listener it had already opened. BinkP stays off until the port is free and ENiGMA½ is restarted, as before, but now you can see why. Also, an inbound port of0now listens on any free port (mainly for testing) rather than on 24554; the “listening” log line shows the port picked. -
An uplink’s EchoMail packets all go out when one of them fails to queue (#1116). When an export to an uplink could not queue one of its packets (its flow file reference failed, say), the uplink’s temporary packets were cleaned up while others were still being moved, so one could be deleted instead of going out. No mail was lost, since its messages stayed owed and went out with the next export, but they went out late. Every packet is now seen through before the cleanup.
-
A canceled offline mail export or message body upload no longer leaves a directory in the temp dir. A QWK or Blue Wave export that was canceled (ESC), or that stopped because an area could not be read, left its packet work directory in the system temp directory; so did a message body upload from the full screen editor that was canceled or received nothing. Each stayed there until ENiGMA½ exited, and for good if the process was killed. They are now removed as soon as the export or upload ends.
0.6.3-beta
Section titled “0.6.3-beta”-
SSH logins refused for the account say why and disconnect (#1081). A caller who is already connected, or whose account is disabled, inactive or locked, saw the reason as an input prompt (“Press any key to continue”) that waited for Enter, and OpenSSH could follow it with another password prompt; logging in with a public key showed nothing at all. The reason is now shown with no prompt and the connection ends, as for a full board; a key or password login is sent to keyboard-interactive to show it. A client that cannot do keyboard-interactive gets an authentication failure. A locked account’s answer still comes after 2 seconds, and a public key query still says nothing about the account. Also, an SSH client that reports its terminal size only in pixels (0 rows and columns) no longer gets a terminal hundreds of characters wide: the size is found as for a client that sends none, by asking the terminal, else 80x25.
-
The “All nodes are busy” message can come from an art file (#1081). The message a caller gets when
general.maxConnectionsis reached was fixed text on every login server. An optionalBUSY.ASC, in the pre-login theme, the default theme orart/general, now replaces it; without one, the message is as before. Telnet and WebSocket callers get the file as written, pipe colour codes rendered, before their terminal type is known (so plain text is the safe choice); SSH callers get it as plain text. It is reread in the background at most once a minute, so a turned-away caller never waits on the disk. See Busy Message. -
SSH checks one login at a time per connection. An authentication request that arrives while a login is being checked is held and answered once that login is done, as RFC 4252 section 5 describes, so
users.failedLogin.disconnectnow limits each connection as intended. A client that waits for each answer sees no change. -
Wrong one-time password (2FA/OTP) codes count toward the account lock. A wrong code or backup code at the 2FA prompt now counts toward
users.failedLogin.lockAccountas a wrong password does; before, it counted only towarddisconnect. While the account is locked the prompt answers “locked” whatever code is entered, without checking it, and the stock login templates show the ACCOUNTLOCKED screen there (config.lockedon the OTP menu). For an account with 2FA, the right password alone no longer clears the failed login count or a lock that has run out; the right code does. An email password reset leaves the count and any lock of a 2FA account as they are. An account disabled or set inactive between the password and the code is refused at the code, with the ACCOUNTDISABLED or ACCOUNTINACTIVE screen in the stock templates (config.disabled/config.inactiveon the OTP menu). TheUserStatIncrementevent forfailed_login_attemptsis now sent once the count is stored, and a listener that throws no longer undoes the count. See UPGRADE. -
A disabled or inactive account is answered before the password is checked. A login for an account that is disabled, or waiting for sysop activation, now gets the same answer whatever password or key is given: the ACCOUNTDISABLED or ACCOUNTINACTIVE screen and a logoff on the menus, the “is disabled” or “is waiting for +op activation” message and a disconnect over SSH. Before, a wrong password went back to the login prompt and only the right one showed the screen. No password check is made for such an account, and nothing is counted toward
users.failedLogin. A sysop disabling an account while a login for it is being checked gets the same answer whether that password was right or wrong. The REST API and NNTP answer as before. See UPGRADE. -
NetRunner’s telnet window size is read. NetRunner pads its window size (NAWS) with an extra byte on each side, and it was rejected, so NetRunner was always sized by the connect queries instead.
telnet-socket0.2.7 reads it, reports any other malformed telnet subnegotiation as a command error (logged at debug) instead of passing it on with no data, and no longer has any dependencies: installing ENiGMA½ no longer fetches one from a git URL. It also fixes a telnet client being able to raise an uncaught exception with an incomplete subnegotiation for an option ENiGMA½ does not use (it was logged and the board carried on).
0.6.2-beta
Section titled “0.6.2-beta”-
A telnet window size narrower than 20 columns or shorter than 10 rows is measured instead of trusted. Windows telnet sends only the low byte of each dimension, so a 270 column window arrived as 14 columns and every screen was laid out for 14. Such a width or height is now ignored and logged: at connect the size query measures it, and later in the session the size already in use is kept. A narrow width from the size query reply is now kept only for terminals that identify themselves as ones that state their size (SyncTERM, TERMinator, IcyTerm, enig-term); NetRunner and Qmodem answer that query with the cursor position, so from any other terminal a narrow width is taken as 80, as a cursor position always was. Window sizes of 20x10 and up are taken exactly as before.
-
The terminal size is never left at 0 after connect, so art and menus are no longer drawn at row 0. Terminals that send no window size (NAWS) and answer the size query with something that is no size (NetRunner and Qmodem answer
1;1), or do not answer cursor position queries at all, or answer them late, were left with a size of 0x0: every view was moved to row 0, column 0 (ESC[0;0H), which DOS terminals do not draw where meant, and a NAWS of 80x0 left the height at 0 for good. Each dimension still unknown after the size query is now 80 columns or 25 rows, and the art parser and views treat a size of 0 as no size. The size query also asks with an ordinary cursor position query, so terminals that ignore the ANSI-BBS one (Procomm Plus, Telix, modern VT terminals) are sized by what they report, without the 2 second wait they had. Replies are kept with the query they answer: a reply that came after its query had timed out could be taken as the answer to the next one, which could turn SyncTERM fonts on for a terminal that prints them as text. A terminal that sends its replies a byte at a time (DOS terminals behind an emulated modem can) has them read: they were taken as key presses, and the size and font queries were never sent. Each dimension of a reported size is checked on its own (Procomm keeps the cursor position in a byte, so 999 comes back as 231), a width under 80 from the cursor position is taken as 80 (Telemate stops the cursor at column 79; a size the terminal states in answer to the ANSI-BBS query is kept, so a narrow web terminal keeps its width), and a terminal that reports column;row (Terminate) is recognised and its reports swapped. Once a cursor position query goes unanswered, the later connect queries (SyncTERM fonts, CTerm capabilities, UTF-8) are no longer sent (before, only an unanswered first query did this), and an Escape key pressed while a query awaits its reply arrives up to 100ms late. Terminals that send a good window size are sent exactly the same queries as before. -
Accounts are locked after repeated failed logins, as
users.failedLogin.lockAccountsays. The setting (default 9) never took effect: failed logins were counted but the count was never acted on. Wrong passwords now count on every login path (a wrong second-factor code counts towarddisconnectonly). Only an active account is locked, and while locked it refuses even the right password or key untilautoUnlockMinutes(default 360) have passed; after that the right one lets the user in and restores the account, and a wrong one locks it again. A successful login, an email password reset oroputil.js user activateclears the count, and the reset also unlocks the account (withunlockAtEmailPwReset). An SSH key that is not the user’s counts towarddisconnectonly, so a user’s agent keys do not lock them out. User name lookups are now exact, so%or_in a name no longer match other names; mail toJohn_Doe@still reaches “John Doe”, and a new user name that would share an existing user’s email address is refused. See UPGRADE before upgrading. -
An ANSI file uploaded as a new post’s body is saved as ANSI (#1084). Only replies were saved with the ANSI lead-in and the cp437 export encoding, so uploaded art posted as a new message got the
[ANSI]subject tag but went out as plain text. New posts and replies are now saved the same way. Opening the quote builder after an ANSI upload no longer drops the tag or changes how the art is saved: plain quote lines are added to the art as typed text would be, and quoting from an ANSI message turns the body into ANSI only once a line is actually quoted. A reply to a subject the editor tagged, such as[ANSI] RE: Hello, is nowRE: Hello(tagged again only if the reply is ANSI) rather thanRE: [ANSI] RE: Hello. -
Uploads no longer keep an impossible file date (#1129). A file a caller uploads over ZModem or another transfer protocol keeps the modification time their terminal gave it, and the sender controls that: uploads were arriving dated 10 May 2446. An upload dated before 1980, or more than a day ahead, is now dated the time it was received, before it reaches the file base; the log says which file and the date it came with. A real date, such as an old file the sender preserved, is kept. So a hatched or FREQ’d upload is no longer offered to other systems over BinkP with a 2446 date, and backups and anything else going by file dates see a sane one. Files already in the file base are not changed.
-
The user config screen no longer fails for a user with no stored terminal height (#1145). Users created by
oputil, an import or a mod may not have one; the screen was left half filled and an exception was logged. It now shows the session’s terminal height, as signup stores. -
%PEshows the bytes sent (#1149). It showed the bytes received, the same as%PI, and showed nothing (logging an error) before any traffic was counted. -
Pre-auth feedback no longer opens with “Field cannot be empty” showing. The feedback editor reachable from the login matrix put the cursor on its empty From field and checked it at the same moment, as if the visitor had already left it, so the error was on screen before anything was typed. From is now checked only when the visitor moves on from it, and an empty From is still refused then.
-
Page sysop’s “send as mail” is addressed to the sysop by name. When the sysop could not be paged and the caller chose to send the page as mail, the To field said
SysopunlesssysopUserNamewas set in thepageSysopmenu config. On a board with no account named Sysop, moving into To and pressing Enter gave “Failed to find user”, and the saved mail showedSysopas its recipient. With nosysopUserNamethe To is now the root user’s username. A configuredsysopUserNameis used as before, and the mail still goes to the root user either way. -
Removing a file from the download queue shows the right list (#1160). Removing any queued file but the last drew the removed file’s neighbour twice and dropped the last file from the list, until the screen was redrawn. The fix is in the code all menu lists share: after
removeItem()or a sort, every item is drawn again from its own text, so mods that remove entries from a visible list are fixed too. -
Page sysop’s “send as mail” opens the editor filled in (#1144). When no sysop was available and the caller chose to send their page as mail, the private mail editor opened empty: no To, no subject, and the page text they had typed was gone. It now opens addressed to the sysop, with the subject from
mailSubjectand the page text as the body, and the cursor in the body, ready to add to or save.- The private mail editor no longer says “Field cannot be empty” as it opens. Starting any new private mail showed the error for the empty To field before anything was typed. To is now checked when the caller leaves it, as before.
-
A message area tag that is not configured is no longer open to everyone. The read and write checks treated a tag missing from
messageConferencesas an area with no ACS of its own, so the defaults applied and any user passed: a caller whose current area had been removed from the config could still post into it, and an offline reply packet could still be imported into it. Such a tag is now no access, for read and write, for every user including sysops. Configured areas, private mail, bulletins and the ActivityPub shared area are checked exactly as before.- Callers whose current area was removed (or whose area’s conference was removed) are moved to a suitable area when they log in, the same way callers who can no longer read their current area always have been: the default conference and area when they can read them, else the first they can. Callers with no current area stored get one the same way, and so do callers whose stored conference no longer holds their area (an area the sysop moved to another conference). A caller whose current area is configured and readable is left alone. If an area is removed while a caller is online and in it, posting there shows the usual no-access message and its message list is empty until they pick another area or log in again.
- My Messages and message search no longer list messages left in the message base under an area tag that is no longer configured.
- An offline reply packet message for such an area is rejected and counted in the import summary.
- Fixed: a login could stop after the password. When a caller was being moved out of an area they could not read and the default conference had no area they could read either, picking another area threw an error and the login never finished. This had been the case since April 2026.
- Without a conference marked
default, new users were given the ActivityPub conference as their current one (the built-in conferences come first in the config), and callers being moved out at login with ActivityPub turned on landed there too. A conference shown in the conference list is now picked first; the hidden ActivityPub one only when nothing else is readable. Boards set up withoputil config newmark a default conference and are not affected.
-
New
%AVanimation view: frames played in a box over a menu’s art. Fire pillars beside a logo, an eye that glints every few seconds, a spinner next to the command prompt: the menu keeps taking input while they play, and only the cells that change are sent. Frames come from pipe-coded strings in the menu config, from one art file holding every frame (several animations can share one sheet), or from one art file per frame, found through the theme like any art, so themes and mods can supply their own. Place the box with an%AV20marker in the art, or with apositionand no marker to animate existing art without editing it. Animations play on ANSI sessions only; PETSCII, ATASCII and RIP callers see the first frame.menus.animations.enabled: falseinconfig.hjsonturns them off everywhere, andanimations: falsein a menu’sconfigturns off that menu. Stock menus do not use it yet; the templates show a commented-out example. See Animation View.- For mods: a view may have a
prepare(cb)method, which the form calls before it is first drawn (AnimationViewloads its frames there). A form with no such view loads as before. See Views that load before the first draw.
- For mods: a view may have a
-
Animated focused items in menu lists (
focusItemFrames). Vertical, horizontal, full and spinner menus can play a list of formats on the focused item: an arrow that pulses beside the selection, brackets that bounce around it, a highlight that glints every few seconds. Each frame is a format used asfocusItemFormatis (for plain lists of strings too);focusItemFrameInterval,focusItemFrameDurationsandfocusItemFrameMode(looporpingpong) set the timing. Only the focused item moves and only while its list has focus, moving the selection draws the new item’s first frame at once, and each frame sends just that one item. Horizontal menu slots and full menu columns make room for the widest frame. When it is not animated (the list is not focused, animations are off, or the session is not plain ANSI) the item showsfocusItemFormat, or the first frame. The same switches as%AVturn it off. Stock menus do not use it yet; the templates show a commented-out example. See Animated Focused Item. -
A full menu (
%FM) no longer goes blank when the focus moves off its last item. With the last item focused, moving to another view on the screen (Tab, or Enter on a list that does not submit) redrew the full menu as nothing, and it stayed blank: the arrow keys drew nothing (Down did not move at all) until Up had blindly wrapped the focus round, or the menu was reloaded. On a full menu with several pages, an item on a later page could also come back drawn on the wrong page after a focus change. The page with the focused item is now drawn. -
A sysop chat that cannot be set up now ends and says why in the log. If the chat art (
SYSOPCHAT) was missing, or lacked one of%MT1,%ET2,%MT3or%ET4, breaking into chat from the WFC left the sysop on the chat art unable to type, the caller was never brought in, and nothing useful was logged. The error is now logged with the menu name and the missing codes, and the chat ends as Escape would end it:- If the sysop’s side fails, the sysop goes back to the WFC. The caller, who has not seen the chat, is not told and stays where they are.
- If the caller’s side fails, the sysop sees ”[ Chat session ended ]” and both go back.
- If the caller cannot be taken to the chat at all (the menu will not load, no access, they hung up), the chat ends and the sysop goes back, with a warning in the log. Before, the sysop waited in an empty chat.
- Pressing Escape during the two seconds after ”[ Chat session ended ]” no longer sends the sysop back a second menu as well.
A chat that sets up works as before.
-
The node message screen finishes loading (#1143). When its art has a live preview (
%TL3, as the stock art does), the node message screen never finished loading. Nothing showed on a stock board, but apause,interrupt: realtimeorruntime.autoNextset on anodeMessagemenu never took effect. They now do. The preview still follows each key as it is typed. -
UTF-8 art with certain box-drawing or accented characters no longer breaks lines. Characters such as
č,Ċ,┊and┍in UTF-8 art were taken as a carriage return or line feed (their low byte is one), so the line was cut there and the rest drawn in the wrong place. They are now drawn as the characters they are. CP437 art is not affected. -
Realtime interrupts are no longer drawn over, and the key that dismisses one stays with it (#1136). On a menu with
interrupt: realtime, a node message, page or achievement is shown over the menu, whose forms stay underneath until it is reloaded. A%TKticker or a%SBstatus bar withrefreshIntervalon that menu kept drawing its row over the interrupt, and the key pressed to dismiss it also reached the menu: it was typed into anETcommand prompt, or ran the menu’s action for that key, before the menu reloaded. While an interrupt is up the menu now draws nothing and gets no keys; a ticker in the interrupt’s own pause prompt (the stockpausePagehas one) still animates. The same goes for messages shown by a menu that could not go where it was asked to.- The full screen editor’s help no longer types into your message (#1137). The key pressed to close the Ctrl-O help screen was also inserted into the message body, and Escape moved the focus behind the help screen. The key now only closes help. The “added to your download queue” message after an export works the same way.
- The file list and WFC help pages keep the key that closes them from the screen underneath too.
- A pause that clears the screen is no longer drawn over by the tickers and status bars of the screen it replaced while it waits for its key. A clear-screen prompt without a pause behaves as before: the module that shows it owns the screen from then on.
- MRC and sysop chat keep lines that arrive while something covers the screen, and draw them when it is gone.
- After any of these, a ticker or status bar that missed a draw is drawn again in full.
- For mods: new
client.captureInput(handler, { onMenuChange, onDrop }),client.releaseInput(token)andclient.hasInputCapture();MenuModule.coverScreen(options, fn, cb)(andcoverScreen(client, options, fn, cb)incore/screen_cover.js) for a screen shown over another;View.suspendBackgroundDraw(client)/View.resumeBackgroundDraw(client, token)and aforceNextRedraw()hook;MultiLineEditTextView.addText(text, { redraw: false })withredrawChanged().client.waitForKeyPress()is unchanged: a plain wait, whose key also reaches the forms; wait insidecoverScreen()(or take acaptureInput()) to keep it from them. A cover cut short by a menu change (a sysop break-in, a time-up) no longer repaints over, or carries on in, the menu that replaced it. AdrawInBackground()draw function should only draw: while the screen is covered it runs with its output discarded. See When something covers the screen and Covers and input capture.
-
A menu left while it is still loading stops there. Leaving a menu while its art was still being drawn (at a baud rate, say) by a hotkey, a sysop break-in, a time-up or a disconnect let the menu carry on once the art finished: it built its forms, and started its
%TKtickers and%SBstatus bars, behind the next menu, where their timers kept running. It now stops at the first step after it was left. A menu’snextTimeout(withruntime.autoNext) no longer moves on a caller who has already left that menu, and the message conference and area lists no longer send the caller back a second after a “Cannot change” message if they have gone elsewhere in the meantime.- Art drawn at a baud rate is no longer broken up by a ticker. While art was drawn with baud emulation (a menu’s
baudRate), a%TKticker or%SBstatus bar already on screen drew between two pieces of the art, and the rest of the art was drawn from wherever that left the cursor. On PETSCII and ATASCII terminals the tick could also come out wrong. Background drawing is now paused while the art is drawn, and a ticker or status bar that missed a draw is drawn once when the art is done. - The full screen editor’s footer and quote window are no longer misplaced by a header ticker. A
%TKor%SBin the editor’s header that ticked while the footer art (switching between edit and menu modes) or the quote window art was being read could make that art draw from the ticker’s position. The header now waits until the art is drawn, then catches up. An error showing the footer art no longer leaves the screen’s output held. - An
mcikey that does not parse no longer hangs the menu. A form key that is not two letters and a number (tl1, a typo) was warned about, and then the menu never finished loading. It is now skipped with the same warning, and the rest of the form loads. Keys such asMET3still configure view 3, as before. - Posting with no current message area shows the no-access message (#1139) instead of throwing and leaving a broken screen. That happened for a user who had never been given a message area.
- For mods:
MenuModule.hasLeftMenu(), true onceleave()has run, which the defaultinitSequence()and theprepViewController(),prepViewControllerWithArt()anddisplayArtAndPrepViewController()helpers now check after their async steps (once the menu is left they still call back, with any form they built torn down);MenuModule.setMenuTimeout(fn, ms)/clearMenuTimeout(handle), a timeout thatleave()cancels;View.setBackgroundInterval(fn, ms)/clearBackgroundInterval(handle), a timer whose drawing goes throughdrawInBackground()and thatdestroy()clears (TickerViewandStatusBarViewuse it, unchanged otherwise);View.isDestroyed(view);MultiLineEditTextView.destroy(). See Leaving a menu and Views that draw on a timer.
- Art drawn at a baud rate is no longer broken up by a ticker. While art was drawn with baud emulation (a menu’s
-
Page sysop: the page form no longer takes keys under the “send as mail?” offer (#1138). If the sysop went away while a caller was typing a page, the offer to send it as mail was shown with the page’s message field still taking keys underneath: what the caller typed went into the hidden field too, and one Enter answered the offer and sent the page again. At the “page sent” screen, the key pressed to continue was also typed over the art. Only the form on screen takes keys now.
- A menu that has been left can no longer take keys again. A callback that finished after the caller had moved on (art that finished loading, a database read, a line from a chat server) could hand the keys back to a form of the menu that was gone, so keys typed on the next menu also reached it, action keys included.
leave()now destroys the menu’s forms for good. - An interrupt pauses the forms its menu builds during it. A form the interrupted menu builds while an interrupt is up (its art finished loading meanwhile) no longer draws its ticker over the interrupt. Tickers in the interrupt’s own pause prompt still animate.
- New
pauseWhenInactiveview property: a view that draws on a timer (a%TKticker, a%SBstatus bar withrefreshInterval) withpauseWhenInactive: trueskips its ticks while its form is inactive or covered, and is drawn again when the form is active. It takes effect where a module deactivates or covers a form (deactivate()/cover()): the full screen editor and prompts, below. See Form states. - For mods:
ViewController.activate(),deactivate(),cover(),uncover({ redraw })anddestroy()(form states: Form states);View.suspendBackgroundDraw(client, scope)andcoverScreen()take an optional scope ({ menu }or{ forms }); by default a cover still pauses only the views that exist when it begins.setFocus(true)isactivate();setFocus(false),detachClientEvents()andremoveViewController()are unchanged (they detach and tear the form down;detachClientEvents()is deprecated in favour ofdestroy()). A form of a menu that has been left can no longer be attached again: see UPGRADE.md.
- A menu that has been left can no longer take keys again. A callback that finished after the caller had moved on (art that finished loading, a database read, a line from a chat server) could hand the keys back to a form of the menu that was gone, so keys typed on the next menu also reached it, action keys included.
-
Tickers and status bars keep running in the full screen editor and under prompts. A
%TKticker or a%SBstatus bar withrefreshIntervalin the editor’s header, body or footer art stopped for good the first time the focus moved away from its form (from the header to the body, from the body to the Escape menu or find), and one in a form under a prompt (the message list’s delete confirmation, the WFC kick confirmation and task prompt) stopped at the prompt. They now keep running while their form is on screen. A form that something is drawn over (a prompt, the quote builder, another footer in the editor’s footer rows) pauses them, and draws them again when it is shown.- The editor footer no longer stays attached under the Escape menu or find. Keys bound on it in a theme (form 2) reached it while another footer was shown.
- A multi-line editor no longer moves the cursor back into itself after losing the keys. A code just typed (
|12) collapses 300 ms later; if Escape or another focus change came first, the line was redrawn and the cursor left in it while another field had the keys. It now collapses as the focus leaves. - For mods:
promptForInput({ prevFormName })covers the previous form instead of tearing it down: its views and timers are kept, and its view listeners are removed, as before. Mods that extend the full screen editor: see UPGRADE.md.
-
Tickers and status bars keep running on screens that switch pages. On onelinerz, rumorz and the BBS list (the list and the add page), the file list (browse and details) and the ActivityPub search, actor search and user configuration screens, a
%TKticker or a%SBstatus bar withrefreshIntervalstopped for good the first time the screen switched to its other page. The page not shown now only pauses them, and they pick up again when it is shown.- Onelinerz and rumorz: the entry preview no longer draws over the list. Typing a line and then pressing Escape within half a second drew the preview and the entry field over the list, and left the cursor in the hidden field. It also fired after leaving the menu. A pending preview is now dropped when the add page goes away.
- Leaving one of these screens while a page is still loading (its art being drawn, a remote look-up) no longer draws the rest of a page shown before over the next menu, and the file list no longer jumps to its “no results” menu after the caller has gone elsewhere. A page shown for the first time can still draw its views once its art finishes, as before.
- The file list’s “general” details section no longer stays attached under the browse page after leaving details.
- For mods: these modules cover the hidden page (
cover()) instead of tearing it down withsetFocus(false). See UPGRADE.md if you extend one of them.
-
Views can be placed from menu or theme configuration, with no
%code in the art. Anmcikey with aposition(TK50: { position: { row: 23, col: 2 }, ... }) creates its view there, as if the art held the code: useful where a code would draw over the art itself, such as a ticker over a logo. Any view can be placed, input views included. With a code in the art as well, the position wins, so a theme can move a stock view without editing the art. A theme alone can add or move views on a stock menu. Positions count from the art’s top-left corner, so they follow art drawn lower down, such as a prompt. See Placing Views from Configuration.- Placed views do not take Enter away from a form. A form with no
submit: truesubmits from the view with the highest configured ID, as before; placed views are left out of that choice. mcikeys are checked against the art. Views are matched by ID, so a key whose code is not the art’s (ET8for a%ME8) still configures that view, as before, now with a warning in the log naming the menu, form and key. A key that is not exactly a code and an ID (MET3) still applies as read (ET3), with a warning. The stock menus and the luciano_blocktronics theme have been fixed to name the right codes.- For mods: an
mciMapfromart.display()remembers where its art was drawn (not one of its keys).MCI_KEY_EXACT_REGEXPis exported fromcore/view_controller.jsbesideMCI_REGEXP.
- Placed views do not take Enter away from a form. A form with no
0.6.1-beta
Section titled “0.6.1-beta”-
Ticker text styles that change the text’s length keep each character’s colour (#1063). A
%TKticker with pipe colours in itstextand a text-styleeffectcoloured the wrong characters after any character the style turns into more than one:upperturnsßintoSS,lowerturnsİinto two characters, andmixeddoes either at random. Witheffect: upper,|14ßa|07bdrewAin the wrong colour andBin the view’s colour instead of|07. Each character’s colour now goes with everything it becomes. Settingeffecton a ticker that already has text now restyles its text and colours together; before, the colours were left as they were, and switching from a text style to a dynamic effect such asrainbowleft the text styled.- The ticker’s
firstLower,smallVowels,bigVowelsandsmallIeffects now style the text. They had never done anything: the ticker passed those names straight to the text styler, which spells themfirst lower,small vowels,big vowelsandsmall i, and the spaced spellings were not taken as text styles by the ticker at all. Both spellings now work.
- The ticker’s
-
A ticker no longer pulls the cursor out of the field you are typing in. A
%TKticker redraws on a timer, and every tick left the terminal cursor at the end of the ticker, in the ticker’s colour. On a screen with a text entry field, such as a main menu whose art has a%TKand whose command prompt is anETview, the cursor blinked at the ticker, and a character typed after a tick was drawn at the end of the ticker, in its colour, instead of in the field. After each tick the cursor and colour now go back to the field that has focus, whether it is in the menu’s art or in its prompt, and the cursor is hidden while the ticker draws. Screens with nothing to type into draw their tickers as before. That includes pause prompts, even one shown over a menu whose command field still has focus underneath (a realtime message, say): while the pause waits for its key, the field is set aside, so the pause’s ticker does not pull the cursor back into it. For mods: a view that draws on its own timer can wrap the drawing indrawInBackground(drawFn)to get the same, and a focusable view says where its cursor goes by overridingrestoreFocusPosition(). See Views that draw on a timer.-
Status bars with
refreshIntervaldo the same. A%SBview refreshing on a timer (a clock, say), in single or panel mode, moved the cursor out of the focused field in exactly the same way; it now puts it back after each refresh that draws. -
The full screen editor gets its cursor back too. A multi-line edit view (
MT) with focus, such as the message body in the full screen editor, now has its cursor returned to its edit row and column after a ticker tick or a status bar refresh. -
Custom info views put the cursor back in the field you are typing in, wherever it is. After a module redraws its custom views (
%TL10and up, throughupdateCustomViewTextsWithFilter()), the cursor went back only to a text field (ET) on the same form as those views. It now goes back to the field that has focus on any form, so a status line in a menu’s art no longer leaves the cursor away from a command field in its prompt, and a multi-line (MT) or masked (ME) field gets its cursor back too. For mods:repositionCursorToFocusedView(formName)keeps its name, but no longer usesformNameto find the view. -
MRC: a line arriving while you type no longer takes your next keys. Adding a line to the MRC chat log left the cursor at the end of the log, so the next character typed into the input line was drawn there instead. The cursor and input colour now go back to the input line after every chat log line.
-
The stock
pausePageticker now moves. Itsbouncetext (48 columns) sat in a 60 column window, andbounceonly moves text longer than its window, so it never moved. The template now useswidth: 34, which fits between the>>>and<<<of the stockpause_pageart. If your menu file came from the old template, setwidthunderprompts.pausePage.mci.TK1the same way. The ticker and pause prompt docs had the same mistake in theirbounceexamples, and said thescrambleandglitcheffects override pipe colours; they keep them (onlyrainbowreplaces them).
-
-
MRC: the multiplexer only listens on this machine, and the server’s certificate is checked. The MRC multiplexer, which the board’s MRC chat sessions connect to, has no login, yet listened on every network interface and took each message’s sender from the message itself. Anyone who could reach
chatServers.mrc.multiplexerPortcould post to MRC under the board’s name as any user, read a user’s private messages, or send MRC commands as them. It now listens on127.0.0.1only (so only programs on the board’s own machine can reach it), and sends each message as the user its connection registered as, never asSERVER,CLIENTorNOTME. A user connected on two nodes, or back in MRC moments after leaving, is no longer logged off MRC when the other session closes, and a user leaving is logged off once rather than twice. A connection that gave no name could stop private messages reaching everyone else, a reset connection was never logged off or forgotten, a line split across reads was dropped, and a short line from the MRC server could throw; all fixed. WithuseSslon, the connection to the MRC server was encrypted but accepted any certificate; it must now be valid forserverHostname(the default server’s is), and the newchatServers.mrc.verifyCertificate: falseturns this off for a private server. Thanks to zerosquaredio for the report. -
|TU,|NT,%TUand%NTnow draw their counts (#1105). The total users and new users today codes were the only predefined MCI codes giving a number instead of text, so a|TUpipe code was left on screen as typed,|TUin a message body or other body text changed the colour instead, and a%TUview in art stayed empty. They now give text like the other codes, and{NT}in a view’s text is no longer left unfilled when there are no new users today.{TU}and@sysStat:user_total_countalready worked and are unchanged. -
Mods can ship default custom info formats (#447). A module can override the new
getDefaultCustomInfoFormats(formName)to return{ 10: '{msgCount} new', ... }, so its%TL10+ views are filled with no operator config. AmainInfoFormat10-style entry in the menuconfigor theme always wins, and an empty string hides a defaulted view.getCustomInfoFormat(formName, id)is the lookup, used by bothgetCustomViewsWithFilter()andupdateCustomViewTextsWithFilter(); defaults are never written into the shared menu config. Existing modules have no defaults and behave as before. See Default custom info formats. -
Message lists can focus the last message when nothing is new (#447).
msg_listhas a newfocusWhenNoneNewoption,first(default, as before) orlast, set in the menuconfigor passed inextraArgsby a module that opens the list (extraArgswins). Withlast, a list with no new message opens on its most recent message instead of the oldest. Returning from reading a message is unchanged. Nothing in the stock menus changes. See Message List. -
New scan can skip the message base (#447).
new_scanhas a newskipMessageBaseconfig entry, the mirror ofskipFileBase: withtruethe message base is not scanned and the module goes straight to the file base, so a board whose message reader is a mod can still run the file part of the login new scan (anew_scanentry withskipMessageBase: true, chained after the reader). With both set there is nothing to scan and the module finishes at once. Off by default; nothing in the stock menus changes. See New Scan. -
Area hash tags given as a string are no longer stored one letter at a time. An area’s
hashTagswritten as a string (hashTags: uploads) could reach a new upload as that string and be stored as one tag per character (u,p,l,o,a,d,s). File entries now take hash tags as a string, an array or a Set alike, trimmed and without empty tags. Entries already tagged that way keep those tags: look for single letter hash tags in the file base. -
Uploads no longer end the caller’s session on boards without a
fileBaseMainMenu. After every telnet/SSH upload, finished or failed, the upload module went to the menufileBaseMainMenu, a name it had built in; on a board whose file base menu has another name, the caller saw “An unrecoverable error has been encountered!” and was disconnected. The upload menu now takesuploadDoneMenuin itsconfig(defaultfileBaseMainMenu), and if that menu does not exist, or the caller may not enter it, the caller goes back to the menu they started the upload from, with a warning in the log naming the setting. -
Release quarantined files, and an allowlist for false positives (#291).
oputil fb quarantine listshows what file scanning put in quarantine;oputil fb quarantine release NAME [--area TAG] [--name NEWNAME] [--allow [--note TEXT]]puts a file into the file base after checking that its SHA-256 is still the one recorded when it was quarantined, restoring its original name (refused unless it is a plain, safe file name) and importing it without a virus scan, with the uploader, description and TIC details its sidecar kept (sidecars now keep these);oputil fb quarantine delete NAMEdeletes one. The new allowlist is a global list of SHA-256 hashes you have declared safe: a listed file is clean, withscanner: allowlist, for every upload, REST upload, TIC import,fb scan --virus-scanand rescan, without any scanner running. It matches exact bytes only, lives in the file database, and onlyoputilcan change it:oputil fb mark-safe FILE_ID|SHA256 [--note TEXT](which also clears aninfectedresult a rescan recorded on every entry with those bytes),--listand--remove SHA256. A release scans the file first (sourceoputil) and leaves it in quarantine if that scan rejects it or cannot run, so a held file is released once the scanner works again and a flagged one needs--allow;--no-scanreleases unscanned on the operator’s responsibility.quarantine release ... --allowadds a released file’s hash (taken off again if the release fails). Every change, release and delete is logged with the operator’s OS user. Rescan reports now list themark-safecommand beside the remove command. Entries a rescan marked infected are now hidden from users until youmark-safeor remove them: not listed, searched, picked up by a new scan, queued, sent, linked or served (web links made before the flag stop working, and a queued download is checked again right before it is sent); asked for by ID, link or REST they are simply not found, and a re-upload of the same bytes is still a dupe without the hidden entry being named. Also fixed: updating a file entry (fb desc, a TIC replace) deleted its user ratings along with the rows it then rewrote. Users passing the newfileBase.scanning.infectedVisibleAcs(defaultGM[sysops]|ID1) still see them, flagged by the file list’s new{infectedIndicator}field;fileBase.scanning.hideInfected: falseshows them to everyone as before. See Releasing files and false positives and Hidden infected entries. -
Mods can ship their own art (#447). A mod kept in its own folder (
mods/the_mod_name/the_mod_name.js) can put its art inmods/the_mod_name/art/, and its menus name it by plain name (art: MYMOD). For menus whosemoduleis that mod, art is now looked for in the user’s theme, the default theme, then the mod’sartfolder, thenart/general, so operators no longer copy a mod’s art anywhere, and override it as before by dropping a file of the same name into their theme. Art names holding a path, single file mods (mods/the_mod_name.js), system modules and everything else are looked up exactly as before. See Shipping art with a mod. -
Rescan the file base for viruses (#291). Files already in the file base can now be run through the file scanners again, by hand with
oputil fb virus-scan CRITERIA [--older-than DAYS] [--max N] [--dry-run], or with the new built-in, manual-onlyrescanFileBasetask from the WFC task list (give it ascheduleandargsinconfig.hjsonto run it on its own). A rescan only reports: it never moves, quarantines or deletes a file or removes an entry. Each entry’s result is recorded (scan_result,scanned_at,scanner, and the newscan_signatureandrescan_attempted_at), and the operators get one private message per run, only when something needs them, listing each infected file with the command that removes it (./oputil.js fb rm FILE_ID --phys-file); an infected file is reported again on every run until it is removed. It uses the scanner entries whosesourcesincluderescan(or list none), one file at a time so it never holds up uploads or TIC imports, reads only regular files inside their storage directory (never through a symbolic link), and stops when the scanner looks down. A scheduler@methodcan now call back with a short output text, kept as the run’soutputTailand shown in the WFC task detail.oputil fb rm --phys-filenow works before the file IDs as well as after. See Rescanning the file base. -
Users can choose between alternatives you offer (#447). Where a board has more than one way to do something, such as the stock new scan and an index reader mod, each user can pick theirs. The choice is a user preference: a user property named
pref__<name>(thepref__prefix is now reserved for this). The newuser_pref_selectmodule shows the choices you list in its menuconfig(each can carry anacs) plus “(board default)”, marks the current one and saves on select;@systemMethod:setUserPreferencedoes the same from a plain prompt withextraArgs: { pref, value }. Menus route on the choice with the existingPVACS code, so the entry withoutacsstays the board default for everyone who has not chosen. Names and values are limited to whatPVcan test and are only ever taken from the menu configuration. Nothing in the stock menus changes;main.in.hjsonandlogin.in.hjsoncarry a commented example. See User Preference Select.- Enter now toggles an area on the configure newscan screen. Its menu bound the key name
"enter", which ENiGMA½ never produces (Enter arrives as"return"), so Enter did nothing there. The stock template and the docs now use"return". If yourmessage_base.hjsonwas made from the old template, changekeys: [ "space", "enter" ]inmessageBaseConfigureNewscantokeys: [ "space", "return" ].
- Enter now toggles an area on the configure newscan screen. Its menu bound the key name
-
New view: Table View (
%TV) (#447). A scrolling list laid out in columns, for screens such as message area lists. Rows can sit under group rows (───── fsxNet ─────dividers) and can be made unselectable; the cursor keys, Page Up/Down, Home and End skip them. Columns have widths (fixed,fillor a percentage), types (numbers right-aligned and sorted as numbers, dates formatted withdateFormat), formats, colours, and can hide themselves on narrow terminals (minTermWidth). A column can wrap long values onto several lines (maxLines), andruleschange a cell’s colour or text by its value (when: "> 0"lights a count,when: "= 0"shows-). An optional header labels the columns and marks the sorted one with ▲/▼, and the operator sets the sort (within groups; empty values last), which a module can let users change with a key. Pipe codes in fields a module marks as typed by users are shown as typed. Intheme.hjson, aTVentry’scolumns,stateSGR,sort,groupandsortIndicatormerge with the menu’s, so a theme can change one column alone; nested values on other views are still replaced. Withoutcolumns,%TVdraws rows fromitemFormatlike%VM. Nothing in the stock theme changes. See Table View. -
Uploads and TIC imports can be scanned for viruses (#291). With
fileBase.scanningenabled, every telnet/SSH upload, REST API upload and TIC payload (passthrough echoes included, so an infected file is never relayed to downlinks) goes through the configured scanners before ENiGMA½ opens it, before any archive extraction orFILE_ID.DIZreading. The built-incommandscanner runs a program such asclamscan,clamdscanor Windows Defender’sMpCmdRunand reads its exit code, withsignatureRegexandinfectedRegexfor its output; mods provide their own scanners through aregisterFileScannersexport, which both the BBS and oputil call. A rejected file is quarantined (renamed DOS style,.exeto.ex_, with a JSON sidecar) or deleted, perfailAction, and the operators innotifyUserIdsget one private message per upload session, TIC pass or oputil run. A scanner that fails or times out holds the file (quarantines it) unless its entry saysonError: accept; a held TIC payload is instead kept in the inbound and retried, bounded bytic.holdMaxAgeMs, so a scanner outage loses nothing. Telnet/SSH callers see a rejected files page (new optional artULREJECT) with a general reason, the rest of their batch going through as normal; REST clients get a422.oputil fb scanscans only with--virus-scan. Off by default. See File Scanning. -
File scanning follow-ups (#291). The docs now cover what ClamAV reports clean without looking: password-protected and encrypted archives (even with
AlertExceedsMax; turn onAlertEncryptedArchiveor--alert-encrypted-archive=yes, at the cost of rejecting every encrypted upload) and ARC and ZOO archives, which it cannot unpack. They also explain why a scanner that reads the file by path, thecommandscanner included, may not read the bytes ENiGMA½ hashed, and why that matters for TIC imports only. Each registered scanner is now logged, with the mod that registered it. For mod authors: a scanner’sinit()can call back(null, { warnings: [...] }), logged as warnings, while an error is logged as a failure to initialize; see Writing a scanner. Also, formain.jsandoputil.js:--configgiven a directory without a trailing slash (--config /srv/bbs) now findsconfig.hjsonin it (it used to look for/srv/bbsconfig.hjson),--configmay also name the config file itself (--config /srv/bbs/config.hjson), and a bare--configwith no value warns and uses the default directory. -
New MCI codes for message counts:
|NA,|NC,|NSand|AT(#447). Any art can now show the new messages in the caller’s current area (|NA), in their current conference (|NC) and across their new scan areas (|NS, roughly what a new scan would find), and the total in the current area (|AT). “New” is what the new scan and the message list already count as new: after the caller’s last read message, raised to their new scan date. They are cached for 10 seconds like|NMand|NP, but changing area or conference, changing the new scan selection or date, or reading messages counts again at once.|NMand|NPshow the current count on first read. They used to show the count from the previous read, so the first screen after logging in showed0, and a screen shown right after reading mail still showed the old count. They now count before they are shown, and reading mail counts again at once.- For mods:
getMessageAreaStats()andmarkMessageAreaRead()incore/message_area.js. The first returns total, new, new-to-you and the last post for a list of areas in one database query, using the same “new” as above; the second marks an area read.
0.6.0-beta
Section titled “0.6.0-beta”-
v86 and Z-Machine doors handle time-up, hangups and a door that never starts (#1066, #1065, #1067). See When the caller leaves mid-game.
- Time-up. When a caller’s time for the day ran out inside one of these doors, they were sent to the time-up logoff, but the door kept running, and its output kept reaching their terminal over the logoff screen, until the connection closed. Both doors now detach the caller as soon as the time is up, or whenever the menu moves on while the door runs (an idle logoff, say), so the logoff screen draws with nothing from the door after it. A Z-Machine game is ended at once, as on a hangup.
- A v86 door is told the caller hung up, and gets time to save. The emulator used to be stopped the moment the caller hung up, so a DOS door never saw carrier drop and lost whatever it had not yet written. ENiGMA½ now drops carrier (DCD) on COM1, as a modem would, and waits up to
disconnectGraceSeconds(default30) for the door to save and exit before stopping the emulator; the same happens on time-up. The door’s slot stays taken during that wait, so withnodeMax: 1a caller who redials at once may find the door busy until it has exited. A door still booting, and a server shutdown, get no wait. SetdisconnectGraceSeconds: 0to stop at once, as before. - A v86 door that never starts no longer leaves the caller at a spinner. If the guest never wrote to COM1 (a bad image, a BIOS file that does not work, a
RUN.BATthat hangs first), theLoading...spinner ran until the caller hung up. Now, if nothing arrives withinstartTimeoutSeconds(default120,0waits for ever), the emulator is stopped, a warning naming the image is logged, and the caller is told the door could not be started and goes back to the previous menu. The same message is shown for any other failure before the door’s first output, such as a config problem, a missing BIOS or image file, or a guest that halts without writing anything; before, these went back to the menu without a word. See When the door does not start. - Amiga doors accept
disconnectGraceSeconds: 0, which ends the session at once with no wait. Before, the lowest value was1. The default is unchanged.
-
A
FILE_ID.DIZorREADMEin an archive’s subdirectory, or as its only entry, becomes the upload’s description (#901). The upload scan found description files anywhere in an archive (RELEASE/FILE_ID.DIZ), but then read one from the wrong place when the archiver kept its path, asunzipandtardo; a lone entry in a subdirectory (docs/manual.pdf) was looked for in the wrong place when the archiver dropped the path, as7zaandunrardo. Both are now looked for either way. An archive holding nothing but itsFILE_ID.DIZorREADMEwas handled as a single file and given a description made from its filename; a lone entry that matchesfileBase.fileNamePatternsis now read as a description file. Names from the archive listing are untrusted: only a regular file that stays inside the extraction’s temp directory is read, never one that a..or absolute name, or a symbolic link, points at elsewhere. A description file that cannot be found or read after extraction is now logged at debug level. -
An empty flow file asks the BinkP mailer for a call, and is removed afterwards (#1047). FTS-5005.003 uses a zero-length flow file (
touch 00010002.clo, or one left by other software sharing the outbound) to mean “call this node even though nothing is queued”, and §3.4 asks for it to be removed after a successful session. ENiGMA½’s BinkP mailer ignored these files: a node with only a poll file was never called, and the file was never removed. A zero-length.ilo,.clo,.dlo,.flo,.iut,.cut,.dutor.outnow makes the node due a call on the next poll (the pull cycle,binkpPullNow, or crashmail), and is removed once a session with that node, outbound or inbound, ends successfully. It is removed under the node’s.bsylock, and only if it is still empty; a session that fails or is refused leaves it in place. Hold (.hlo,.hut) still means wait for the node to call us: an empty one is neither a reason to dial nor removed.oputil bso statusandbso listshow poll requests. -
An SSH connection that stalls before login no longer keeps a node (#1080). An SSH connection counts against
general.maxConnectionsfrom the moment it connects, but the idle timeout starts only at the shell, and SSH keepalives are off. A caller that stopped during key exchange or authentication kept its node until it closed the connection itself, so enough of them could fill every node. A connection that has not reached the shell within 120 seconds (the same as OpenSSH’sLoginGraceTime) is now disconnected and its node freed. SetloginServers.ssh.loginTimeoutSecondsto change it, or to0to turn it off. Callers who log in normally see no change. See Login Timeout.- A telnet connection ended by the board is closed even if the caller never closes its side. After the board ended a session (logoff, idle timeout, a kick), the socket stayed open until the caller closed it. It is now closed 30 seconds after the last output has gone out, if the caller has not closed it by then.
-
A BinkP file we fail to store is left with the sender (#1090). When writing an inbound file failed (a full disk, say), an uncompressed file was still acknowledged with
M_GOT, so the sender applied its disposition and could delete its only copy, and the file was handed on to the tosser. A compressed or zero-byte file was not answered at all, and the session waited out the five-minute timeout. Each is now postponed withM_SKIP, the partial temp file is removed, and the batch carries on; the sender offers the file again next session. A FREQ request (.req) that did not arrive whole (cut short, postponed, asked for again uncompressed, or the session dropped) kept the answering side from ever sending itsM_EOB, and the session waited out the timeout too; it now finishes, and a.reqsent again later in the session is still served. An empty temp file could also be left behind when a session ended while a zero-byte file was being written. -
A long FTN export no longer has a second one run alongside it (#1079). The scheduled or requested EchoMail/NetMail export runs under a 10 minute watchdog. When an export ran longer than that, the watchdog gave up on it and released the export block and the outbound
enigma.bsyflag, but the export itself kept running, so the next export started beside it. An export cannot be interrupted, so the watchdog now only logs, every 10 minutes, that the export is still running; no other export starts, and the flag stays up, until it really finishes. TheexportOutboundNowtask answers “An export is already running” for as long as that is true. -
Terminal replies and arrow keys split across two network reads no longer turn into key presses (#942). A terminal answers ENiGMA½’s connect-time queries (cursor position, device attributes, the CTerm capability queries) on the input stream. When the network delivered one of those answers in two pieces, say
ESC[<0;1;2and then;3;5c, each piece was read on its own: the answer was lost and its digits, semicolons and final letter reached the menu as if the caller had typed them. An arrow or function key split the same way came out as letters too. The ANSI input decoder now holds the unfinished end of a chunk (ESC [and parameter bytes, nothing else) until the next chunk arrives, or for at most 100 ms, and decodes the two together. A loneESCis still the Escape key at once, and no complete key is delayed. A split between theESCand the[behaves as before. -
The total user count stays current (#1049).
|TU, the WFC’s system stats, the RESTGET /_enig/api/v1/system/statsroute (totalUsers) and@sysStat:user_total_countin a theme showed the number of users from when ENiGMA½ started, so a new sign-up or a removed user was not reflected until the next restart. The count is now re-read from the user database when it is shown, at most once every 30 seconds; a new sign-up updates it at once, and a user removed withoputil, which runs as a separate process, is picked up within the 30 seconds.|TUstill shows1when there are no users. -
A local post in an area that is both ActivityPub and an FTN echo reaches the echo (#1032). When
activitypub_sharedis also mapped as an FTN echo area, a post ActivityPub delivered before the FTN export scan came round was marked exported, and the scan passed over it: with scheduled export it never reached the echo. ActivityPub now marks what it delivers with a state flag of its own (ActivityPubExported,state_flags0value 8; private mail also keepsExported, value 2), which the FTN scan does not count. Posts marked before the upgrade are left as they were, so nothing already in the message base is exported. When FTN had already exported a post, ActivityPub’s write also failed, and the post’s ActivityPub Activity and Note IDs were not stored; they now always are. -
EchoMail bundles hold bare packet names (#1078). FTN export gave the archiver each packet’s full path in the export temp directory, so a bundle built with the default
InfoZiparchiver stored its packets astmp/enigftnexport-<session>/xxxxxxxx.pkt. A tosser that extracts without stripping paths found the packets in subdirectories and might not toss them. The archiver now runs from the temp directory and is given bare packet names, as the Blue Wave and QWK packers already do, so bundles are flat whichever archiver a node uses (Info-ZIP, ARJ, RAR and LHA all store the paths they are given). -
A BinkP session between two ENiGMA½ systems ends after a batch with a compressed file followed by an uncompressed one (#1043). When the receiving side got a GZ-compressed file (a packet, say) and then an uncompressed one (an archive) in the same batch, the second file could finish writing first. The receiver then closed the batch and opened the next one before it had acknowledged the first file, so the two sides counted that batch differently, and each waited for the other’s
M_EOBuntil the five-minute session timeout. No mail was lost, but the node’s.bsylock stayed held for those five minutes and the sending side logged a timeout. The receiver now closes a batch only once every file in it has been acknowledged or postponed. Sessions with binkd were not affected. A session torn down while a file is still being written no longer hands that file on afterwards. The change is on the receiving side, so an older ENiGMA½ receiving from an upgraded one can still stall the same way. -
A file the remote already has is marked sent in its flow file (#1045). When a BinkP peer answered
M_GOTfor a file before we had finished sending it (it already held a copy), the file’s directive was carried out but its flow file line was never marked~. A plain line was offered again every session and the node kept showing mail pending; a^line had its file deleted while the line stayed, so every later scan reported it missing until the flow file was edited by hand. The line is now marked exactly as after a full send. -
ActivityPub inboxes accept RFC 9421 HTTP Message Signatures (#1025). Fedify-based servers (Ghost, Hollo) sign deliveries this way first, and Mastodon signs a delivery this way when it sends it again after a refusal. ENiGMA½ refused these with “Failed to parse HTTP signature”, so a Fedify server had to send each first delivery twice. They are now verified, with the same minimum as the draft-cavage signatures every server still sends: method, target and host covered, the body bound by a covered
Content-Digest(orDigest) that matches it, and acreatedtime within 5 minutes. A request that carries both kinds is checked once, as RFC 9421. Behind a reverse proxy, the URL the signature covers is built fromoverrideUrlPrefix, not from forwarded headers. See Signatures. -
Edit fields show the text they edit, from the first draw (#1034). A single-line edit field given a value with pipe codes in it (a location or affiliation saved with colours, say) drew the colours when the screen first appeared and the codes as typed once the field was redrawn, for example on moving to another field. MCI codes in the value (
|UN,{UN}) were replaced on that first draw, though the code itself was what got saved. The field now shows the text as typed from the start,|04and|UNincluded, which is what it saves; sysop chat’s input line still previews colour codes as colour. A focused field given text longer than itself now shows the end of the text, where the cursor is, rather than the start. A mask edit field (%ME) also draws what it stores on the first draw: a value given with its separators (12/34/5678) was drawn jumbled until the next redraw. A focused field given text also puts the cursor at the end of it, so the next key echoes there (it was left past the field). A theme or menu that set an edit field’stextto pipe codes or MCI codes now shows those codes, and so does the upload screen’sblindFileNameText(menu config), a label drawn into the filename field for blind uploads; see Edit Text View. -
The full screen editor’s
[ANSI]subject tag no longer cuts the subject (#1036). When the body is ANSI art (an uploaded ANSI file, or a reply to an ANSI message), the editor puts[ANSI]in front of the subject. On a subject within 7 characters of the field’s length (72 in the stock menus), that cut off its end, and taking the tag off again did not bring the end back. The tag is now added only when the whole subject still fits, and a subject that already carries it, also afterRE:, is not tagged again (a reply to[ANSI] My artwas[ANSI] RE: [ANSI] My art). The editor takes off only a tag it added itself, so a tag typed by hand stays. -
SSH callers are turned away cleanly when every node is busy (#1017). With
general.maxConnectionsreached, a new SSH connection used to hang during key exchange with no message, and its socket stayed open until the caller gave up. It is now shown All nodes are busy. Try again later… at the login stage (where the client shows it: OpenSSH does only when it has a terminal) and disconnected, and a refused connection is ended after 10 seconds whatever it is doing, its socket closed outright 2 seconds later if the caller has not closed it. Telnet callers get the message as before; WebSocket callers get it and then a close with code 1013 (Try Again Later). Each refusal is now logged. See Limiting Connections.-
A WebSocket session ended by the board closes the WebSocket. Logging off, an idle timeout, running out of time or being kicked freed the node but left the caller’s WebSocket open with nothing behind it, until the browser or web client closed it. The WebSocket is now closed once the last screen has been sent.
-
The last output before a disconnect is no longer lost (telnet and WebSocket). When the board wrote several things and then ended the session straight away (a goodbye message, the “module not found” notice), the last of them could be dropped, logged as “write after end”. Everything written before the end now goes out first, and then the connection is closed.
-
An SSH terminal size update sent before the shell no longer loses the terminal type. A client that sent its terminal type, then a size change, then asked for the shell was treated as an unknown terminal type (the size was still applied). OpenSSH does not do this; the fix is for any client that does.
-
-
Art named by a relative path with an extension is found again. A menu or theme naming art as a path relative to the ENiGMA½ directory, with an extension (
art: some/dir/FOO.ANS), was looked for with the directory joined twice (some/dir/some/dir/FOO.ANS) and missed; ENiGMA½ then fell back to the theme and general art directories. It is now read from where it names. Names without an extension, absolute paths and bare names were not affected. -
A hangup in a v86 or Z-Machine door frees its slot (#1021). A caller who hung up in either door kept one of its
nodeMaxslots until ENiGMA½ restarted, so afternodeMaxhangups the door turned everyone away. Every way a session can end (a hangup, the emulator stopping or failing, a start-up step failing, such as an unsupported drop file type or an image that cannot be read) now frees the slot, ends the emulator thread and records the door run once. A caller who hangs up while a v86 door is still being set up is no longer left with an emulator running for nobody.-
v86 writes reach the image file when the session ends, hangup or not. A v86 door’s image was written back only when the door exited cleanly, so what a caller who hung up had written was kept only until the next restart, unless a later session exited cleanly first. It is now written back at the end of every session, and running sessions’ images are written back when the server shuts down (up to 5 seconds; see Stopping). The image is written over the file in place and never truncated first, so a write cut short leaves a full-size image. A write that fails is logged and no longer stops later ones; writes no longer hold up other callers while they run.
-
v86 images changed while the door is idle are picked up. ENiGMA½ keeps one copy of an image in memory while sessions use it and for 10 minutes after the last one ends, and a session that starts on that copy first checks whether the file has changed on disk, reading it again if so. An image changed with
oputil v86while nobody uses the door is no longer overwritten by the next session. A write that fails is logged and tried again at the next session end, and the copy is kept until it succeeds. See When writes reach the image file.
-
-
Sysop chat status fields now show the partner’s name and elapsed time separately in the
luciano_blocktronicstheme. The duration field had reused the partner field’s ID, and the formats were attached to the views instead of the chat configuration (#1058). -
binkp.pullSchedule: nullis no longer reported as a config error (#1041). The BinkP docs saynullturns the pull cycle off, and it always did, but config validation (at startup and inoputil config validate) flagged it as a type mismatch.nulland""both validate now. The docs also said leaving the key out turns the cycle off; it does not (the default,"every 15 minutes", applies), and the docs now say so. -
Pipe codes are measured the way they are drawn (#1022). One tokenizer now renders, measures, cuts and strips pipe codes, so text pads, centres and truncates to the columns it takes on screen. Before,
a || bwas padded as if it were six columns wide,|CF05as two and an unknown|ZZ(shown as typed) as none; the WFC task screen, which shows task output with its pipes escaped, padded short and wrapped early. Status bar panels set toclip-leftand focused text fields that scroll now show the right part of a coloured value, cut by columns (wide characters included). Colours look exactly as before. See Colour Codes.-
Views measure what they draw. Text views, menus and status bar panels pad and cut by the columns their text takes after rendering, so a pipe that is left over (
||07shows|07, a code an edit field shows as typed) counts, and menu item positions and column widths no longer count colour escapes as characters. -
Message bodies:
|1A-style text shows as typed (it was colour 1, with the letter eaten), and|CF05,|CB03,|CU01and|CD02move the cursor by the full count in ANSI messages (they moved one column and printed the digits).||05is still a pipe and colour 05, as on Renegade, Synchronet and Mystic. -
Exports drop the codes a message draws, and only those. E-mail, the full screen editor’s export and the REST API now strip pipe codes the way NNTP, Gopher and ActivityPub do (the REST API used to strip only ANSI). A colour code or a known MCI code is removed; an unknown
|ZZis shown as typed, so it now stays;|CF05becomes five spaces, never more than the code is long, so an export is never longer than its input. -
Text styles change the text, not the codes in it.
textStyle: upperturned an ANSI colour into a “delete lines” sequence, andlowerturned|UNinto text; only the text is styled now. -
A UI string that starts with an MCI code whose value is empty (
|LOfor a user with no location) shows nothing for it, instead of the raw code, and a cursor-forward with no count (ESC[C) measures one column. -
Typing colour codes in a single-line field stays inside the field. While a code you just typed is shown as
|07, it now takes its three columns: the field’s fill no longer runs three cells past its right edge, the cursor sits after the code rather than on it, and a line near the field’s width scrolls instead of spilling over. A scrolled field shows its full width of text; before, each colour code in view hid a character at the right edge. This is sysop chat’s input line: it is the edit field that previews colour this way (a theme cannot give an edit field anitemFormat). -
Sysop chat input with wide characters. The input line is measured in screen columns, so the cursor stays with the text when it holds CJK or other double-width characters, and a long line no longer pushes the prefix off its left end on a redraw. A
prefixFormatthat draws a literal pipe (||) is measured as drawn, so the cursor is no longer one column short, and with noprefixFormatat all a scrolled line holding colour codes shows the right part of the text. -
A button’s
itemFormatdraws its text as it is. A button (%BT) with anitemFormatorfocusItemFormatrendered its (already rendered) text a second time, so a literal pipe in it could turn into a colour: a button labelleda||07bshowedaandbin another colour instead ofa|07b. The text now shows as it does without the format; the format’s own codes still render. The same fix covers sysop chat’s input line, whose redraw showed a typed||, or a||in its prefix, as one|. See UPGRADE. -
Ticker colours and cursor codes. Ticker text whose only colour code comes first (
|04Hello) now scrolls in that colour; before, it took the view’s colour unless the colour changed again later in the text. A cursor-forward code (|CF05) now scrolls as that many spaces, and the other cursor codes (|CB##,|CU##,|CD##) are left out; before, they scrolled through the window in pieces, as a stray escape and visible[5C. A ticker scrolling left or right keeps its colours as the text wraps round; the copy coming in from the edge used to show in the view’s colour, and the colours were off while the gap was in view. A text style effect (lower,title, …) no longer treats a literal pipe (||) as the start of a code. This includes the WFC activity ticker. -
MRC
/rainbowno longer cuts a colour code in half. A long/rainbowline is still cut at 140 characters, but never inside a colour code, so the last word no longer ends in a stray|0on every other board. Room, user and site names sent through the MRC multiplexer have every code removed, including one that removing another code would form.
-
-
Stricter flow file path handling. A flow file line’s
^,-or#(delete or truncate after sending) is now carried out only for a file inside the mail directories: the outbound directories, inbound, secure inbound, TIC transit, and any listed in the newscannerTossers.ftn_bso.binkp.flowDispositionRoots. A file elsewhere is sent and left in place, with a warning. A#line never truncates through a symlink. A flow file entry (or direct-attach netmail file) naming a file in ENiGMA½’s configuration, security, database or log directories is never sent. Finding a moved packet by name beside its flow file now applies only to packets, bundles and TICs queued for deletion from an outbound directory, never to a BSO control file; other entries in that situation are reported, not sent and not pruned. ENiGMA½ also refuses to write a flow file line that other mailers could read differently (a relative path, a control character, leading or trailing whitespace, a leading directive character, or more than 2047 bytes).oputil bso listmarks entriesREFUSED,KEPTorMISFILEDaccordingly. See UPGRADE andflowDispositionRoots. -
Flow files are read the way other mailers read them, and rewritten atomically. A line starting with
!is now skipped like~, as already processed (it used to be taken as part of a path, and could be sent),@means send and keep, and a line starting with any other punctuation, or one with a control character, is left in place, never sent and never pruned;oputil bso listshows those asUNKNOWNorINVALID. A relative path is looked for beside its flow file rather than in ENiGMA½’s working directory. Marking a line sent, pruning, and dequeueing a superseded file echo file now write a new copy and rename it into place, so nothing reading the flow file meanwhile sees it empty, and every other line keeps its exact bytes, so paths written in CP437 or latin1 by other software are no longer garbled. A flow file owned by another user is changed in place instead. The same line queued twice is sent once and marked sent everywhere. Dequeueing a superseded file now removes a flow file left holding only~lines, as a session does, and says so in the log when the node was busy. A zero-length flow file (a poll request) is never removed. See Flow file lines. -
BinkP
.bsylocks are no longer left behind by a shutdown or crash, and are no longer taken from a session still using them (#1052, #1053).- Shutting down during a BinkP session waited for the session to end, so the shutdown ran into its 15 second limit, exited with status 1 and left the session’s locks behind; the node then stayed busy for up to 30 minutes after a restart. Live sessions are now sent
M_BSY(“Shutting down”) and closed, their locks released within 4 seconds, no new call is started (a call still connecting hangs up), and any lock still held is removed as the process exits. - A lock left by a crash or
SIGKILLis removed at the next start, or at once by whatever next wants it, when it was written on the same machine by a process that is no longer running; otherwise after 5 minutes without being refreshed. Locks written by other software keep thestaleLockMaxAgeMsrule. Machines sharing an outbound need their clocks within a few minutes of each other. - Held locks are refreshed once a minute, so a session longer than
staleLockMaxAgeMsno longer has its lock reaped by the tosser,oputilor a second session. Releasing a lock removes it only if it is still the one that was taken, never another program’s. If a session’s lock is removed or replaced anyway, the session stops changing that node’s flow files and stops deleting the files it sends from them; they stay queued and are sent again next time. ENiGMA½’s.bsyfiles now hold<pid> ENiGMA <id> <token>on one line. SeestaleLockMaxAgeMs.
- Shutting down during a BinkP session waited for the session to end, so the shutdown ran into its 15 second limit, exited with status 1 and left the session’s locks behind; the node then stayed busy for up to 30 minutes after a restart. Live sessions are now sent
-
A calling node’s every address is locked, as binkd does. When a node calls in presenting several addresses, ENiGMA½ now takes the
.bsylock of each one before reading any flow file, not just the first. A busy address with a session password makes the whole session busy (M_BSY, before the password is accepted, so nothing is sent or received), as binkd does; a busy address without one is left out of the session, and its mail waits for the next. Locks also cover flow files in a legacy or second outbound directory for the node, and are released only after the last flow file the session changed has been written. See Busy nodes. -
NodeInfo active user counts are now users, not logins (#1023).
activeHalfyear,activeMonthand (NodeInfo2 only)activeWeekcounted login history entries, so a board of 5 users could report 140 active in six months. They now count distinct users whose last login is within 180, 30 and 7 days, capped at the total (counted live from the user database, not the startup value some other displays use), so they no longer depend onstatLog.systemEvents.loginHistoryMax. The NodeInfo2 document (/.well-known/x-nodeinfo2) now has them underusage.usersas its schema says, rather than underusage; NodeInfo 2.0 and 2.1 keep their shape. When the user count is not knowntotalis left out instead of reported as 1. An index on last login timestamps is added to the user database at the next start (instant for any realistic board). -
oputil fb rmandoputil fb mvno longer match files you did not name (#1020). A filename containing_or%was treated as a pattern, sorm FILE_1.ZIPalso removedFILEX1.ZIPandFILE-1.ZIP. Those characters now mean themselves;*and?still work as wildcards. -
RIPscrip support (#989). A caller whose terminal draws RIPscrip graphics (SyncTERM with RIP enabled for the entry, IcyTerm in RIP mode) is now recognised at connect, by the RIPscrip version query or the terminal type
RIP, and logged with the version it reported. Such a caller gets RIP on top of ANSI:.ripart where a theme has it, and a filter that keeps RIP commands out of everything else ENiGMA½ sends it. It matchesTE[rip]in ACS, for menus of its own, and BBSDEV.DRP reports RIP asY. There is nothing to configure. Other callers are sent the query and see nothing of it. See RIP (RIPscrip) Callers and ACS.-
RIP art:
.ripfiles. A RIP caller asked for artNAMEnow getsNAME.ripwhen one sits beside the other art of that name, and otherwise what an ANSI caller would get. A.ripfile is yours, so its RIP commands reach the terminal unfiltered; it may mix RIP command lines with ANSI text and MCI codes, which still place views where the terminal draws them. When the caller leaves a menu whose screen came from a.rip, its buttons and click regions are cleared, since clearing the screen leaves them clickable. Only art a theme or menu names is shown this way: a name holding a path, or one a caller could have supplied, is shown as text, filtered. No other caller is ever given a.ripfile unless one is named outright, and then sees it as before. The RIP callers page covers what to put in a.ripfile for SyncTERM and IcyTerm, with a worked example. -
RIP callers are protected from RIP commands hidden in text. A RIP terminal runs RIP commands wherever they appear in what it is sent, so text written by others (messages, user names, file descriptions, chat, oneliners) could draw over the screen, add invisible buttons or make the terminal type input as the caller. For a session with the RIP layer, everything ENiGMA sends is now made inert to RIP before it leaves: a NUL is put between
!and|, bytes 0x01 and 0x02 (and so the CP437 smiley glyphs) are shown as*, and RIP’s ownESC[n!sequences are dropped. This covers what ENiGMA itself sends: output of doors and of bridged systems (telnet bridge, BBSLink, DoorParty, Goldmine, ArchaicNet) is passed to the caller as the door or remote system sent it, unfiltered. (The Z-Machine door’s games are run by ENiGMA itself, and their text is filtered.) Nothing changes for any other caller. -
MRC smilies stay as text for RIPscrip callers. MRC chat can show
:)and:Das the CP437 smiley glyphs, which are bytes a RIPscrip terminal reads as the start of a command. A caller whose terminal was detected as RIPscrip now sees them as typed, whateverSHOWSMILIESis set to. Other callers are unaffected. -
RIP starter menus. Three RIP button screens for RIP callers (login matrix; a main menu with messages, who’s online, last callers and goodbye; a message menu with list, post, change area and new scan), in front of the board’s own ANSI menus, theme and art, which come back to them. Each button sends one letter, which typing does too.
oputil.js config newoffers them after the PETSCII and ATASCII questions, defaulting to no; on yes it adds the menu file, aTE[rip]branch on the connect menu and the art (generated.ripscreens, each with an.ansof the same name) in the general art directory. No theme, no new setting; existing boards are not changed. See Starter menus.
-
-
Early ATASCII support for Atari 8-bit style terminals. SyncTERM and IcyTerm in their Atari modes (which announce the terminal type
ATASCII), and anything connecting to a Telnet listener markedemulation: atascii, now get ATASCII: text, cursor movement and keys are translated on the way in and out, with no connect-time probing. An Atari screen has one colour, so colours are dropped and reverse video or a background colour is shown as inverse characters. The board stays ANSI inside, so existing menus and art are shown translated, in one colour and wrapped at 40 columns, until a theme is made for it. ANSI and PETSCII callers are unaffected. Tested with SyncTERM and IcyTerm; not yet on real Atari hardware. See ATASCII (Atari) Callers.-
Native ATASCII art. A theme for ATASCII callers (
info.emulation: atascii) can carry.atafiles (raw ATASCII, as Icy Draw saves it) beside or in place of ANSI art; an ATASCII caller is shownNAME.ataas it is, in preference to other files of that name in the same directory, with views placed from MCI codes typed into the art (in either case, and in inverse video if the artist drew them so). Where there is no.ata, the ANSI art is translated as before. ANSI and PETSCII callers never get.ataart, and ATASCII callers never get.seq. See Native ATASCII art. -
ATASCII starter menus and theme. The PETSCII starter’s menu tree, menu for menu, laid out for a 40x24 Atari screen: connect, login matrix, login with 2FA, last callers, the new-message scan, a main menu with messages, who’s online and log off, and messages (conferences, areas, the message list, reading, find, replying with quoting and posting with the full-screen editor). Its theme of placeholder
.atascreens shows focus in inverse video, the only thing a one-colour screen can show.oputil.js config newoffers it after the PETSCII question, defaulting to no; on yes it adds the menu file, aTE[atascii]branch on the connect menu, the theme andtheme.emulations.atascii, and with yes to both starters the connect menu branches for each. Existing boards are not changed: the ATASCII page lists the steps, or point an ATASCII listener’sfirstMenuatatasciiConnected. Artists wanted to replace the placeholder art. See Starter menus and theme. -
CTRL W, CTRL Z and CTRL X are Page Up, Page Down and End for ATASCII callers. An Atari keyboard has none of those keys, so every ATASCII session (in the starter menus or in menus of a board’s own) reports CTRL W and CTRL Z as Page Up and Page Down (paging a message or a list) and CTRL X as End. ESC is the Atari’s own Escape key, so the stock keys for the editor menu, finding (CTRL F, CTRL N, CTRL P) and quick save (CTRL S) work as they are. The decoder accepts the different bytes SyncTERM and IcyTerm send for Return, Backspace, Tab and the arrow keys. See Keys.
-
-
Early PETSCII support for Commodore-style terminals. SyncTERM and IcyTerm in their C64 or C128 modes (which announce the terminal type
PETSCII), and anything connecting to a Telnet listener markedemulation: petscii, now get PETSCII: text, the 16 colours, cursor movement and keys are translated on the way in and out, with no connect-time probing. The board stays ANSI inside, so existing menus and art are shown translated and will look rough at 40 columns until a theme is made for it, with native PETSCII art (below). ANSI callers are unaffected. Along with it: additional named Telnet listeners (loginServers.telnet.listeners), each with its own port,firstMenuandemulation; theTE[...]ACS code for the session’s emulation; andinfo.emulationin a theme. See PETSCII (Commodore) Callers.-
Native PETSCII art. A theme for PETSCII callers can carry
.seqfiles (raw PETSCII, as PETSCII editors export them) beside or in place of ANSI art; a PETSCII caller is shownNAME.seqas it is, in preference to other files of that name in the same directory, with views placed from MCI codes typed into the art. The character set is lower/upper case unless the file switches it or the art’sencodedAsispetscii_upper. Where there is no.seq, the ANSI art is translated as before. ANSI callers never get.seqart. See Native PETSCII art. -
PETSCII starter menus and theme. A small menu tree for PETSCII callers laid out for 40x25 (connect, login matrix, login with 2FA, last callers, a main menu with messages, who’s online and log off; “apply” points the caller to an ANSI terminal for now). Messages cover a new-message scan after login (and from the message menu), joining a conference, picking an area, the message list, reading, replying with quoting and posting with the full-screen editor, with find and paging and a starter theme of placeholder
.seqscreens for exactly those menus.oputil.js config newoffers it, defaulting to no; on yes it adds the menu file, aTE[petscii]branch on the connect menu, the theme andtheme.emulations.petscii. Existing boards are not changed: the PETSCII page lists the four steps, or point a PETSCII listener’sfirstMenuatpetsciiConnected. Artists wanted to replace the placeholder art. See Starter menus and theme.- Fix: the starter theme now shows focus in the yes/no scan question, the editor and reader menus and the quote builder (unfocused items were drawn reversed too, or nothing was). Boards that copied the theme earlier should copy the new
theme.hjson; see the note.
- Fix: the starter theme now shows focus in the yes/no scan question, the editor and reader menus and the quote builder (unfocused items were drawn reversed too, or nothing was). Boards that copied the theme earlier should copy the new
-
F1 is Escape, F3 and F5 are Page Up and Page Down, for PETSCII callers. A Commodore keyboard has none of those keys, so every PETSCII session (in the starter menus or in menus of a board’s own) reports F1 as Escape (the full-screen editor’s menu, backing out of a form) and F3 and F5 as Page Up and Page Down (paging a message or a list). A terminal that sends a real Escape byte works as before. F1, F3 and F5 as such are not available to PETSCII callers. See What is translated.
-
-
enig-term, a browser terminal, is served at
/_enig/ws-term/. enig-term runs its emulation in WebAssembly and draws with WebGL, so callers get CP437 fonts, SyncTERM font switching, iCE colours and an optional CRT look with nothing to install, connecting to the WebSocket login server overwss://. It is its own project and off by default: the web server answers/_enig/ws-term/only whilecontentServers.web.wsTerm.root(defaultws-termin the install directory) holds anindex.html, checked per request, so installing or removing it needs no restart. ENiGMA½ generates the page’sconfig.jsonfrom the board’s configuration; the newwsTermsettings areroot,endpoint(the publicwss://URL, needed behind a TLS proxy) andclient(options passed through to the page). See enig-term Web Terminal.install.shoffers to install it, defaulting to no: answery(or setENIGMA_INSTALL_ENIG_TERM=yes) and it downloads the latest release, checks it against the release’sSHA256SUMS, and unpacks it intows-term. See Install Script.- The Docker image carries it, pinned by
ENIG_TERM_VERSIONand a SHA-256 indocker/Dockerfile, at/opt/enig-term, and still off: setwsTerm.rootto/opt/enig-termto turn it on. See Docker.
-
SyncTERM-compatible terminals are asked what they can do, not judged by name. When a terminal identifies itself as SyncTERM (or the new enig-term web terminal), ENiGMA½ now asks for its CTerm Device Attributes (
CSI < c) and sets SyncTERM font switching from the answer, so SyncTERM in its curses mode, which cannot change fonts, is no longer sent font changes. The answer is kept per connection asterm.termCapabilities(fontSelect,brightBackground,mouseand the rest) for code that wants it. Logins from SyncTERM 1.0 to 1.7 are also about 2 seconds faster: those versions never answer the OSC 8 query, and ENiGMA½ waited out a timeout for each of them. IcyTerm is asked for its CTerm Device Attributes as well (it answers from version 0.8.0; older versions do not answer, cost no timeout, and behave as before). Other terminals are not sent anything new. See SyncTERM Style Fonts. -
ACS
EC1andTM[...]now work (#990).EC1(UTF-8 terminal) never matched because the check looked forutf-8while ENiGMA½ storesutf8, andTM[...]never matched because it read a theme name that does not exist. The terminal now storesutf8whatever spelling of UTF-8 is assigned (setClientEncodingwithutf-8included), andTM[...]matches the current theme’s ID (a display name also matches if it has no spaces). Menu entries using either check will start taking effect. See ACS. -
Amiga doors run inside ENiGMA½. The new
amiga_doormenu module runs AmiExpress (/X) XIM doors in an embedded vAmiga emulator (theenigma-vamigapackage, with the AROS ROM bundled), so no external emulator, Kickstart or Workbench is needed. A small host shim on the door’s disk image stands in for an /X node; the first session boots and snapshots the machine and later ones restore it in milliseconds, and the emulator’s hard disk is the door’s image file itself, so what a door writes goes into the image as it writes it, whether the caller quits or hangs up. Plain AmigaDOS programs that use standard input and output, as many Amiga BBS games do (Battle Grounds, Global War), run too withdoorType: cli, the shim acting as their console. /X ARexx doors (TYPE=AIMscripts such as KickBoxing and Hacker) run withdoorType: aimon an image that carries ARexx from your own Workbench 3.1 (make_image.sh -w), since AROS has no ARexx. Paragon doors, written for Paragon, StarNet and MAX’s BBS and run by /X asTYPE=TIM(Master Space Empire, The Land of VEX, Sector Wars II), run withdoorType: tim;assignsandenvgive a door the assigns andENV:variables its install notes ask for. C-Net Amiga’s ARexx pfiles (Bad Libs, Switchfont, Gold Mine) run withdoorType: cnetrexx, also with your Workbench’s ARexx: the shim is C-Net’sCNETREXX<port>host, with its text codes and###PANICon a hangup. See Amiga Doors andmisc/amiga_door/image/make_image.sh.-
Door images are built with
oputil.js amiga-door, no Python or amitools needed:create IMAGE DOORDIR...writes the shim, its library, the startup sequence and your doors to a new FFS image (--workbenchadds ARexx from your Workbench 3.1 disk), andadd,ls,extractandinfochange and inspect an image, or any OFS/FFS.adf.misc/amiga_door/image/make_image.sh(xdftool) remains for machines without ENiGMA½. -
Upgrading: run
npm installto pick up the newenigma-vamigadependency, 0.2.0 or later (the vAmiga 5 emulator core as WebAssembly, about 7 MB). No configuration changes are required;doors.amiga.snapshotCacheEntries(default 4) is the only new system setting. -
If you ran Amiga doors from a development build (enigma-vamiga 0.1.x): door changes are now written as they happen, hangups included, instead of being copied back after the exits
persistOnallowed.persistOnis ignored (the log says so once per door) and can be removed. The snapshot cache rebuilds itself. A session with a large image now needs far less memory (a 100 MB image: about 60 MB per session instead of about 340 MB), while an idle door costs about 40% more CPU (about 7% of a core instead of 5%) on the newer core. -
Shim 1.5: the shim (axshim 1.5) now holds a caller’s keys until the door reads them instead of dropping the end of a long paste, drives RTS, and takes the line rate from the door’s
baudsetting. A door image keeps the shim it was built with: refresh an existing one by rebuilding it withmake_image.sh, or replace just the shim with./oputil.js amiga-door add IMAGE misc/amiga_door/bin/axshim C/axshim.
-
-
ENiGMA½ now shuts down in order on
SIGTERM, as it already did onSIGINT.SIGTERMis what systemd, Docker andkillsend, and it had no handler, so the process simply died: callers were dropped without a word and running Amiga doors never synced their images. Both signals now stop accepting new connections, disconnect callers with a notice, give Amiga doors up to about 3 seconds to sync, stop the scheduler and message networks, and exit 0. A second signal during the shutdown is ignored, and a step that hangs is given up on after 15 seconds, with the step named in the log and exit status 1. Also fixed: the shutdown started the file-area web service again instead of stopping it, and its last log lines were often lost. PM2 users should raisekill_timeout: see UPGRADE and Stopping. -
--configkeeps a board’s files together (#927).paths.confignow defaults to the directory holding the loadedconfig.hjson, so on a board started with--configelsewhere a relativemenuFile, achievements file or offline mail bulletin is found beside itsconfig.hjson, asincludesalways were, instead of in the install’sconfig/directory. The stock layout and apaths.configyou set are unchanged.oputil.js --configfollows the same rule, andoputil.js config newnow writes an absoluteachievementFileas it already didmenuFile. See UPGRADE and Relative Paths. -
File Base handles bare
.gzfiles as single compressed files. It now lists and decompresses the inner file for description processing, while gzip-compressed tar archives keep using the tar handler. -
Offline mail packets can carry bulletins (#893). Callers who only read packets used to miss what online callers see at logon. Files named in the new
messageNetworks.offlineMailblock (hello,news,goodbyeand abulletinslist) are now packed into every QWK and Blue Wave packet a caller downloads, converted to CP437; a relative path is taken frompaths.config. See Bulletins. -
QWK and Blue Wave packets share one area list and the online new scan pointers (#928). Each format used to keep its own list of areas with a “newer than” date per area, so a caller who usually downloaded Blue Wave and then exported QWK once got everything again. Dates also missed echomail tossed in late with an older date, and a packet that was queued but never downloaded advanced them anyway, so its messages were never sent. Now one list serves both formats (a Blue Wave reader’s offline configuration changes it for QWK too), and each area starts from the caller’s ordinary new scan pointer, which moves only once the packet is actually downloaded. Existing callers’ lists and dates are moved over once, the first time they export a packet, or upload a Blue Wave reply packet that changes their areas.
Callers who read both online and offline will notice: a message read online is no longer packed, and a message downloaded in a packet is no longer new online. Setting a new scan date now also moves where the next packet starts. See Areas and Scan Pointers.
Also fixed, in setting a new scan date and in the new-scan floor every new user starts with: a date now marks as new every message dated after it. Before, a message dated just after the chosen date that arrived after messages dated later, as echomail often does, made those later-dated messages count as read. The floor never applies to private mail: mail addressed to the caller is never treated as old. An area with nothing dated after the date counts as read; before, it kept its old pointer, so a new user saw an area’s whole history until something new was posted.
-
maxExternalSentAgeDaysonprivate_mailnow takes effect. Exported external private mail (FTN netmail, email) was always trimmed after 30 days whatever the setting said. It now honours the configured number of days, and0keeps sent mail. See Sent Private Mail. -
A blank date clears the newscan floor (#959). Configure Newscan has always said the floor could be cleared, but
set_newscan_datecould only set a new date. Withtarget: floor, submitting the date field empty now removesnewscan_min_timestamp, and Configure Newscan showsFloor: not set. SetallowClear: falseon the entry to keep a blank date an error. See Set Newscan Date. -
new_scancan scan the message base only. WithskipFileBase: truein itsconfig, the new scan stops after the message base: the file base is not scanned and the caller’s file base position is left alone, for menu trees with no file base menus or a “new messages” menu entry. Off by default; the stock menus are unchanged. See New Scan. -
A deleted message’s ID is never given to a new one (#958). The message table handed a new post the ID of the newest message whenever that message had been deleted, by a sysop, an ActivityPub
Deleteor a caller deleting their own mail. Last read pointers, FTN export pointers and (since #928) QWK and Blue Wave packets all mean “everything up to this ID”, so a post that got a reused ID could be skipped by new scan, by packets and by the FTN export. Message IDs now only go up. Upgrading: at the first start after the upgrade, ENiGMA½ rebuilds themessagetable once, keeping every message ID, all message meta and the full-text index, and logs when it starts and finishes. It may take a moment on a large board: a copy of a board with 36,000 messages (a 485 MBmessage.sqlite3) took about a third of a second. It needs free disk space for a second copy of the message table while it runs. See UPGRADE. -
An edited ActivityPub post keeps its message ID (#964). When a remote post was edited, the
Updatereplaced the stored message with a new row under a new, higher ID: the post showed as new again in new scan and was packed again in QWK and Blue Wave packets, its view count went back to zero, any meta added after import was lost, and the old text stayed behind in the full-text index. An edit now rewrites the message in place, and replaces only the meta the edit carries. Upgrading: at the first start after the upgrade, ENiGMA½ rebuilds the full-text search index once, after the #958 message table rebuild, to drop the entries edits left behind; it logs when it starts and finishes. A copy of a board with 36,000 messages (a 485 MBmessage.sqlite3, with 336 such entries) took about one and a half seconds. See UPGRADE. -
ActivityPub: an Update or Delete is accepted only from the object’s author. A validly signed
UpdateorDeletefrom any remote actor could change or remove another actor’s post, and its message, on the board. The actor whose key signed the request must now be the stored post’s author (attributedTo) and the activity’sactor, and anUpdatemay not change the author. Only an actor itself mayDeleteits own actor.Undoof aFollowandRejectof aFolloware likewise refused unless the signer is the activity’sactor, and anUndoof aLikeremoves only the signer’s own like. A refusal is answered401 Access denied, like other refused inbox requests, and logged as a warning naming the object, its owner and the signer. -
ActivityPub: remote actors are checked against the URL they came from. A fetched actor was cached under whatever id its document claimed, so one server could plant an actor document, and key, for an actor on another server. A fetched actor’s id must now be the URL that was fetched, on the host that answered (a key URL that answers with its actor only points at it: the actor is fetched from its own URL and must list that key). A WebFinger lookup by actor URL must point at the host that answered it; a handle’s WebFinger may point at another host, as a split domain does. A remote actor’s handle (
@user@host) is used only when both the actor’s own server and the handle’s server confirm it, as Mastodon requires, and has control codes stripped; otherwise the actor is shown by its URL. Every inbound activity must be signed by its ownactor. ACreateis accepted as sent only from the Note’s author, for a Note on the author’s host; anything else, such as a reply forwarded by another server, is fetched again from the Note’s own URL and stored as that server has it, in aCreatebuilt from that copy alone; a Note that arrives both forwarded and from its author is stored once. A forwardedDeleteof such a reply is taken only when the Note’s own server says it is gone:410 Gone, aTombstone, or (as Mastodon answers for a deleted post) a404, which counts only for a public Note or when the board asked as a local user the Note was delivered to, since Mastodon also answers404for a post the asker may not see. It removes the Note only if it is stored as theDelete’s actor’s. AnAnnounceof a Note other than the announcer’s own is likewise taken from the Note’s origin, and anUpdateorDeleteis checked against every stored copy of the Note, the same copies for both. ADeleteof an actor that can no longer be fetched is accepted only when the actor’s own server answers410 Gonefor it, as Mastodon requires; a404may be transient and is not enough. The board’s own fetches for these checks (a forwarded reply, a boosted Note, a gone actor) are signed, so servers that require signed fetches (Mastodon’s secure mode, GoToSocial) answer them: as the user whose inbox received the activity, or, for the shared inbox, as a local user who follows the remote actor. With no such user they go unsigned, as before. The actor cache is emptied once at the first start after the upgrade, since a planted entry cannot be recognised; actors are fetched again as they are needed; a follower missing from the cache is fetched again in the background when a post, boost or like goes out, and gets it once found, while cached followers get it at once (one that cannot be fetched is not tried again for six hours), and a follower whose server has no shared inbox now gets them at its own inbox (it was skipped before). See UPGRADE. -
The Docker image ships the archivers and description tools ENiGMA½’s defaults call (#905, #906). It lacked
unzipandzip, so ZIP uploads — the most common kind — were filed with no listing and noFILE_ID.DIZdescription, and itsunrarwasunrar-free, whose listing theRararchiver cannot read, so every RAR looked empty. The image now haszip/unzip, RARLAB’sunrar,exiftool,pdftotextandxdms, and unarc 0.8.0, built for each platform, which reads ARC/PAK, ZOO, ACE, SQZ, UC2,.Z, xz, Zstandard, CAB, the C64 formats and Amiga DMS. Debian packages neitherunlzxnoratr, so the image reads Amiga LZX and Atari ATR with unarc: the newENIGMA_UNARC_ARCHIVERSenvironment variable, which the image sets toAtr,Lzx, points the named archivers atUnarc(a complete entry for the same archiver inconfig.hjsonreplaces it; outside Docker, nothing changes unless you set it). The image build now fails if any program a default archiver or description tool calls is missing. Files stored while a tool was missing can be re-described with./oputil.js fb scan --full --update AREA_TAG. See Docker. -
install.shrecommends unarc (#907), now that 0.8.0 is on crates.io (cargo install --locked unarc-cli), along withzip/unzipand RARLAB’sunrarin place ofunrar-free. -
Uploads that a sender ends badly are no longer thrown away (#914). A YModem upload from the VTX web terminal always failed, though the file had arrived intact: after its last block VTX sends cancel bytes where the end-of-batch block belongs,
sexyzexits with an error, and ENiGMA½ discarded the whole upload on that exit code. Protocols can now say they write aDSZLOG(dszLog: true, set on the predefined SEXYZ protocols); when one exits with an error, the files its log records as received in full, and only those, are kept, and the log says so. An upload the log does not confirm fails as before. See File Transfer Protocols. -
loginServers.telnet.enabled: falsenow turns Telnet off. Since 2018 a server’s ownenabled: falsewas read from the wrong place and ignored, so the Telnet server listened whatever the setting said. A module whose block saysenabled: false(loginServers.telnet,loginServers.ssh,contentServers.gopher, and so on) is now not loaded at all, and the log says so atinfo; the other servers start as usual. SSH and Gopher already checked the setting themselves, so nothing changes for them. See UPGRADE. -
Text in a multi-line view narrower than the terminal no longer loses characters (#968). Text sent to an
%MTview was wrapped at the terminal’s width but clipped at the view’s, so on an 80-column terminal a 73-column view dropped columns 74 to 80 of every wrapped line: the WFC message viewer showedwe can/etherforwe can see whether. A row that filled the view could also run into the next one when the view did not start at column 1. The WFC message, log and node detail panes, and custom%MTinfo views shown with pipe codes, now word wrap at the view’s width. ANSI art (such as file descriptions) is still clipped, not reflowed. Mods can call the view’s newsetPipeText()to get the same for their own text. Word wrapping (here and wherever ENiGMA½ wraps text) breaks long words by the same display width ENiGMA½ uses elsewhere, so a run of wide (e.g. CJK) characters no longer runs past the width or leaves a blank line before it, and a word is no longer cut inside an emoji, flag or accented letter. (In a multi-line view, letters written with combining accents and emoji joined with zero-width joiners can still be laid out wrongly; see #973.) A word with a colour code in it is now kept together like any other word, instead of being broken at the code, which could leave punctuation alone on the next line. -
Scheduled events can be listed, run on demand, and need no schedule (#440). This is the groundwork for running tasks from the WFC. An
eventScheduler.eventsentry without ascheduleis now a manual-only task: listed and runnable on demand, never run on its own (one line at startup names them, so a forgottenschedulestays visible). Entries take new, optional members:desc,confirm,manual,timeout, andenabled: false, which at last lets a board switch off a built-in event. A run that passes itstimeoutis reported as overdue: an@executeis killed, while a@method, which cannot be stopped, keeps its event blocked until it finishes or an operator abandons it. Every run, whatever started it, now logs its start and its end with how long it took, failures atwarn(a failing@methodused to log only atdebug), and a scheduled run skipped because the last one is still going is logged instead of silently dropped. The last result of each event, including the tail of an@execute’s output, is kept across restarts, and newTaskStarted/TaskFinishedsystem events follow each run.Four new built-in tasks, all manual-only until given a schedule:
optimizeDatabases,checkpointDatabases(truncates the WAL files),backupDatabases(a consistent copy of the core databases, made while the BBS runs, intobackup/underpaths.db, keeping the newest 3) andtossInboundNow(asks the FTN BSO tosser to toss its inbound now). For example,backupDatabases: { schedule: "at 4:00 am" }backs up nightly. See Event Scheduler. -
Scheduled events follow edits to
config.hjsonwithout a restart (#440).eventScheduler.eventsused to be read once at startup. Now adding, removing, changing or disabling an entry takes effect when the file is saved: new events are armed, removed ones are disarmed (their@watchfile is no longer watched), changed ones are armed afresh, and the rest are left alone. A run in progress is never interrupted; it finishes under the settings it started with, and an event removed while it runs is dropped once it finishes. An entry that no longer loads is logged and left out without disturbing the others. One log line names what was added, removed and changed, and the WFC task screen updates at once.@watchwatchers are now also closed at shutdown. See Event Scheduler. Also, an@executeended by a signal now records the signal (such asSIGHUPwhen an operator stops it) and no exit code; it used to show exit code 0. -
The WFC has a task screen (#440). T on the dashboard lists the event scheduler’s tasks with their schedule, next run and last result; the detail pane shows the last run in full (duration, error, who ran it, exit code, who stopped it, the tail of its output) and whether it is running or overdue. Enter/R runs the selected task, asking first when its entry has
confirm: true, and X stops a run after asking: a process is killed, a@methodis abandoned. Runs go through the scheduler like any other, so the op can go back to the dashboard while one runs, and the screen refreshes every second while a task runs. The activity ticker gainstaskStarted,taskFinished,taskFailedandtaskOverdue(only failures and overruns are shown by default), and a%SB5status bar can have ataskspanel counting running tasks. Withoutwfctasksart the screen is a plain text list that still runs and stops tasks. See WFC. -
Export FTN mail and pull from BinkP nodes from the WFC (#440). Two more built-in manual-only tasks:
exportOutboundNowasks the FTN BSO scanner/tosser to scan and export new mail now, andbinkpPullNowruns the native BinkP mailer’s pull cycle now, dialing every nodebinkp.pullSchedulewould (plus any with mail waiting), with or without apullSchedule. Both finish when the work does and fail if it fails; with FTN not configured they log why and finish without doing anything. A pull cycle already running, from the schedule or by hand, is not started twice, and a node already in a session is still skipped by its.bsylock. The sysop!BINKPmain menu command is gone: it could never be used (its ACS,SU, is not an ACS code, so it was always refused), and it only dialed nodes with mail waiting. Thebinkp/binkp_poll_modulemenu module it led to now runs the full pull cycle, for custom menus that use it. Also, a scheduled pull on a board with no FTN set up no longer logs atinfoevery time it fires. See Event Scheduler and BinkP. -
Escape in the WFC message viewer no longer leaves the WFC. The dashboard’s keys stayed live under the message viewer and the help page, so escape (or Q on the help page) also took the op back to the main menu, and the activity ticker kept drawing over both. After a visit to the full log the ticker stopped moving altogether. The dashboard is now set aside while another WFC screen is up and drawn afresh on the way back. The kick-node prompt froze the ticker and the status bar the same way, and stopped the selected node’s details following the highlight; that is fixed too, and the kick prompt (like the new task prompt) now starts on no, so Enter alone kicks no one.
-
An upload on one node is no longer deleted when another node finishes its own. Every upload and every file transfer shared one set of temporary files, and whichever finished first removed them all: another caller’s receive directory, with the files still arriving in it, went too, and that upload was lost without an error. Each upload and transfer now has its own and removes only those. The same sharing affected archive extraction during file scans and the QWK and Blue Wave packet readers and writers (two callers building or importing offline mail packets at once); they are fixed too.
-
An upload that is cancelled, fails or is cut off no longer leaves its files behind. An upload’s temporary receive directory, partial files and all, was only removed when the upload completed: backing out at protocol selection, giving up after a failed transfer, disconnecting, or starting another upload left it in the system temp directory. It is now removed on every one of those paths. A disconnect during a transfer waits for the transfer to end first, and a directory the upload did not create itself is never removed. An upload to an area with no storage directory is now logged and discarded; it used to crash the upload. Reloading a menu (a realtime interrupt, or
@systemMethod:reload) now keeps the menu’sextraArgs; protocol selection used to crash on one. -
A file transfer stops when its caller hangs up. The protocol program (
sz,rz,sexyzand the like) was left running after a disconnect until its own timeout, which can be long, writing to nobody, and an upload’s temporary receive directory waited for it. It is now sent a hangup the moment the caller disconnects, andSIGKILL5 seconds later if it is still running (on Windows the first kill ends it outright). A door was already killed when its caller hung up. Nothing from an upload cut off this way is credited to the caller, even files its DSZLOG confirms: the caller is gone, so they never reach the file base, and the receive directory is removed once the program has stopped. Also fixed: a protocol program killed by a signal, by anyone, was taken for a clean exit, so a download it never finished was counted and taken off the caller’s queue, and an upload credited whatever partial files it left. -
Reverse proxies are configured in one place,
trustedProxies(#981). The new top-level setting lists the proxies whoseX-Forwarded-ForandX-Real-IPheaders are believed, as addresses or CIDRs; the default covers loopback and the private ranges, so a proxy on the same host, in another container or on the LAN needs no configuration. With the newcontentServers.web.proxied: true, the web server uses the forwarded address for its rate limits (REST API login, password reset, 2FA/OTP registration), which behind a proxy are otherwise one limit shared by every visitor, and logs it; the proxy must setX-Forwarded-Foritself. The WebSocket login server (proxied: true) reads the same headers the same way, ignores forwarded headers from any peer not in the list, and no longer takes a multi-hopX-Forwarded-Foras one address. A WebSocket caller that comes through a proxy is not treated as local. Also fixed: the web server’s rate limiter kept an entry for every address it had seen for as long as the process ran. See Reverse Proxies and UPGRADE. -
ActivityPub: outbound requests check where a name really points, and an inbox request can only cause so many fetches (#966). The board used to check only the name in a URL, so a public name that resolved to a loopback, private or link-local address (or that changed to one after the check) was fetched anyway. Every address a name resolves to is now checked when connecting, and again for each redirect; at most 3 redirects are followed, and a refusal is logged as a warning. Addresses written in a URL are checked better too: IPv4-mapped forms such as
[::ffff:127.0.0.1]are now refused, and a large public IPv6 range (2a02::/16, among others) that was wrongly refused is now allowed. The fetches an incoming inbox request causes (the sender’s actor and key, a forwarded or boosted Note, a handle lookup) are now limited per remote host and board wide, set by the newoutboundFetchLimits(defaults: 4 at once and 60 a minute per host, 32 at once and 600 a minute in all), and to 16 per request; over the limit the sender is answered503withRetry-After: 60and delivers again later. Outbound deliveries are not limited. A failed actor or WebFinger lookup is not repeated for 15 minutes, or 2 for a failure that may clear up by itself such as a timeout.allowInsecureHttpremains for local development only: it allowshttp://URLs and skips the address checks for them, never forhttps://, and now logs a warning when ActivityPub starts. WebFinger falls back tohttp://only while it is set. The board’s own URLs are not checked, so a board behind a reverse proxy whose public name resolves privately on its own host still reaches itself; only its exact scheme, host and port are let through. A fediverse server on your own network is allowed by listing its address or range in the newallowedPrivateAddresses(link-local, unspecified, multicast and IPv6 transition addresses can never be allowed). See ActivityPub Web Handler. -
ActivityPub: the board signs its own fetches as an instance actor (#966). Servers that answer only signed fetches (Mastodon with authorized fetch, and from Mastodon 5.0 for actor documents by default; GoToSocial) refused the fetches the board makes for itself, which went unsigned whenever no local user could sign them: above all the lookup of the actor and key that signed an incoming activity, so activities from such a server could not be checked, and were refused, unless its actor was already cached. These fetches are now signed as the board’s instance actor, an
Applicationactor at/_enig/ap/actorthat WebFinger finds asacct:<domain>@<domain>and/.well-known/nodeinfolinks. A fetch a local user signed before (for the inbox the activity came to, or as a local follower) is still signed as that user, and so are deliveries and a user’s own searches. The instance actor cannot be followed, has an empty outbox, and its key signs nothing but those fetches. Its key is made at the first start (a failure is logged and tried again a minute later) and kept indb/activitypub.sqlite3. A404to a fetch signed by the instance actor still does not count as “deleted” for a followers-only Note, since the instance actor follows nobody. ADeleteof an actor that can no longer be fetched, which the board does not act on because the actor’s server does not say it is gone, is now answered202 Accepted(and logged, as before) instead of401: Mastodon counted the401as a failed delivery and sent the sameDeleteagain. A local user named exactly like the web domain loses WebFinger to the instance actor; a warning at startup says so. See Instance Actor. -
A caller who drops in the first seconds no longer leaves a ghost session (#999). A Telnet or WebSocket connection that closed before its terminal type arrived (port scanners and health checks do this) still went on to the menus with nobody there, and then logged an idle timeout kick for that node every minute until the board was restarted. Also: a session that has ended no longer moves to another menu, and a menu that fails to load is not retried forever when the menu before it leads straight back to it with no key pressed (seen with a theme missing both the last callers and pause art); the second failure is logged as an error and the caller is left to the idle timeout. These were busy loops that outlived the caller.
-
Hardening and robustness across the mailer, tosser and web servers.
- BinkP: inbound file names are decoded from their FTS-1026
\xHHescapes, so a name binkd escaped (one with a space, say) is stored under its real name, and only a plain file name is accepted; a file with any other name is acknowledged without being stored, and logged. A caller giving the wrong password for a node is refused withBad password, as binkd does, and outbound mail is only offered once a caller has authenticated. - FTN: a single-valued kludge (
INTL,MSGID,REPLY,CHRSand so on) that appears more than once keeps its first value, so such a message is imported once and the import carries on. A NetMail with no route is marked failed and its sender told, as intended. Automatic area creation follows the secure inbound (onDemand.secureInOnly). - TIC: a
Replacesonly ever overwrites the file it supersedes; a payload whose name matches a different existing file is stored beside it. - NNTP refuses a password-only login for an account with two-factor authentication. REST refresh tokens and API keys require an active account, and are revoked when
oputildisables, locks or deactivates one. - Web and REST request bodies are read with size limits (HTTP 413 beyond them), and multi-byte characters in REST message bodies arrive intact.
- ActivityPub: inbound signed requests must sign
(request-target),host,dateand, on a POST, a matchingDigest. A thread’s/note/contextcollection is indexed and paged beyond 100 Notes, and the NodeInfo usage counts are cached for 10 minutes.
- BinkP: inbound file names are decoded from their FTS-1026
-
FTN import and export do less work per message. Looking up a message by a meta value, which the tosser does for every imported message (the MSGID duplicate check, resolving
REPLY), used to read through the wholemessage_metatable; a new index makes it a direct lookup (about 50 ms down to a few microseconds on a board with 36,000 messages). EchoMail export now loads each message, looks up itsREPLYand records it as exported once, however many uplinks it goes to, where it used to do all of that once per uplink; EchoMail relay does the same across all the destinations of a network. On that board, relaying 4,983 messages to three destinations went from about 21 to about 16 seconds. What each uplink receives is unchanged. -
The WFC node list keeps the node the sysop selected. Moving the highlight with the arrow or page keys was undone at the next five-second refresh, which put it back on the node picked last with a node number (or the first); kick, chat and message act on the highlighted node, so for a few seconds they targeted one node and then another. The selection now follows the node, not its row: the arrow keys and node-number keys both set it, a refresh never moves it, and it stays on the same node when other nodes connect or disconnect. If the selected node disconnects, the first node is selected. A kick now goes to the caller shown when the confirm prompt opened: if that caller hangs up before the sysop answers, nobody is kicked, where before it could hit whichever node was highlighted, or had that node number, by then.
-
Art goes to the caller in one write. Each escape sequence and run of text in a piece of art used to be its own socket write, so one 80x25 screen went out as several hundred TCP segments, SSH messages or WebSocket frames (607 to 823 for screens in the stock theme). It is now sent as one, and so is a form redrawn in full, as is the WFC’s periodic refresh. What the caller receives is byte for byte the same for ANSI, PETSCII, ATASCII and RIP callers, and art shown with
baudRateis paced exactly as before. -
Screens refreshed on a timer draw only what changed. The WFC dashboard repainted every custom view and the whole node list every five seconds, changed or not: about 2,200 bytes a refresh on an idle dashboard with four nodes connected. It now draws only the values that changed, so an idle refresh is down to the status bar (about 450 bytes). The node list is drawn again when what it shows or its selection changes, not for a field it does not show, and the node list and quick log no longer blank their rows before redrawing the same number of them, which made them flicker. The task screen’s custom views, MRC’s custom views and sysop chat’s status line work the same way. A chat line added to the MRC or sysop chat log goes out as one write instead of one per row, and until the log fills and starts to scroll only the new line is drawn: about 175 bytes a line instead of up to 2,500 in MRC. What the caller sees is unchanged.
-
EchoMail export retries an uplink that failed (#1026). A message is marked exported as soon as it is handed to its first uplink, before any packet is moved into outbound. If anything after that failed (a full disk, a permission error, a flow file busy with a mailer session, or one uplink of several being unreachable), the log said “will retry”, but the export scan never selected that message again, so the uplink that missed it never got it. Each message now records which uplinks are still owed it until the packet carrying it is in that uplink’s outbound and referenced from its flow file, and the next scan sends it to those uplinks only, with the same MSGID. A packet that got out is not sent again, even when a later packet to the same uplink failed (a bundle goes out whole or not at all). A duplicate is still possible if ENiGMA½ stops between a packet reaching outbound and that being recorded, or if recording it fails (logged at
error); the receiving tosser drops it by MSGID. A live (@immediate) export that fails for an uplink is retried the same way. Which messages are exported, and what a successful export sends, are unchanged. EchoMail relay already retried per uplink and is unchanged. -
EchoMail from several areas to one uplink no longer shares a bundle name (#1027). The export scan exports its areas at the same time, and each picked its ArcMail bundle name by looking at what was already in the uplink’s outbound. Two areas with new mail for the same uplink (with
archiveTypeset) could pick the same name before either bundle existed. The archiver then added one area’s packets to the other’s bundle, or, with both running at once, kept only one of them: the second area’s export failed and its mail was sent again on the next scan, and the first area’s mail could be recorded as sent when its bundle held only the other area’s packets. A bundle name is now reserved while its bundle is built and moved into outbound, so every export running in the same ENiGMA½ process gets its own. A name already in outbound in upper case (.TU0) is passed over too. A bundle that does not reach outbound is removed from the export temp directory; before, the next bundle given that name was added to it and sent the old packets again. The day-of-week naming (.mo0to.moz, 36 bundles per uplink per day) is unchanged. The packets that went into a bundle are now removed from the export temp directory once the bundle is in outbound; they used to stay there until ENiGMA½ stopped. -
A NetMail addressed only to our FTN address no longer stalls the import. Such a NetMail, with no local user of that name, is meant for the SysOp. It was never stored, and the packet import it was in never finished.
0.5.1-beta
Section titled “0.5.1-beta”-
The file base can read ARC, PAK, ZOO, ACE, Squeeze It, UltraCompressor II, Unix
.Z, xz, Zstandard and Microsoft Cabinet archives, C64 Lynx, T64 and D64 files, and the files on Amiga DMS disks — with unarc installed. Uploads in these formats were treated as plain files, so nothing inside them was listed or used for a description. unarc is a single program that reads most archive formats found on BBSes; ENiGMA½ now lists their contents and takes descriptions from aFILE_ID.DIZorREADMEinside, as it does for ZIP. A DMS disk’s attachedFILE_ID.DIZbecomes its description. unarc is not shipped with ENiGMA½, and nothing changes until it is installed.- New boards: install unarc (see Archivers) and it covers most archive types on its own, including Amiga LZX and Atari ATR in place of
unlzxandatr— point those two archivers at it as the Archivers page shows. - Existing boards: nothing breaks. LZX and ATR keep using
unlzxandatr, and DMS keeps itsxdmsdescription until unarc can list it. Migrating is optional; see UPGRADE.
Also: plain
.tarfiles and LHA archives made by LArc (-lz4-,-lz5-) are recognised and handled bytarandlha. Lynx and D64 have no fixed signature, so they are recognised by extension once no signature matches. An upload whose archiver cannot list it — a misnamed or damaged file, or a missing archiver — is now handled as a plain file instead of being kept as an archive with an empty listing. And an Amiga.infoicon is no longer taken for an.NFOand used as a long description. - New boards: install unarc (see Archivers) and it covers most archive types on its own, including Amiga LZX and Atari ATR in place of
-
REST API logout now receives and revokes the browser’s refresh token. The refresh cookie previously used a path restricted to
/auth/refresh, so browsers did not send it to the sibling/auth/logoutroute. Login and refresh now issue the cookie at/auth, retainHttpOnly,SecureandSameSite=Strict, and expire the legacy cookie. Logout clears both cookie paths. Existing sessions migrate on their next successful refresh or login; already-issued access tokens still expire after their normal 15-minute lifetime. See UPGRADE. -
Blue Wave readers can now choose a caller’s areas offline (#883), and an offline mail upload says where each message went (#882). A Blue Wave reader lets the caller turn areas on and off, and sends the result back in the reply packet as a
*.OLC(or a*.PDQfrom an older reader). ENiGMA½ used to unpack that file and ignore it. Callers who unsubscribed from echoes in their reader kept getting them, and nothing told them why.The file is now applied. It is the caller’s whole list of areas rather than a set of changes, as the Blue Wave door treated it, so an area left off the list leaves their packet. An area turned on starts from the upload rather than from the area’s whole history. Only areas the caller can see can be turned on; any other is refused and named. A list that would leave no areas at all is not applied, because a caller with nothing selected would never get another packet to undo it from.
The packet now lists every area the caller can read, with the ones they have not selected unflagged, so a reader can offer to turn them back on. It used to list only the selected areas, which, once drops took effect, would have left a dropped area with no way back.
After an upload of either format, QWK or Blue Wave, the caller now sees a line per area with its count, where they used to see only
Imported 1 message(s). Any area changes follow (Added to packet: FIDO_TECH,Removed from packet: FIDO_GENERAL,Not available here: ...). See Choosing Areas Offline. -
Security: a door’s socket server no longer listens on every interface (#885). With
io: socket, ENiGMA½ stands up a temporary TCP server for the door — or for the emulator bridging the door’s COM port — to connect back to, and pipes the caller’s session to the first connection that arrives. That server was started with no address, so Node bound the unspecified address: every interface on a dual-stack machine. Anyone who could reach the box and connect before the door did received the caller’s keystrokes and could write to their terminal, with no authentication anywhere in it, and the door itself then got nothing. The window is however long the door or emulator takes to start — seconds, for DOSEMU, QEMU or DOSBox — and while the port is ephemeral, scanning a range is cheap.The server now binds
127.0.0.1.io: stdiodoors never had a server and were never affected.A launch script or emulator pointed at the machine’s LAN address will stop connecting — point it at
127.0.0.1, spelled that way rather thanlocalhost, which can resolve to::1and miss the listener. The rare setup whose emulator or bridge really is on another machine can say so with a new per-doorsocketBindAddress, which is honoured but logged as a warning every time that door starts. Loopback still means any local process, so the account ENiGMA½ runs as should own the door’s scripts and binaries. See UPGRADE and Scripts & Native Binaries. -
Doors now run at the caller’s pace. A door that writes faster than its caller can take it in — a sixel game, a terminal slow to render, a slow link — used to have every byte queued in ENiGMA½’s memory, with nothing to stop it. The caller fell further and further behind until the door looked frozen, while the backlog grew without limit. A test door flooding a caller who drains 100 KB/s piled up over 500 MB in six seconds.
ENiGMA½ now stops reading a door’s output while too much is waiting to be sent to the caller, and starts again once they have caught up. The door’s own writes block in the meantime, so it simply runs at the caller’s speed. Input is never held back. It is on by default, applies to
io: stdioandio: socketdoors alike, and only engages when a caller is actually behind. Seedoors.outputBackpressurein Scripts & Native Binaries to tune or disable it. -
SEXYZ file transfers now work over SSH (#353). Any transfer using a SEXYZ protocol — including ZModem 8k (SEXYZ), the default on x86-64 — failed for callers connected over SSH. The transfer simply never started, with nothing in the log to explain it.
sexyztakes its transport from its command line:-telnetturns Telnet IAC escaping on,-sshturns it off. ENiGMA½ passed-telnetto every caller, so over SSHsexyzescaped0xFFbytes onto a connection with no Telnet layer to unescape them. The flag is now chosen from how the caller actually connected. Nothing to configure — this applies to customised protocol definitions too, so a board that copied the shipped argument lists is fixed by upgrading.Confirmed against SyncTERM, NetRunner, IcyTerm and TERMinator, with matching SHA-256 sums before and after.
-
File transfers through the Telnet bridge now work over SSH (#266). Downloading from a remote board reached via
telnet_bridgefailed a few chunks in withrecv_header timeoutif you had connected to ENiGMA½ over SSH, while the same download over Telnet was fine.The bridge piped bytes between the two sides untouched. That is correct for a Telnet or WebSocket caller, whose own client speaks Telnet and undoes the escaping itself — but an SSH caller has no Telnet layer, so the remote’s doubled
0xFFbytes arrived doubled and its negotiation landed in the middle of the download. The bridge now terminates Telnet itself for those callers: it de-escapes the data, keeps negotiation out of the stream, and answers that negotiation on the caller’s behalf. Telnet and WebSocket callers are unchanged. -
Large and binary uploads no longer corrupt on Telnet and WebSocket connections. An escaped
0xFFpair split across two reads was not recognised as a pair, so both bytes reachedsz/rzand the transfer failed. Small files often contained no0xFFat all and were unaffected, which is why this showed up as “works for small files, fails at 12MB+”. Images were worst hit — JPEG is saturated with0xFF. -
Exodus has shut down; the module (
exodus.js) has been removed (#857). Both ports the module needs refuse connections and every documented URL is gone, so there was nothing left to point it at. See UPGRADE if yourmenu.hjsonstill carries an Exodus menu. -
Daily time limits (#795) — ENiGMA½ can now meter how long a user spends on the board each day and cut them off when their allowance runs out.
Nothing is metered until you say so. No allowance ships configured, every user is unlimited, and upgrading an existing board changes nothing. Time used today is tracked regardless, so
oputil.js user infoand the newTDMCI code tell the truth even where nothing is enforced — it is the “time on today” figure ENiGMA½ has never had.An allowance is a
users.timeLimitsband: an ordered list where the first entry whoseacsmatches wins, and an entry with noacsat all is the default. A per-account override beats every band, set withoputil.js user time USERNAME <minutes|clear>.users: {timeLimits: [{ acs: GM[vip], minutesPerDay: 240 }{ acs: GM[users], minutesPerDay: 90 }{ minutesPerDay: 30 }]}The root user and anyone in the
sysopsgroup are exempt, in code, and cannot be metered.The
MLACS code — a:TODO: implement me!stub since 2015 — now means “at least n minutes left”, soacs: ML15keeps a user out of a door they have no time for. It is true whenever no budget applies, including where ACS is evaluated with no session at all, so it cannot silently hide a message area over NNTP or the web API on a board that has not opted in. Art getsTR(remaining),TA(allowed today) andTD(used today) for{TD} / {TA}-style displays.Users are warned at 5, 3, 2 and 1 minutes, then sent to a new
timeUpLogoffmenu; if its art does not exist they get a plain message rather than a silent drop. Someone whose allowance is already spent is turned away at login rather than let in for a minute first. A door can be givenminTimeLeftMinutes, which refuses to start it when there is not enough time rather than killing it part way through.See Time Limits.
-
Doors are told how much time the caller actually has (#795) —
DOOR.SYSlines 18 and 19,DOOR32.SYSline 9 andDORINFO1.DEFline 12 carried fixed placeholders:15360,256and546. The256s came from x/84 and mean nothing;546is real, but it is the documented ceiling a value must be clamped to, not a sentinel meaning “unlimited”, so we had been using it backwards.Each now states the minutes actually left today, capped at 546 —
546 × 60 = 32760, which fits a signed 16-bit integer, so a door converting minutes to seconds cannot overflow. The seconds field is derived from the same clamped minutes, so the two can never disagree. A caller with no limit is told the ceiling like any other large number.DOOR.SYSline 42, “time credits”, now reads0. The GAP spec has doors read it back and ENiGMA½ has no time bank, so any other value was a claim it could not honour.BBSDEV.DRPline 11 states the logoff deadline as an absolute UTC instant, and stays empty where nothing will end the session. -
DOOR.SYS reports distinct call times (#824) — the current and previous login times now occupy their respective fields in 24-hour format. First-time callers leave the previous-call field blank instead of repeating the current time.
-
Post from a message list (#213) — P on the message list, or the personal message list, starts a new message where before you had to back out to the message menu to reach its own P. The post goes to the area the highlighted message is in, so it does the right thing on a list that spans areas. An existing board keeps the menus it has, so see UPGRADE.md for the binding to add.
-
Doors can be handed a
BBSDEV.DRPdrop file — setdropFileType: BBSDEVon anabracadabradoor. The older formats are CP437, so a user whose name ENiGMA½ stores fine reaches the door mangled, and they leave the terminal’s character set, the caller’s language and the meaning of the comm field to convention. The new format is UTF-8 and states all three.The door is told where the file is through the
BBSDEV_DRPenvironment variable rather than an argument, so nothing has to be quoted or escaped through a shell.commTypeaccepts the mechanisms ENiGMA½ can honestly name —local,stdio,serial,winserial,uartandfossil— with the descriptor, handle, UART base or FOSSIL port in a newcommParams. A channel ENiGMA½ cannot name stops the door from starting, with the reason logged, rather than writing alocalthat is untrue: that is the format’s own rule, andio: socketis where it bites, since the format’s socket is one the door inherits rather than one it dials.general.languagesets the BCP 47 tag reported to doors,en-USby default. SyncTERM and other CTerm terminals now have their revision recorded from the Device Attributes reply they were already sending, which the drop file passes on. -
Blue Wave offline mail packets (#119) — a caller can export their unread messages as a Blue Wave packet and read them offline. Where QWK identifies a message area by a conference number, Blue Wave carries a 20 character echotag, so a reply is routed by a name that survives the sysop renumbering the message base.
The new
message_base_bluewave_exportmenu module writes the packet and places it in the caller’s download queue, area by area from the point each was last exported.messageNetworks.bluewavesets the packet ID and pins an area’s echotag, number or title where the derived one will not do. Callers reach it with B from the message base menu, and E takes them to the download manager to fetch what it queued, without a detour through the file base. See Blue Wave Support.Replies written offline come back in (#810). The new
message_base_offline_importmenu module takes the uploaded reply packet, reached with U from the message base menu. A packet advertises that it takes replies only when one of your menus carries that module. Nothing asks the caller what format it is: a reply packet names itself from the inside, so the archive is opened and read by whichever reader matches, and the format is chosen on the way out rather than on the way back.Each reply is placed by echotag and then checked as though the caller had typed it at the keyboard — write access on the target area, a real user for personal mail, and the
Fromname replaced with their own, since a reader writes whatever name it was configured with. A packet built for a different login is refused. A reply is threaded onto the message it answers, which the packet names by that message’s own ID.The same entry takes a QWK
*.REPpacket. The QWK reader’s reply mode had never worked: it required aCONTROL.DAT, which a reply packet does not carry, and looked for a messages file under a fixed name rather than the one named for the host. Both are fixed, so QWK mail is now two-way as well. -
oputil.js config validatechecks your configuration before you restart (#281) — a mistyped key inconfig.hjsonhas never been reported. Because your file is merged into the defaults, a typo does not replace anything:outbundlands quietly besideoutbound, the setting you wrote is never read, and the board goes on using the default. Nothing is logged, and the file looks correct.The new command reports those, along with values whose type disagrees with the default they override:
config.hjson: 2 issues (1 error, 1 warning)error general.maxConnectionsexpected number, got stringwarning scannerTossers.ftn_bso.paths.outbundunknown key "outbund" -- did you mean "outbound"?It exits non-zero when there are errors, so it can be used from a script or a systemd
ExecStartPre. Warnings alone are not a failure: an unrecognised key may perfectly well belong to a mod. Sections you add yourself, and the tags and names you choose for areas, networks and nodes, are never reported.--check-envadditionally reports@environment:,@file:and@reference:specs that do not resolve. That one is opt-in because resolution depends on the shell it runs in: checked by default, a perfectly good configuration would look broken purely because it was validated from the wrong place.It also checks names that have to line up across sections — a file area naming a storage tag that was renamed, a
ticAreasentry pointing at a file area that does not exist, an echo or a NetMail route naming a network spelled differently where it is defined, an NNTP conference or area exposed publicly that is not there. None of those produce an error today: the file quietly never lands, the echo is quietly never exported, and nothing in the log says why.A theme or a first menu that is not there is now reported too.
theme.default,theme.preLoginand each login server’sfirstMenuname things that live outsideconfig.hjson— a directory underpaths.themes, an entry inmenu.hjson— so until now the only way to find a typo in one was to restart and watch what happened. A misnamed theme quietly falls back to whichever theme loads first; a misnamed first menu breaks that login server for everyone using it.error theme.defaulttheme "lucian_blocktronics" is not defined in paths.themes -- did you mean "luciano_blocktronics"?Checked at startup, once the themes and menus are loaded, and by
oputil.js config validate— which gathers both sets itself, so it can tell you before the restart rather than after.*still means “pick one at random” and is left alone, and a login server you have switched off is not checked at all, since a menu for a server nobody can reach is not a problem. If either set cannot be read, nothing is reported rather than everything.Values are now checked, not just key names. A port outside 1-65535, a
logging.rotatingFile.levelbunyan has never heard of, a negative idle timeout, a two factor method that is not implemented, a TICfileCasethat is neitherlowernorupper— each of these is reported with the values that would have worked. Every one of them was taken from the code that reads the setting, and a test asserts that no constraint excludes the value ENiGMA½ itself ships, because a validator that fails a correct board is worse than none.achievements.hjsonis checked too — at startup, on reload, and byoputil.js config validate, which now reports on both files and names each one. Astatnamewritten forstatNamehas always meant the achievement is silently discarded at load and simply never fires, with nothing logged either way. The same goes for atypethat is not one of the three the code implements, or a tier whosepointsare a string. Anachievements.hjsonthat cannot be read at all is reported as a warning rather than a failure, because that is what the board itself does: it logs and carries on without achievements.Checking it turned up one more defect: art and date formats set on an achievement were silently ignored. They are meant to be overridable at three levels — the tier, the achievement, then the file’s top level — but the middle one read the wrong object and so never matched. Tier-level and file-level overrides worked; the one in between did nothing.
menu.hjsonand your themes are checked too. They carry the same silent failure asconfig.hjson, and one of them is worse:ThemeManagerstarts from your menu file and looks each menu up in the theme, so acustomizationnaming a menu that does not exist is never consulted — the theming simply does not happen, with nothing logged. The theme ENiGMA½ ships had eight such blocks; they are fixed, and a check now reports any that remain as a warning.A menu naming a module that cannot be loaded is reported too, for both built-in modules and your own under
paths.mods. That found the sysop!BINKPcommand pointing atbinkp_poll, which has never existed — the module isbinkp/binkp_poll_module— so the command has failed since native BinkP support landed.Menu files get their structure checked — a misspelled
modulformodule, anacswhere onlyconfig.acsis read — along with every menu name they reference, wherever it appears:next, a submit handler, an action key. That last one immediately found theScommand in the ActivityPub menu pointing at a menu that has never existed.config{},form{}and MCI blocks are deliberately not checked: those belong to the modules that read them and to the art they position, and claiming to know them would report most menus on most boards.A machine-readable JSON Schema for
config.hjsonis now published atmisc/config.schema.json, generated from the same source the validator uses bynpm run build:schema. It is there for the configuration editor asked for in #133 and for anything else that wants to know what a setting is called, what type it takes and what it defaults to, without readingconfig_default.js. A test fails if it is ever out of date. Note it describes the configuration after@reference:,@environment:and@file:specs are resolved, and that HJSON editors do not consume JSON Schema — this is not editor tooling.Writing it turned up a false positive in the validator itself: an archiver or file transfer protocol of your own could be told a legitimate key was a typo. The shapes of those blocks are inferred from the examples ENiGMA½ ships, and only the outermost level of an inferred shape was left open. So
entryGroupOrder— which the shippedArjarchiver uses, but the first archiver in the list does not — was reported as an unknown key inside anyone else’slist{}, as wasprocessIACsinside a custom protocol’sexternal{}. Inferred shapes are now open at every level.The same problems are now also reported at startup and when you edit a running board — on the console at startup, since the log is not open yet, and to the log on a hot reload. Neither ever stops anything: a configuration with problems is still applied, exactly as before. Set
general.configValidationtooffto stay silent;oputil.js config validatekeeps working either way. There is deliberately no strict mode. -
Notifications reach an +op at the WFC without wrecking the dashboard (#438, #217) — an +op sitting at the waiting-for-caller screen is a node like any other, so achievements, node messages and time warnings were all aimed at their terminal. The WFC queues rather than displays, so nothing appeared at the time; the items were then flushed on the way out, painting over whatever menu the op had moved to. A dashboard that gets painted over is not a dashboard, so nothing is drawn on top of it any more — each notification is routed instead.
Every interrupt item now carries a
type(nodeMsg,achievement,achievementGlobal,sysopPage,timeWarning,system) and, where a person is involved, afromnaming them. Each type is routed to zero or more sinks:Type Default sinks Why nodeMsginbox,statusBarread on the op’s terms achievement/achievementGloballogdecorative; the shipped achievements.hjsonhas 125globalTextentriessysopPage(none) pendingPagesand the node-list indicator already show ittimeWarning(none) sysops are typically unlimited system/ untaggedinterruptanything unforeseen behaves exactly as before An untagged item is
systemand therefore still interrupts, so nothing a third-party module queues can be silently swallowed. Override any of it per install with anotificationsblock on the menu.M opens a message viewer (R reply, D/DEL dismiss), and S sends to the node highlighted in the node list — #438’s “select a node and send”. Both go to a new
wfcNodeMessagemenu rather than thenodeMessageusers reach withmsg: the same module and art, but its own entry, so the sysop path can be rethemed without changing what callers see. The inbox hangs off the connection rather than the module instance, because leaving the WFC destroys and rebuilds that instance — an inbox on it would lose anything unread the moment the op stepped away.Earning an achievement produced no
Logcall anywhere, so it was invisible in the rotating log and both WFC log views. It is logged now, which is what makes thelogsink mean anything.An existing board keeps the menus it has, so see UPGRADE.md for the keys and menu entry to add.
See WFC.
-
Four bugs behind “the WFC gets corrupted when another node earns an achievement” — the framing turned out to be wrong: an achievement arriving while an +op sits at the WFC writes zero bytes at the time. The corruption came from four separate defects, each now with a targeted test.
- The WFC leaked its
ClientDisconnectedlistener.enter()registered a bound function andleave()removed a freshly bound one, which never matches — one listener per visit. SinceView.destroy()is a no-op, those stale instances kept running their refresh and painting the node list, quick log and stat views over whatever menu the op had since moved to. Reproducible on an unrelated telnet client dropping. - The interrupt queue was flushed while the outgoing menu was still live, so a refresh timer was still repainting over the interrupt art and the key that dismissed it also reached the departing menu’s action keys — where K opens the kick-node confirm.
- The queue was LIFO, so a run of node messages was read newest-first.
- Two +ops collided over the quick log. Each WFC instance added a bunyan stream under the same name, and
leave()removed streams by that name — so the first op to leave silently and permanently froze the other’s quick log, with nothing on screen to say so.
sysop_chathad the second of those in its own exit path and now holds interrupts for the destination menu instead. - The WFC leaked its
-
Queued interrupts are drained on arrival only — the queue was drained at four sites: once on arrival, and three times on departure, in
prevMenu(),nextMenu()andautoNextMenu(). The departure drains are the defect above, and they ran before the outgoing menu’sleave(), so its form was still bound to key presses while the interrupt waited for one.Draining now happens only on arrival, where the destination owns the screen and nothing is attached. This is more coverage than before, not less: 29 modules override
initSequence()without draining, so a queued item was never shown while inside any of them; the drain moved toenter(), which only four modules override and all four callsuper. A module that must not be interrupted while arriving overridesdisplayQueuedInterruptions()or setsinterrupt: never. -
A WFC activity ticker — add a
%TK6ticker to the WFC art and it becomes a board activity marquee, fed from the same nine system events that already drive each user’s log: if it is worth writing to a user’s log it is worth putting on the marquee.userLogin,userAchievementEarnedanduserUploadhave default formats and the rest are opt-in, since an event with no format string is not shown.ticker.rotateOntakes"cycle"or a number of milliseconds, andticker.idleTextcovers a dry feed so the row is never blank. Routing a notification type to thetickersink puts it on the marquee too. Alongside it,%SB5became a real status bar: any named panel is filled fromstatusBar<Name>Formatagainst the dashboard’s values (now including{boardName}), andstatusBar<Name>ActiveFormatlights the unread message and page counts while they are non-zero.TickerViewgained acycle completeevent for this, emitted at each motion’s natural boundary — when a scroll offset wraps, when a hold phase ends, when a bounce completes its round trip. A feed that swaps text on that event never cuts a message off mid-word, which a plain timer would. Useful to anything driving a ticker, not only the WFC. -
opVisibilityaccepts the booleans it was always documented as taking —wfc.mdhas described a boolean since the option existed while the code matched only'hidden'and'visible', soopVisibility: falsefell through the switch and did nothing. That is the form people wrote. It matters because an invisible +op is excluded fromgetActiveConnections({visibleOnly: true})and therefore receives no broadcast notifications at all. Strings stay canonical; this changes behaviour on an existing board, so see UPGRADE.md. -
TIC-announced files were lost whenever the file arrived after its announcement (#735) — a
.ticcontrol file and the file it announces routinely arrive in separate mailer sessions; a peer running HTick was observed announcing a full Zone 1 nodelist 15–20 minutes ahead of the payload. ENiGMA½ processed the.ticthe moment it landed, could not find the file, archived the announcement toreject/and unlinked it. The file then arrived with nothing left to pair it with and sat in the secure inbound indefinitely. For that peer and that file it failed every single time, and recovery meant finding the orphan by hand and forcing a rescan.A TIC whose file is not here yet is now held and retried on later import passes — the same disposition HTick uses (
TIC_NotRecvd, “has not been received, waiting”) — rather than rejected. Because an import pass already runs the instant a BinkP session delivers files, the pairing normally completes within seconds of the file landing. A TIC that is never satisfied is given up on aftertic.holdMaxAgeMs(48 hours by default) and rejected as before, so nothing accumulates forever.Four more defects in the same code path came out with it:
-
The announced name was matched case-sensitively. A TIC naming
NODELIST.Z34never found a deliverednodelist.z34. Other FTN software normalises this (HTick callsadaptcase()); ENiGMA½ now resolves the name case-insensitively against the inbound. -
A file still being written could be deleted. A payload shorter than the TIC’s
Size, or one failing its CRC, was archived as a reject and unlinked — which, with a mailer that writes directly into the inbound, could destroy a transfer in progress. Short and mismatched payloads are now held and re-checked instead. -
A
.ticwith noFilefield crashed the import pass. Building the payload path threw aTypeErrorthat escaped into a filesystem callback, leaving the pass hung until the five-minute watchdog fired — so every remaining TIC, and the other inbound directory, were skipped. Such a TIC is now simply rejected and the pass continues. -
tic.secureInOnlydid nothing. Documented and defaulted totruesince TIC support landed, it was never read, so TIC files in the unsecure inbound were imported on the strength of an unauthenticatedFromline. It is now enforced. See UPGRADE if you relied on the old behaviour.
-
-
A TIC could write its file anywhere the BBS user could write (#735) — the
Filefield was checked for path traversal, butLfile/Fullnamewere not, and it is the long name a file is stored under:paths.join(areaStorageDir, ticFileInfo.longFileName). A peer whose TIC otherwise validated could therefore sendLfile ../../../somewhere/eviland place arbitrary content outside the file base. All three fields are now checked, andlongFileNamediscards an unsafe candidate rather than returning it. Found by a security review of the work above and confirmed against a live instance.Two smaller things fall out of the same work: the TIC password is now compared without regard to case, as other FTN software does and as ENiGMA½ already did for packet passwords; and the packet and bundle import stages, which run over the same directory first, no longer consume a TIC-announced file whose name happens to match their patterns.
-
Two more ways a TIC file could hurt you, both found by fuzzing the parser (#743) — the same shape as the traversal above, reachable again by different routes.
-
A single NUL byte in the
Filefield stalled the entire import pass. A name likeNODE<NUL>LIST.Z21is not a path separator, is not..and is not absolute, so every safety check passed it — and the filesystem call that followed threw synchronously, escaping the asynchronous machinery so the import never finished. Every remaining TIC and the other inbound directory were skipped until the five-minute watchdog fired. Control characters are now rejected in an announced file name. -
A TIC could cause an arbitrary file to be copied and then deleted. The path of the announced file was built without a safety check, so
File ../../../etc/passwdresolved outside the inbound. Such a TIC is rejected — but rejecting is what does the damage: the reject path archives the announced file topaths.rejectand then unlinks it. This needed neither a known node nor an area you carry, because theFilefield is read several steps before those checks.
Nine further robustness defects came out of the same work, none individually dramatic: a legal 2-dimensional
Seenbywas written back asundefined:1/50to every downlink; a peer’sSeenbylist of a few thousand entries could stall the event loop for seconds; aCrcof00000000— the checksum of an empty file — was misread as a missing field and the TIC rejected; and a bare CR inside a value could smuggle an extra keyword line into TICs forwarded under your own name. -
-
NetMail could not be sent to a node you had configured, without also adding a route for it (#739) —
netMail.routesis meant to say where mail goes when it is not going direct, but in practice it was mandatory for every NetMail destination. A message to an uplink sitting right there innodes{}was refused withNo NetMail route for …, and the sender got a delivery failure notice.The network was being resolved with a helper that compares an address against your own
localAddress— the right question when importing a packet addressed to you, and one a correspondent can never answer yes to. So the unrouted path could only ever succeed for mail addressed to yourself.Destinations are now settled as the code always described: a
routesentry if one matches, otherwise anodesentry for the recipient itself, otherwise refused. Nothing that worked before changes — routes are still consulted first and handled exactly as they were.Two smaller things fall out of the same rework:
-
networkis now optional on a route. Omitting it used to produce the sameNo NetMail routeerror even though a route had matched. It is filled in from the zone of the node being dialed, which is what picks the outbound directory anyway, so the from-address and the spool path cannot disagree. Name anetwork— on a route or on anodesentry — only when two of your networks share a zone. -
Bad configuration is reported for what it is. A route naming a network that does not exist, or carrying an address that will not parse, now says so. The first was reported a step later as a problem with the network rather than the route; the second threw.
This also means automatic AreaFix rescan requests (#241) reach an uplink without a
routesentry having to cover it. -
-
Routed cross-zone NetMail was filed where nothing would ever look for it (#734) — NetMail routed through an uplink in a different zone than the recipient (the standard FidoNet zone gate: zone 2 mail leaving through a zone 1 hub) was written to the outbound directory of the recipient’s zone instead of the uplink’s. A mailer only looks in the zone of the node it is calling, so the session to the uplink completed cleanly having transferred nothing and the message sat on disk indefinitely.
Nothing surfaced it. The packet’s flow file was named for the uplink but filed under the recipient’s zone, so the pending-mail scan — which reads a node’s address from the directory’s zone plus the flow file’s name — reported a node that does not exist (
2:154/10, for an uplink of1:154/10), which the poller then skipped atdebuglevel. Every visible signal said success.Packets are now filed for the node that will actually be dialled. Three related changes mean this shape of failure is noisy rather than silent if it ever recurs:
- A flow file entry whose file is missing is logged rather than skipped in silence.
- A node whose live flow entries all point at missing files is no longer reported as having pending mail. That state used to put the poller in a dial-every-cycle-and-transfer-nothing loop.
- A reference is also looked for by name in the flow file’s own directory. Flow files store absolute paths, so mail that has been moved — including anything misfiled by this bug before upgrading — now ships by moving the files, with no hand-editing of flow files. See UPGRADE.
Each routed NetMail also logs where it was routed, so the effective route can be confirmed rather than inferred.
-
TIC-announced files can now be forwarded to downlinks (#743) — ENiGMA½ could only ever be a leaf node for FTN file echoes. A file received from an uplink was imported into the file base and then deleted from the inbound; it was never passed on. There was no way to declare downlinks, no TIC was ever generated, and the
Path/Seenbyfields were read but never written. Anyone downstream had to be fed by some other file processor, which in practice meant ENiGMA½ could not be used as a file-echo hub at all — a notable gap for a package that otherwise does full EchoMail and NetMail hubbing.Declare downlinks on the TIC area and it forwards, generating a TIC for each:
ticAreas: {fsx_gen: {areaTag: fsxGeneralnetwork: fsxnetuplinks: [ "21:1/100" ] // who may publish into itdownlinks: [ "21:1/200", "21:2/150" ] // who receives it}}Off unless you configure it. An area with no
downlinksbehaves exactly as before. See TIC Support.-
uplinksis an access control, not a formality. Authentication is not per-area: every node innodesis equally able to send you a TIC for any area you carry. Withoutuplinks, a node configured for some entirely unrelated reason could announce a file into an echo it has no rights to and have you relay it to that echo’s subscribers under your own address,PathandSeenby. An area withdownlinksand nouplinksforwards nothing and says so at startup. HTick performs the same check before forwarding. -
The loop guard is the part that matters. A downlink already listed in the TIC’s
Seenbyis skipped, as are the sender, the TIC’sTo, the file’sOrigin, and your own addresses on any network. Addresses are compared allowing for the 2D–5D differences that are ordinary in FTN control data — FSC-0087 lets each hop rewrite them — because a strict comparison would fail to notice a system had already seen a file and send it round again. -
Forwarding is gated harder than importing. Importing affects your own file base; forwarding makes other systems receive traffic your
PathandSeenbyvouch for. A TIC from the unsecure inbound is never forwarded even if you import from there, and neither is one from a node with notic.password— such a node is never actually authenticated, because the check is simply skipped when no password is configured. A TIC addressed to somebody else is imported but not re-announced. -
Replacesdequeues. When a replacement supersedes a file still queued for a downlink that has not collected it, the old file and its TIC are removed from that downlink’s outbound. Otherwise a downlink polling weekly would receive both — and the older one has by then been deleted locally, so it would receive neither.
Problems that would otherwise be silent are reported at startup: an area with downlinks but no resolvable network, a downlink missing from
nodes, or one with no TIC password.- A system carrying file echoes and no message areas can now import at all. The import pass was gated on having
messageNetworks.ftn.areasconfigured, which TIC processing has nothing to do with — so a file-echo-only system logged “EchoMail export disabled” and then silently did nothing with every file its uplink sent. That configuration was barely reachable before this feature existed; it is the obvious one to try now.
-
-
Hatching — you can put your own file into an echo you carry (#751) — forwarding passes on a file an uplink sent you; hatching originates one. A hub that cannot hatch cannot ship its own nodelist or infopack — it can only repeat what it is told.
oputil.js fb hatch <areaTag> <file> [--desc ...] [--replaces ...]The area tag is the FTN one, a
ticAreaskey, because that is what an operator configuring a hatch is looking at and one local area may carry several echoes. Deliberately thin: the per-downlink TIC generation, the loop guard, the unique 8.3 naming, the payload-then-TIC append and theReplacesdequeue are all reached through the same code a forward uses, now shared rather than duplicated. AticAreasentry may carry anareaDesc, written as FTS-5006Areadescinto TICs you hatch; a forwarded TIC carries whatever the hatching system wrote, untouched.See oputil and TIC Support.
-
Passthrough file areas — carry an echo without storing it (#753) — a hub may carry an echo purely for its downlinks, with no interest in keeping the files.
store()required a local file base area and hard-failed without one, so a hub had to keep an area per echo for files its own users would never browse.Set
passthrough: trueon theticAreasentry and the file is held in a transit directory only as long as a downlink still references it, then swept. It is required explicitly and never inferred from a missingareaTag: aticAreaskey is matched againstfileBase.areastoo, so an entry without one may well be a working stored area that inference would quietly turn into a deleting one. -
An echo carried on more than one network addresses each downlink correctly (#757) — TIC forwarding took the network from the first downlink’s zone and then signed every downlink with it. A hub with several AKAs, or an area carried on two networks, therefore presented the wrong identity to some of its links.
Each downlink is now addressed from our closest AKA by zone and net, with
nodes.<addr>.tic.networkand then the area’snetworkas overrides.Seenbylists every AKA in play rather than only one, because a peer matches it against the address it knows us by — aSeenbynaming one address lets a system that knows us by another forward the file straight back.The outbound directory deliberately stays the area’s and is not tied to that choice: the per-node
.bsylock is derived from the address by zone, and a flow file written where the lock resolver does not expect it means the tosser and a live BinkP session take different locks — which is the whole exclusion FTS-5005 exists to provide. Nothing is lost, since an outbound session presents every one of our addresses in the handshake anyway. -
A forwarded file and the TIC announcing it are now pruned together (#862) — the two are queued in one append, adjacent and in that order, so removing one must remove the other. The tosser’s
scrubFlowFileRefs()knew that; the BinkP side’s prune path did not. Pruning a missing payload therefore left its TIC queued, and downlinks were handed TICs announcing files they would never receive. The companion rule now lives in one shared place used by both. -
Outbound could be dropped on the floor while a mail session was running — ENiGMA½ appended reference records to BSO flow files without taking the flow file’s
.bsylock, while the BinkP side rewrites those same files as entries are sent: it reads the whole file, marks a line done, and writes it back. An append landing between that read and that write was silently discarded. No error, no log — the queued file simply never shipped, and with nothing left referencing it, its packet sat in the outbound indefinitely. The busier the system, the more often it happened.FTS-5005.003 §5.1 puts the requirement on software, not on mailers: “A bsy is a main control file that must be used by any software dealing with flow files in BSO […] If a bsy file exists all changes are prohibited in any corresponding flow files.” The tosser queueing outbound is exactly that. Both BinkP session paths already took the lock, so the writer was the only unprotected party.
Because
NNNNnnnn.bsyis the standard name, honouring it also interlocks correctly with external mailers — Binkd takes the very same lock, so neither side needs to know about the other. (The pre-existingenigma.bsyflag could never serve this purpose: it is a non-FTS-5005 name in the outbound root, so no external mailer has reason to interpret it.) The protocol now lives in one place and is shared by the writer and the mailer rather than reimplemented on each side.When the lock cannot be taken the outbound is not queued that pass and says so — not writing is what the spec requires, and the next export cycle picks it up.
scannerTossers.ftn_bso.flowLockTimeoutMs(default 5 seconds) bounds the wait; see BinkP.A second, related race was found by running two instances against each other: when one session ships more than one file to the same node, each file’s completion rewrote the whole flow file independently, so all but one entry silently lost its “sent” mark. For mail the entry is deleted after sending, so the leftover reference merely dangles; for a forwarded file echo — where the file stays in your file base and must not be deleted — it looked unsent and went out again on every subsequent session. Those rewrites are now serialised.
-
A wildcard could shadow a more specific entry in
nodes{}and NetMailroutes{}— where several patterns matched an address, which one applied depended on nothing but the order they were written inconfig.hjson. A"*"route above"21:*"took every message; a"21:*"node block above"21:1/100"meant that node’spacketPasswordwas never the one checked. The most specific match now wins regardless of order, which is what the native BinkP mailer already did for its ownbinkp.nodes{}.routes{}is still consulted beforenodes{}, so a catch-all"*"route claims all NetMail — AreaFix to your uplinks on other networks included. With ordering no longer deciding the outcome, a more specific route can now reliably send those direct. See NetMail. -
The
downloadfile area ACS was enforced over the REST API and nowhere else — a security control that silently did not work. A file area can reasonably let everyone browse while restricting who may actually pull bytes down:someArea: {acs: {read: GM[users]download: GM[donors]}}readwas honoured everywhere, so browsing looked correctly gated and the configuration appeared to work.downloadwas checked only bycore/rest/routes/files.js— over telnet and SSH, where essentially every user is, anyone who could see a file could queue and download it. It was the only ACS scope in the system with no terminal-side enforcement.The check is now applied at every path that can move a file to a user:
- Queueing —
DownloadQueue.add()refuses an entry the user has nodownloadright to, and the file area list shows a distinct indicator (noDownloadAccessIndicator,n/ain the shipped theme) rather than letting the queue key look broken. - Protocol downloads — the send queue is filtered at transfer time. A download queue persists in a user property across sessions, so an item queued while permitted can outlive the permission; being removed from a group now takes effect immediately.
- Web download links — both single and batch link generation are gated in
FileAreaWeb, which also covers the browse screen’s “generate web link” action. That path never went through the download queue at all.
Temporary session downloads — QWK packets, FSE attachments — are generated for the user on request, carry no ACS of their own, and are unaffected.
- Queueing —
-
Message areas can now be created automatically for EchoMail you are not configured for (#241) — mail arriving for an unknown FTN area tag was skipped with a warning, and since the packet was then removed, skipped meant lost. ENiGMA½ can now create those areas instead. Off unless you configure it; a system with no
autoAreasblock behaves exactly as before, and with no network enabled nothing extra runs at all.Setup is one command —
./oputil.js mb auto-areas init— and then a per-networkautoAreasblock. See FTN.-
Created areas are read-only, and that means both halves. They carry no
uplinks, so nothing is exported. On its own that is not read-only: a local user could still post into an area that looks live and goes nowhere. So they also carry a write-deny ACS. To adopt one, define it inconfig.hjsonwith your ownuplinksandacs—config.hjsonalways wins over the generated file. -
Nothing is ever written to your
config.hjson. Created areas go to a generatedauto-areas.hjsonpulled in throughincludes, which merges such that your own file wins. That file can therefore be rewritten on every pass without ever touching a description you wrote by hand. -
Real names and descriptions come from the network info pack. The pack arrives by TIC like any other file; ENiGMA½ looks for it in the file area you name rather than waiting to be told, so one that landed before you enabled the feature counts too. It only renames areas you already carry — a pack lists what the network carries, which would otherwise leave you with hundreds of permanently empty areas.
-
Collisions are refused, not merged. An FTN tag lower cases straight onto a local area tag, and
PRIVATE_MAILwould land an echo in everyone’s mailbox. A tag already used in any conference, or carried by another network, is refused too, and the reason is logged. -
ignoreandmaxAutoCreate. Adding a tag toignoreremoves it if it was already created, so it is a real un-create.maxAutoCreatecaps the total ever created for a network rather than the number per run — a per-run cap compounds. -
AreaFix rescan is optional, off, and has no default command. FSC-0057 specifies
=TAG R=nand Mystic and CrashMail II implement it, but husky and SBBSecho do not: they read it as a request to add an area with a garbage tag, and a husky hub withforwardRequestsmay pass that upstream. There is no portable form, so you state the one your uplink speaks or nothing is sent. Replies are matched to requests actually sent and summarised to you in NetMail.
-
-
oputil mb import-areasimported comment lines as message areas (#733) — a leading;or%line became an area whose tag was the comment character. Measured against real network info packs, importing fsxNet’s file echo list produced 18 of them and AgoraNet’s 14, written straight intoconfig.hjsonfor you to find and remove by hand.The area list parser is now shared between
oputiland automatic area creation, and it works out the format from the file’s content rather than its extension:;,%and#comment lines are skipped. fsxNet used%in its 2018 pack and;in the current one, so both are needed.- A FILEBONE file echo list — which six of eight surveyed networks ship named
*.na, alongside their message list — is recognised and sent tofb import-areasinstead of being imported as areas all taggedArea. - A list with the columns reversed, description first, is recognised and refused. SpookNet ships one, and the old parser took 35 entries from it with tags like
Aliens,— nothing on those lines is malformed enough to reject one at a time, so the decision has to be made about the file as a whole. - Lines that survive but cannot be used are listed for you before the confirmation prompt instead of being silently dropped.
AREAS.BBSis unchanged: it cannot be told from a plain area list by shape, so it is still only assumed from the.bbsextension or--type bbs. -
oputil fb import-areasshares that parser, so a FILEBONE list is recognised by its content rather than its name, and a file echo list shipped as a plainTAG Descriptionlist — ArakNet’s, among others — imports rather than reporting “Nothing to import”. FileGate.ZXXand FILEBONE.NAfiles produce byte-identical results to before; a multi-digit area level and flags other than!and*&are now accepted as well. Since a plain list is indistinguishable from a message echo list,import-areassays so before the confirmation prompt. -
A missing
includes:file said the wrong thing on startup — a file listed inincludesthat does not exist stops the board from starting, correctly, but the message advised running./oputil.js config newas thoughconfig.hjsonitself were missing, and printed the placeholder'{configFile}'instead of a path. Both now name the file that is actually missing and say what to do about it. -
A second instance bound nothing, said nothing, and kept running (#547) — starting ENiGMA½ while another instance already held its ports produced no error, no
System started!, and no exit. The process simply sat there, serving no one.Node’s
server.listen(port, host, cb)registerscbas a one-shot'listening'listener: it never receives an error argument, and on a failed bind it never fires at all. Every server treated it as an error-first callback, soEADDRINUSEleft the startup series inlistening_server.jswaiting for a callback that would never come. Telnet caught the event but logged it atinfo— and the default logging config writes to a rotating file with no console stream, so nothing reached the terminal. The remaining servers had no server-level'error'handler at all, so the event fell through to the process-leveluncaughtExceptionnet, which by design keeps the process alive.Every login, content, and chat server now binds through a shared helper that listens for both
'listening'and'error'and calls back exactly once, with an error an operator can act on —EADDRINUSE,EACCESon a privileged port, andEADDRNOTAVAILeach get an explanation rather than a bare code. A bind failure is now fatal for every server, including NNTP; see UPGRADE.md.-
Startup output now reads in the order things happen — the banner, then any configuration warnings, then the server list, then
System started!. The banner was previously printed at the very end, underneath everything it was supposed to introduce. -
Startup now reports what actually bound. One line per server with its address and port, so a misconfigured or missing service is visible at a glance instead of only in the log. Colour is used only when stdout is a TTY and
NO_COLORis unset, so piped output and journals stay clean. -
Startup failures always exit non-zero. An error that had already been displayed previously fell through the final handler and the process wound down with status
0, so service managers and install scripts saw a clean exit from a failed start.
-
-
BinkP sessions ended on a timeout instead of a clean close — binkp/1.1 runs a session as a series of batches: another follows any batch that carried more than the two
M_EOBs, and only an empty batch ends the session. ENiGMA½ stopped after the first one, leaving a conforming peer waiting for anM_EOBthat never came.No mail was lost — it had already transferred by then — but the peer sat until its own timeout (five minutes, for binkd) and then recorded an otherwise successful session as
failed. With binkd’s shippedtry/holdsettings, enough of those in a row will put us on hold and stop it calling for a while.The cost was ours too: an inbound session parked like that still holds the node’s lock, so crashmail queued for that node inside the window is skipped and waits for the next scheduled poll — quietly defeating the point of crashmail. Sessions against binkd now finish in milliseconds and log
done (..., OK, ...).Peers below binkp/1.1, and any that never identify their version, are treated exactly as before.
-
BinkP GZ compression used the wrong container (#723) — FTS-1029 specifies zlib’s
compress()/compress2(), which produce the RFC 1950 container: two header bytes and an Adler-32 tail. ENiGMA½ emitted RFC 1952 (gzip) instead — the same deflate payload behind a different header — so every conforming peer rejected it on sight. binkd logsDecompress <file> error -3and abandons the transfer; the sending side saw nothing wrong and re-offered the same file on every poll, for days. Confirmed here against binkd 1.1a-115 and reported against Mystic 1.12A48.Only nodes without
archiveTypewere affected: ArcMail bundles and archives are already compressed, so GZ is skipped for them entirely. That is the same set of systems as the packet-naming bug in #722.- Both containers are accepted on receive. The GZ option carries no version, so a pre-fix and a post-fix ENiGMA½ cannot tell each other apart. Inbound data is now sniffed and either container decoded, which keeps a half-upgraded link working in that direction. Only what we send changed.
- A failed decompression recovers instead of stalling. FTS-1029 lets a receiver switch compression off mid-session by answering with an
M_GETcarrying anNZtoken; ENiGMA½ now does that and takes the file again in the clear. If that fails too it sendsM_SKIP, so the batch finishes rather than hanging to a timeout. Previously the error was logged atwarnand the session simply stopped. - Compression can be turned off per node with
gz: false, for a peer whose decompressor cannot be fixed.
-
BinkP outbound stalled against any peer that asked for NR mode (#724) — a peer sending
OPT NRobliges us to offer each file with an offset of-1and wait for it to name the offset it wants (FTS-1028). We did that, then began sending file data straight away. FTS-1026 requires the answer toM_GETto “proceed with transmission of the file requested starting with an appropriateM_FILE”, and a conforming receiver has already closed the file by the time it sendsM_GET— binkd discards every data frame that arrives with nothing open, silently. Both sides then waited: ours for the acknowledgement, theirs for the re-announcement, until the five minute session timeout. No mail moved and nothing was logged abovedebug. Note that this had nothing to do with the peer’s version: binkd asks for NR whenever a sysop sets-nror-ndon a node, and-ndis common. Fixed, along with four related defects in the same code:-
M_SKIPwedged the batch — a skipped file stayed in the in-flight slot forever, producing the same silent stall. binkd sendsM_SKIPin place ofM_GETwhenever an inbound skip mask matches, so this was a second route to an identical symptom. Skips are now honoured as FTS-1026 intends: non-destructive, the file kept for a later session, the batch carrying on. -
M_GETfor an already-sent file was ignored — FTS-1026 requires recognising a request naming “a file that have been transmitted, but we are still waiting an M_GOT acknowledge for it” — the race it explicitly warns implementations about. We logged it and moved on, leaving the remote waiting. -
Inbound NR started each file twice — after answering an offset request we left the receive open, so the sender’s required re-announcement began a second receive of the same file. A FREQ arriving that way pinned the end-of-batch hold above zero and the session never sent
M_EOB. -
OPT NRis no longer sent by default — the frame asks the remote to hand us files an offset at a time, costing a round trip each; FTS-1028 says it “should be used only if absolutely necessary”. It is now opt-in per node viarequestNR. Honouring a peer’s request remains unconditional, as the spec requires.
Also removed: a denylist of binkd 0.9.x version strings that switched NR off. It was transcribed from binkd’s source, where the identical list drives the opposite workaround.
-
-
BSO outbound correctness & spec compliance — a set of fixes to the FidoNet-style outbound spool shared by
ftn_bsoand the native BinkP mailer, each checked against FTS-5005.003 (Advanced BinkleyTerm Style Outbound flow and control files). All four caused mail to sit in the spool undelivered with nothing logged at any level, includingtrace. See UPGRADE.md for recovery of anything already stranded.-
EchoMail export to a node without
archiveType(#722) — a node with noarchiveTypeexports bare packets rather than ArcMail bundles. Those were renamed onto a BSO netmail flow file name with no separating dot (e.g.43792ae5cutinstead of43792ae5.cut), which nothing — this mailer or any other — could ever match. The basename was also a message serial number rather than the destination’s net/node, so simply restoring the dot would have decoded it as a phantom address. Un-archived packets now ship as flow file references (NNNNnnnn.?lo), exactly as ArcMail bundles and NetMail already did. This is also what the spec requires: §3.1 gives a netmail flow file a one-to-one correspondence with its destination, so a node can hold exactly one at a time, while a single export routinely produces several packets. -
Direct-attach packets are renamed on the wire — §3.1 requires that a netmail flow file (
NNNNnnnn.?ut) “must be dynamically renamed at the moment of sending to a remote system with a unique name and extensionpkt”. ENiGMA½ sent it under its.?utname, so although the transfer succeeded, the receiving system’s tosser did not recognize what arrived as a packet. Such files — which other software, or a sysop, may legitimately place in the outbound — are now sent as a uniqueNNNNNNNN.pkt. -
Upper case outbound files are now found — §2 asks that software “be able to handle both” upper and lower case BSO filenames. The mailer’s pending-mail scan was case-insensitive but its per-node lookup was not, so a node with upper case flow files (from
fileCase: 'upper', or an outbound inherited from a DOS-era mailer) was reported as having mail, dialed every poll cycle, and then sent nothing. Lookups,.bsylocks, and.pntsubdirectories are now all matched case-insensitively. -
Point addresses are now polled and shipped — §2 puts a point’s flow and control files in a
NNNNnnnn.pntsubdirectory of the boss node’s outbound.ftn_bsohas always written that layout, but the native BinkP mailer had no knowledge of it: point mail was never sent, and polling a point address served it the boss node’s mail instead. Points are now scanned, shipped, and locked in their own subdirectory.
-
-
Multi-network BSO outbound fix —
ftn_bso(the scanner/tosser) and the native BinkP mailer used two independent rules to decide which FTN network owns the bareoutbound/spool directory. With two or more networks configured and no explicitscannerTossers.ftn_bso.defaultNetwork, the two disagreed: outbound NetMail and EchoMail for the first-listed network was written tomail/ftn_out/<network>/but looked for inmail/ftn_out/outbound/, so it was never sent — and never logged an error. Both sides now share a single resolver (defaultNetworkwhen set, otherwise the first listed network), network names are matched case-insensitively, and mail already queued under the previous layout is picked up and sent automatically. See UPGRADE.md for details. -
A file could not be found by its own name —
FileEntry.findFiles()and the message base ran query values through asanitizeString()that escapes MySQL style: doubling"and backslash-escaping\,%and the control characters. SQLite’s only string-literal escape is a doubled quote, so all of that arrived as extra characters and a value could not match itself. A file named100% Pure.ziporback\slash.zipwas simply not findable.Never an injection — the one escape that mattered was correct — but wrong, so values are now bound parameters rather than interpolated into the statement. The one interpolation that remains, a sort column, is checked against an allow-list, since a column name cannot be a bound parameter.
A wildcard
Replaceswas the same bug with teeth (#864): a TIC’sReplacesis a DOS glob matched against the stored short file name, and the conversion turned*into%before handing the result to the escaper — so every wildcard came back out as the literal two characters\%, and with noESCAPEclause SQLite read that backslash literally.Replaces NODELIST.*therefore matched nothing,tic.allowReplacestored a second copy instead of superseding, and the old file stayed live in the base and queued for every downlink that had not collected it. An exactReplaces NODELIST.246worked, and so didNODELIST.2?6, which is what made it so quiet.
0.5.0-beta
Section titled “0.5.0-beta”-
NetRunner over SSH sizing fix — NetRunner connects via stock cryptlib, which hardcodes the terminal size it reports as 80x48, throwing art positioning off by a row on an 80x25 screen. That reported size is now skipped; ENiGMA½ queries the terminal instead, which NetRunner answers correctly. SyncTERM is unaffected — Synchronet’s cryptlib fork reports a real size and identifies itself distinctly. Controlled by
loginServers.ssh.untrustedTermSizeClients. -
v86 multi-node shared disk — concurrent door sessions for the same disk image now share a single in-memory buffer (SharedArrayBuffer), giving all nodes a live view of the same disk — exactly as they would on a real BBS with a shared drive. Games that rely on file/record locking (e.g. TradeWars 2002) work correctly when
SHARE.COMis loaded fromrunBatch. Single-player doors are unchanged; usenodeMax: 1as before. The buffer is flushed back to the image file after each session exits, serialized so concurrent exits never race at the OS level. -
OSC 8 clickable hyperlinks — URLs in message bodies, file NFO/readme viewers, and file download listings are now rendered as clickable hyperlinks on terminals that support the OSC 8 standard: IcyTerm, SyncTERM, VTX, and modern *nix terminals (foot, Alacritty, GNOME Terminal, kitty, WezTerm, Windows Terminal, and others). Sysops enable hyperlinks per-view by adding
hyperlinks: trueto any%MTview in preview or read-only mode. The default menu templates and ActivityPub viewer have this enabled out of the box. See Multi Line Edit Text View for details. -
User status config module — users can now toggle their own availability and visibility via the new
user_status_configmodule (commandSTATUSfrom the main menu in the default template). Availability controls whether the user can be paged/messaged; visibility controls whether they appear in who’s-online and last-callers lists. Sysops expose the module by wiring@menu:userStatusConfiginto their menu config. The module supportsenabledIndicator/disabledIndicatorconfig overrides andTL10/TL11custom-format views ({availableIndicator},{visibleIndicator}) for full theme control. -
Pre-auth feedback to sysop — visitors can now send a private message to the sysop directly from the login matrix, before logging in. The sender types a free-text name (not resolved to any user account) and composes a message using the full FSE editor. Replies to these ghost-sender messages are blocked at the inbox with a clear notice rather than failing silently. See the Sysop Chat & Contact doc for configuration details.
-
Secret file injection (
@file:) — any string-valued config key that holds a secret (SSH host key passphrase, SMTP/IMAP passwords, BinkP session passwords, FTN packet passwords, JWT signing secret, door service credentials, etc.) can now be kept out ofconfig.hjsonentirely by using the new@file:directive. Point it at any readable file — absolute or relative to the config directory — and ENiGMA½ reads and trims the value at startup. Docker/Podman secrets (/run/secrets/…) andchmod 600files both work. The existing@environment:directive is unchanged. See Configuration Files — Secret Files and Security for examples covering every secret-bearing config key. -
REST API v1 — a JSON REST API is now available under
/_enig/api/v1/when the web server is enabled. Endpoints cover system info, message conferences and areas (read/post/delete), file areas (list/metadata/download/upload), and user profiles. Two auth schemes are supported: short-lived JWT Bearer tokens (obtained viaPOST /auth/login) and long-lived API keys managed withoputil rest api-key. Public access to specific message and file areas can be configured without requiring authentication. See REST API for full documentation.
0.4.0-beta
Section titled “0.4.0-beta”-
Security hardening — several security improvements across the system:
-
Stronger password hashing — PBKDF2 iteration count raised from 1,000 to 210,000 (OWASP 2024 recommendation for PBKDF2-SHA512). Existing user passwords are transparently re-hashed to the new parameters on next successful login — no user action or migration script required. Hash parameters are now stored per-user in
pw_hash_paramsso future algorithm changes can be made without a flag day. -
Password reset token TTL — reset tokens now expire after a configurable period (default 1 hour). Configure via
contentServers.web.resetPassword.tokenTtlMinutesinconfig.hjson. -
Web endpoint rate limiting — per-IP sliding-window rate limits are now enforced on the password reset and 2FA/OTP registration endpoints (GET and POST), returning HTTP 429 when exceeded. Limits are configurable under
contentServers.web.rateLimits(pwResetGet,pwResetPost,otpRegGet,otpRegPost); defaults are 5–10 requests per 10-minute window. -
Command injection fix — the
oputil ssh-keygenerator now passes the key passphrase as a discrete process argument rather than interpolating it into a shell string, eliminating a shell injection vector. -
Archive util filename injection fix — filenames in
compressToare now passed as discrete arguments rather than space-joined, preventing argument injection via crafted filenames. -
Static file symlink escape fix — the web server’s static file resolver now dereferences symlinks via
fs.realpathbefore the path boundary check, preventing a symlink placed insidestaticRootfrom escaping it. -
Config file security note — see Security for guidance on protecting
config.hjson(which contains secrets such asprivateKeyPass) with appropriate file permissions.
-
-
Native BinkP / FTN mailer — built-in BinkP/1.1 implementation (inbound listener + outbound caller) that integrates directly with the existing BSO scanner/tosser. No external
binkdor cron-driven poll script required for FidoNet-style networks. Two complementary triggers replace the old single-timer model:- Crashmail — when ftn_bso writes a flow file, the destination peer is dialed within ~½ second (debounced; tunable via
crashmailDebounceMs). No more waiting for the next scheduled tick to ship outbound. - Pull schedule —
binkp.pullSchedule(defaultevery 15 minutes) dials every configured peer inbinkp.nodesregardless of pending mail, so echo mail flows in from hubs that wait for the spoke to call. Per-node opt-out viapull: false. - Configure inbound port, per-node hosts/passwords (CRAM-MD5), and the schedules under
scannerTossers.ftn_bso.binkpinconfig.hjson.
- Crashmail — when ftn_bso writes a flow file, the destination peer is dialed within ~½ second (debounced; tunable via
-
Internet Mail (send & receive) — users can now send and receive internet email directly from the BBS private message system, via a new
emailscanner/tosser module. See Email Configuration and Internet Mail.- Send: private messages addressed to
user@domain.comare delivered through your configured SMTP transport (Nodemailer-compatible — any provider, or service shortcut like Zoho/Fastmail). - Receive: inbound email is pulled from a single IMAP mailbox (polling or
IMAP IDLE) and routed to the local user whose name matches the To: local-part. Successfully imported messages are marked\Seenand optionally moved toinbound.imap.processedFolder. Unmatched / unparseable mail is preserved as.emlinmail/email/failed/, marked\Seento prevent re-fetch loops, and optionally moved toinbound.imap.failedFolder. ENiGMA½ never deletes mail from your IMAP server — retention is up to you or your provider. - Per-user
From:header — whenemail.outbound.fromDomainis set, outbound mail is sent as"UserName" <sanitized@fromDomain>instead of the staticdefaultFrom. The SMTPSender:header and envelopeMAIL FROMare kept as the authenticated mailbox so bounces stay deliverable and receivers display the standard “on behalf of” attribution. Local-part derivation respectsusers.badUserNames— reserved names fall back todefaultFrom. Replacement char for invalid username characters is configurable viaemail.outbound.usernameReplaceChar(default_). - Signature / pipe-code stripping on export — outbound message bodies are run through the same ANSI + MCI pipe-code stripping pipeline used by the NNTP export, so signatures render cleanly in external mail clients.
- Send: private messages addressed to
-
Wide Character (CJK/UTF-8) Support — full-width Unicode characters (CJK ideographs, Hangul, Hiragana, Katakana, fullwidth forms) are now handled correctly throughout the view and word-wrap layers
- All display-width measurements use
wcwidth(3)semantics — wide characters count as 2 terminal columns, combining marks as 0 EditTextViewandMultiLineEditTextViewcursor navigation, scrolling, and line-wrap all operate on display columns rather than string indices; the cursor cannot land inside the phantom second column of a wide character- Word-wrap (
word_wrap.js) andLineBufferwrap at display-column boundaries — a wide character is never split across lines renderStringLength,ansiRenderStringLength, and the new exportedrenderSplitPosinstring_util.jsall account for wide characters; pipe codes and ANSI cursor-forward sequences are handled correctly in bothgetText()onLineBuffercorrectly round-trips CJK text — no spurious space is inserted at character-boundary soft-wrap points
- All display-width measurements use
-
UTF-8 Art Variants (
.utf8ans) — place aFOO.UTF8ANSalongsideFOO.ANSin any art or theme directory; UTF-8-capable users automatically receive the UTF-8 variant while CP437 users see the standard file. No menu or theme configuration is required — selection is automatic based on the negotiated terminal encoding. See General Art Information.- Opt-in upward UTF-8 probe — set
term.probeUtf8Encoding: trueinconfig.hjsonto enable a CPR-based check that upgrades CP437-identified terminals (e.g.ansi,syncterm) to UTF-8 output when the terminal actually supports it. Uses the same cursor-advance technique ascheckUtf8Encoding. Default:false.
- Opt-in upward UTF-8 probe — set
-
Full log viewer from WFC. Defaults to
lkey. -
Major FTN compatibility fixes, especially for those wanting to run a point.
-
Newscan enhancements — users now have direct control over their newscan experience:
-
User-configurable scan areas — new
configure_newscanmodule (keyNfrom the message base menu) lets users toggle individual message areas on or off for newscan, or toggle all at once. Selection is persisted immediately as a JSON array in thenewscan_area_tagsuser property. Areas not selected are skipped entirely during the scan. -
Newscan floor date — a new
newscan_min_timestampuser property acts as a non-destructive lower bound on the scan. For each area, the effective scan start isMAX(per-area last-read pointer, first message at floor date). Unlike the existing Set Newscan Date feature (which rewrites per-area pointers), the floor is a persistent filter that never touches read state. Set or clear it via theGkey in the configure screen, which navigates to a floor-date entry form. The existingset_newscan_datemodule is unchanged and kept for explicit pointer repositioning. -
New-user backlog protection —
newscan_min_timestampis automatically set to the account creation timestamp for all new accounts, so users joining a busy BBS with years of message history only see posts from their join date onward. -
set_newscan_dategainstarget: floor— sysops can wire a menu entry that writesnewscan_min_timestampinstead of moving per-area pointers, using the same date-input UI. -
Count/list consistency fix — the new message count check and the message list passed to
msg_listnow both use the same floor-adjusted effective last-read ID, eliminating the possibility of navigating to an area that shows zero qualifying messages.
-
0.3.0-beta
Section titled “0.3.0-beta”Various fixes
-
ActivityPub MAJOR updates have landed.
-
Server-side baud rate emulation —
baudRatein a menu’sconfigblock now throttles art display on the server rather than delegating to a SyncTERM-specific terminal escape sequence. Emulation now works with every terminal client. The previous approach was sticky (rate persisted across menus until explicitly cleared); the new approach is scoped precisely to each art display and resets automatically. ExistingbaudRateconfig values require no changes. -
SQLite driver migrated to
better-sqlite3— This is an internal change with no impact on existing data or configuration. Results in some major DB performance gains. -
Z-Machine Interactive Fiction Door — new
zmachine_doormodule runs Z-Machine IF games (Zork, Colossal Cave Adventure, Photopia, Anchorhead, Lost Pig, and hundreds more) natively in Node.js. No external emulator, no serial bridge, no drop file — a cross-platform pure-JavaScript path for text-adventure games.- Backed by ifvms.js (the Z-Machine interpreter used by Parchment) and glkote-term, run in a dedicated worker thread per session for isolation.
- Supports Z-Machine versions 3, 4, 5, and 8 — covers all classic Infocom titles, the original Crowther/Woods Adventure port, and the vast majority of modern Inform games from the IF Archive.
0.1.1-beta
Section titled “0.1.1-beta”- NNTP server improvements — several protocol compliance and reliability fixes:
- Article posting now correctly detects end-of-post and handles CRLF line endings
AUTHINFO USERis now advertised inCAPABILITIESso clients know to authenticate before postingXrefheader is now generated, improving cross-session read tracking in NNTP clients- Newsgroups header parsing is more robust (null-safe, whitespace-tolerant)
- Group message cache TTL increased from 30s to 5 minutes
0.1.0-beta
Section titled “0.1.0-beta”-
Sysop Chat / Break Into Chat — real-time split-screen chat between sysop and user
- Sysop can break into chat with any node directly from WFC (
Bkey on selected node) - Users can page the sysop via the
pageSysopmenu entry; includes per-user rate limiting and BEL + interrupt notification to all online sysops (sysops at WFC see it directly in the node list) - If no sysop is available, users are offered the option to send their message as private mail instead
- Both parties share the same
sysopChatmodule with role-based panel routing (sysop messages top, user messages bottom) - Status line uses the standard custom-range token system (
chatInfoFormat10, etc.) — fully themable - WFC node list gains a
{pageIndicator}token per row — non-empty when that node has a pending page; configurable viapageIndicatorin the WFCconfigblock - WFC custom tokens
{pendingPageCount},{pendingPageUser},{pendingPageNode},{pendingPageMessage}for surfacing page queue state in art prefixFormatproperty onEditTextView— set per-view intheme.hjsonto display a role-specific prefix before the input (e.g."|15{userName}|07> "); pipe codes render live as the user types; cursor and scroll account for the prefix width automatically
- Sysop can break into chat with any node directly from WFC (
0.1.0-beta
Section titled “0.1.0-beta”-
Pause Prompt Improvements — see Pause Prompts for the full reference
pause: pageBreak— art is paginated and displayed screen-by-screen with a prompt between pages; detects absolute-positioning ANSI and falls back to single-page display automaticallypause: '<promptId>'— shorthand: end-mode pause using the named prompt; equivalent topause: true+pausePrompt: <promptId>pausePrompt— per-menu override of the prompt name used for end-of-art and/or page-break pauses; accepts a string (same prompt for both) or{ end, page }object for independent controlpausePosition— per-menu{ row, col }override to force the pause prompt to a specific screen positioncontinuousKey/quitKey— configurable keys on thepausePageprompt to skip remaining page breaks or abort all remaining pages entirelypausePagesystem prompt — add this alongsidepausein yourpromptsblock to customise page-break behavior; supports all MCI views including%TK(TickerView) for animated instructions- Pipe color codes in TickerView
textare now preserved across all non-dynamic motion styles (bounce,reveal,typewriter,fallLeft/fallRight) — color survives scrolling - Module developers:
displayThemedPause/displayThemedPrompt(whenpause: true) callbacks now receive a third argumentpressedKey: { ch, key }. Existing callers that ignore extra arguments are unaffected.
-
New MCI View Types
- TickerView (
%TK) — animated single-line marquee with a two-axis model; works in any context including pause prompts (see above):- Motion styles:
left,right,bounce,reveal,typewriter,fallLeft,fallRightfallLeft/fallRight: characters spread across the window with increasing inter-char gaps toward the source edge, then all slide at 1 col/tick and stack against the target edge — a “stack of bricks” effect
- Effects: text-style effects (
upper,lower,title,l33t,mixed, and more) baked at set-time; dynamic per-tick effects (rainbow,scramble,glitch) - Text-style and dynamic effects are independent axes and can be freely combined (e.g.
l33t+rainbow) scramblerenders each character’s noise in its own pipe color with reverse-video;glitchusesstyleSGR2for corruption color- Redraw optimization: ticks where the rendered output hasn’t changed (e.g.
bounceat rest, hold phases) are skipped entirely — no unnecessary cursor movement - All configuration via
mciblock inmenu.hjson/theme.hjson— no inline MCI args needed destroy()clears timers; view teardown inViewControllernow callsdestroy()on all views, fixing timers surviving menu transitions
- Motion styles:
- StatusBarView (
%SB) — single-line view with two modes:- Single mode: auto-refreshing text label that re-renders a format template on a configurable
refreshInterval; skips redraws when text hasn’t changed - Panel mode (
panelsarray): divides the view into independently-addressable named slots, each with its own width, alignment, color, fill character, and optional auto-refresh template. Panels are updated from code viasetPanel(name, value)/setPanels(updates)without touching adjacent slots. A panel’stextproperty (withoutrefreshInterval) sets a static initial value evaluated once at init — useful for fixed label prefixes configured entirely frommenu.hjson.
- Single mode: auto-refreshing text label that re-renders a format template on a configurable
- FSE editor footer now uses a single
%SB1in panel mode (replacing the old separate%TL1/%TL2views) — displays cursor position and INS/OVR mode side-by-side, updated live as the cursor moves. See UPGRADE if you have custom FSE art or menu config.
- TickerView (
-
View System Modernization
- Converted the entire view system from
util.inherits/prototype patterns to ES6 classes:View,TextView,EditTextView,MaskEditTextView,ButtonView,MenuView,HorizontalMenuView,VerticalMenuView,FullMenuView,ToggleMenuView,SpinnerMenuView,MultiLineEditTextView,ViewController - Numerous bug fixes applied during conversion (position defaults, SGR field aliasing,
key_entry_view.jsboolean logic,color_codes.jsWWIV/CNET capture groups,horizontal_menu_view.jsheight,multi_line_edit_text_view.jstabStopsbinding) - New LineBuffer — isolated, view-dependency-free line storage using
Uint32per-character attribute words (fg, bg, bold, blink, underline, italic, strikethrough, color source, true-color flags); soft/hard EOL tracking; word-boundary wrap with character-break fallback - EditTextView and MaskEditTextView are now backed by
LineBuffer: cursor-aware insert/delete at any position, left/right/home/end movement with scroll-window tracking, forward-delete, fixed partial-fillgetData()bug inMaskEditTextView client_term.js:beginWrite()/commitWrite()with nesting support — all writes within a keypress or focus switch are buffered and flushed as a single socket write, eliminating intermediate cursor flicker in terminals
- Converted the entire view system from
-
oputil userSSH Key Managementoputil.js user import-ssh-key USERNAME KEYFILE— imports a SSH public key for a user from a file, validates the key, and stores it for SSH key-based loginoputil.js user remove-ssh-key USERNAME— removes a user’s stored SSH public keyoputil.js user info USERNAMEnow displays SSH key info (algorithm, SHA256 fingerprint, comment) when a key is on file
-
File Base: Wildcard/Recursive Storage Tags (#194)
Appending
/*to a storage tag path enables recursive scanning of all subdirectories:storageTags: {scene_files: "/path/to/scene/*" // walks all subdirs}- Files found in subdirectories are indexed with their
relPath(e.g.2024/April) stored in the database, so same-named files in different subdirectories are tracked as distinct entries. - When an area mixes flat and wildcard tags, flat tags are scanned first and their directories are excluded from wildcard scans to prevent double-indexing.
.enigmaignorefiles (gitignore syntax) can be placed anywhere in a wildcard tree to exclude files or directories from scanning.- Startup warns on malformed wildcard patterns (e.g. a bare
*not at the trailing/*position). - New database column
storage_tag_rel_path; automatically added to existing installations on first startup.
- Files found in subdirectories are indexed with their
-
Bug Fixes & Stability
0.0.14-beta
Section titled “0.0.14-beta”-
ActivityPub & Mastodon Support (Experimental)
-
A new ActivityPub Web Handler has been added.
-
⚠️ WARNING: ActivityPub is disabled by default. There may be security implications, federation may be unstable, and some parts may not work yet. Use at your own risk!
-
Provides groundwork for federated features: WebFinger discovery, NodeInfo2, actor profiles/avatars, inbox/outbox/shared inbox, and handling of common ActivityPub object types (
Note,Accept,Undo, followers/following). -
WebFinger and NodeInfo2 handlers are also disabled by default. These may be useful for inter-BBS or other integrations, but note: WebFinger may still “advertise” ActivityPub endpoints even if AP itself is off.
-
Cool new functionality arrives with or without AP enabled:
-
PNG Avatars: users now get avatars (including auto-generated defaults) that can be served via the web frontend.
-
Message editor and timeline improvements:
- Recognition of
@user@domainaddressing (Fediverse general) - Unicode → ASCII transliteration for federated messages (via AnyAscii). …but we can use it for any <-> web!
- Recognition of
-
Better routing for web handlers and
.well-knownpaths. -
Dedicated web logging under
contentHandlers.web.logging. -
TONS of fixes and improvements to the code base
The fate of full ActivityPub support in ENiGMA is till up in the air…
-
-
-
Web Server Changes (⚠️ some may be breaking):
/static/prefixes are no longer required (ugly hack removed).- Internal routes (e.g. password reset) now live under
/_enig/. - File base routes now default to
/_f/instead of/f/. If yourconfig.hjsonstill uses/f/, update it. - The system will now search for
index.htmlthenindex.htmif a suitable route cannot be found. - Web Handler modules are now easier to add; several exist by default.
-
Other Additions & Changes
- New users now have randomly generated avatars assigned (served via System General Web Handler).
- CombatNet has shut down; the module (
combatnet.js) has been removed. - New
NewUserPrePersistsystem event available for developers to hook into account creation. viewValidationListenercallback signature has changed: now(err, newFocusId). To ignore a validation error, call withnullforerr.- The Menu Flag
popParenthas been removed;noHistoryhas been updated to work as expected. See UPGRADE. - Various New User Application (NUA) properties are now optional. Remove optional fields from NUA artwork if you wish to collect less information (stored as empty string). Optional properties: Real name, Birth date, Sex, Location, Affiliations (Affils), Email, Web address.
- Art handling now respects art width from SAUCE metadata when terminal width is greater, fixing display issues on wide UTF-8 terminals.
0.0.13-beta
Section titled “0.0.13-beta”- Note for contributors: ENiGMA has switched to Prettier for formatting/style. Please see CONTRIBUTING and the Prettier website for more information.
- Removed terminal
cursor position reportsfrom most locations in the code. This should greatly increase the number of terminal programs that work with Enigma 1/2. For more information, see Issue #222. This may also resolve other issues, such as Issue #365, and Issue #320. Anyone that previously had terminal incompatibilities please re-check and let us know! - Bumped up the minimum Node.js version to v14. This will allow more expressive Javascript programming syntax with ECMAScript 2020 to improve the development experience.
- New Waiting For Caller (WFC) support via the
wfc.jsmodule. - Added new configuration options for
term.checkUtf8Encoding,term.checkAnsiHomePosition,term.cp437TermList, andterm.utf8TermList. More information on these options is available in UPGRADE. - Many new system statistics available via the StatLog such as current and average load, memory, etc.
- Many new MCI codes:
MB,MF,LA,CL,UU,FT,DD,FB,DB,LC,LT,LD, and more. See MCI. - SyncTERM style font support detection.
- Added a system method to support setting the client encoding from menus,
@systemMethod:setClientEncoding. - Many additional backward-compatible bug fixes since the first release of 0.0.12-beta. See the project repository for more information.
- Deprecated Gopher’s
messageConferencesconfiguration key in favor of a easier to deal withexposedConfAreasallowing wildcards and exclusions. See Gopher. - NNTP write (aka POST) access support for authenticated users over TLS.
- Advanced MCI formatting!
- Additional options in the
abracadabramodule for launching doors. See Local Doors
0.0.12-beta
Section titled “0.0.12-beta”- The
masterbranch has become mainline. What this means to users isgit pullwill always give you the latest and greatest. Make sure to read Upgrading and keep an eye onWHATSNEW.md(this file) and UPGRADE! See also ticket #276. - Development now occurs against Node.js 14 LTS.
- The default configuration has been moved to config_default.js.
- A full configuration revamp has taken place. Configuration files such as
config.hjson,menu.hjson, andtheme.hjsoncan now utilize includes via theincludesdirective, reference ‘self’ sections using@reference:and import environment variables with@environment. - An explicit prompt file previously specified by
general.promptFileinconfig.hjsonis no longer necessary. Instead, this now simply part of thepromptssection inmenu.hjson. The default setup still creates a separate prompt HJSON file, but it isincludesed inmenu.hjson. With the removal of prompts thePromptsChangedevent will no longer be fired. - New
PVACS check for arbitrary user properties. See ACS for details. - The
messagearg used bymsg_listhas been deprecated. Please starting usingmessageIndexfor this purpose. Support formessagewill be removed in the future. - A number of new MCI codes (see MCI)
- Added ability to export/download messages. This is enabled in the default menu. See
messageAreaViewPostin the default message base template and look for the download options (@method:addToDownloadQueue, etc.) for details on adding to your system! - The Gopher server has had a revamp! Standard
gophermapfiles are now served along with any other content you configure for your Gopher Hole! A default gophermap can be found in the misc directory that behaves like the previous implementation. See Gopher docs for more information. - Default file browser up/down/pageUp/pageDown scrolls description (e.g. FILE_ID.DIZ). If you want to expose this on an existing system see the
fileBaseListEntriesin the defaultfile_base.in.hjsontemplate. - File base search has had an improvement to search term handling.
./oputil user group -groupto now accepts~groupremoving the need for special handling of the ”-” character. #331- A fix has been made to clean up old
file.dbentries when a file is removed. Previously stale records could be left or even recycled into new entries. Please see UPGRADE.md for details on applying this fix (look fortables_update_2020-11-29.sql). - The onelinerz module can have
dbSuffixset in it’sconfigblock to specify a separate DB file. For example to use as a requests list. - Default hash tags can now be set in file areas. Simply supply an array or list of values in a file area block via
hashTags. - Added ability to pass an
envvalue (map) toabracadabradoors. See Local Doors. dropFileTypeis now optional when launching doors withabracadabra. It can also be explicitly set tonone.- FSE in view mode can now stylize quote indicators. Supply
quoteStyleLevel1in theconfigblock. This can be a single string or an array of two strings (one to style the quotee’s initials, the next for the ’>’ character, and finally the quoted text). See themessageAreaViewPostmenuconfigblock in the defaultluciano_blocktronicstheme.hjsonfile for an example. An additional level style (e.g. for nested quotes) may be added in the future. - FSE in view mode can now stylize tear lines and origin lines via
tearLineStyleandoriginStyleconfigvalues in the same manor asquoteStyleLevel.
0.0.11-beta
Section titled “0.0.11-beta”- Upgraded from
alphatobeta— The software is far along and mature enough at this point! - Development is now against Node.js 12.x LTS. Other versions may work but are not currently supported!
- QWK support
oputil fb scan *areaTagWildcard*scans all areas in which wildcard is matched.- The archiver configuration
escapeTelnethas been renamedescapeIACs. Support for the old value will be removed in the future.
0.0.10-alpha
Section titled “0.0.10-alpha”oputil.js user rename USERNAME NEWNAMEmy_messages.jsmodule (defaulted to “m” at the message menu) to list public messages addressed to the currently logged in user. Takes into account their username andreal_nameproperty.- SSH Public Key Authentication has been added. The system uses a OpenSSH style public key set on the
ssh_public_keyuser property. - 2-Factor (2FA) authentication is now available using RFC-4266 - HOTP: HMAC-Based One-Time Password Algorithm), RFC-6238 - TOTP: Time-Based One-Time Password Algorithm, or Google Authenticator. QR codes for activation are available as well. One-time backup aka recovery codes can also be used. See Security for more info!
- New ACS codes for new 2FA/OTP:
ARandAF. See ACS for details.
oputil.js user 2fa USERNAME TYPEenables 2-factor authentication for a user.
oputil.js user info USERNAME --securitycan now display additional security information such as 2FA/OTP.oputil.js fb scan --quickis now the default. Override with--full.- ACS checks can now be applied to form actions. For example:
{ value: { command: "SEC" } action: [ { // secure connections can go here acs: SC action: @menu:securityMenu } { // non-secure connections action: @menu:secureConnectionRequired } ]}idleLogoutSecondsandpreAuthIdleLogoutSecondscan now be set to0to fully disable the idle monitor.- Switched default archive handler for zip files from 7zip to InfoZip (
zipandunzip) commands. See UPGRADE. - Menu submit
action’s can now in addition to being a simple string such as@menu:someMenu, or an array of objects with ACS checks, be a simple array of strings. In this case, a random match will be made. For example:
submit: [ { value: { command: "FOO" } action: [ // one of the following actions will be matched: "@menu:menuStyle1" "@menu:menuStyle2" ] }]- Added
read(list/view) andwrite(post) ACS support to message conferences and areas. - Many new built in modules adding support for things like auto signatures, listing “my” messages, top stats, etc. Take a look in the docs for setting them up!
- Built in MRC support!
- Added an customizable achievement system!
0.0.9-alpha
Section titled “0.0.9-alpha”- Development is now against Node.js 10.x LTS. While other Node.js series may continue to work, you’re own your own and YMMV!
- Fixed
justifyproperties:leftandrightvalues were formerly swapped (oops!) - Menu items can now be arrays of objects not just arrays of strings.
- The properties
itemFormatandfocusItemFormatallow you to supply the string format for items. For example if a menu object is{ "userName" : "Bob", "age" : 35 }, aitemFormatmight be|04{userName} |08- |14{age}. - If no
itemFormatis supplied, the default formatter is{text}. - Setting the
datamember of an object will cause form submissions to use this value instead of the selected items index. - See the default
luciano_blocktronicsmatrixmenu for example usage.
- The properties
- You can now set the
sortproperty on a menu to sort items. Iftrueitems are sorted bytext. If the value is a string, it represents the key in menu objects to sort by. - Hot-reload of configuration files such as menu.hjson, config.hjson, your themes.hjson, etc.: When a file is saved, it will be hot-reloaded into the running system
- Note that any custom modules should make use of the new Config.get() method.
- The old concept of
autoScalehas been removed. See https://github.com/NuSkooler/enigma-bbs/issues/166 - Ability to delete from personal mailbox (finally!)
- Add ability to skip file and/or message areas during newscan. Set config.omitFileAreaTags and config.omitMessageAreaTags in new_scan configuration of your menu.hjson
{userName}(sanitized) and{userNameRaw}as well as{cwd}have been added to param options when launching a door.- Any module may now register for a system startup initialization via the
initializeModules(initInfo, cb)export. - User event log is now functional. Various events a user performs will be persisted to the
system.sqlite3user_event_logtable for up to 90 days. An example usage can be found in the updatedlast_callersmodule where events are turned into Ami/X style actions. Please seeUPGRADE.md! - New MCI codes including general purpose movement codes. See MCI codes
install.shwill now attempt to use NPM’s--build-from-sourceoption when ARM is detected.oputil.js config newwill now generate a much more complete configuration file with comments, examples, etc.oputil.js config catdumps your current config to stdout.- Handling of failed login attempts is now fully in. Disconnect clients, lock out accounts, ability to auto or unlock at (email-driven) password reset, etc. See
users.failedLogininconfig.hjson. - NNTP support! See NNTP docs for more information.
oputil.js user rmandoputil.js user infoare in! See oputil CLI.- Performing a file scan/import using
oputil.js fb scannow recognizes variousFILES.BBSformats. - Usernames found in the
config.users.badUserNamesare now not only disallowed from applying, but disconnected at any login attempt. - Total minutes online is now tracked for users. Of course, it only starts after you get the update :)
- Form entries in
menu.hjsoncan now be omitted from submission handlers usingomit: true
0.0.8-alpha
Section titled “0.0.8-alpha”- Mystic BBS style extended pipe color codes. These allow for example, to set “iCE” background colors.
- File descriptions (FILE_ID.DIZ, etc.) now support Renegade |## pipe, PCBoard, and other less common color codes found commonly in BBS era scene releases.
- New menu stack flags:
noHistorynow works as expected, and a new addition ofpopParent. See the defaultmenu.hjsonfor usage. - File structure changes making ENiGMA½ much easier to maintain and run in Docker. Thanks to RiPuk (Dave Stephens)! See UPGRADE.md for details.
- Switch to pure JS xxhash instead of farmhash. Too many issues on ARM and other less popular CPUs with farmhash (Dave Stephens)
- Native CombatNet support! (Dave Stephens)
- Fix various issues with legacy DOS Telnet terminals. Note that some may still have issues with extensive CPR usage by ENiGMA½ that will be addressed in a future release.
- Added web (http://, https://) based download manager including batch downloads. Clickable links if using VTXClient!
- General VTX hyperlink support for web links
- DEL vs Backspace key differences in FSE
- Correctly parse oddball
INTL,TOPT,FMPT,Via, etc. FTN kludge lines - NetMail support! You can now send and receive NetMail. To send a NetMail address a external user using
Name <address>format from your personal email menu. For example,Foo Bar <123:123/123>. The system also detects other formats such asaName @ address(Foo Bar@123:123/123) oputil.js: Addedmb areafixcommand to quickly send AreaFix messages from the command line. You can manually send them from personal mail as well.oputil.js fb rm|remove|del|deletefunctionality to remove file base entries.oputil.js fb descfor setting/updating a file entry description.- Users can now (re)set File and Message base pointers
- Add
--updateoption tooputil.js fb scan - Fix @watch path support for event scheduler including FTN, e.g. when looking for a
toss!.nowfile produced by Binkd.
…LOTS more!
Pre 0.0.8-alpha
Section titled “Pre 0.0.8-alpha”See GitHub