Skip to content

Let server operators take posts down from Community and block publishers - #18

Merged
hiidz merged 6 commits into
mainfrom
feat/operator-takedown
Oct 22, 2026
Merged

hiidz merged 6 commits into
mainfrom
feat/operator-takedown

Conversation

@hiidz

@hiidz hiidz commented Oct 22, 2026

Copy link
Copy Markdown
Owner

Gives whoever runs a server a way to take posts down from Community and keep a publisher out, from a shell on the server, with the server still running.

What changes

  • uno takedown <publication id>: removes one post from Community. It works like Unpublish: the publisher keeps their catalog or collection, subscribers keep their copies (art included), and nothing in anyone's Nuvio changes. It shows the post and asks [y/N] first.
  • uno takedown <publication id> --block: also removes every other post from the same Nuvio account (all its profiles) and stops that account publishing. A blocked publish fails like an ordinary server error, and nothing tells the publisher they are blocked; the server log records why. The account can still sign in, build, and push to its own Nuvio.
  • uno blocked lists blocked accounts, with when they were blocked and the post each block came from. uno unblock <account id> lifts a block.
  • In Docker: docker compose exec uno /app/uno takedown <id> (the image has no shell, so use the full path).

Database

Schema version 12 → 13: adds a blocked_publishers table. The server upgrades the database by itself on its first start, after copying it to vault.db.v12.bak. Nothing to set in .env.

Checks

  • Go and web check sets pass.
  • Run live next to a dev server, on the same database: declining and confirming the prompt, a block across two profiles, the publish refusal, unblock, and publishing again afterwards.
  • Not tried yet: the commands through docker compose exec on a real host.

@hiidz
hiidz enabled auto-merge October 22, 2026 11:00
@hiidz
hiidz merged commit 7a69122 into main Oct 22, 2026
2 checks passed
@hiidz
hiidz deleted the feat/operator-takedown branch October 22, 2026 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant