Commit Graph
11268 Commits
Author SHA1 Message Date
dependabot[bot] 797e174fff chore(deps): bump i18next-http-backend from 4.0.10 to 4.1.1 (#14833)
Bumps [i18next-http-backend](https://github.com/i18next/i18next-http-backend) from 4.0.10 to 4.1.1.
- [Changelog](https://github.com/i18next/i18next-http-backend/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/i18next-http-backend/compare/v4.0.10...v4.1.1)

---
updated-dependencies:
- dependency-name: i18next-http-backend
  dependency-version: 4.1.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-12-01 01:08:30 +00:00
dependabot[bot] 43dba66a41 chore(deps-dev): bump @types/validator from 13.15.10 to 13.15.11 (#14832)
Bumps [@types/validator](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/validator) from 13.15.10 to 13.15.11.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/validator)

---
updated-dependencies:
- dependency-name: "@types/validator"
  dependency-version: 13.15.11
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-12-01 01:05:46 +00:00
dependabot[bot] 6662226b00 chore(deps): bump semver from 7.8.5 to 7.8.6 (#14831)
Bumps [semver](https://github.com/npm/node-semver) from 7.8.5 to 7.8.6.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.8.5...v7.8.6)

---
updated-dependencies:
- dependency-name: semver
  dependency-version: 7.8.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-12-01 01:05:37 +00:00
dependabot[bot] f0c67fc264 chore(deps-dev): bump oxlint from 1.94.0 to 1.95.0 (#14828)
Bumps [oxlint](https://github.com/oxc-project/oxc/tree/HEAD/npm/oxlint) from 1.94.0 to 1.95.0.
- [Release notes](https://github.com/oxc-project/oxc/releases)
- [Changelog](https://github.com/oxc-project/oxc/blob/main/npm/oxlint/CHANGELOG.md)
- [Commits](https://github.com/oxc-project/oxc/commits/oxlint_v1.95.0/npm/oxlint)

---
updated-dependencies:
- dependency-name: oxlint
  dependency-version: 1.95.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-12-01 01:03:03 +00:00
dependabot[bot] a2b856d620 chore(deps): bump sanitize-filename from 1.6.4 to 1.6.5 (#14827)
Bumps [sanitize-filename](https://github.com/parshap/node-sanitize-filename) from 1.6.4 to 1.6.5.
- [Commits](https://github.com/parshap/node-sanitize-filename/compare/v1.6.4...v1.6.5)

---
updated-dependencies:
- dependency-name: sanitize-filename
  dependency-version: 1.6.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-12-01 01:02:24 +00:00
dependabot[bot] b96edb49d8 chore(deps): bump rate-limiter-flexible from 11.4.1 to 11.5.0 (#14825)
Bumps [rate-limiter-flexible](https://github.com/animir/node-rate-limiter-flexible) from 11.4.1 to 11.5.0.
- [Release notes](https://github.com/animir/node-rate-limiter-flexible/releases)
- [Commits](https://github.com/animir/node-rate-limiter-flexible/compare/v11.4.1...v11.5.0)

---
updated-dependencies:
- dependency-name: rate-limiter-flexible
  dependency-version: 11.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-12-01 01:01:22 +00:00
dependabot[bot] 51a93cd31f chore(deps): bump the aws group with 5 updates (#14824)
Bumps the aws group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [@aws-sdk/client-s3](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-s3) | `3.1172.0` | `3.1176.0` |
| [@aws-sdk/lib-storage](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/lib/lib-storage) | `3.1172.0` | `3.1176.0` |
| [@aws-sdk/s3-presigned-post](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/packages/s3-presigned-post) | `3.1172.0` | `3.1176.0` |
| [@aws-sdk/s3-request-presigner](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/packages/s3-request-presigner) | `3.1172.0` | `3.1176.0` |
| [@aws-sdk/signature-v4-crt](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/packages/signature-v4-crt) | `3.1172.0` | `3.1176.0` |


Updates `@aws-sdk/client-s3` from 3.1172.0 to 3.1176.0
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases)
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-s3/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.1176.0/clients/client-s3)

Updates `@aws-sdk/lib-storage` from 3.1172.0 to 3.1176.0
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases)
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/lib/lib-storage/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.1176.0/lib/lib-storage)

Updates `@aws-sdk/s3-presigned-post` from 3.1172.0 to 3.1176.0
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases)
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/packages/s3-presigned-post/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.1176.0/packages/s3-presigned-post)

Updates `@aws-sdk/s3-request-presigner` from 3.1172.0 to 3.1176.0
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases)
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/packages/s3-request-presigner/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.1176.0/packages/s3-request-presigner)

Updates `@aws-sdk/signature-v4-crt` from 3.1172.0 to 3.1176.0
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases)
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/packages/signature-v4-crt/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.1176.0/packages/signature-v4-crt)

---
updated-dependencies:
- dependency-name: "@aws-sdk/client-s3"
  dependency-version: 3.1176.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: aws
- dependency-name: "@aws-sdk/lib-storage"
  dependency-version: 3.1176.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: aws
- dependency-name: "@aws-sdk/s3-presigned-post"
  dependency-version: 3.1176.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: aws
- dependency-name: "@aws-sdk/s3-request-presigner"
  dependency-version: 3.1176.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: aws
- dependency-name: "@aws-sdk/signature-v4-crt"
  dependency-version: 3.1176.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: aws
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-12-01 01:00:23 +00:00
Tom Moor 23a2d0a468 fix: Wrap S3 upload errors with operation and status (#14821) 2026-11-30 19:55:37 -05:00
Tom Moor eefc3500be fix: Preserve transaction after find-or-create conflict (#14822) 2026-11-30 19:55:11 -05:00
Tom Moor 6ec1761092 fix: Download comment images before locking the document (#14823) 2026-11-30 19:54:56 -05:00
Tom Moor a81ad262f7 chore: Consolidate Radix primitives into the radix-ui package (#14808) 2026-11-30 19:54:42 -05:00
Tom Moor a143e28edd fix: Improve request scrubbing in error reports (#14820) 2026-11-30 18:28:16 -05:00
Tom Moor 654c9c3b1e fix: Keep HTTP errors with "not found" in their message from becoming 404 (#14816)
* fix: Keep HTTP errors with "not found" in their message from becoming 404

* test: Expect 400 for an anchorNodeId that is not in the document
2026-11-30 18:24:56 -05:00
linear-code[bot] 3d607a1f66 docs: Capture prevention lessons from weekly merge review (#14819)
Co-authored-by: linear-code[bot] <222613912+linear-code[bot]@users.noreply.github.com>
2026-11-30 09:13:51 -05:00
Tom Moor 282f0b8fc2 fix: Align batch sub-request error handling with top-level requests (#14814) 2026-11-30 09:04:02 -05:00
Tom Moor a34caf977c fix: Restrict teams.create to app sessions (#14815) 2026-11-30 09:03:58 -05:00
Tom Moor 6c03f9d751 fix: Tighten emoji attachment validation (#14817) 2026-11-30 09:03:55 -05:00
Tom Moor 70a4d8f4a4 fix: pins.info does not find pins created by other users (#14818) 2026-11-30 09:03:48 -05:00
Tom Moor 4b69469b40 fix: Exclude suspended admins from last admin checks (#14813) 2026-11-30 09:03:43 -05:00
Tom Moor 39f1b82919 fix: Collaborative saves inherit request statement timeout (#14812) 2026-11-30 08:25:34 -05:00
Tom Moor 66dc223cf7 fix: Ignore unreachable images dropped into the editor (#14811) 2026-11-30 08:13:37 -05:00
Tom Moor 91d8bb5ebd fix: Log ephemeral cache failures as warnings (#14810) 2026-11-30 08:13:29 -05:00
Tom Moor 5cdefc47fd fix: Crash when deleting a selection that starts in a folded toggle head (#14809) 2026-11-30 08:09:33 -05:00
Tom Moor a434dd66e5 fix: Move redis retry attempt number out of log message (#14807) 2026-11-30 08:04:54 -05:00
Translate-O-Tron be0e2c882c New Crowdin updates (#14802)
* fix: New French translations

* fix: New Spanish translations

* fix: New Catalan translations

* fix: New Czech translations

* fix: New Danish translations

* fix: New German translations

* fix: New Hebrew translations

* fix: New Hungarian translations

* fix: New Italian translations

* fix: New Japanese translations

* fix: New Korean translations

* fix: New Dutch translations

* fix: New Polish translations

* fix: New Portuguese translations

* fix: New Swedish translations

* fix: New Turkish translations

* fix: New Ukrainian translations

* fix: New Chinese Simplified translations

* fix: New Chinese Traditional translations

* fix: New Vietnamese translations

* fix: New Portuguese, Brazilian translations

* fix: New Indonesian translations

* fix: New Persian translations

* fix: New Thai translations

* fix: New English, United Kingdom translations

* fix: New Norwegian Bokmal translations

* fix: New Greek translations
2026-11-30 09:16:34 +00:00
Tom Moor bcf47cf1d4 fix: Prevent last active column wrapping in group members table (#14805) 2026-11-29 18:44:27 -05:00
Tom Moor cca21437f5 Flatten collaborative state of large documents (#14587)
* feat: Flatten collaborative state of large documents

Replace edit history in large collaborative state with fresh state once a
document is idle with no open sessions, and when state is over the maximum
length on save. Each replacement increments a state generation that is part of
the collaboration room name, so old state never merges into the new state.

* fix: Refuse to load state of another generation and lock editor during reset

* Remove excessive tests

* fix: Reset rooms on all instances and check state generation during authentication

* refactor: Schedule state flattening only for changed rooms, from PersistenceExtension

* fix: Refuse API text updates applied to state of an earlier generation
2026-11-29 15:49:34 -05:00
Tom Moor 5ab9fc9aa7 perf: Speed up Markdown serialization (#14801)
* perf: Speed up Markdown serialization

* Inline link bracket escaping into esc

* Cache mark specs with a markSpec method
2026-11-29 10:04:09 -05:00
Tom Moor d3aab08d3d fix: Close open select menus when another opens inside a popover (#14800) 2026-11-28 14:36:22 -05:00
Tom Moor 2392e18f80 fix: Align collection meta icons with stacked text on mobile (#14799) 2026-11-28 12:50:48 -05:00
Tom Moor 227f85c8f6 chore: Remove unused maintainerApprovalRequired column from collections (#14796) 2026-11-28 10:59:00 -05:00
Tom Moor 87c29eaa3c chore: Remove server leftovers from the FileOperation import path (#14797) 2026-11-28 10:58:56 -05:00
Tom Moor 9372771031 chore: Require ref on floating and sticky block toolbars (#14795)
Remove the createRef fallbacks and the unused forwardedRef prop left over from forwardRef.
2026-11-28 10:49:49 -05:00
Tom Moor 888028d076 chore: Remove unused test mocks and typings (#14798) 2026-11-28 10:49:40 -05:00
Tom Moor 00f1ef5063 chore: Remove lint-disable comments for rules that are not enabled (#14794) 2026-11-28 10:48:30 -05:00
Tom Moor f7c41395c4 chore: Remove Google Analytics 3 (Universal Analytics) code (#14792)
Google stopped processing UA data in July 2023, so the UA- path, autotrack plugins and ga() calls did nothing.
2026-11-28 10:45:46 -05:00
Tom Moor 38eb10db51 chore: Remove client feature flag system (#14791) 2026-11-28 10:45:16 -05:00
Tom Moor 2cbd8726fd chore: Merge duplicate file name and settings path helpers (#14793) 2026-11-28 10:45:10 -05:00
Tom Moor 46bdcc1a2d fix: Ignore expected client errors in Sentry when Error is wrapped (#14790)
* fix: Ignore expected client errors in Sentry when Error is wrapped

* fix: Let DOM NotFoundError reach the translation filter
2026-11-28 15:30:17 +00:00
Tom Moor d118448654 chore: Remove "Attempted to reload twice" warning (#14789) 2026-11-28 10:18:20 -05:00
Tom Moor 0779240c6f fix: Stop tabs echoing auth changes back through storage events (#14787)
* fix: Stop tabs echoing auth changes back through storage events

A tab that applied another tab's sign-in or sign-out wrote the result back to
localStorage, which flipped the other tab again. Tabs that serialize the auth
store differently then bounced between / and the app every few milliseconds.

* fix: Keep tracking nested auth fields while skipping storage writes
2026-11-28 10:10:32 -05:00
Tom Moor 0d8201962d fix: Guard scrollbar width hook against a missing documentElement (#14788) 2026-11-28 10:10:27 -05:00
Tom Moor 3d5e9c1da1 fix: Tighten document policy checks for drafts (#14786) 2026-11-28 09:40:57 -05:00
Tom Moor 139f511056 chore: Resolve unmet peer dependency warnings on install (#14785) 2026-11-28 09:17:29 -05:00
Tom Moor eb2749d379 perf: Yield work in batches on presenters (#14784) 2026-11-28 08:50:59 -05:00
Tom Moor 754672e9dc Centralize document access rules for list queries (#14783)
* wip

* Route document list queries through findAllWithCtx

Add findAllWithCtx and countWithCtx on Document and Template, unsafe* methods
for system reads, and a lint rule that bans direct list queries. Remove the
cached membership list, accessibleSql and findByIds in favour of one gate.

* Remove test

* Include drafts when loading starred documents

* Scope the access gate to the user's team, move whereToSql to QueryHelper

* Move collection access to Collection.findAllWithCtx

Collection.accessibleIds keeps the cached id list inside the collection gate, and user.collectionIds() is a shortcut to it. List queries use findAllWithCtx and countWithCtx, system reads use the shared unsafe methods, and the admin listing in collections.list is explicit.

* Check permanentDelete for each document in empty_trash
2026-11-27 15:30:43 -05:00
Tom Moor 3039f0723c feat: Update link editor toolbar layout (#14781)
Move the back button to the start, use the new unlink icon, and show an
Apply button when the URL has changed.
2026-11-27 09:34:24 -05:00
Tom Moor 538549ff2a chore: Dedupe lib0 to remove Node localStorage startup warning (#14782) 2026-11-27 09:33:46 -05:00
Tom Moor 9b18f62fd0 fix: Respect collectionId filter in documents.list backlink requests (#14779) 2026-11-27 09:14:19 -05:00
Tom MoorandClaude Opus 5.5 a09c77a4f7 fix: Equal table spacing and slimmer table controls (#14699)
* fix: Match table vertical margin to other blocks

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016MJXFg6DF8JsJtYLVhTXQH

* fix: Remove doubled table margin and match notice margin to other blocks

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016MJXFg6DF8JsJtYLVhTXQH

* fix: Slimmer table grips that fit within block spacing

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016MJXFg6DF8JsJtYLVhTXQH

* fix: Center table corner grip on row and column grips

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016MJXFg6DF8JsJtYLVhTXQH

* fix: Equal table spacing with column controls over the block above

* fix: Stop table control fade above the table border

* fix: Taller table control fade that covers column borders

* fix: Draw table control fade on the scroll area so it does not cover the add dots

* fix: Only show table control fade while the grips are shown

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-27 08:51:01 -05:00