Commit Graph
3 Commits
Author SHA1 Message Date
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
Claude 546af1eee3 Web forum: the message areas as a bulletin board in the browser
The HTTP API's server serves /forum/ (and / when it is on): the areas as
categories of forums, topics and posts with their authors beside them,
laid out in the manner of Invision Power Board 3's default skin with CSS
of its own (no code or assets taken from it, no scripts on the pages).

- store: messages carry their topic (thread), set on posting, found for
  messages from before, mended when a topic's first post or a reply's
  parent goes; per-user topic read marks; topic lists and counts
- forum: board index with groups, statistics and who's online; area
  topic lists with unread marks and pages; topics with quotes, likes
  (the BBS's votes), polls, deleting, replies; new topics with polls and
  aliases; profiles, search, who's online, login and sign-up
- logins are the API's session tokens in an HttpOnly, SameSite cookie;
  every logged-in form carries a CSRF token; strict CSP, no framing
- [http] forum and forum_guests settings
- bbs.WrapBody: text typed in paragraphs (the forum, the API's posts and
  mail) wrapped to the terminals' 79 columns instead of cut, quotes
  carried onto wrapped lines
- docs: Web-Forum wiki page, configuration, HTTP API, development

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr
2026-10-12 23:22:17 +00:00
Claude bccdf2cc6a Deepen the message base: threads, votes, polls, aliases, signatures, groups, retention
For every front end (internal/app), the API and the CLI:

- Threads: from a message, the one it answers (O, PF2) and its whole
  thread (T, PF6), replies under what they answer; GET
  /messages/{id}/thread.
- Votes: up, down or none on a message (V, PF1), shown by its number;
  POST /messages/{id}/vote.
- Polls: a question and 2 to 10 answers posted in an area (L, PF9),
  answered (A, PF12) and shown with each answer's share; POST with
  "poll", POST /messages/{id}/answer.
- Aliases: a user's alias (checked like a new name, no one's name or
  alias) posted under in areas that allow it; the message's From is the
  alias everywhere, newsgroup articles included (they used the real
  name), while the sysop keeps whose it is.
- Signatures: up to three lines under posts and mail written on the BBS.
- Groups: areas listed by group, with a Group column.
- Retention: an area keeps its newest N messages and/or those of the
  last D days, purged hourly and by bbs area purge.

Tested on SQLite, PostgreSQL, MySQL and MariaDB.

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