Bundles feature WIP + fix request-access products cap (20 -> 200)

- app/main.py: raise products_raw[:20] cap to [:200] in /api/request-access
  and /api/request-more-access - was silently truncating access requests
  with more than 20 selected products
- accumulated bundles/product-page WIP (config, models, runtime, templates)

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-29 13:58:09 +00:00
parent f5c53f01bf
commit 40de4d5a0f
12 changed files with 2407 additions and 457 deletions
+2 -2
View File
@@ -180,8 +180,8 @@ cat > /opt/portal/index.html <<HTML
const enableHeartbeat = "${ENABLE_HEARTBEAT}" === "1";
const sid = new URLSearchParams(location.search).get('sid');
const TOUCH_PATH = sid ? `/api/sessions/${sid}/touch` : '${TOUCH_PATH}';
const CLOSE_PATH = sid ? `/api/sessions/${sid}/close` : TOUCH_PATH.replace(/\/touch$/, '/close');
const TOUCH_PATH = sid ? \`/api/sessions/\${sid}/touch\` : '${TOUCH_PATH}';
const CLOSE_PATH = sid ? \`/api/sessions/\${sid}/close\` : TOUCH_PATH.replace(/\/touch$/, '/close');
const SESSION_CLOSED_URL = '/?session_closed=idle';
function goSessionClosed(reason) {