Commit Graph
10805 Commits
Author SHA1 Message Date
Tom Moor cfdb04e3e2 test: Stay under webhook limit in webhookSubscriptions.list test (#14259) 2026-10-22 23:44:31 -04:00
Tom Moor 114036bdbf feat: Warn about low contrast theme colors (#14258)
* feat: Warn about low contrast theme colors

* fix: Show contrast warning as visible text linked to the input

* fix: Align color input swatch and enlarge it on mobile
2026-10-23 02:09:50 +00:00
79989f4660 Fix attribution of Markdown document mentions (#14123)
Co-authored-by: Tom Moor <380914+tommoor@users.noreply.github.com>
Co-authored-by: linear-code[bot] <222613912+linear-code[bot]@users.noreply.github.com>
2026-10-22 21:39:27 -04:00
Misha Sunborn b0b33231e2 fix: Moving a document drops permissions its children inherit from it (#13879)
DocumentMovedProcessor destroys every sourced membership on the moved
document and its descendants, then rebuilds them only from the new
parent's memberships. Memberships granted directly on the moved document
(or on any of its descendants) survive the move, but the sourced
memberships they had created further down the tree were never recreated,
so children silently lost access granted on their ancestor.

Recreate sourced memberships from every direct membership in the moved
subtree after the destroy step, in the same transaction.
2026-10-22 21:38:50 -04:00
Tom Moor 02a6f86a22 fix: Allow virtual-host S3 bucket origin in object-src CSP (#14237) 2026-10-22 21:01:18 -04:00
Tom Moor d142bf1f44 feat: Increase small text sizes on mobile (#14255) 2026-10-22 20:51:54 -04:00
Tom Moor cfa9e09f17 feat: Add MCP tool to show what changed in a document (#14192)
* feat: Add get_document_changes MCP tool to diff document history

* fix: Bound document changes to the loaded snapshot and diff raw markdown

* perf: Replace structuredPatch with an integer ID line diff (#14246)

* fix: Update get_document_changes for MCP SDK v2
2026-10-22 20:43:57 -04:00
Tom Moor 4e807ca6fc perf: Copy only the patched path when recreating transforms (#14250)
* perf: Copy only the patched path when recreating transforms

recreateTransform deep copied the whole document for each patch
operation, and diffArrays compared elements with a generic isEqual. Copy
only the containers on the operation path and compare with a JSON-only
equality check. Revision changesets are about 6x faster.

* Use fast-deep-equal in place of a custom JSON equality check

* Restore isJSONEqual, fast-deep-equal throws on null-prototype attrs
2026-10-22 20:33:22 -04:00
Tom Moor fb7b09ad6c fix: Close MCP subscriptions/listen streams at once (#14254)
The tool and resource lists never change during a request, so do not
advertise listChanged. This stops 2026-07-28 clients from holding open
SSE streams that the router interrupts.
2026-10-23 00:05:44 +00:00
Tom Moor b520be0a9e fix: Keep the document header visible while typing on mobile (#14253) 2026-10-22 20:02:49 -04:00
Tom Moor d2ad848cfb perf: Batch comment view lookups and memoize email diff clipping (#14251)
Load the views of all comment notification recipients in one query
instead of one query for each recipient, and check each element for diff
classes with one combined selector, once.
2026-10-22 19:52:51 -04:00
Tom Moor 86e274fe84 fix: Use text color for mobile header primary button in dark theme (#14252) 2026-10-22 23:49:59 +00:00
Tom Moor 5752b4983d perf: Load attachments in one query when signing urls in text (#14247) 2026-10-22 19:19:09 -04:00
Tom Moor d98d8bdb1f chore: Upgrade MCP SDK to v2 for 2026-07-28 protocol support (#14244)
* chore: Upgrade MCP SDK to v2 for 2026-07-28 protocol support

* test: Assert JSON replies for 2026-07-28 requests
2026-10-22 19:13:56 -04:00
Tom Moor 0995a8e36b perf: Reduce traversals and skip unneeded work in ProsemirrorHelper (#14243)
* perf: Reduce traversals and skip unneeded work in ProsemirrorHelper

* fix: Coerce leaf text to a string when checking for text
2026-10-22 18:33:16 -04:00
Tom Moor a471da36f2 feat: Name desktop app passkeys by platform with matching icon (#14242)
* feat: Name desktop app passkeys by platform with matching icon

* fix: Only apply desktop passkey name to platform authenticators
2026-10-22 18:31:55 -04:00
Tom Moor ac1c6af8fc fix: Use X-Forwarded-Host for traced request URLs (#14210)
* fix: Use X-Forwarded-Host for traced request URLs

* fix: Validate forwarded host with a URL parser
2026-10-22 18:31:45 -04:00
Tom Moor 4a3cd40a4b chore: Do not fail CI when RelativeCI upload fails (#14245) 2026-10-22 22:31:25 +00:00
Tom Moor 959ff23a31 fix: Complete in-app passkey login without opening the browser (#14241)
The desktop app opens navigations to /auth/ paths in the system browser,
so the native form submit after a successful in-app passkey ceremony left
the app. Submit with fetch instead and navigate to the final redirect.
2026-10-22 18:31:00 -04:00
Tom Moor 4677a71bd8 fix: Stop iOS blurring the mobile header in the installed web app (#14238)
* fix: Solid mobile header in installed web app so iOS does not blur it

* fix: Start the standalone header fade opaque at the header edge
2026-10-22 18:20:55 -04:00
Tom Moor 3813d6c436 fix: Use drawer colors for mobile sidebar (#14240) 2026-10-22 18:18:59 -04:00
Tom Moor 18cd750d75 chore: Consistent team checks in policies (#14235) 2026-10-22 08:10:46 -04:00
Tom Moor d102e4223e fix: Check each available team against session cookie for isSignedIn (#14236) 2026-10-22 08:10:24 -04:00
Tom Moor 7f1512b499 chore: Consolidate comment and restore checks into policies (#14234) 2026-10-22 08:02:44 -04:00
Tom Moor 0454badbf6 fix: Scope linked account settings in integration presenter to the owner (#14233) 2026-10-22 08:02:23 -04:00
Tom Moor 2ec2e2025e chore: Scope mention label lookup in emails to the team (#14229) 2026-10-22 07:56:59 -04:00
Tom Moor a5b8c9102c chore: Consistent email visibility checks in user search (#14227) 2026-10-22 07:56:46 -04:00
Tom Moor 0799a98f45 chore: Update Node.js to 26.12.1 (#14228) 2026-10-22 07:56:02 -04:00
Tom Moor 1bd0ea8819 fix: Consistent template validation in documents.update (#14230) 2026-10-22 07:55:43 -04:00
Tom Moor e64b02388a fix: Consistent collection policy checks in MCP fetch (#14231) 2026-10-22 07:55:35 -04:00
Tom Moor 8bbd371db6 fix: Consistent order of checks in accessRequests.approve (#14232) 2026-10-22 07:55:30 -04:00
Tom Moor 0720b83f9f fix: Scope public share loading to the request team (#14223) 2026-10-22 07:47:46 -04:00
Tom Moor 60095ed58a fix: Stricter document name handling in collaboration server (#14225)
* fix: Require canonical document names in collaboration connections

* Add null check before reading document id
2026-10-22 07:46:40 -04:00
Tom Moor 96dd059727 chore: Consistent websocket rooms for group events (#14226) 2026-10-22 07:46:14 -04:00
Tom Moor 4402975f57 fix: Check permissions earlier in documents.restore (#14224) 2026-10-22 07:43:28 -04:00
Tom Moor cf578accf9 chore: Consistent policy checks in integration callbacks (#14221) 2026-10-22 07:27:12 -04:00
Tom Moor 45bf9e290c chore: Pass yarn audit when the audit service is unreachable (#14219) 2026-10-22 03:47:52 +00:00
Tom Moor 3e5de4b1f5 chore: Upgrade refractor from 3 to 5 (#14195)
* chore: Upgrade refractor from 3 to 5

* Revert unrelated tsconfig formatting
2026-10-21 22:56:53 -04:00
Tom Moor e5284d610d chore: Replace stoppable with native server connection closing (#14205)
* chore: Replace stoppable with native server connection closing

* fix: Keep pipelined sockets open until all responses finish
2026-10-21 22:50:25 -04:00
Tom Moor 8f628333a9 chore: Replace react-waypoint with an IntersectionObserver hook (#14209) 2026-10-21 22:35:21 -04:00
Tom Moor df48cce1d3 chore: Remove es6-error dependency (#14217) 2026-10-21 22:26:18 -04:00
Tom Moor bdfd7436e2 chore: Upgrade react-window to 2 (#14196) 2026-10-21 22:18:59 -04:00
Tom Moor 9e602f8e18 fix: Scroll settings tables horizontally on narrow screens (#14216)
* fix: Scroll settings tables horizontally on narrow screens

* fix: Header focus scroll, RTL direction, and template title truncation
2026-10-21 22:18:44 -04:00
Tom Moor c59e0f59b3 chore: Replace react-dnd with dnd-kit for sidebar (#14213)
* chore: Replace react-dnd with dnd-kit for sidebar drag and drop

* fix: Do not start sidebar drags from touch pointers
2026-10-21 21:51:21 -04:00
Tom MoorandClaude Opus 5.5 4f9cbe33b1 fix: Respect Modal height prop (#14215)
* fix: Respect Modal height prop

The height prop was overridden by a fixed max-height on the inner container. Taller modals are now also moved up so that they stay within the viewport.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix: Limit Modal height to the viewport

A height larger than the viewport moved the header above the screen. The height is now capped at 90vh.

---------

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 21:49:14 -04:00
Tom Moor 2679093af3 chore: Vendorize throng as ClusterManager (#14198)
* chore: Vendorize throng as ClusterManager

* fix: Force kill workers after grace period, skip fork if shutting down

* fix: Give workers their full shutdown timeout before the primary exits

* chore: Use a named export for ShutdownHelper
2026-10-21 18:20:03 -04:00
Tom Moor a557ce824b feat: Alt-click disclosure in document explorer expands all descendants (#14200) 2026-10-21 18:19:24 -04:00
Tom Moor 8040ce19a3 chore: Replace addressparser with nodemailer/lib/addressparser (#14202) 2026-10-21 18:19:21 -04:00
Tom Moor 0c18da52be chore: Remove postinstall-postinstall (#14201) 2026-10-21 18:19:15 -04:00
Tom Moor f92be38e7b chore: Replace deprecated @octokit/webhooks-types with @octokit/openapi-webhooks-types (#14203) 2026-10-21 18:19:10 -04:00