Commit Graph
161 Commits
Author SHA1 Message Date
Neo fcd4fdcc55 Merge pull request #20 from D-Modem/claude/project-thread-eqs2x1
CompuServe Mail on the BBS's private mail
2026-11-08 04:34:23 -08:00
Claude e67c5ff3dc CompuServe Mail on the BBS's private mail
GO MAIL enters CompuServe Mail: menu, prompt and command (Mail!) modes,
with the Options and Mode menus and the permanent-settings question that
TAPCIS's PARAMS.SCR answers, kept as cis-mail* user settings.  READ with
Action! after each message, SCAN, COMPOSE, UPLOAD (TAPCIS's
UPL/PRO:B/TYP:ASCII), DOWNLOAD by any protocol, DELETE, ADDRESS (NAME and
a session address book), SET.  Addresses take CompuServe's forms: names,
User IDs, 'Name >NET:addr', INTERNET:ppn@compuserve.com for a member,
FidoNet netmail; other networks are refused.  /GO:MAIL at the User ID
enters it.  The library download's transfer is split out to share.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRPWCkk1Ro91AuzXFM
2026-11-08 12:30:20 +00:00
Neo 86f5875e7c Merge pull request #17 from D-Modem/claude/project-thread-eqs2x1
CompuServe forum libraries on the file areas, with B Plus
2026-11-08 04:21:15 -08:00
Claude e3955caa95 Merge remote-tracking branch 'origin/main' into claude/project-thread-eqs2x1 2026-11-08 12:16:30 +00:00
Claude 019b186518 CompuServe forum libraries on the file areas, with B Plus
A forum's libraries are the file areas of its group (file areas get a
group, set by bbs filearea group), numbered from 0.  LIB n opens one at
LIB !: DIR, BRO and SCA list the files the period's way ([ppn],
NAME/binary, date, size, Accesses:, Title, Keywords, description); DOW
sends one by CompuServe B / Quick B / B Plus, XMODEM, Kermit or DC2/DC4
capture, from /PROTO: or the protocol menu, within the BBS's download
limits; UPL takes one, then its title, keywords and description.

The B engine: a TU garbled on the way is sent again on a NAK or silence
(both sides NAKed each other before), a lost ACK of the final TC is not
a failure, and Rest gives what was read past the protocol.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRPWCkk1Ro91AuzXFM
2026-11-08 12:16:30 +00:00
Neo 42d91c6f10 Merge pull request #16 from D-Modem/claude/project-thread-p2z3e6
AIM and ICQ: an OSCAR server on the BBS's chat, beside IRC
2026-11-08 04:10:31 -08:00
Neo 99e66cd507 Merge pull request #14 from D-Modem/claude/project-thread-eqs2x1
CompuServe forums on the message areas
2026-11-08 04:06:36 -08:00
Claude ababf5c57d AIM and ICQ: an OSCAR server on the BBS's chat, beside IRC
[oscar] serves AIM and ICQ clients on port 5190, as a front end on the
same chat core as the IRC server: buddies are BBS users online by any
route, an IM is a private message (a PRIVMSG to an IRC user), and a chat
room is a BBS room, an IRC channel.

- FLAP, SNACs and TLVs; logins by the signon frame (roasted passwords:
  AIM 1-3, ICQ, Java AIM) and by BUCP (MD5, weak and strong digests); the
  BOS and the services' connections by cookie, all on the one port
- BOS: rate classes, versions, self info, idle; locate (profiles, away
  messages, capabilities); the client-side buddy list and the server-
  stored one (feedbag/SSI, kept in a new feedbag table); permit/deny
  lists and modes, ICQ invisibility; IMs on channels 1, 2 (rendezvous
  passed between AIM clients, chat invitations as lines to others) and 4,
  typing notices, host acks
- chat navigation and chat rooms (exchanges 4 and 5) as BBS rooms
- ICQ: numbers are uin_base plus the account's id; family 0x15's offline
  messages (none), short and full info, searches by number and name
- a connection beginning with P3's sync byte goes to Server.P3, for an
  AOL front end on the same port

BUCP digests can't be checked against bcrypt, so while [oscar] is set up
each account keeps a fixed auth key and its two digests (oscar_keys),
made when the password is set or checked in the clear and bound to the
password hash.  The chat core gains WatchPresence (users coming and
going) and Throttle; bbs gains AuthenticateBy for digest logins.

docs/wiki/AIM-and-ICQ.md describes it.

Signed-off-by: Claude <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTAJGnEAiwGZm9ygpG
2026-11-08 12:00:14 +00:00
Claude cc3712381f Merge remote-tracking branch 'origin/main' into claude/project-thread-eqs2x1 2026-11-08 11:58:53 +00:00
Neo b389d81bee Merge pull request #15 from D-Modem/claude/project-thread-eqs2x1-signoff
Contributor agreement: no sign-off needed on Claude's commits on this repo's branches
2026-11-08 03:58:37 -08:00
Claude cabc335d5e Contributor agreement: Claude's commits on this repo's branches need no sign-off
Commits by noreply@anthropic.com on a branch of this repository (not a
fork's) are skipped: only those who can push here put them there, and the
owner takes them in by merging.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRPWCkk1Ro91AuzXFM
2026-11-08 11:41:19 +00:00
Claude 01c5a27f76 CompuServe forums on the message areas
GO FORUMS lists a forum for each group of message areas (and one for
those in none), each area a section, at most 18 a forum.  The forum is in
command mode at Forum !, as TAPCIS needs: REA, SCA (and QUICK), BRO with
NEW/ALL/WAI/REV/THR and FROM:/TO:/SUB:/SEC:/DAYS:/STA:, POST with EDIT,
replies, OPT;TYP N for nonstop reading, MES, DES, NEW; message headers in
forum software 4's form (#:, Sb: with thread marks, Fm:/To: with User
IDs, * Reply: footers), and the entry and exit texts.  TAPCIS's command
strings are in the test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRPWCkk1Ro91AuzXFM
2026-11-08 11:34:30 +00:00
Neo 945525fae3 Merge pull request #13 from D-Modem/claude/project-thread-eqs2x1
CompuServe front end: logon, ESC I, pages, and the B / B Plus protocols
2026-11-08 03:27:43 -08:00
Neo b9953199be Merge pull request #12 from D-Modem/claude/project-thread-xqjct0
Contributor agreement: copyright assignment and a sign-off check
2026-11-08 03:27:40 -08:00
Claude 20908882c9 CompuServe front end: logon, ESC I, pages, and the B / B Plus protocols
A listener with frontend = compuserve serves the CompuServe Information
Service on the BBS's users: Host Name, User ID (an account's number as a
CompuServe ID, or its name) and Password, ?LOG codes, ESC I terminal
identification, the banner and logoff text, and the ASCII service's menu
and article pages with GO, FIND, T/M/B/F/R/N/P, SET and ; chaining.  CIM
clients are told ?LOG CAI until the HMI service is built.

internal/xfer/cisb.go is CompuServe B, Quick B and B Plus, the host's side
and the terminal's: ENQ start, + parameter negotiation, quoting, all four
check methods, a send window with ENQ resynchronization, downloads and
uploads.  Tested against the spec's checksum and CRC values and over a
noisy loopback.

docs/cis holds the research and design behind it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRPWCkk1Ro91AuzXFM
2026-11-08 11:16:10 +00:00
Claude 4a53cc9351 Contributor agreement: copyright assigned to D-Modem
Contributors now assign the copyright in their contributions to D-Modem
(the D-Modem organization, its rights held by its owner on its behalf),
with a licence back to them, and an exclusive licence where an
assignment doesn't take effect.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSQaj3bYPQDZU4qf9U
2026-11-07 11:10:40 +00:00
Claude e91ff4228f Contributor agreement: CONTRIBUTING.md and a sign-off check on pull requests
Each contribution comes with the suite's contributor agreement (the one
bbs, menu and brand already use): the contributor keeps the copyright
and licenses it to the D-Modem Authors under the repository's licence
and any other terms, commercial ones included.  Each commit's
Signed-off-by line says they agree.  The new workflow checks for that
line on every commit of a pull request, except pull requests from the
owner, the organization's members and bots.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSQaj3bYPQDZU4qf9U
2026-11-07 10:58:30 +00:00
Neo b9a9accf0c Merge pull request #11 from D-Modem/claude/project-thread-ph36mk
CI: build, vet and test on every pull request
2026-11-06 05:37:08 -08:00
Claude 13e7104517 CI: build, vet and test on every pull request
GitHub Actions: gofmt, go.mod tidy, the build, go vet and the tests
with the race detector.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSWLF3SGGZGo96cae8
2026-11-06 13:31:56 +00:00
Neo 468afbeac2 Merge pull request #10 from D-Modem/claude/project-thread-6n8z9z
Show the banner on the website's home page
2026-11-06 05:25:30 -08:00
Claude 9e30cc2d9f docs/wiki/Home.md: show the banner on the site's home page
The site's home page is the wiki's Home.md, not the README, so it had no
banner. It links the README's copy on GitHub, so the wiki shows it too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRR7XmhWoFbzJFFFqde
2026-11-06 13:23:45 +00:00
Neo 40e5c7fe55 Merge pull request #9 from D-Modem/claude/project-thread-zk8c8q
Ask modemmenu's auth socket with menu's authd client
2026-11-05 19:26:20 -08:00
Claude d630c4d8b8 Ask modemmenu's auth socket with menu's authd client
internal/menuauth was a copy of the client: D-Modem/menu has it now as
the public package authd, beside the server, so the protocol is in one
place.  cmd/bbs imports github.com/D-Modem/menu/authd; internal/menuauth
goes, its tests with the client in menu.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRbjf74j8oq9R3PXhA
2026-11-06 03:26:01 +00:00
Neo bf9b479a29 Merge pull request #8 from D-Modem/claude/project-thread-cwmrpa
Wiki: plainer, more consistent wording; Home as a landing page
2026-11-05 19:01:46 -08:00
Claude 9ce4ff88ef wiki: plainer, more consistent wording; Home as a landing page
Rewrite the wiki's prose in the plain style of the rest of the D-Modem
docs: an opening sentence on every page saying what it covers, full
sentences, labelled table headers, British spelling (colour), one space
after full stops, and See also at the foot of every page. Page-title
headings are dropped, since the wiki and the site both show the title.

Home becomes a landing page: what bbs is, a Start here table by goal,
the features grouped by who they are for, and the list of every page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSqjp9Pn2KBr9N9LAn
2026-11-06 03:00:50 +00:00
NeoandClaude 5de04717c7 README: link the website (#7)
Claude-Session: https://claude.ai/code/session_01B82eRSqjp9Pn2KBr9N9LAn

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-05 18:21:41 -08:00
Neo 85ec1c014c Merge pull request #6 from D-Modem/claude/project-thread-6n8z9z
README: add the header banner
2026-11-05 17:36:22 -08:00
Claude 43045131d3 README: add the header banner
The 1280x320 banner from D-Modem/brand (banner/bbs@2x.png), kept at
.github/banner.png.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRR7XmhWoFbzJFFFqde
2026-11-06 01:32:16 +00:00
Neo 390a9134d2 Merge pull request #5 from D-Modem/claude/project-thread-cwmrpa
Site at d-modem.github.io/bbs, with a generated configuration reference
2026-11-05 17:23:39 -08:00
Claude 1ea5fb8280 Site: docs/wiki as d-modem.github.io/bbs, with a configuration reference
docs/wiki/Configuration-Reference.md lists every section and key of
bbs.conf with its help, default, examples and whether it is live: the
configuration editor's catalog of bbs.conf.sample, written by
go generate ./internal/confedit (confedit.Reference). A test, and the
Pages build, fail when the committed page isn't the one the sample
makes. The sidebar and Configuration link it.

mkdocs.yml builds the wiki's pages into the site with brand's shared
theme (Zensical); page.html URLs keep the wiki's links (Configuration,
SSH#keys) working, as GitHub Pages serves page.html for /page. Home is
the home page. .github/workflows/pages.yml calls brand's site workflow:
a pull request builds it, main deploys it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSqjp9Pn2KBr9N9LAn
2026-11-06 01:22:32 +00:00
Neo 3f9de26f13 Merge pull request #4 from D-Modem/claude/project-thread-cwmrpa
Licence: AGPL-3.0-only, or a commercial licence
2026-11-05 03:14:35 -08:00
Claude b3eeab5c25 Licence: AGPL-3.0-only, or a commercial licence
LICENSE (the AGPL's text), COMMERCIAL-LICENSE.md and CONTRIBUTING.md
with the contributor agreement, as in menu; the README's licence
section links them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSqjp9Pn2KBr9N9LAn
2026-11-05 11:14:13 +00:00
Neo 75e92445e1 Merge pull request #3 from D-Modem/claude/project-thread-cwmrpa
Landing-page README; go3270 links point at D-Modem/go3270
2026-11-05 02:52:43 -08:00
Claude 945a3fa6a5 Use github.com/D-Modem/go3270 directly, no replace line
go3270's module path is now github.com/D-Modem/go3270 (D-Modem/go3270#1),
so bbs requires it under that name and imports it there; the replace
of racingmars/go3270 goes. Build, vet and tests pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSqjp9Pn2KBr9N9LAn
2026-11-05 10:52:33 +00:00
Claude d31f5554dd wiki: Modem callers links D-Modem and modemmenu
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSqjp9Pn2KBr9N9LAn
2026-11-05 10:43:27 +00:00
Claude bd45d57653 README as a landing page; go3270 links point at D-Modem/go3270
The README keeps a short summary, six feature lines, the quick start and
links into the wiki, whose home page already has the full feature list
and the page index. go3270 links (README, wiki Home, Building, TN3270)
point at D-Modem/go3270 and call it the suite's fork rather than
go3270-sec.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSqjp9Pn2KBr9N9LAn
2026-11-05 10:43:15 +00:00
Neo fae3cffc49 Merge pull request #2 from D-Modem/claude/project-thread-hdz9ld
CI: actions/checkout v6 (Node 24)
2026-10-31 18:52:07 -07:00
Claude b36525358f CI: move actions to their Node 24 versions
GitHub warns that Node 20 actions are deprecated. checkout v6, cache
(and cache/restore, cache/save) v5, setup-java v5, setup-node v6,
upload-artifact v7, gradle setup-gradle v5 (v6 defaults to a proprietary
cache provider).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRUAp3wTZAV7UCEiC4S
2026-11-01 01:51:39 +00:00
Neo d3f7f0cae7 Merge pull request #1 from D-Modem/claude/project-thread-v0cc83
Move the module to github.com/D-Modem/bbs and the go3270 fork to D-Modem/go3270
2026-10-29 03:00:30 -07:00
Claude 7399e0fa36 Point repository references at the D-Modem organisation
The repositories moved from Neo-Desktop to the D-Modem GitHub
organisation: D-Modem-RE is now D-Modem/D-Modem, pico-serial is
D-Modem/hardware, modemmenu (PBX-Modem) is D-Modem/menu, bbs-sec is
D-Modem/bbs and go3270-sec is D-Modem/go3270.  Update links, module
paths, submodule URLs and source-location strings to match.  Copyright
notices still name Neo-Desktop.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRUwD2JJ5d6fgHmpVTw
2026-10-29 09:02:40 +00:00
Claude 6abf4cf347 Comment and test cleanups
- Comments that named something else now name their own function:
  ircd member, imageboard srcPath and linker, forum when, redirect and
  errNoArea, textui sheetDraw.first; a stray comment in rest.go gone.
- confui: changeLines uses diffLines instead of repeating it.
- nntp: accept_from names are looked up when the configuration loads
  (start and reload), now said in the code and the wiki.
- Tests: tnClient.read grows its buffer for a command split at its end
  (a full buffer read nothing for ever); freeAddr folded into freeTCP;
  zipOf is a helper.
- go3270-sec 6c7224e: its comment fixes and gfxtest tidying.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr
2026-10-18 22:40:48 +00:00
Claude 8b8226fcf7 go3270-sec: IND$FILE member names, device size fallback
Picks up go3270-sec ff000f5: TSO member names kept in IND$FILE
commands, a terminal that does not answer the Query sized by its model,
and IBM-DYNAMIC with no Usable Area 24x80.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr
2026-10-18 22:36:26 +00:00
Claude 2e19c50e9e Small fixes: capital letters, display file reads, script data limit, scans
- app: capital upper-cases the first letter, not its first byte, so an
  error beginning "é" is not mangled.
- screens: readFile reads the whole file (one Read may stop short) and
  still refuses one grown past MaxSize.
- script: data.set's limit check and write are done under one lock, so
  sessions setting new names at once cannot pass the limit.
- store: the scan helpers return nil, not a half-filled value, with an
  error (scanUser already did).
- The validate and edit-user "Lock" actions are capitalized like the
  others; door's unused yn helper removed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr
2026-10-18 22:32:39 +00:00
Claude e70735b708 Text terminals: menu keys checked, VT52 erasing, sheet keys, long bodies
- Menu takes only an item's key (returned as the item has it), asking
  again for any other without redrawing, as a 3270 does; Enter is still
  "" (none chosen: Back would log off from the top menu).  view.UI's
  Menu doc says so.
- VT52: ED 1 (erase up to the cursor) was sent as ESC J, erasing below;
  it is dropped now, as EL 1 is.  EL 2 erases the whole line from its
  start; ED 3 clears like ED 2.
- A sheet's key line leaves out 3270 PF-only keys instead of writing a
  NUL for them.
- The full-screen editor cuts a body longer than its line limit.
- keyLabel's unreachable branch removed; setTranslator's comment notes
  that Flush settles the old translator (it already did).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr
2026-10-18 22:28:08 +00:00
Claude ca664c88ed 3270: every table note line, long questions wrapped, forms paged
- Table showed only its note's first line, losing e.g. offline mail's
  "By FTP" line; the rest (three at most) now go below it, the rows
  moved down for them.
- Confirm put its Y/N field past the screen's edge for a long question;
  the question now wraps and the field follows its last line.
- Form dropped the fields that did not fit, returning their presets as
  if typed; it now pages them with PF7/PF8, keeping what was typed on
  each page, and returns them all on Enter.

Tested end to end with s3270 through a script's table, confirm and form.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr
2026-10-18 22:22:22 +00:00
Claude 5c945f681d Forum: after signing in, return to the page a form was posted from
needLogin took a POST's Referer only if it began with "/", but browsers
send the whole URL, so a guest always came back to the index.  A
Referer from this host now gives its path and query, checked by safeBack
as the login checks it; any other host's still goes to the index.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr
2026-10-18 22:18:14 +00:00
Claude ffee2509a2 REST page agrees with the WebSocket; OpenAPI FileAreas has can_download
- POST /api/v1/page that reaches no sysop is now 503 "unavailable" (the
  page withdrawn), as the WebSocket's Page request answers, not 200 with
  waiting false.
- The OpenAPI FileAreas schema lists can_download, which GET
  /file-areas has sent all along.
- HTTP-API wiki notes the 503.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr
2026-10-18 22:15:41 +00:00
Claude f0c76b0765 IRC help banner formatting and messages to self; image-board JSON errors
- ircd: a service's HELP banner goes through ircfmt.Unescape like its
  other lines, so BBSServ's shows bold, not a literal $b.
- ircd: a PRIVMSG or NOTICE to your own nick with no other node of yours
  comes back, as IRC servers do, instead of vanishing.
- imageboard: the JSON API's error names its status ("forbidden",
  "internal server error"), not always "not found".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr
2026-10-18 22:12:55 +00:00
Claude cd16468c37 NNTP line limit counts CRLF; Fido toss log and stats tidy
- nntp: a command line may be 512 octets with its CRLF (RFC 3977), but
  the check left the CRLF out, letting 514 through.
- fido: echomail whose MSGID makes no valid Message-ID is logged when
  dropped, not only counted as bad.
- fido: TossStats.Forwarded removed: nothing is routed, so it was never
  set nor shown.
- fido: originPattern's comment describes it, not originAddr.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr
2026-10-18 22:09:20 +00:00
Claude b691817f13 Forget the quietest failed-login sources first, not random ones
Past 10,000 sources the map was cut by deleting whatever map iteration
gave first, so flooding it from new addresses could clear an attacker's
count.  Now sources whose last failure is past the throttle time go first,
then those whose last failure is oldest; a source's own list is capped too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr
2026-10-18 22:06:45 +00:00