M1: docs, agent guide, skills and changelog for the hardening items
security.md (stored secrets, own-origin 2FA attempts, stored verify count, dashboard alerts by role), access.md (account rules: panel role, no self-registration, passwords), turnstile.md (the deprecated env secret, forms.turnstileOnConfigError), doctor.md (five new rules, the deep status), AGENT.md, ipal-setup, ipal-upgrade, ipal-debug, ipal-reference (+ api.md), ipal-doctor and their mirrors, PROGRAMISTA row 69, CHANGELOG under an unreleased heading with "Requires project changes". Co-Authored-By: Claude Fable 5.2 <[email protected]>
This commit is contained in:
co-authored by
Claude Fable 5.2
parent
f7296edc71
commit
83356ab4ed
+1
-1
@@ -227,7 +227,7 @@ the File field shows "The file … was refused: …", nothing is stored or sent.
|
||||
| `notice` | built-in text | the "not checked for viruses" line in the e-mail: `false` = none, a string or `(locale) => string` = your own |
|
||||
| `maxConcurrent` | `2` | file submissions handled at once per instance (each holds its files in memory); more get the "too many attempts" message; `0` = no guard |
|
||||
| `path` | `'/ipal/forms/submit'` | endpoint path under the API route |
|
||||
| `submit` | `{}` | the endpoint's gates, same meaning as in `createSubmitAction`: `maxPerMinute`, `clientIp`, `honeypotField`, `turnstileHostnames`, `turnstileOnConfigError`; `allowedOrigins` (other origins allowed to post, e.g. a front end on another domain); `idleTimeoutMs` (default `30000`: no byte of the upload for this long → the request is given up, `0` = off) and `timeoutMs` (default `300000`: ceiling for the whole request, `0` = off) |
|
||||
| `submit` | `{}` | the endpoint's gates, same meaning as in `createSubmitAction`: `maxPerMinute`, `clientIp`, `honeypotField`, `turnstileHostnames`, `turnstileOnConfigError`; `allowedOrigins` (other origins allowed to post, e.g. a front end on another domain); `idleTimeoutMs` (default `30000`: no byte of the upload for this long → the request is given up, `0` = off) and `timeoutMs` (default `300000`: ceiling for the whole request, `0` = off) **While Turnstile cannot check (wrong or missing secret, Cloudflare down) this endpoint refuses the submission by default** — `forms.turnstileOnConfigError: { files: 'allow' }` or `submit.turnstileOnConfigError: 'allow'` changes it (turnstile.md) |
|
||||
|
||||
Built-in types (`FORM_FILE_TYPES`): PDF, DOC, DOCX, ODT, RTF, XLS, XLSX, JPG, PNG, WebP. A new field has PDF, DOC and
|
||||
DOCX ticked.
|
||||
|
||||
Reference in New Issue
Block a user