* fix: Preserve existing values when optional update fields are omitted
* chore: Rename setDefined to fill
* chore: Use fill in users.update and teamUpdater
* feat: Show a preview of the document in publish notification emails
Moves email snippet and diff generation out of ProsemirrorHelper and
DocumentHelper into server/emails/snippets.
* fix: Address review feedback on publish email preview
- Skip the email when the recipient can no longer read the document
- Keep the preview within budget, counting separators and capping list items
- Make relative links in email previews absolute
- Chain :not() selectors so email CSS inlining does not outline lists
* fix: Respect per-task cron limit across partitions
Adds an optional limit to TaskSchedule that caps the number of items a cron
task processes per run. Partitioned runs split the limit across partitions
instead of giving each partition the full request limit.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* fix: Cap cron partitions at the task limit so every UUID range is processed
---------
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* feat: Add Gitea integration for issue, pull request, and repository previews
* fix: Gitea repository previews and request deadlines
Refresh the token before repository discovery, keep repository previews when
the issue tracker is disabled, and keep the request timeout active while the
response body is read.
* chore: Use the shared fetch timeout for Gitea requests
* chore: Mention Forgejo in Gitea copy and reuse the callback URL helper
* Remove service specific getters in IntegrationsStore
* fix: Index the body of new documents without waiting for the debounce
* fix: Write only derived columns when updating document text
* test: Fix event type in DocumentUpdateTextTask test
* feat: Send share changes over WebSockets
* fix: Include document members in share events and hydrate share policies
* refactor: Move share event query to a Share scope
* chore: Enforce more codebase conventions with lint rules
Add lint rules for request.origin, deferred useLocation reads, # private
members, lodash and date-fns subpath imports, and button types. Fix the
existing violations.
* fix: Only flag useLocation reads in event handlers and useCallback
* test: Use a fixed member name in users.list name query test
* fix: Keep the subject of delayed notification emails unchanged
The "Delayed notification:" prefix broke Gmail threading, which compares
subjects. Show the notice at the top of the email body instead.
* fix: Count plain-text render errors as failed sends
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.
* 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
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.
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.