• 1.4.31-kopis 97d20dab43

    loweel released this 2026-12-01 00:11:23 +01:00 | 0 commits to master since this release

    Stabbypossum 1.4.31 "KOPIS" makes Purge work with None only and says in the log who caused each refusal.

    Install

    Run the image from Docker Hub: loweel/stabbypossum.

    This release ships no binaries. The source archive is attached below.

    Purge goes with None only

    A Purge ticked on a row with a milder flag (Fast, Chill, Slow or Direct) turned the row into a full block and deleted what the account had left here. The page showed only the flag, so an account set to Slow was in fact blocked.

    • Purge now works only with None. On any other flag it has no effect, and the flag works as it says.
    • The flags page saves Purge only together with None. The box now reads "Purge (with None)".
    • A None row with Purge is not lifted by an unblock from a client app, so a deletion that was asked for is never dropped. The log says so at WARN; the row is removed on the flags page.

    Rows that already had Purge with a milder flag now work as that flag. What was deleted stays deleted. Follows cut while such a row counted as a block do not come back by themselves: follow the account again if you want it.

    Who caused a refusal

    When the server refuses an incoming message, the log line now names who caused it and in what role: the signer, the author, the author of a boosted post, and so on. Before, it showed only the signer, which made a forwarded reply or a boost look like it came from somebody else.

    Tests

    The unit tests pass and the production image builds. The smoke test was updated to the new rule and was not run for this release.

    Downloads
  • 1.4.31-golok 158335aac4

    loweel released this 2026-11-30 15:32:00 +01:00 | 1 commits to master since this release

    Stabbypossum 1.4.31 "GOLOK" counts large pages in the log and fixes delivery marks that stayed empty.

    Install

    Run the image from Docker Hub: loweel/stabbypossum.

    This release ships no binaries. The source archive is attached below.

    Large pages in the log

    • The line that says a task grew (memory.secondary-stack grew) now starts at 512 KiB instead of 1 MiB.
    • A new INFO line, http.response large, is written every time a page of 512 KiB or more is served, with its path (never the query), its size and the memory the task holds. If large pages are many, the log shows how many. Files sent from disk, such as images, are not counted.

    Delivery marks

    A timeline with many of your own posts asked the delivery mark of every post at the same moment, and the server turned part of the requests away: some posts showed no mark until the page was loaded again. The web interface now asks them at most two at a time.

    Tests

    The full smoke passes on the test image and on the production image. SPARK proves everything, and the unit tests pass.

    Downloads
  • 1.4.31-khukuri 6150277a94

    loweel released this 2026-11-30 10:20:17 +01:00 | 2 commits to master since this release

    Stabbypossum 1.4.31 "KHUKURI" builds the flags pages with the page builder of BOLO.

    Install

    Run the image from Docker Hub: loweel/stabbypossum.

    This release ships no binaries. The source archive is attached below.

    The flags pages

    The new log lines of BOLO named their first page within hours: opening or saving the page of flags on remote accounts made a web task keep 1.2 MB of memory for good. The page joined its whole table into one long string. It is now built a piece at a time, in memory given back with the response. The page itself is the same, byte for byte. The page of flags on remote instances shares the same code and gains the same.

    Tests

    The full smoke passes on the test image and on the production image. SPARK proves everything, and the unit tests pass.

    Downloads
  • 1.4.31-bolo 286d36c63f

    loweel released this 2026-11-30 01:11:09 +01:00 | 3 commits to master since this release

    Stabbypossum 1.4.31 "BOLO" starts building pages in memory that is given back, and says in the log which pages make a task grow.

    Install

    Run the image from Docker Hub: loweel/stabbypossum.

    This release ships no binaries. The source archive is attached below.

    Why the memory grew

    In production the memory in use rose slowly over a day, in steps. Measured on a test machine, an idle server holds nothing. The growth comes from how each task keeps the room it needed for its biggest piece of work: a page made as one long string is made in a per-task area that never shrinks, so one big page and the task holds that much for good.

    Pages built a piece at a time

    A new page builder adds each piece to memory that is given back with the response, on every path. The Stats page is the first one built with it; a test shows a 4 MiB page now leaves a task's area at 0 bytes, against 4.2 MB before.

    A line in the log when a task grows

    After each web request, when a task's area passes a new size (1, 2, 4 MiB and on), one INFO line says which task, how much and which page it was serving (the path only, never the query). These lines show which pages to move to the builder next.

    Smaller changes

    • A flag notice that the other server refuses is now a WARN line, not an ERROR: it is on their side.

    Tests

    The full smoke passes on the test image and on the production image. SPARK proves everything, and the unit tests pass.

    Downloads
  • 1.4.31-yatagan 7fbdb73354

    loweel released this 2026-11-29 03:00:07 +01:00 | 4 commits to master since this release

    Stabbypossum 1.4.31 "YATAGAN" stops at once when Docker asks, instead of being killed thirty seconds later, and fixes a receipt error when two deliveries reach the same inbox together.

    Install

    Run the image from Docker Hub: loweel/stabbypossum.

    This release ships no binaries. The source archive is attached below.

    A clean stop

    Until now every deploy ended the old server with SIGKILL (exit code 137). It received the stop signal and stopped answering, but the process never ended, so Docker killed it after the grace period. There were two reasons:

    • three background tasks that loop for ever were never stopped;
    • after the stop, the program waited for the tasks of its libraries, which also loop for ever.

    Now every task is stopped, each step of the stop is written to the log, and the process ends at once: in tests it takes 0.2 to 0.3 seconds, with exit code 0. The smoke test now fails if a stop ends in SIGKILL.

    Delivery receipts

    When two deliveries to one inbox (for example two recipients behind a shared inbox) updated the same receipt together, the second could fail and write an ERROR line. It now reads the receipt again and tries once more; the race is only a DEBUG line, and an error is written only if the second try fails too.

    Tests

    The full smoke passes on the test image and on the production image, with the exit code of every stop checked. SPARK proves everything, and the unit tests pass.

    Downloads
  • 1.4.31-kindjal 338f70aee8

    loweel released this 2026-11-28 19:36:10 +01:00 | 5 commits to master since this release

    Stabbypossum 1.4.31 "KINDJAL" lowers the CPU an idle server uses: the HTTP workers now wait for a connection instead of waking twenty times a second.

    Install

    Run the image from Docker Hub: loweel/stabbypossum.

    This release ships no binaries. The source archive is attached below.

    Idle HTTP workers sleep

    In production the base CPU, 3 to 5% with or without traffic, came from the 16 HTTP workers. With no connection, each one looked at the listening socket for 50 ms and started again: some 320 empty wake-ups a second, spent mostly in the kernel.

    Now:

    • a worker with no connection waits up to a second for one;
    • a new connection still wakes it at once, so answers are not slower;
    • with connections open it works as before, every 50 ms, so the limits against slow clients are unchanged;
    • stopping the server wakes every worker at once through a small pipe, so shutdown is still immediate.

    If that pipe cannot be made, an ERROR line says so and the workers work as before.

    Tests

    The full smoke passes on the test image and on the production image. SPARK proves everything, and the unit tests pass.

    Downloads
  • 1.4.31-parang 5f7e3381cc

    loweel released this 2026-11-28 15:44:53 +01:00 | 6 commits to master since this release

    Stabbypossum 1.4.31 "PARANG" closes a hole that let any account make a user leave a community, names forged Blocks in red, decides every block by proved rules, marks the federated timeline instead of censoring it, and adds the Home filters.

    Install

    Run the image from Docker Hub: loweel/stabbypossum.

    This release ships no binaries. The source archive is attached below.

    Security: a ban only from the community itself

    Until now any signed account could send a Block naming as target a community the user follows, and the user left that community. Now a ban counts only when it comes from the community itself:

    • a Block whose actor is the community;
    • or the community's own Announce of a moderator's Block, signed by the community.

    Any other Block naming a target is refused: nothing is written and nobody is notified.

    Forged Blocks are named in red

    A Block is applied only in its exact form: its type is Block, its actor is the owner of the key that signed it (an unsigned one is refused), its object is a local user or one of their aliases, and its id is on the actor's host.

    A forged Block (signed by someone else than its actor, or with its id on another host) is told to the user with a new notification, block_attempt:

    • it names who signed it and, when different, whom it claimed to be;
    • the web interface shows it in bold red; apps that do not know the type show it plainly or not at all;
    • one a day for each signer, dated by this server's clock.

    A well-formed Block refused only for its target, such as a moderator's copy of a ban or a site ban, is somebody's real act: it is only logged, never called forged.

    Blocks decided by proved rules

    Every decision about a block is a SPARK function proved with gnatprove (doc/block-rules.md): the exact form, the order of the steps, whether a row replaces another, whom a Purge holds for, and which posts are marked. Every incoming Block now says its outcome in the log: recorded, already blocked, refused with its reason, left the community, or failed (at ERROR).

    What changes for you:

    • An Undo of a Block no longer lifts it. Whoever blocked us stays on None until you remove the row by hand.
    • A row written by the server only makes yours harsher. If an account you set to Slow blocks us, it becomes None; when you unblock it, the row is gone, with no history kept.
    • A user's Purge is that user's. It clears and stops the account for that user only. The Purge of the instance or of the administrator holds for everybody, the federated timeline and the stored posts included.

    The federated timeline is marked, not censored

    The federated timeline is the same for everybody, and a user's blocks no longer take anything out of it. A post by an account you blocked, or boosted by one, comes with the standard Mastodon filtered field and the action warn: apps show it covered, and the web interface shows it covered with a click to open it. What is illegal is for the administrator, who stops it for everybody.

    The marks are worked out in the background, not on every read: one worker keeps them on disk, every 15 seconds, only for the users active in the last 30 minutes (until they log out of the web interface).

    Home filters

    GET /api/v1/timelines/home takes the four Mastodon parameters: exclude_direct, exclude_reblogs, exclude_quotes and exclude_replies (a reply to oneself, a thread, stays).

    Tests

    The full smoke passes on the test image and on the production image. SPARK proves everything, and the unit tests pass. New: a unit test for the federated view, and smoke phases for the marked federated timeline, the forms of a Block and their outcomes, the forged-Block notification, a member's ban refused and the community's announcement taken, and each Home filter.

    Downloads
  • 1.4.31-barong 7357353221

    loweel released this 2026-11-27 09:46:45 +01:00 | 7 commits to master since this release

    Stabbypossum 1.4.31 "BARONG" drops the external notification channels (webhook, ntfy, email and Telegram) and logs the reason when an incoming Block fails.

    Install

    Run the image from Docker Hub: loweel/stabbypossum.

    This release ships no binaries. The source archive is attached below.

    No rollback. At start this release erases the stored settings of the removed channels. An older release would find them gone.

    No more external notification channels

    Notifications are no longer sent out by webhook, ntfy, email or Telegram:

    • The settings are gone from the web interface: the user's Notifications panel, and the admin's SMTP panel.
    • They are gone from the configuration and from the example files under etc/.

    What stays:

    • Notifications in the web interface and in client apps work as before.
    • The administrator's contact address shown to other servers (nodeinfo) is unchanged.

    Notification jobs of these kinds left in the queue by an older release are not sent. They are set aside, and each one leaves an INFO line in the log.

    Stored settings are erased at start

    The settings of the removed channels held personal data and secrets, so they are erased once, when the server starts:

    • From each user's settings: the notification email address, the webhook URL, the ntfy server and token, and the Telegram bot and chat id.
    • From the server configuration: the SMTP address, user and password, the notification switches, and the sender name and address.
    • Each user's old notification records, which listed who did what, are deleted.

    Each file or folder cleaned leaves an INFO line in the log. If one cannot be cleaned, an ERROR line says so, and it is tried again at the next start. A folder that is a link to somewhere else is never followed.

    An incoming Block that fails says why

    In production a Block from another server could not be recorded. It was retried ten times as a temporary error, with no reason in the log, and then set aside. Every step of that path now writes an ERROR line with the reason:

    • the block could not be recorded;
    • an error inside the recording, with its name and message;
    • the notification could not be published.

    Tests

    The full smoke passes on the test image and on the production image, with 0 errors in the log. SPARK proves everything, and the unit tests pass. A new test checks that the removed settings leave the user and server files while every other setting stays, and that the old notification records are deleted.

    Downloads
  • 1.4.31-seax d3b79ff9c0

    loweel released this 2026-11-26 14:01:51 +01:00 | 8 commits to master since this release

    Stabbypossum 1.4.31 "SEAX" applies the flags only to what other servers send us. What we send goes out at once, and only None stops it.

    Install

    Run the image from Docker Hub: loweel/stabbypossum.

    This release ships no binaries. The source archive is attached below.

    The flags hold only what comes in

    Until now a flag on a server or an account held our own messages to them as well. In production that went badly:

    • Posts to mastodon.social waited for room under a Slow flag. Hundreds of them expired after three days and were never delivered.
    • Posts from a week before were sent only when their weekly window freed. piefed.social refused them as too old (400).

    Now a flag slows down, counts and expires only what the other side sends us. What we send goes out at once, whatever the flag.

    None is the one exception. On a server it means defederation, and on an account it is a block that cuts both ways. Nothing goes to either.

    If the flags cannot be read, a message goes through the queue instead of straight out. The queue asks again, so a None is never missed.

    Messages already waiting go out at the start

    Messages of ours that an older release kept waiting are moved to the current minute when the server starts, and go out at the first round. They do not expire, however long they waited. A message whose recipient is now on None still stops.

    The notice sent to a flagged server's admin no longer says that the same limits hold for what we send.

    Tests

    The full smoke passes on the test image and on the production image, with 0 errors in the log. A post to an account on Fast with its hour already full now arrives at once. SPARK proves everything, and the unit tests pass. New tests cover:

    • what each flag does to an outgoing message;
    • a message that waited five days;
    • the move of waiting messages at start.
    Downloads
  • 1.4.31-kris ed993acb09

    loweel released this 2026-11-25 03:47:05 +01:00 | 9 commits to master since this release

    Stabbypossum 1.4.31 "KRIS" frees what it borrows from C libraries on every path, never writes a private key to disk while making it, and imports feed text with its characters intact.

    Install

    Run the image from Docker Hub: loweel/stabbypossum.

    This release ships no binaries. The source archive is attached below.

    C resources freed on every path

    The server uses a few C libraries: curl, libmicrohttpd, OpenSSL, libxml2, jansson, zlib, cmark and ImageMagick. Every binding was checked. On every path that runs per request, per delivery or per image, everything is freed, including on errors and exceptions.

    Where the freeing was written by hand, it is now done by the objects themselves when they go out of scope:

    • The OpenSSL objects used to sign, to compare key pairs and to make keys.
    • The XML parser that reads feeds.

    A few rare paths that could leave a file descriptor open now close it:

    • The spool journal, when a checkpoint cannot be written or a segment cannot be opened.
    • The memory samples.

    The private key never touches the disk while it is made

    A new key pair used to pass through two temporary files, and the private one was in clear, readable under the default permissions until it was removed. The pair is now made in memory and goes straight to the encrypted keystore.

    At start, any such file that an older release left behind (if it was killed while making a key) is removed. Each removal leaves an INFO line in the log. If a file cannot be removed, an ERROR line says so, and the removal is tried again at the next start.

    An unfollow no longer breaks the list of follows

    If an unfollow came while the list of accounts a user follows was being read, the file that had just gone made the whole reading fail, with an ERROR line. That file is now skipped, and a damaged file is reported on its own without stopping the rest.

    Feed text keeps its characters

    Feeds whose entries are HTML, such as a Forgejo release feed, write a quote as ". That code was kept after the HTML was removed, and its # was then dropped on import, so a quote showed as "& 34;". These codes are now turned back into the characters they stand for, accents and emoji included, in the feed's title and in each entry's title, summary and content. The decoder is written in SPARK and proved.

    Tests

    The full smoke passes on the test image and on the production image, with 0 errors in the log. SPARK proves everything, and the unit tests pass. New tests cover the removal of leftover key files and the decoding of feed text.

    Downloads