The archipelago retelling lengthened the collection description to 120
characters. On the 180 px pack tile it overflowed the three-line clamp and
ended with an ellipsis, which the Cards browser test rejects. The new
77-character text keeps the archipelago story and fits.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The new mythic effect works on two levels. An opaque iridescent film is
painted under the artwork and only shows through its transparent areas,
while a light overlay makes the whole card shine. Both follow the card
tilt without any running animation, like the Diffraction Sheen.
Cards can declare cutout versions of their artwork with the __cutout
suffix: cutoutImage for the standard format and fullCutoutImage for the
full-art format. The catalog only accepts the format's own image name
followed by __cutout. Prismatic Backdrop finishes use them when present
and fall back to the opaque artwork otherwise. The Mythic Card Pull gets
both cutout versions, and the admin visual lab previews the effect on them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The collection's 82 descriptions now share a single universe: a nebula
collapses into a sun and a scattered sky archipelago. Legendaries are its
founding spirits, epics the creatures of the young world, rares the island
dwellers, and commons the constellations, relics and instruments of the
Watchers, the astronomer-navigators who read the stars to travel between
drifting islands. Descriptions are kept around 150 characters.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every page reads the Sokko TCG configuration and reserve, and a fast browser
test run loads more than 120 pages a minute from a single address, so the dev
server answered 429. The dev server is local and already gives admin rights to
any visitor, so it now lifts the per-minute limits like the Cards test server.
The production server keeps them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every page reads the reserve for the Sokko TCG menu count, and those reads
shared the game API limit of 60 requests per minute and per address. Browser
tests reloading many pages from one address got 429 responses. The route now
has its own limit, like the public configuration, and focus or tab returns
read it at most once every 15 seconds.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A gold count now sits on the Sokko TCG menu icon while the opening reserve is
full, so players notice it from any page. A light reserve route keeps it up to
date outside the game, and the game page updates it with every state it gets.
The opening stage also lists the remaining openings, apart for the automatic
recharge and for openings bought one at a time, since the sidebar reserve is
hidden there.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Vite Preview sends none of the headers of server.mjs, so the production E2E
passed while the CSP blocked the calculator formulas in production. The build
is now served by server.mjs with Sokko TCG disabled, and a new spec saves and
updates a calculator result there, failing on any CSP violation.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The production CSP forbids unsafe-eval, so the Function() call behind both
tools threw, every result came back empty and the calculator save and update
buttons stayed disabled in production. Dev worked because Vite sends no CSP.
Both now reuse the eval-free parser of the table formula engine, and a test
fails if client code evaluates strings again.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Players had to go back to the pack list between two openings. Once the cards
are revealed, a button now reopens the same collection while an opening
remains, using the reserve first and then purchased openings. Gift and shop
packs do not offer it, since they spend no opening themselves.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A full-screen backdrop-filter is recomputed on every frame of a card animated
above it, which made mythic cards in modals far slower than in a page. Modals
showing a card and the opening screen now use denser backgrounds instead, and
other modals keep their blur.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Session and OAuth cookies now carry the __Host- prefix over HTTPS, so another
application of the domain cannot set them. The public configuration route has
a request limit, the trader list reads every player in one query, and new
campaign codes need eight characters while existing ones keep working.
The Vite server now listens on 127.0.0.1 unless HOST says otherwise, because
it gives administrator rights to any visitor.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Imported toolboxes could run scripts on the site origin through image data
URLs, so only bitmap images are now accepted at import, display and opening.
The Cards game and its fake admin login no longer turn on when NODE_ENV is
missing, and the Node server now sends a CSP and the other security headers.
The deployment script no longer runs files owned by the service account as
root, the services cannot gain privileges through sudo, and the deployment
key stays in a single workflow step with actions pinned by commit. The script
and systemd units must still be reinstalled on the server after delivery.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A discreet centered link now sits below the panel and opens the notice in its
own panel, which does not exist while collapsed. The link keeps none of the
site's button hover styles.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Lightning CSS dropped mask-composite after the mask shorthand, so the crown and
glow filled their whole area in production only. The exclusion now lives in the
shorthand, with an E2E on the built site and a guard on the source.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The site port answered directly on the VM's public address, bypassing the proxy
and letting clients forge X-Forwarded-For. HOST now limits where it listens. The
Cards database and backups move to /data with owner-only folders, and SERVER.md
describes the Proxmox VMs, ports and open points.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Bring in the server-backed card game and its administration, disabled in
production until /etc/sokko-g/cards.env is configured.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The skill heading only helps tell two selected elements apart, so it now shows
for double selections alone.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pause the page clock while reading each reveal phase's styles, and poll for the
palette menu's settled position, so a loaded CI runner cannot miss them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Publish CARDS_PRIVACY_CONTROLLER in the privacy notice, required in production
like the contact. A daily maintenance anonymises non-admin accounts after 24
months without login and purges expired sessions and old idempotency keys.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The sidebar and About page advertised the game even when disabled. The admin
rates also warned that the shop pack had no drawable common, rare or epic card
although it draws them from the other collections.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Warn against copying PORT into cards.env, state which missing values disable
the game, drop wording that only applied to the feature branch, and take the
non-breaking audit fix for development tools.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The account section's text touched the panel borders because nds-panel has no
padding of its own.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Align the delivery guide with the code: hourly recharge, the dedicated database
folder, the privacy contact, the proxy's X-Forwarded-For duty, reinstalling the
unit, the backup timer and the post-activation admin checklist.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add a Compte section with a privacy notice and a confirmed deletion that
anonymises the player row, erases their possessions and cancels open trades.
The public contact comes from CARDS_PRIVACY_CONTACT, which production now
requires before enabling the game. The admin E2E no longer relies on a pull
from the previous test.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Keep a pending opening's cards out of the home highlight and collection until
they are revealed, and refuse transfers meanwhile. Odds now ignore rarities a
pack cannot give. Stable files gain an ETag so card images revalidate instead
of downloading again, and logging out clears the local collection copy.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Ignore the development login in production unless a test server asks for it in
code, apply the administrator list to existing accounts at startup, and move
the example database to a folder the deployment script does not reset to root.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A restore left the replaced database's write-ahead log in place, so SQLite
replayed it and the restored file silently kept later writes. Restores now
remove it, backups stay single files, and a systemd timer keeps 14 daily copies.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
An invalid URL or Host header rejected inside the async request handler and
ended the process, even with Sokko TCG disabled. Requests now parse against a
fixed base and any unexpected failure answers 500. An invalid Cards setup
disables the game instead of the site, SIGTERM closes the database cleanly,
and the rate limiter forgets past minutes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add the server-backed card game: Discord login, recharging pack openings,
album, trades, gifts, stardust shop, campaign codes and its administration,
stored in SQLite and disabled in production until configured.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>