From fc70a34f3e1ac808874ae6b6c02630c01e3664c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Smoli=C5=84ski?= Date: Thu, 26 Nov 2026 23:27:59 +0100 Subject: [PATCH] 1.17.1 notes: the sending method (PROGRAMISTA 82, the upgrade skill's item number, one stray bold mark) Co-Authored-By: Claude Opus 5.5 --- docs/CHANGELOG.md | 2 +- docs/agent/skills/iapl-upgrade/SKILL.md | 2 +- docs/dev/PROGRAMISTA.md | 1 + reference/.agents/skills/iapl-upgrade/SKILL.md | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 250700e..5d8b4ce 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -53,7 +53,7 @@ once there are more than 20. > loses no mail:** the field shows the method the site sends through today as selected (no SMTP server → IWSN; an > SMTP server → Own SMTP server; `GRAPH_*` → Microsoft Graph), and the site keeps sending that way. **Nothing changes > until somebody picks another option:** saving the page with the method shown stores no choice. A different option -> picked and saved is stored, and from then on the site sends that way only.** If the chosen method cannot +> picked and saved is stored, and from then on the site sends that way only. If the chosen method cannot > be used — "Own SMTP server" without server, user name and password, "Microsoft Graph" on a server without > `GRAPH_*` — e-mails **fail and the panel says so; they are not sent another way** (in 1.17.0 they would have gone > through SMTP or IWSN). The panel warns while the option is being picked, before the save. diff --git a/docs/agent/skills/iapl-upgrade/SKILL.md b/docs/agent/skills/iapl-upgrade/SKILL.md index e1d050a..4ab83b2 100644 --- a/docs/agent/skills/iapl-upgrade/SKILL.md +++ b/docs/agent/skills/iapl-upgrade/SKILL.md @@ -672,7 +672,7 @@ PROGRAMISTA §6, items 73–75; email.md; AGENT.md §7.2) — nothing to run; re **Send test e-mail** names the transport you expect; a form submission arrives. **The service is live at `https://webservices.intecion.net/mail`; while the service runs with enrolment "pending" (from its launch until Intecion switches to open enrolment), every new site waits for approval — keep SMTP until it is approved, or `relay: false`.** -**→ 1.17.1, e-mail (CHANGELOG 1.17.1 point 5; email.md "Which transport a send takes"; AGENT.md §7.2) — nothing to run, one check:** +**→ 1.17.1, e-mail (CHANGELOG 1.17.1 point 5; PROGRAMISTA §6, item 82; email.md "Which transport a send takes"; AGENT.md §7.2) — nothing to run, one check:** 1. **MongoDB: no migration. Postgres / SQLite: `pnpm payload migrate:create`** (the new field `emailMethod` is a column), commit it, apply it when the new container starts — in the same deploy. Without it mail still leaves the old way, but the Site integrations page does not open and the log and `iapl-doctor --deep` (`mail-method`, error) say so. No diff --git a/docs/dev/PROGRAMISTA.md b/docs/dev/PROGRAMISTA.md index 05c63e0..f622a40 100644 --- a/docs/dev/PROGRAMISTA.md +++ b/docs/dev/PROGRAMISTA.md @@ -689,6 +689,7 @@ Do one item at a time, build, check. Order by importance: | 79 | **1.17.1 — security** — the start stops with "`[iapl] … must be …`" naming an option; or `requireRole('…')` throws; or an admin's `where` on `smtpPassword` / `turnstileSecretKey` answers `400 QueryError` | Fix the named value (security.md "Switches are read strictly"); role names are `user`, `editor`, `admin`. The query refusal is the fix (write-only secrets cannot be named in a query). With versions on for Site integrations and a doubt about an admin account: change the SMTP password and the Turnstile key | CHANGELOG 1.17.1 "Read before upgrading" 1–2, `iapl-upgrade` "→ 1.17.1, security" | | 80 | **1.17.1 — the sign-in look** — after the update the login and 2FA screens show a dark panel with the logo or the site's name; an editor cannot change the logo or name; forgot / reset password look as before | Nothing required. `whiteLabel: { signIn: false }` (old screens), `{ brandAccess: 'editor' }`, `{ signIn: { logoPlate: true } }` (a dark logo), `{ signIn: { svgLogo: false } }`; the other screens: `signIn: { allScreens: true }` + `pnpm payload generate:importmap`. No `serverURL` → no logo in the link preview: set it | `iapl-upgrade` "→ 1.17.1, the sign-in look", white-label.md "The sign-in screens" | | 81 | **1.17.1 — proxy matcher** — `iapl-doctor` warns `proxy-matcher`; pages such as `/administracja` or `/apis` get no locale redirect or proxy CSP | `src/proxy.ts`: `matcher: ['/((?!(?:api|admin|_next)(?:/|$)|.*\\..*).*)']` (i18n.md "Next matcher") | `iapl-upgrade` "→ 1.17.1" | +| 82 | **1.17.1 — e-mail: "Sending method" is a choice** — Site integrations → E-mail sending shows "IWSN (built-in)", "Own SMTP server" or "Microsoft Graph (deprecated)" as selected; or, on Postgres / SQLite, the start log says the column for `emailMethod` is missing and the Site integrations page does not open; or mail fails with `smtp-incomplete` / `graph-not-set-up` | MongoDB: nothing. Postgres / SQLite: `pnpm payload migrate:create`, commit, apply at start. Nothing changes until another option is picked and saved; a chosen method that cannot be used fails loudly (no other transport): fill in SMTP, set `GRAPH_*`, or pick another method | `iapl-upgrade` "→ 1.17.1, e-mail", email.md "Which transport a send takes" | After updating the package: `pnpm exec iapl-skills` (new skill versions), `pnpm payload generate:importmap`, `rm -rf .next`, restart dev, grep for the new symbol in `node_modules/@intecion/ipal-kit/dist`. diff --git a/reference/.agents/skills/iapl-upgrade/SKILL.md b/reference/.agents/skills/iapl-upgrade/SKILL.md index e1d050a..4ab83b2 100644 --- a/reference/.agents/skills/iapl-upgrade/SKILL.md +++ b/reference/.agents/skills/iapl-upgrade/SKILL.md @@ -672,7 +672,7 @@ PROGRAMISTA §6, items 73–75; email.md; AGENT.md §7.2) — nothing to run; re **Send test e-mail** names the transport you expect; a form submission arrives. **The service is live at `https://webservices.intecion.net/mail`; while the service runs with enrolment "pending" (from its launch until Intecion switches to open enrolment), every new site waits for approval — keep SMTP until it is approved, or `relay: false`.** -**→ 1.17.1, e-mail (CHANGELOG 1.17.1 point 5; email.md "Which transport a send takes"; AGENT.md §7.2) — nothing to run, one check:** +**→ 1.17.1, e-mail (CHANGELOG 1.17.1 point 5; PROGRAMISTA §6, item 82; email.md "Which transport a send takes"; AGENT.md §7.2) — nothing to run, one check:** 1. **MongoDB: no migration. Postgres / SQLite: `pnpm payload migrate:create`** (the new field `emailMethod` is a column), commit it, apply it when the new container starts — in the same deploy. Without it mail still leaves the old way, but the Site integrations page does not open and the log and `iapl-doctor --deep` (`mail-method`, error) say so. No