Repository navigation
Let server operators take posts down from Community and block publishers - #18
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 blockedlists blocked accounts, with when they were blocked and the post each block came from.uno unblock <account id>lifts a block.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_publisherstable. The server upgrades the database by itself on its first start, after copying it tovault.db.v12.bak. Nothing to set in.env.Checks
docker compose execon a real host.