diff --git a/.changeset/admin-credential-client-ip.md b/.changeset/admin-credential-client-ip.md deleted file mode 100644 index 86734d8f..00000000 --- a/.changeset/admin-credential-client-ip.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@reelsaw/server": minor ---- - -Security fixes. An admin's API key made without instance administration, or an MCP connector signed in through OAuth, can no longer restore or permanently delete other accounts' deleted projects and clips, or download instance-wide diagnostics in an issue report; those now need the admin's browser session or a key with instance administration, the same rule the admin tools already followed. - -Sign-in and sign-up limits now key on the address of the connection itself, so a client can no longer pick a new address for each attempt by sending `X-Forwarded-For`, and visitors no longer share one limit when the instance is reached directly. `TRUST_PROXY` now defaults to `false`. **If Reelsaw runs behind a reverse proxy, set `TRUST_PROXY=true`** (the app warns once in its log when a request carries a forwarding header while it is off), and optionally `TRUSTED_PROXIES` to the proxy's address or range so only it may name the client. The installers write `TRUST_PROXY=false`, which fits the port they publish. diff --git a/.changeset/form-labels-and-motion.md b/.changeset/form-labels-and-motion.md deleted file mode 100644 index b83b42ab..00000000 --- a/.changeset/form-labels-and-motion.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@reelsaw/server": patch ---- - -Accessibility: the sign-in, reset-password and must-change-password fields are labelled for screen readers and their errors are announced; the new-project upload box is reachable with Tab; the marketing site's looping demo clips and self-advancing feature tabs have a pause button. diff --git a/.changeset/input-and-render-hardening.md b/.changeset/input-and-render-hardening.md deleted file mode 100644 index 89b65ce4..00000000 --- a/.changeset/input-and-render-hardening.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@reelsaw/server": patch ---- - -Harder edges for user input. Caption, hook and text-layer text can no longer break out of its subtitle line (every line break becomes a caption line break), and only a well-formed language tag reaches the subtitle header. A source that is a playlist or reference list (concat, HLS, DASH, SDP) is refused at ingest. `/api/trpc` and `/api/mcp` bodies are capped (413), `transcripts.review` takes at most 10,000 decisions, a malformed `x-filename` gets 400 instead of 500, and the source file is served sandboxed. The disfluency preview holds a requested cut to within 2 s of its flag, refuses windows over 60 s, takes a CPU lease and keeps a byte-bounded cache. diff --git a/.changeset/install-and-runtime-defaults.md b/.changeset/install-and-runtime-defaults.md deleted file mode 100644 index dbe51008..00000000 --- a/.changeset/install-and-runtime-defaults.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@reelsaw/server": minor ---- - -Safer defaults for new installs and the runtime. The installers now write `SIGNUP_MODE=approval` (the first account is still the admin), publish the web port on `127.0.0.1` only (`BIND_ADDRESS`, `REELSAW_BIND` when installing; existing installs keep listening as before), leave `LLM_TRACE` off, and require the generated database password instead of falling back to `reelsaw`. The development compose file publishes MinIO on `127.0.0.1`. Postgres connections get a statement timeout (`DB_STATEMENT_TIMEOUT_SECONDS`, default 300 s) and boot migrations a 10 s lock timeout. Hosted models' answers are capped at `LLM_MAX_OUTPUT_TOKENS` (default 16384) tokens. diff --git a/apps/server/CHANGELOG.md b/apps/server/CHANGELOG.md index b25c03e0..3f61d416 100644 --- a/apps/server/CHANGELOG.md +++ b/apps/server/CHANGELOG.md @@ -1,5 +1,21 @@ # @reelsaw/server +## 0.56.0 + +### Minor Changes + +- [#393](https://github.com/osbytes/reelsaw/pull/393) [`c6b4a8a`](https://github.com/osbytes/reelsaw/commit/c6b4a8af37bff387810a5e6f17d34505ba09cf1e) Thanks [@dillonstreator](https://github.com/dillonstreator)! - Security fixes. An admin's API key made without instance administration, or an MCP connector signed in through OAuth, can no longer restore or permanently delete other accounts' deleted projects and clips, or download instance-wide diagnostics in an issue report; those now need the admin's browser session or a key with instance administration, the same rule the admin tools already followed. + + Sign-in and sign-up limits now key on the address of the connection itself, so a client can no longer pick a new address for each attempt by sending `X-Forwarded-For`, and visitors no longer share one limit when the instance is reached directly. `TRUST_PROXY` now defaults to `false`. **If Reelsaw runs behind a reverse proxy, set `TRUST_PROXY=true`** (the app warns once in its log when a request carries a forwarding header while it is off), and optionally `TRUSTED_PROXIES` to the proxy's address or range so only it may name the client. The installers write `TRUST_PROXY=false`, which fits the port they publish. + +- [#394](https://github.com/osbytes/reelsaw/pull/394) [`d51558a`](https://github.com/osbytes/reelsaw/commit/d51558aeea91ee2e51cd13ab44357422285b56e5) Thanks [@dillonstreator](https://github.com/dillonstreator)! - Safer defaults for new installs and the runtime. The installers now write `SIGNUP_MODE=approval` (the first account is still the admin), publish the web port on `127.0.0.1` only (`BIND_ADDRESS`, `REELSAW_BIND` when installing; existing installs keep listening as before), leave `LLM_TRACE` off, and require the generated database password instead of falling back to `reelsaw`. The development compose file publishes MinIO on `127.0.0.1`. Postgres connections get a statement timeout (`DB_STATEMENT_TIMEOUT_SECONDS`, default 300 s) and boot migrations a 10 s lock timeout. Hosted models' answers are capped at `LLM_MAX_OUTPUT_TOKENS` (default 16384) tokens. + +### Patch Changes + +- [#396](https://github.com/osbytes/reelsaw/pull/396) [`7cd4853`](https://github.com/osbytes/reelsaw/commit/7cd48535c827210e174329b0cb934e7d26de6608) Thanks [@dillonstreator](https://github.com/dillonstreator)! - Accessibility: the sign-in, reset-password and must-change-password fields are labelled for screen readers and their errors are announced; the new-project upload box is reachable with Tab; the marketing site's looping demo clips and self-advancing feature tabs have a pause button. + +- [#395](https://github.com/osbytes/reelsaw/pull/395) [`80a00a8`](https://github.com/osbytes/reelsaw/commit/80a00a89090b620e1d563302168e9d3e9e0b2e35) Thanks [@dillonstreator](https://github.com/dillonstreator)! - Harder edges for user input. Caption, hook and text-layer text can no longer break out of its subtitle line (every line break becomes a caption line break), and only a well-formed language tag reaches the subtitle header. A source that is a playlist or reference list (concat, HLS, DASH, SDP) is refused at ingest. `/api/trpc` and `/api/mcp` bodies are capped (413), `transcripts.review` takes at most 10,000 decisions, a malformed `x-filename` gets 400 instead of 500, and the source file is served sandboxed. The disfluency preview holds a requested cut to within 2 s of its flag, refuses windows over 60 s, takes a CPU lease and keeps a byte-bounded cache. + ## 0.55.1 ### Patch Changes diff --git a/apps/server/package.json b/apps/server/package.json index 53ff7f1e..197b45c7 100644 --- a/apps/server/package.json +++ b/apps/server/package.json @@ -1,6 +1,6 @@ { "name": "@reelsaw/server", - "version": "0.55.1", + "version": "0.56.0", "private": true, "license": "AGPL-3.0-only", "type": "module",