IAPL rename: docs, agent guide, skills, reference site and starter on the new names; changelog draft
- 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]>
This commit is contained in:
co-authored by
Claude Fable 5.2
parent
425fac14fb
commit
b91984fbcd
+3
-3
@@ -37,7 +37,7 @@ import { s3Storage } from '@payloadcms/storage-s3'
|
||||
export default buildConfig({
|
||||
// ...
|
||||
plugins: [
|
||||
ipalKit({ /* ... */ }),
|
||||
iapl({ /* ... */ }),
|
||||
buildR2Storage(['media'], { s3Storage }), // collection slugs + the INJECTED adapter
|
||||
],
|
||||
})
|
||||
@@ -69,7 +69,7 @@ always registered — without R2 as disabled (`enabled: false`, local disk). sto
|
||||
adds its `S3ClientUploadHandler` to the import map then, so `pnpm dev` /
|
||||
`generate:importmap` without `R2_*` writes the same `importMap.js` as production. Up to 1.12.1, dev without
|
||||
R2 removed that entry, and the production admin panel (with R2) rendered a **blank page** with no console error.
|
||||
`ipal-audit` reports an import map without the handler.
|
||||
`iapl-audit` reports an import map without the handler.
|
||||
|
||||
This is the "degrade gracefully" pattern — like mailAdapter, which falls back to SMTP when there is no
|
||||
Graph. The project works whether or not R2 is configured.
|
||||
@@ -102,7 +102,7 @@ Requirements and consequences:
|
||||
- **Public read on the upload collection** — the file route checks the collection's `read` access, and Payload's
|
||||
default is "logged-in users only" → anonymous visitors (and next/image) get 403. Add
|
||||
`access: { read: () => true }` to `Media` (and every other public upload collection).
|
||||
- **Env validation** — nothing to change: `ipalEnvRules({ storage: true })` treats `R2_PUBLIC_URL` as optional
|
||||
- **Env validation** — nothing to change: `iaplEnvRules({ storage: true })` treats `R2_PUBLIC_URL` as optional
|
||||
(`storage: { requirePublicUrl: true }` makes it required, for projects that always use a media domain).
|
||||
- next/image treats the URLs as local images; CSP `img-src 'self'` already covers them; `MediaPreconnect` renders
|
||||
nothing (same origin); the plugin's sitemap / JSON-LD helpers make relative image URLs absolute.
|
||||
|
||||
Reference in New Issue
Block a user