Consent (GDPR)
- Withdrawing consent now deletes GA/Meta/Ads/Clarity/LinkedIn/TikTok/Hotjar
cookies (prefix patterns) on the host AND parent domains — previously only
the locale cookie was removed and _ga & co. stayed. Projects extend the list
via <ConsentProvider cookieMap>, merged with the defaults.
- Cookie Settings → Policy version: raising it asks every visitor again.
- <CookieBanner equalChoice>: Reject styled like Accept (UODO/EDPB), opt-in.
- Opt-in consent log (ipalKit({ consentLog: true }) + logEndpoint): random id,
choices, version, time — no IP/UA; admin-only collection, retention purge.
- Cookie Settings → Cookies + getCookieTable + unstyled <CookieTable> (/rsc).
- Consent cookie gets Secure on HTTPS; consent id stored with the decision.
- ipal-consent-check: cookie-scan.mjs (before/after consent, known-tool
catalog PL/EN, flags non-necessary cookies set before consent) and
import-cookies.ts into the panel (idempotent, keeps editor edits).
Forms
- Server-side type checks per field from the panel definition: email = one
address (blocks "a@x, b@y" recipient injection into {{email}} confirmations
and CR/LF header injection), select/radio only configured options, numbers,
booleans; objects/arrays rejected; control and bidi characters stripped.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Dokumentacja @intecion/ipal-kit
| Kim jesteś | Czytaj |
|---|---|
| Agent AI pracujący w projekcie | AGENT.md — reguły, struktura, budowa sekcji, kontrole przed „gotowe” |
| Agent AI — skille | agent/skills/ — 14 skilli ipal-* dla Antigravity/Claude Code, w tym ipal-site (strona od briefu do raportu) i skrypty kontrolne (kopiowane do projektu: pnpm ipal:skills, AGENT.md §14) |
| Programista | PROGRAMISTA.md — instalacja, nowy projekt, env, wdrożenie, aktualizacja, publikacja pluginu, Gitea |
| Osoba prowadząca agenta AI | vibe.md — tryb autonomiczny (/ipal-site) i gotowe polecenia krok po kroku |
Szczegóły API — jeden plik na moduł:
| Moduł | Plik |
|---|---|
| Role i dostęp do panelu | access.md |
| Widget dostępności (opcjonalny) | accessibility.md |
GA4, GTM, Meta Pixel, Clarity, LinkedIn, TikTok, defer |
analytics.md |
| Bloki, RenderBlocks, enhanceProps | blocks.md |
| Zgoda cookies, baner | consent.md |
| Routing, archiwa, redirecty, Markdown, wyszukiwarka | content.md |
| Email SMTP / Graph | email.md |
| Walidacja env | env.md |
| Formularze, useForm, honeypot | forms.md |
| Hooki | hooks.md |
| i18n, proxy, przełącznik języka | i18n.md |
| Linki / CTA: buildLinkField, buildLinksField, resolveLinkHref, rowLabel | links.md |
| Serwer MCP strony | mcp.md |
| Komunikaty formularzy | notifications.md |
| Strony systemowe, 404, generateStaticParams | pages.md |
| Helpery Payload | payload-helpers.md |
| Rich text | richtext.md |
| Nagłówki, CSP, 2FA | security.md |
| SEO, metadata, sitemap, JSON-LD, llms.txt | seo.md |
| Auto-slug | slug.md |
| Media, R2 | storage.md |
| Turnstile | turnstile.md |
| White-label panelu | white-label.md |
Zasada utrzymania: zmiana API modułu → aktualizacja jego pliku w tym samym commicie. Nowe reguły pracy → AGENT.md. Nowy krok procesu → PROGRAMISTA.md. Nowy etap budowy → vibe.md. Nie dodawaj kolejnych plików ogólnych.