From 289c612df444ff1e5e341a87f3b0d0a69373faa8 Mon Sep 17 00:00:00 2001 From: Anthony Stirling Date: Mon, 23 Nov 2026 18:26:37 +0000 Subject: [PATCH] Clarify release docs after CodeRabbit review --- docs/MCP/Tools.md | 2 +- docs/Server/Customisation/Branding.md | 2 +- docs/Server/Install/Docker.md | 2 ++ docs/Server/Security/Audit-Logging.md | 2 +- docs/Server/Security/Sign-in-and-Security.md | 2 +- docs/Server/Storage/File-Storage.md | 6 ++++-- docs/Server/Storage/Folder-Scanning.md | 2 +- docs/Server/Upgrading/Settings-Changes.md | 2 +- docs/Tools/Security/Security.md | 2 +- 9 files changed, 13 insertions(+), 9 deletions(-) diff --git a/docs/MCP/Tools.md b/docs/MCP/Tools.md index 708dd629..1b9d3b52 100644 --- a/docs/MCP/Tools.md +++ b/docs/MCP/Tools.md @@ -20,7 +20,7 @@ description: The tools the Stirling PDF MCP server exposes, how to call them and | `stirling_download` | Returns a stored file by `fileId`, as base64, up to the inline limit. | | `stirling_ai` | Runs AI capabilities. Needs AI to be set up. | -Operation IDs are the short endpoint names, such as `compress-pdf`; conversions are `{from}-to-{to}`, such as `pdf-to-word`. Each tool lists the operations it has, and an admin can hide some. Filters and the [Pipeline API](../Developers/Pipeline-API.md) aren't available over MCP. +Operation IDs are the short endpoint names, such as `compress-pdf`; conversions are `{from}-to-{to}`, such as `pdf-to-word`. Conversion operations require Stirling PDF 3.4.0 or later. Each tool lists the operations it has, and an admin can hide some. Filters and the [Pipeline API](../Developers/Pipeline-API.md) aren't available over MCP. ## Calling a tool diff --git a/docs/Server/Customisation/Branding.md b/docs/Server/Customisation/Branding.md index d3b8f03b..2cd14964 100644 --- a/docs/Server/Customisation/Branding.md +++ b/docs/Server/Customisation/Branding.md @@ -70,7 +70,7 @@ Some Stirling logos are built into the app and cannot be replaced. ## Text editor fonts -Put `.ttf` or `.otf` files in `customFiles/static/fonts/` to offer them under **Server fonts** in the PDF text editor. Files over 64 MB and fonts whose licence forbids embedding are skipped. +Put `.ttf` or `.otf` files in `customFiles/static/fonts/` to offer them under **Server fonts** in the PDF text editor. Files over 64 MB and fonts whose embedding flags prohibit use are skipped. Check the font licence before uploading, including when the font has no embedding flags. Clients can download these fonts through the editor font API. With sign-in disabled, anyone who can reach your server can download them. ## Add custom CSS diff --git a/docs/Server/Install/Docker.md b/docs/Server/Install/Docker.md index 0448d778..a04f9380 100644 --- a/docs/Server/Install/Docker.md +++ b/docs/Server/Install/Docker.md @@ -61,6 +61,8 @@ docker run -d \ +Restrict access to port 8080 until you finish setup. The first browser to reach a fresh instance can set the initial admin credentials. + Open `http://localhost:8080` to start the setup wizard (see [First login](../Server.md#first-login)). Restart the container when the wizard asks. ## Choose an image diff --git a/docs/Server/Security/Audit-Logging.md b/docs/Server/Security/Audit-Logging.md index 4f690e05..b9b6b0d9 100644 --- a/docs/Server/Security/Audit-Logging.md +++ b/docs/Server/Security/Audit-Logging.md @@ -61,7 +61,7 @@ Change the settings in **Settings → Server → Sign-in & security → Audit Lo | `2` STANDARD | BASIC plus user actions such as sign-in, sign-out and account changes | | `3` VERBOSE | Everything, including background polling requests | -SCIM changes are recorded as user `scim-provisioning`. With [encryption at rest](../Storage/File-Storage.md#encryption-at-rest) on, every decrypt is recorded unless `storage.encryption.auditReads` is `false`. +SCIM changes are recorded as user `scim-provisioning`. Decrypt events require an Enterprise licence, a nonzero audit level, and [encryption at rest](../Storage/File-Storage.md#encryption-at-rest). Set `storage.encryption.auditReads: false` to turn off logging for successful decrypts. ## Review the log diff --git a/docs/Server/Security/Sign-in-and-Security.md b/docs/Server/Security/Sign-in-and-Security.md index 5b83ba46..1486d42c 100644 --- a/docs/Server/Security/Sign-in-and-Security.md +++ b/docs/Server/Security/Sign-in-and-Security.md @@ -15,7 +15,7 @@ API keys are covered in [REST API](../../Developers/API.md#authentication), and ## First admin account -When the server starts with an empty user database, it creates the account `admin` with password `stirling`, signs it in and opens a setup wizard. The wizard sets the admin's username and password and the main settings, and can't be skipped. Finishing it sets `system.setupCompleted: true`. +When the server starts with an empty user database, it creates the account `admin` with password `stirling`, signs it in and opens a setup wizard. The wizard sets the admin's username and password and the main settings, and can't be skipped. Finishing it sets `system.setupCompleted: true`. If you use the built-in database in Docker, persist `/configs` so users, settings and generated keys survive container replacement. The setup flag records completion only. To choose the first admin yourself, set these before the first start: diff --git a/docs/Server/Storage/File-Storage.md b/docs/Server/Storage/File-Storage.md index e03b6cca..7f05766a 100644 --- a/docs/Server/Storage/File-Storage.md +++ b/docs/Server/Storage/File-Storage.md @@ -164,10 +164,12 @@ Team or Enterprise. Encrypts stored files with AES-256. | Setting | Default | Purpose | |---|---|---| -| `storage.encryption.enabled` | `false` | Encrypt stored files. | +| `storage.encryption.enabled` | `false` | Encrypt new writes. Existing files are encrypted through migration. | | `storage.encryption.auditReads` | `true` | Audit every decrypt. Audit events need Enterprise. | -Back up the master key (`configs/file-encryption.key`, or `STIRLING_FILE_ENCRYPTION_KEY` if you set one). Losing it makes every encrypted file unrecoverable. +Back up the active master key before enabling encryption. The server checks `stirling.security.fileEncryptionKey` first, then `STIRLING_FILE_ENCRYPTION_KEY`, then the generated `configs/file-encryption.key`. Back up the value or file the server actually uses. Losing it makes encrypted files unrecoverable. + +Existing files remain readable in plaintext until migrated. After enabling encryption, use an authenticated admin session to start migration with `POST /api/v1/admin/storage-encryption/migrate` and check progress with `GET /api/v1/admin/storage-encryption/migrate/status`. Run the migration on one node in a cluster. If the server restarts, rerun it to resume. The job skips files that are already encrypted. ## Troubleshooting diff --git a/docs/Server/Storage/Folder-Scanning.md b/docs/Server/Storage/Folder-Scanning.md index 8dc3f0d1..0625b5ca 100644 --- a/docs/Server/Storage/Folder-Scanning.md +++ b/docs/Server/Storage/Folder-Scanning.md @@ -88,7 +88,7 @@ Change the folders in **Settings → Server → System → Custom Paths**, under | `autoPipeline.fileReadiness.sizeCheckDelayMillis` | `500` | Pause between two size checks when detecting a file still being written. | | `autoPipeline.fileReadiness.allowedExtensions` | `[]` | Only process these extensions, without the dot, such as `["pdf", "tiff"]`. Empty accepts all. | -A workflow can have at most 50 steps (`policies.maxSteps`) and stops if one step produces more than 10,000 files (`policies.maxFilesPerStep`). +By default, a workflow can have up to 50 steps and stops if one step produces more than 10,000 files. Administrators can change these limits or set either one to `0` in the [processor settings](../Automation/Processor-Settings.md). :::warning Check the startup log A watched folder that is the same as the finished folder, or inside it, logs a `CRITICAL` processing-loop error. Nested watched folders, or a finished folder inside a watched folder, log warnings. diff --git a/docs/Server/Upgrading/Settings-Changes.md b/docs/Server/Upgrading/Settings-Changes.md index 0eec4732..e6d280f9 100644 --- a/docs/Server/Upgrading/Settings-Changes.md +++ b/docs/Server/Upgrading/Settings-Changes.md @@ -26,7 +26,7 @@ Environment variables still override the file. A variable for a removed setting ## Changed defaults -These only affect a new settings file. An upgraded file keeps your values. +New settings files use these defaults. Upgrades preserve your existing values and add any missing settings with the new defaults. - `security.enableLogin` is now `true`. - `system.showUpdate` and `system.showUpdateOnlyAdmin` are now `true`. diff --git a/docs/Tools/Security/Security.md b/docs/Tools/Security/Security.md index 6c09e505..e6b03ebb 100644 --- a/docs/Tools/Security/Security.md +++ b/docs/Tools/Security/Security.md @@ -43,4 +43,4 @@ When you add a password-protected PDF, enter its password to open it for this se ## Signed PDFs -If your admin turns on **Block changes to signed PDFs**, digitally signed PDFs show **Signed: edits blocked**. You can still view, print, convert and sign them again, but tools that would change them refuse. +If your admin turns on **Block changes to signed PDFs**, digitally signed PDFs show **Signed: edits blocked**. You can still view, print, convert and sign them again, and tools that would change them refuse in the web and desktop apps. See [Sign-in and security](../../Server/Security/Sign-in-and-Security.md) for the scope of this setting, including API calls and pipelines.