Skip to content

v2.2.0: web app

Choose a tag to compare

@jotapemj jotapemj released this 08 Nov 19:15
· 4 commits to main since this release

Web app

The server now hosts the Fision web client
at /app/, on the same origin as the API.

  • Each server version pins one web release (version and SHA-256). This
    release ships Fision-AppWeb 0.33.0.
  • The Docker image includes it. A native install downloads it with
    prefetch, into webapp/ in the repository checkout.
  • /app/ sends the cross-origin isolation headers the audio engine needs.
    Hashed assets are cached for a year; everything else is revalidated, so a
    server update reaches the browser on the next visit.
  • doctor reports the installed web app version.

The web app needs a secure context: HTTPS, or localhost on the server
itself. Over plain HTTP on the local network the browser blocks its audio
engine. On a Tailscale host, tailscale serve adds HTTPS with a valid
certificate. See Reverse proxy and HTTPS.

Also in this release

  • GET /jobs includes kind (separation or lyrics) for each live job.
  • FORWARDED_ALLOW_IPS is documented: behind a reverse proxy, the logs, the
    login limits and the admin panel see the real client address.
  • 2.1.1: a deeply nested token now gets 401 instead of 500; PyJWT 2.15.1;
    secret.key and users.json are created with mode 0600.
  • Image builds reuse a registry cache, so updates that only change code
    download a few MB instead of the whole image.

Upgrading

git pull
docker compose pull && docker compose up -d

Native install: after git pull, run python -m fision_server.prefetch to
download the web app.