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
+6
-1
@@ -238,6 +238,7 @@ export {
|
||||
MAIL_KIND,
|
||||
MAIL_KINDS,
|
||||
mailKindOf,
|
||||
pluginDevelopmentHosts,
|
||||
RELAY_BASE_URL,
|
||||
RELAY_CONFIRM_PATH,
|
||||
RELAY_CONTRACT_VERSION,
|
||||
@@ -261,6 +262,7 @@ export {
|
||||
sendThroughRelay,
|
||||
setRelayToken,
|
||||
siteIsNonPublic,
|
||||
siteNonPublicSignal,
|
||||
withMailKind,
|
||||
} from './modules/email/relay/index.js'
|
||||
export type {
|
||||
@@ -268,6 +270,7 @@ export type {
|
||||
BuiltRelayMessage,
|
||||
EnrolResult,
|
||||
MailKind,
|
||||
NonPublicSignal,
|
||||
RelayAdapterArgs,
|
||||
RelayAnswer,
|
||||
RelayCall,
|
||||
@@ -428,7 +431,6 @@ export {
|
||||
UPLOAD_SECURITY_HEADERS,
|
||||
withSecurityConfig,
|
||||
} from './modules/security/index.js'
|
||||
|
||||
export type {
|
||||
BuildAdminCspArgs,
|
||||
BuildCspArgs,
|
||||
@@ -440,6 +442,7 @@ export type {
|
||||
TotpUser,
|
||||
WithSecurityConfigOptions,
|
||||
} from './modules/security/index.js'
|
||||
|
||||
export type { BuildSecurityHeadersArgs, SecurityHeader } from './modules/security/index.js'
|
||||
export { findImportMapFile, missingImportMapEntries } from './modules/security/totp/importMapCheck.js'
|
||||
export { changedViewKeys, copyViews, SAFE_TOTP_VIEW, safeAdminBack, totpViewImportKey, wrapTotpViews } from './modules/security/totp/safeBack.js'
|
||||
@@ -515,6 +518,8 @@ export { buildSitemapCss, buildSitemapIndexXml, buildSitemapXml, DEFAULT_SITEMAP
|
||||
export type { SitemapRouteOptions, SitemapStyleOptions } from './modules/seo/index.js'
|
||||
export { applyCollectionOverride } from './modules/shared/collectionOverride.js'
|
||||
export type { CollectionOverride } from './modules/shared/collectionOverride.js'
|
||||
// Development addresses by pattern (no env): the built-in list and the matcher behind `developmentHosts`.
|
||||
export { DEFAULT_DEVELOPMENT_HOSTS, isDevelopmentHost, matchDevelopmentHost } from './modules/shared/developmentHosts.js'
|
||||
export { clientIp, setRateLimitStore, setUnknownIpFactor, UNKNOWN_IP_FACTOR } from './modules/shared/rateLimit.js'
|
||||
export type { ClientIpOptions, RateLimitStore } from './modules/shared/rateLimit.js'
|
||||
export { buildSlugField, toSlug } from './modules/slug/index.js'
|
||||
|
||||
Reference in New Issue
Block a user