homepage: app-card art, zealot-first order, common uncensored warning, admin identity gate
- Every app card carries hex-clipped art: 19 amber-tinted brand marks from the Simple Icons CDN plus 19 improvised monogram SVGs, wired via a per-service "art" field; homepage_config.bats pins art presence for all 32 apps. - Model cards render zealot -> dragoon -> archon (registry order pinned in the seam). - Dragoon and zealot share one common uncensored legal warning (adult content, harmful/hateful/illegal descriptions, sensitive offensive cybersecurity topics, severe legal risk, "don't ruin this server for everybody"), hover label on card and docs. - Archon gets a bordered red permission callout: ask Frank before use. - SearXNG obfuscation-not-anonymity note moved to a card-level hover warning (.svc-warn) and a docs hover note. - Gitea: self-service signup flow; no need to ask Frank. - Footer docs/admin/account-settings become glowing bordered buttons; the admin button is shown only to homepage-admins members via a new Caddy /whoami endpoint echoing the outpost-injected X-Authentik-* headers (spoof-proof; the /admin* 403 stays the real gate). e2e pins both sides. - Docs naming swept: Protoss names primary, bracketed api ids, explicit note that a future switchover renames the ids themselves.
This commit is contained in:
1 parent
3c5d77d1fa
commit
c1e192df00
44 files changed
+338
-102
No files matched your search
@@ -4,6 +4,10 @@ import { expect, test } from "@playwright/test";
|
||||
// allow-leg: the same path returns 403 for the standard user (10-homepage).
|
||||
|
||||
test("admin panel renders admin-category services", async ({ page }) => {
|
||||
// Identity gate (admin side): a homepage-admins member sees the admin
|
||||
// button on the user homepage (the standard user does not: 10-homepage).
|
||||
await page.goto("/");
|
||||
await expect(page.locator("#admin-link")).toBeVisible({ timeout: 60_000 });
|
||||
await page.goto("/admin/");
|
||||
await expect(page).toHaveTitle(/frank — admin/, { timeout: 60_000 });
|
||||
|
||||
|
||||
Reference in new issue
Block a user