Fix review-queue dead ends and harden grab/import/API paths
Some checks failed
check / check (push) Failing after 14m5s
dev release / build (push) Successful in 3m54s

Stop upgrade-search from queuing mid-confidence matches that approve
cannot honor (owned movies/episodes 409'd on the TUI). De-dupe pending
review rows, scope 1080p gates to the target episode, refuse unsafe
pack cleanup, and require a token for non-loopback binds.
This commit is contained in:
Breadway 2026-08-16 00:44:58 +08:00
parent 4a2adbc24d
commit 7ab28d30a7
31 changed files with 2536 additions and 328 deletions

View file

@ -17,7 +17,14 @@ UMask=0022
RuntimeDirectory=breadarr
RuntimeDirectoryMode=0700
KillSignal=SIGTERM
TimeoutStopSec=5
# Transcode jobs can run for minutes; 5s was cutting them off on stop.
TimeoutStopSec=180
# Modest hardening valid in a user unit. Skip ProtectHome (library +
# config live under $HOME) and MemoryDenyWriteExecute (ort/onnxruntime
# may need JIT / RWX mappings).
NoNewPrivileges=yes
RestrictSUIDSGID=yes
LockPersonality=yes
[Install]
WantedBy=default.target