No description
Find a file
Barely Removable d38ab1b561
All checks were successful
Deploy / deploy (push) Successful in 55s
Add Approve/Deny verdicts to pending requests on P104
Every TV request now needs a decision, so P104 offers the two verdicts
inline on the rows actually waiting rather than sending the visitor to
Ombi's own UI.

Ombi is now the one service the app writes to. Three details the new
ombi_write() helper and /api/ombi/decide route have to get right:
approve is a POST but deny is a PUT; a TV decision acts on the child
request id, not the show, so get_ombi_summary() carries child["id"] for
TV rows and m["id"] for movies; and Ombi answers 200 with
{"result": false, ...} on a logical refusal, so the body is checked
rather than the status code. A successful decision clears _ombi_cache —
the 4-hour TTL would otherwise keep calling the row pending for the
rest of the afternoon.

The buttons reuse the existing two-tap arming and share its armed slot,
so arming one disarms the other: an approval starts a download and a
denial is somebody's answer, neither wants a stray tap. They reverse
into green and red rather than the shared red of .tt-btn.armed, so the
confirming press states which verdict it is about to send. After a
decision the row's status flips in place and the Pending figure and its
"N of M" both settle; at zero the page drops its warn weight, since
nothing waits on a human any more (discipline 5). Below 560px the
verdicts take a full line of their own rather than shrinking below the
tap target.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YNc3gd3GRPudFwgPXNEm8A
2026-09-02 09:05:53 -07:00
.claude Fix System page crash, retire "held" copy, and slim CLAUDE.md 2026-08-30 08:05:49 -07:00
.forgejo/workflows Persist settings.json across deploys via a data volume 2026-08-26 09:34:46 -07:00
.impeccable Redesign Media Centre as a teletext broadcast information service 2026-08-29 21:00:45 -07:00
arr-summary Initial commit: Arr Summary source from server 2026-08-25 22:59:31 -07:00
nginx Initial commit: Arr Summary source from server 2026-08-25 22:59:31 -07:00
static Add Approve/Deny verdicts to pending requests on P104 2026-09-02 09:05:53 -07:00
templates Add Approve/Deny verdicts to pending requests on P104 2026-09-02 09:05:53 -07:00
.env.example Initial commit: Arr Summary source from server 2026-08-25 22:59:31 -07:00
.gitignore Redesign Media Centre as a teletext broadcast information service 2026-08-29 21:00:45 -07:00
app.py Add Approve/Deny verdicts to pending requests on P104 2026-09-02 09:05:53 -07:00
CLAUDE.md Add Approve/Deny verdicts to pending requests on P104 2026-09-02 09:05:53 -07:00
DESIGN.md Give Activity a genuine ninth colour: --tt-orange 2026-08-30 09:52:19 -07:00
docker-compose.yml Persist settings.json across deploys via a data volume 2026-08-26 09:34:46 -07:00
Dockerfile Initial commit: Arr Summary source from server 2026-08-25 22:59:31 -07:00
export-to-unraid.sh Initial commit: Arr Summary source from server 2026-08-25 22:59:31 -07:00
gunicorn.conf.py Make the listen port configurable via PORT 2026-08-27 07:51:07 -07:00
manage_users.py Add a guarded way to retire the plaintext shared password 2026-08-27 13:06:31 -07:00
PRODUCT.md Fix System page crash, retire "held" copy, and slim CLAUDE.md 2026-08-30 08:05:49 -07:00
requirements.txt Initial commit: Arr Summary source from server 2026-08-25 22:59:31 -07:00
UNRAID-SETUP.md Initial commit: Arr Summary source from server 2026-08-25 22:59:31 -07:00