Mail relay: development hosts are known by pattern, with no env - built in: *.dev.netscale.pl
The launch rule called a site non-public only when IAPL_NOINDEX was set (or the project named its hosts).
The owner's development sites set nothing, so production's database copied onto a development address
counted as a launch and would have mailed real people.
- iapl({ developmentHosts }): host patterns of development addresses. Default DEFAULT_DEVELOPMENT_HOSTS =
['*.dev.netscale.pl'], Intecion's own development domain; a project replaces the list or empties it.
mail.relay.developmentHosts overrides it for the mail service.
- a site whose host matches is non-public exactly as with IAPL_NOINDEX=1; either signal is enough
- siteNonPublicSignal, matchDevelopmentHost, isDevelopmentHost, pluginDevelopmentHosts exported
- panel state: nonPublicBy, nonPublicPattern; doctor: mail-non-public (info) names the signal
- every case of the launch table runs with no env on the built-in pattern
- docs, AGENT.md, skills, changelog draft
Co-Authored-By: Claude Fable 5.2 <[email protected]>
This commit is contained in:
co-authored by
Claude Fable 5.2
parent
634908eb57
commit
14abf369da
+13
-1
@@ -133,6 +133,18 @@ export type IaplOptions = {
|
||||
*/
|
||||
dashboardAlerts?: { cookies?: 'all' | 'editor'; integrations?: 'admin' | 'all' | 'editor' }
|
||||
|
||||
/**
|
||||
* Host patterns of the project's development, preview and staging addresses (`*` = any characters).
|
||||
* Default: `DEFAULT_DEVELOPMENT_HOSTS` — `['*.dev.netscale.pl']`, Intecion's own development domain,
|
||||
* where every site of the team is built before it moves to its real domain. A site whose own host
|
||||
* matches is "non-public" with no environment variable: when its database holds the mail-service
|
||||
* connection of another host (a copy of production's data), it does not mail real people by itself
|
||||
* (docs/email.md "Staging, copies and several hosts"). Replace the list with your own patterns, or
|
||||
* pass `[]` so that no host is a development address. `mail.relay.developmentHosts` overrides it
|
||||
* for the mail service alone.
|
||||
*/
|
||||
developmentHosts?: string[]
|
||||
|
||||
/**
|
||||
* GET /api/ipal/doctor — read-only counts for `iapl-doctor --url` (users without 2FA, cookies
|
||||
* waiting for approval, versions). Answers 404 until IAPL_DOCTOR_TOKEN (≥ 32 characters) is set;
|
||||
@@ -147,7 +159,6 @@ export type IaplOptions = {
|
||||
* onInit work or admin components.
|
||||
*/
|
||||
enabled?: boolean
|
||||
|
||||
/**
|
||||
* Text written in one language fills the same field in every language that is
|
||||
* still empty; a language with its own text is never overwritten. Default on
|
||||
@@ -157,6 +168,7 @@ export type IaplOptions = {
|
||||
* Building blocks: buildFillEmptyLocalesGlobalHook / …CollectionHook.
|
||||
*/
|
||||
fillEmptyLocales?: { 'cookie-review'?: string[]; 'cookie-settings'?: string[] } | boolean
|
||||
|
||||
forms?: FormsOption
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user