Skip to content

Pinwall 1.1.0

Choose a tag to compare

@github-actions github-actions released this 14 Nov 07:54
· 41 commits to main since this release

Upgrading from 1.0

  • Nothing changes for your members until you set PINWALL_VISIBILITY=personal. team stays
    the default: every member still sees every project, as in 1.0. The other new settings default
    to the 1.0 behavior too: PINWALL_SHARE_LINKS=members, no quotas, no abuse contact.
  • A migration, 0003_spaces, runs when the server starts. It gives every project an owner: the
    person who created it, or for a project whose creator is unknown the owner account, else the
    earliest active admin, else the earliest user. Take a backup first. A 1.0 backup restores into
    1.1, but 1.0 refuses a 1.1 backup.
  • The per-person rate limits apply in both modes. See Changed below for the numbers.
  • A very slow upload now fails, in both modes. One publish may run for at most 10 minutes, or
    for the time PINWALL_MAX_UPLOAD_BYTES takes at 64 KiB/s when that is longer, so an upload of
    the largest size that averages under 64 KiB/s ends with 408. See Changed below.
  • Before you set PINWALL_SHARE_LINKS=approved, approve the people who publish, not only those
    who make links. A page opens outside Pinwall's viewer only when the person who published it, or
    in personal mode its project's owner, is approved, so the links to other pages stop until then.
  • To switch to personal spaces, set PINWALL_VISIBILITY=personal, restart, and move whole
    spaces with pinwall transfer --from <user> --to <user>. Ownership follows the project, so what
    members published into someone else's project stays with that project's owner.
  • Going back to team after personal is refused while more than one person owns a project,
    because every member would then see all of their projects. Run
    pinwall visibility team --confirm once, then start again.
  • New settings: PINWALL_VISIBILITY, PINWALL_SHARE_LINKS, PINWALL_QUOTA_BYTES,
    PINWALL_QUOTA_ARTIFACTS, PINWALL_QUOTA_FILES, PINWALL_ABUSE_CONTACT, PINWALL_TERMS_URL
    and PINWALL_PRIVACY_URL. On an instance open to the public, also lower
    PINWALL_MAX_UPLOAD_BYTES to 50MB; see Known limitations.
  • Read Spaces, projects and members
    for the people who use a Pinwall, and
    Running an open instance
    for the order to change an instance that already holds work.

Added

  • Personal spaces. With PINWALL_VISIBILITY=personal, each person sees only the projects they
    own and the ones they were added to, and gets a default project of their own. Admins manage
    accounts but do not browse anyone's work. The operator, who can read the database, still can.
  • Project members. A project's owner adds people by email as editors, who also publish, or as
    viewers, who read and comment. The owner changes a role or removes someone, and everyone but the
    owner can leave. The project appears under Shared with me, and an agent connected with the
    person's account sees it too. Removal takes effect at once: the person's open pages and live
    updates stop, and the share links they made in the project are revoked.
  • Approval to share outside Pinwall. With PINWALL_SHARE_LINKS=approved, only admins and the
    people an admin approved can make share links, open raw links or have their pages open as a page
    of their own. Everyone else still reviews inside Pinwall's viewer. Who published a version counts
    too: a version opens outside the viewer only when its publisher, or in personal mode its
    project's owner, is approved or an admin, whoever opens it, so adding an approved person or an
    admin to a stranger's project exposes nothing. Taking approval away revokes that person's links.
  • Quotas. PINWALL_QUOTA_BYTES, PINWALL_QUOTA_ARTIFACTS and PINWALL_QUOTA_FILES cap what
    one person stores, how many artifacts they have and how many files all their versions hold, in
    both modes. A publish that does not fit is refused as quota_exceeded, HTTP 413, and leaves
    nothing behind. It is refused before anything is stored when its size is known up front (an
    inline publish, a restore, or an upload whose Content-Length alone is too large), and an
    upload stops as soon as its files go over what is left. Admins have no limit, and an admin can
    set other storage and artifact limits for one person. Settings, Usage shows a person where
    they stand.
  • Admin tools for an open instance. Admin, Users shows each person's usage and has the
    approval switch, Set limits… and Delete all content (in personal mode). Share links
    lists every link that is neither revoked nor expired. Look up a link takes a reported share
    link, /a/… link or content address and names the artifact, project, owner and version without
    showing the page. From there an admin revokes the link, ends a version's open pages, or deletes
    the version or the artifact. Each of these actions writes one moderation line to the log.
  • Delete all my content. In personal mode a person can delete every project they own, with
    its artifacts, comments and share links, after typing their email. Projects others shared with
    them, and their account, stay.
  • Abuse contact, terms and privacy. PINWALL_ABUSE_CONTACT is shown on share pages, on the
    pages for links that are gone or not found, and on the sign-in page, where
    PINWALL_TERMS_URL and PINWALL_PRIVACY_URL are linked too.
  • For agents. whoami reports the space's usage and quota and whether the account may create
    share links, where those apply. In personal mode the project tools show the person's role in
    each project.
  • Two commands. pinwall transfer --from <user> --to <user> moves every project one person
    owns to another, by email or id, in one transaction. pinwall visibility team --confirm allows
    team mode after personal mode.
  • Guides. Spaces, projects and members; running an open instance; open sign-up with Zitadel and
    Google, or with Google directly; and restoring a 1.0 backup into 1.1.

Changed

  • The publish limit, 60 per 10 minutes for each person, now counts every way to publish: upload
    URLs, inline publishes, web uploads and restoring a version. 1.0 counted only upload URLs.
  • New per-person limits: 600 content grants an hour (review, raw links and previews), 30 share
    links an hour, 30 projects an hour, 30 member look-ups an hour, and 60 comment writes per 10
    minutes (new threads, replies, edits, resolves and reopens, over REST and MCP). They count by
    account, across browsers, tokens and addresses, in memory, so a restart clears them.
  • At most 2 publishes per person, and 4 on the instance, run at once, restores included. Another
    answers 429 rate_limited with Retry-After: 10. Admins are exempt from the instance's 4, so
    they can still publish and restore when others hold every place, but each is held to 2 at once.
  • One publish may hold its place for at most 10 minutes, or for the time
    PINWALL_MAX_UPLOAD_BYTES takes at 64 KiB/s when that is longer: about 24 minutes at the default
    95 MB. Past that deadline it ends with 408 request_timeout (details.reason
    publish_deadline), keeps nothing and gives its place back. This holds in every mode, team
    included: an upload of the largest size that averages under 64 KiB/s, which 1.0 took however
    long it ran, now fails with 408.
  • A web upload whose body sends nothing for 60 seconds now ends with 408 request_timeout, as an
    upload URL's already did.
  • Uploaded files go to storage as they arrive, instead of being held whole in memory.
  • Review pages carry the annotator only up to 5 MB of HTML, and with at most 50 MB of such pages
    held in memory at once; see Known limitations.
  • A team instance with an identity provider and no member rule logs a startup warning: anyone the
    provider signs in becomes a member and sees every project.
  • The "no roles claim" warning appears only when a member group rule is set. Without one, a
    sign-in token that carries no roles claim is normal.
  • Expired content grants are kept for 30 days, where 1.0 removed them when they expired, so that
    Look up a link can still name the owner of an address that is reported late.
  • The MCP tool descriptions and the agent skill speak of your projects and your default project,
    and say what to do when a publish is refused for quota, for a viewer's role or for missing
    approval.

Fixed

  • A dialog opened while the next page was still loading, such as search opened right after a
    click, lost what had been typed when the page arrived: the page's heading took focus, and the
    dialog took it back with its text selected. The heading now leaves focus in an open dialog.

Known limitations

  • Until an admin approves a person (PINWALL_SHARE_LINKS=approved), the nested frames of their
    pages do not display in the review viewer, in either isolation mode. The viewer's sandbox never
    matches the frame policy those pages are served with. Approved people are not affected.
  • A share link without comments redirects to the raw page, so that page shows no abuse contact.
    With PINWALL_SHARE_LINKS=approved, only approved people can make such links.
  • Other JSON routes answer 500, without a crash, when a chunked request body breaks off. Sending it
    again works. An inline publish answers 400.
  • Delete all my content (/me/purge) writes its moderation log line before it runs, so the
    line carries no outcome.
  • SQLite search ranking (FTS5) uses statistics of the whole index, so text in other spaces can
    change the order, never the membership, of a person's results. PostgreSQL is unaffected.
  • A zip upload is still read into memory whole before it is unpacked, up to
    PINWALL_MAX_UPLOAD_BYTES (95 MB by default). With four publishes running at once (plus two
    per admin), set
    PINWALL_MAX_UPLOAD_BYTES=50MB on an open instance to keep that near 200 MB. Tar and tar.gz
    uploads stream.
  • Several accounts can keep the instance's 4 publish places busy, cycle after cycle, each upload
    until its deadline, and everyone but admins gets 429 server_busy meanwhile. Blocking an account
    does not stop the uploads it is already running. Block the accounts: their places come back
    within the deadline.
  • A review page larger than 5 MB of HTML, or one asked for while 50 MB of review pages are already
    held in memory, is served as it is stored, without the annotator: it takes point comments only,
    not comments on a selected text or element. That second case is never cached, so the next load
    gets the annotator again.
  • Restoring a version makes whoever restores it its publisher. When an approved person restores a
    version that someone who is not approved published, the copy can be shared and opened outside
    Pinwall.
  • With approved, only pages are held inside the viewer, not files. The content addresses
    Pinwall hands to someone who is not approved still serve their files to an image, script,
    stylesheet or fetch on any site until they expire (PINWALL_PREVIEW_TTL).
  • A content address that a share link handed out keeps working until it expires even when the link
    is suspended because of its maker: one who was not approved when the instance switched to
    approved, or whom the identity provider no longer admits. The link itself stops at once.
  • Content that was revoked or deleted, including by Delete all my content, answers 410 and can
    no longer be traced to its owner by Look up a link.
  • Adding someone to a project needs no consent from them: any owner can add any account with a
    verified email, admins included, and add it again after it leaves.
  • PINWALL_QUOTA_FILES has no per-person value. An upload checked by its Content-Length counts
    an archive's or a form's own bytes, so near the bytes limit it can be refused although its files
    would fit. Comments, projects and kept content grants are bounded by the rate limits, not by a
    quota.

Image

ghcr.io/dungnguyenv/pinwall@sha256:dfca1b374b91b7ec6fab84856fd1b4cd16e516e6fe9260d595835bf55d6e749f (linux/amd64 and linux/arm64), also tagged 1.1.0. Deploy it by its digest: a tag can be moved, a digest cannot.

The Helm chart refers to this image by digest:

helm install pinwall oci://ghcr.io/dungnguyenv/charts/pinwall --version 1.1.0 \
  --set publicOrigin=https://pinwall.example

Check the image's signature and its build provenance, as SECURITY.md explains:

cosign verify ghcr.io/dungnguyenv/pinwall@sha256:dfca1b374b91b7ec6fab84856fd1b4cd16e516e6fe9260d595835bf55d6e749f \
  --certificate-identity https://github.com/dungnguyenv/pinwall/.github/workflows/release.yml@refs/tags/v1.1.0 \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com
gh attestation verify oci://ghcr.io/dungnguyenv/pinwall@sha256:dfca1b374b91b7ec6fab84856fd1b4cd16e516e6fe9260d595835bf55d6e749f --repo dungnguyenv/pinwall

The SBOMs of the image for each platform (pinwall-1.1.0-linux-amd64.spdx.json and pinwall-1.1.0-linux-arm64.spdx.json), its third-party notices and the chart are attached to this release.