- docs, AGENT.md, the 16 skills, PROGRAMISTA and README use the preferred names (scripted, same list of forms); past CHANGELOG entries and the proposals in docs/dev are not rewritten - AGENT.md: 'Names: IAPL and ipal-kit' — old name, new name, state in 1.x; what is not renamed; storageNames - iapl-upgrade '→ 1.17.0', PROGRAMISTA §6 item 72, CHANGELOG 1.17.0 (draft): nothing required - env.md, doctor.md (legacy-names, storage-names), stats.md, security.md, project-starter.md, iapl-reference, iapl-setup - skill scripts read ipal-audit-skip and IPAL_IP_HEADER too; audit rule ids stay what they were - reference site: iapl(), iapl-doctor.json, iapl-* skills, storageNames: 'iapl'; INDEX.md regenerated Co-Authored-By: Claude Fable 5.2 <[email protected]>
10 lines
487 B
TypeScript
10 lines
487 B
TypeScript
// src/app/(frontend)/[locale]/actions.ts — ONE server action for every builder form.
|
|
// honeypot → client IP (IAPL_IP_HEADER) → submitForm (rate limit, Turnstile,
|
|
// validation, GDPR consent, storage) → visitor message from Notifications.
|
|
'use server'
|
|
import { headers } from 'next/headers'
|
|
import { createSubmitAction } from '@intecion/ipal-kit/server'
|
|
import { getCachedPayload } from '@/lib/content'
|
|
|
|
export const sendForm = createSubmitAction({ getCachedPayload, headers })
|