make_post_sell/make_post_sell
russell@unturf.com 2659ebdcbe
MPS-22: kill-switch feature flags for karaoke + torrent
Karaoke (MPS-18) and torrent (MPS-19) are broken in production. Adding
two global feature flags off by default so neither feature surfaces in
UI or accepts route traffic until they're fixed.

Pattern mirrors app.features.popout_player.enabled — reified request
properties (request.karaoke_enabled, request.torrent_enabled) read from
ini settings. Templates wrap UI in {% if %}, views return HTTPNotFound
on form sections + routes, view contexts blank out feature-specific
keys when flag off so SPA navigation does not try to render them.

test.ini sets both flags True so existing feature tests keep working.
TestKillSwitches builds a fresh app with both False and verifies the
off path: form_section POSTs return 404, settings page omits sections,
karaoke route 404s, landing page omits karaoke marketing copy.

GET /s/{shop_id}/torrent-backfill-status is shadowed by an earlier
shop_slug catch-all route in production — pre-existing routing defect
that MPS-19 needs to fix when it lands.
2026-05-09 16:51:24 -04:00
..
lib feat: deploy + reforge bust client ring cache (HTML + localStorage) 2026-04-21 18:58:30 -04:00
models feat: validate_discovery_ring health check + mod-only diagnostic endpoint 2026-04-21 18:30:31 -04:00
scripts fix(cart): enforce Stripe $0.50 minimum; add public sales stats 2026-04-10 14:37:07 -04:00
static fix: consistent section order across mobile, desktop, and cinema modes 2026-04-23 17:37:45 -04:00
templates MPS-22: kill-switch feature flags for karaoke + torrent 2026-05-09 16:51:24 -04:00
tests MPS-22: kill-switch feature flags for karaoke + torrent 2026-05-09 16:51:24 -04:00
views MPS-22: kill-switch feature flags for karaoke + torrent 2026-05-09 16:51:24 -04:00
__init__.py Add Monero (XMR) payment support 2025-09-22 01:45:54 +00:00
config_jinja2.py Time to open the sauce : ) 2021-12-31 21:39:40 -05:00
GIT_HASH bump GIT_HASH to 7d7d4a3 2026-04-16 19:26:00 -04:00
request_methods.py MPS-22: kill-switch feature flags for karaoke + torrent 2026-05-09 16:51:24 -04:00
routes.py feat: validate_discovery_ring health check + mod-only diagnostic endpoint 2026-04-21 18:30:31 -04:00