Repository navigation
·
107 commits
to master
since this release
Added
- Audit for sparse and cut-off subtitles —
GET /api/v1/repair/sparse-sidecars
lists full sidecars of wanted languages that hold almost no dialogue or stop before
half of the video (prod 2026-12-04: 436 of 16,822, found by script because the
health sweep had flagged one).POST /api/v1/repair/sparse-sidecars/requeue
searches those episodes again and deletes nothing: the sparse file stays until a
validated replacement overwrites it. A karaoke-heavy fansub ASS whose dialogue
counter reads zero is reported asunclearand never requeued. - Lint rule against stored secrets in responses — the security-invariants linter
now fails when a route puts a stored*api_key*,*secret*,*password*or
*token*value into ajsonifyanswer. The four answers that do so on purpose are
marked as reviewed.
Fixed
- Two processes no longer race on a fresh or untracked PostgreSQL database — app
and worker both rancreate_all()at the same moment and the loser died on a
duplicate type (sidecar_origins). The untracked branch now takes the migrations'
advisory lock first. - Redirects from post-processing webhooks are not followed — the webhook op
validated only its first URL and then followed redirects to hosts it never saw. It,
the Discord op and the media-server refresh op (which sends the server token as a
header) now stop at a redirect, and the webhook op reports it. - Subliminal downloads cannot be pointed inside the network — a provider's API
answer could name the metadata service or a LAN address as the download link. The
adapter refuses such a link up front and runs the download inside the connection
guard of the catalog providers, which also stops a host name that resolves inside
the network, DNS rebinding and a redirect there. For a host reached through an
environment proxy the guard stays off (it refuses proxied host names) and only the
link check applies; a lone NO_PROXY is no proxy. The same fix stops the catalog
guard from refusing every host name when only NO_PROXY is set.
Tests
- Scoring invariants over every bundled preset, HI and forced preference and match
subset: score equals the sum of its breakdown, scoring is deterministic and
idempotent, ASS never ranks below the identical non-ASS result, and adding a match
never lowers the score.