1.18.0 (owner's decisions Q3, Q4, Q5): writes that keep others' saves, access answers announced, drafts out of related documents
- Q3: the integration status (emailStatus, turnstileStatus) is written alone through the database adapter (writeGlobalFields, exported): a visitor's form submit no longer puts back an admin's SMTP or Turnstile change saved at the same moment. addToCookieList reads the list again right before writing and works the change out again when an editor's save changed it (up to 5 times). Both races reproduced exactly in test/statusWrites.test.ts, on the three adapters. - Q4: cookieScanner.access and the doctor's access go through accessAllowed: any truthy answer still allows, an answer that is not a boolean is reported once per option; strict (only true) is announced for 1.19.0. - Q5: related documents that are drafts are left out of what the public helpers answer (resolveRoute, getSettings, getArchiveEntries, the 404 page, llms-full; Markdown and MCP through resolveRoute): null alone, removed from a list, value null in a polymorphic one. A preview keeps them; draftRelations: 'keep' keeps the old behaviour. withoutDraftRelations, applyDraftRelations exported. - Docs: content.md, frontend.md, integrations.md, cookie-scanner.md, security.md, AGENT.md; iapl-nav and iapl-doctor skills. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
fc70a34f3e
commit
21ef0fdeb0
@@ -37,6 +37,11 @@ The state block above it reads `GET /api/iapl/mail-relay/status` and acts throug
|
||||
or at most every 10 min while an error lasts; it never throws. The same change already being written (many sends
|
||||
failing at once) is written once; while every transaction place of a Postgres pool is taken
|
||||
([deployment.md](./deployment.md) §4.3a) the write goes on in the background instead of holding the caller.
|
||||
- **The status is written alone (1.18.0).** `updateGlobal` reads the whole document, merges and writes it whole: a
|
||||
status written after a visitor's form submit put back an admin's SMTP or Turnstile change saved in the same
|
||||
moment. The status field is now written through the database adapter on its own (`writeGlobalFields(payload,
|
||||
slug, data)`, exported): no read of the rest, no hooks, no new version (fit for bookkeeping fields only). A global
|
||||
that does not exist yet is created the usual way.
|
||||
- **Changing keys in the admin panel** (Turnstile, the sending method / `smtp*`) clears that integration's old status.
|
||||
- **`emailStatus.code`** of a send through the Intecion mail service is one of the `relay-…` codes (`relay-pending`,
|
||||
`relay-quota`, `relay-unreachable`, …), each with a text in the editor's language — the list and what to do:
|
||||
|
||||
Reference in New Issue
Block a user