IAPL rename, scripted: preferred names in src, bin, scripts, services, tests; bin files and skill folders moved

Replaced by an explicit list of forms only (ten exported names, runtime env names, project file
names and marks, commands, skill names, the log prefix, the brand in prose). Package name, import
paths, routes, CSS tokens, data attributes, custom keys, context flags, the cookie and kv keys are
not touched. package.json keeps the five old bin names beside the five new ones.
The old names stop working in this commit and come back as aliases in the next; docs follow.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-11-25 17:24:21 +01:00
co-authored by Claude Fable 5.2
parent 414a4702df
commit 0a4f001797
262 changed files with 955 additions and 950 deletions
+6 -6
View File
@@ -1,6 +1,6 @@
import type { Payload } from 'payload'
import { ipalT } from '../admin-i18n/t.js'
import { iaplT } from '../admin-i18n/t.js'
import { settingsTexts } from '../admin-i18n/texts/settings.js'
import { secondFactorPassed } from '../security/totp/secondFactor.js'
import { publicImageDataUri, siteOrigin } from './publicImage.js'
@@ -9,7 +9,7 @@ import { publicImageDataUri, siteOrigin } from './publicImage.js'
* White-label admin branding: the Payload admin panel's logo (login + nav) and
* icon, pulled from the project's SiteSettings so each client sees THEIR brand,
* set by the editor in the panel — not hardcoded per project. Wired
* automatically by `ipalKit({ whiteLabel: true })` (it injects
* automatically by `iapl({ whiteLabel: true })` (it injects
* admin.components.graphics.Logo/Icon pointing here).
*
* Server Components — they read the SiteSettings global at render, using the
@@ -85,7 +85,7 @@ async function loadBranding(
}
return { name, url }
} catch (error) {
console.warn('[ipal] admin branding: falling back to Payload default:', error)
console.warn('[iapl] admin branding: falling back to Payload default:', error)
return { name: null, url: null }
}
}
@@ -130,14 +130,14 @@ export async function AdminIcon(props: BrandingProps = {}) {
/**
* Discreet vendor credit: "Technology support: Intecion.com". This is the
* PLUGIN VENDOR's credit (Intecion ships ipal-kit, the framework), not client
* PLUGIN VENDOR's credit (Intecion ships IAPL, the framework), not client
* data — a sensible default here is fine and A0-safe. The client's own brand
* still owns the logo/name; this is a small line stating who supports the tech.
* Text/URL overridable; turn it off with `whiteLabel: { credit: false }`.
* The default text follows the admin language (`ipal:brandingCredit`, which a
* project can also override in `i18n.translations`).
*
* Wired by ipalKit into admin.components.afterNavLinks (nav) AND afterLogin
* Wired by iapl into admin.components.afterNavLinks (nav) AND afterLogin
* (login screen footer). `variant` adjusts placement:
* - 'nav' → left-aligned line under the nav links
* - 'login' → centered line below the login form
@@ -156,7 +156,7 @@ export function IntecionCredit(
// A project's own text wins; otherwise the plugin's text in the admin language.
const text =
props.text ??
(i18n ? ipalT(i18n.t, 'brandingCredit', { agency }) : settingsTexts.en.brandingCredit.replace('{{agency}}', agency))
(i18n ? iaplT(i18n.t, 'brandingCredit', { agency }) : settingsTexts.en.brandingCredit.replace('{{agency}}', agency))
const style =
variant === 'login'
? {