Files
tuliprox/backend
DarkBreakpoint a1a979ae03 fix(dvr): an interrupted live capture fails instead of restarting
Task 12, step 2. On restart every unfinished task was requeued, live
captures included. A live recording is a window on a broadcast: whatever
played while the process was down is gone. Requeueing restarted the
capture from the current moment and committed it as a normal recording,
silently missing everything up to the restart, with nothing in the
result to say so.

Live in `Running` or `WaitingForCapacity` now becomes `Failed` with a
reason. A future `Scheduled` window is untouched, because it has not
started and can still run in full. VOD and series still resume -- the
file on the provider is still there, which is the whole difference.

Task 14 needed one test rather than code. Its matrix, the No-Auth
parity, and the stale-token rejection are already implemented and
covered: `builtin_admin_claims` resolves `builtin:admin` with ROLE_ADMIN,
PERM_ALL and the current schema, and `validate_token_claims` refuses an
older permission schema before any bit is read. The clause with no test
was "physical deletion with positive references is denied even to
Admin". That now has one, and it is worth stating precisely: permission
decides whether an entry may be removed, not whether the bytes go. The
reference rule takes no principal at all, so an administrator removing
their own entry leaves another user's recording on disk.
2026-09-01 13:37:08 -05:00
..
2026-08-28 19:17:39 +02:00
2026-08-27 15:36:23 +02:00
2026-08-27 15:36:23 +02:00
2026-08-27 15:36:23 +02:00
2026-08-27 15:36:23 +02:00
2026-08-27 15:36:23 +02:00
2026-08-27 15:36:23 +02:00
2026-08-27 15:36:23 +02:00
2026-08-28 19:17:39 +02:00
2026-08-27 15:36:23 +02:00
2026-08-29 11:14:44 +02:00