Seeking: the progress bar is now a slider. Releasing it calls
POST /api/player/seek, which restarts ffmpeg at that position and swaps
the audio resource without going through Idle, so the track is neither
finished nor requeued in loop mode.
Structure: the jukebox is served at / and the old home page is gone.
/jukebox/ redirects to / with its query string, and the Discord login
callback now returns to /.
Redesign: a login screen until the visitor is signed in, then an app
layout with a top bar, the library on the left and the player and queue
on the right (sticky, two columns from 1000 px). Small screens get a
mini player while the main one is out of view. Icon buttons, a single
play/pause button, a drop zone for uploads, toast messages and a
refined violet palette with checked contrast. A refused password now
returns to the login screen instead of leaving an empty page.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Section dropdowns had a transparent background and white text: Chrome
on Windows drew their options on white, so they could not be read.
Selects and their options now get a solid dark background.
Also style the file picker button and checkboxes, keep the drag-and-drop
badge on one line, and on phones shrink the illustration, lay the player
buttons out on two columns and fit track and section buttons on fewer
lines. Dates are shown in short French ("2 déc. 2026, 11:24").
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Headers:
- Every JavaScript file (sources, front, scripts, tests) starts with a
/** @file … */ header, in the three levels used by sokko-g: a short
description for simple files; Utilisé par / Attention / @see for
shared modules; a full header (context, entry points, callers,
dependencies, pitfalls) for index.js, the music queue, the web
server, the storage manager and the jukebox page script.
- No @author, @version or @since: git already knows.
- test/fileHeaders.test.js fails `npm run check` when a header is
missing or a central file's header is incomplete.
Stylesheet (no visual change, checked by comparing every element's
computed styles in Chromium at 1280, 800 and 400 px, hover included):
- Role header and section comments.
- Transparent shades derive from the colour variables with
color-mix() instead of copied rgba() values; new tokens for repeated
values (text, text on accent, accent gradient, white veils, shadow).
- Native nesting for buttons, the live indicator, upload rows and
home cards; drop the unused .hero__visual--large and redundant rules.
- Utility classes move to the end so they win over components. The
library list's u-mt-1, which never applied (.list reset it), is
removed to keep the layout as it was.
Docs: CONTRIBUTING.md describes the language, header and stylesheet
conventions; CLAUDE.md points to it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Follow the queue live through /api/events (read with fetch so the key can
be sent), reconnect with backoff and reload the state meanwhile; an
indicator shows whether the page is live.
- Log in with Discord when enabled, the password stays available as a
fallback; explain failed logins and expired sessions.
- Show a progress bar and durations, the queue length and total time, and a
hint when the queue waits for listeners.
- Shuffle and loop buttons; search, rename and add the whole library,
optionally shuffled.
- Upload several files at once with per-file progress (XMLHttpRequest), add
a direct link, drag and drop files; allow 40 uploads per 15 minutes.
- Style password, URL and search fields, focus rings, and the phone layout.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Serve the hero images as WebP at their display size: 118 KB and 55 KB
instead of 3.5 MB and 1.4 MB.
- Add a favicon, an apple-touch icon, a description and a theme colour.
- Announce status messages to screen readers and label the move buttons.
- Offer "Se souvenir de moi" to keep the password on the device, and keep
working when browser storage is unavailable.
- Fix typos in the jukebox introduction.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Deploy workflow: pin node:24-bookworm; install openssh-client only if missing
- Auth failure limiter counts only 401s (422/404 no longer lock out clients)
- trust proxy configurable (WEB_TRUSTED_PROXIES), never "true"
- DM route: loopback connections only, dedicated NOTIFICATIONS_API_KEY, 503 when unset
- Jukebox: no polling without a key, stop on 401
- /invitation: posts the temporary invite message after checking the link
- Stop tracking storage/library.json; README describes the real deployment
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>