Commit Graph
11180 Commits
Author SHA1 Message Date
dependabot[bot] dac0e5fabc chore(deps): bump @css-inline/css-inline-wasm from 0.23.2 to 0.25.0 (#14734)
Bumps [@css-inline/css-inline-wasm](https://github.com/Stranger6667/css-inline) from 0.23.2 to 0.25.0.
- [Release notes](https://github.com/Stranger6667/css-inline/releases)
- [Changelog](https://github.com/Stranger6667/css-inline/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stranger6667/css-inline/compare/javascript-v0.23.2...c-v0.25.0)

---
updated-dependencies:
- dependency-name: "@css-inline/css-inline-wasm"
  dependency-version: 0.25.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-11-26 14:27:26 -05:00
dependabot[bot] b0a7ef9ea9 chore(deps): bump react-avatar-editor from 15.1.0 to 15.2.0 (#14742)
Bumps [react-avatar-editor](https://github.com/mosch/react-avatar-editor/tree/HEAD/packages/lib) from 15.1.0 to 15.2.0.
- [Release notes](https://github.com/mosch/react-avatar-editor/releases)
- [Changelog](https://github.com/mosch/react-avatar-editor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mosch/react-avatar-editor/commits/v15.2.0/packages/lib)

---
updated-dependencies:
- dependency-name: react-avatar-editor
  dependency-version: 15.2.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-11-26 14:26:22 -05:00
dependabot[bot] 782a1c14b7 chore(deps): bump react-window from 2.5.3 to 2.5.4 (#14732)
Bumps [react-window](https://github.com/bvaughn/react-window) from 2.5.3 to 2.5.4.
- [Release notes](https://github.com/bvaughn/react-window/releases)
- [Changelog](https://github.com/bvaughn/react-window/blob/main/CHANGELOG.md)
- [Commits](https://github.com/bvaughn/react-window/compare/2.5.3...2.5.4)

---
updated-dependencies:
- dependency-name: react-window
  dependency-version: 2.5.4
  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-11-26 12:37:52 -05:00
Tom Moor 3767785ef5 fix: Page large document and template text in MCP fetch (#14728)
* fix: Page large document and template text in MCP fetch

* fix: Keep surrogate pairs whole when paging MCP fetch text

* fix: Only include textLength in MCP fetch when text is paged

* fix: Update MCP instructions and skills for paged fetch and template lists
2026-11-26 16:42:37 +00:00
dependabot[bot] fc580583f9 chore(deps): bump mailparser from 3.9.47 to 3.14.5 (#14738)
Bumps [mailparser](https://github.com/nodemailer/mailparser) from 3.9.47 to 3.14.5.
- [Release notes](https://github.com/nodemailer/mailparser/releases)
- [Changelog](https://github.com/nodemailer/mailparser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodemailer/mailparser/compare/v3.9.47...v3.14.5)

---
updated-dependencies:
- dependency-name: mailparser
  dependency-version: 3.14.5
  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-11-26 16:38:43 +00:00
dependabot[bot] dbfe4f93de chore(deps): bump email-providers from 2.27.0 to 2.28.0 (#14740)
Bumps [email-providers](https://github.com/derhuerst/email-providers) from 2.27.0 to 2.28.0.
- [Commits](https://github.com/derhuerst/email-providers/commits)

---
updated-dependencies:
- dependency-name: email-providers
  dependency-version: 2.28.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-11-26 16:38:38 +00:00
dependabot[bot] c0a991c98a chore(deps): bump @tanstack/react-virtual from 3.14.26 to 3.14.28 (#14739)
Bumps [@tanstack/react-virtual](https://github.com/TanStack/virtual/tree/HEAD/packages/react-virtual) from 3.14.26 to 3.14.28.
- [Release notes](https://github.com/TanStack/virtual/releases)
- [Changelog](https://github.com/TanStack/virtual/blob/main/packages/react-virtual/CHANGELOG.md)
- [Commits](https://github.com/TanStack/virtual/commits/@tanstack/react-virtual@3.14.28/packages/react-virtual)

---
updated-dependencies:
- dependency-name: "@tanstack/react-virtual"
  dependency-version: 3.14.28
  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-11-26 16:35:42 +00:00
dependabot[bot] 371254c0c4 chore(deps): bump @firecrawl/pdf-inspector from 1.25.2 to 1.26.1 (#14737)
Bumps [@firecrawl/pdf-inspector](https://github.com/firecrawl/pdf-inspector) from 1.25.2 to 1.26.1.
- [Release notes](https://github.com/firecrawl/pdf-inspector/releases)
- [Changelog](https://github.com/firecrawl/pdf-inspector/blob/main/CHANGELOG.md)
- [Commits](https://github.com/firecrawl/pdf-inspector/compare/v1.25.2...v1.26.1)

---
updated-dependencies:
- dependency-name: "@firecrawl/pdf-inspector"
  dependency-version: 1.26.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-11-26 16:33:45 +00:00
dependabot[bot] cd5ec302cb chore(deps): bump lib0 from 0.2.119 to 0.2.120 (#14736)
Bumps [lib0](https://github.com/dmonad/lib0) from 0.2.119 to 0.2.120.
- [Release notes](https://github.com/dmonad/lib0/releases)
- [Commits](https://github.com/dmonad/lib0/compare/v0.2.119...v0.2.120)

---
updated-dependencies:
- dependency-name: lib0
  dependency-version: 0.2.120
  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-11-26 16:33:05 +00:00
dependabot[bot] ce597e2485 chore(deps): bump nodemailer from 10.3.1 to 10.6.0 (#14735)
Bumps [nodemailer](https://github.com/nodemailer/nodemailer) from 10.3.1 to 10.6.0.
- [Release notes](https://github.com/nodemailer/nodemailer/releases)
- [Changelog](https://github.com/nodemailer/nodemailer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodemailer/nodemailer/compare/v10.3.1...v10.6.0)

---
updated-dependencies:
- dependency-name: nodemailer
  dependency-version: 10.6.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-11-26 16:31:42 +00:00
dependabot[bot] 670a5a3d87 chore(deps): bump query-string from 9.5.0 to 9.5.1 (#14730)
Bumps [query-string](https://github.com/sindresorhus/query-string) from 9.5.0 to 9.5.1.
- [Release notes](https://github.com/sindresorhus/query-string/releases)
- [Commits](https://github.com/sindresorhus/query-string/compare/v9.5.0...v9.5.1)

---
updated-dependencies:
- dependency-name: query-string
  dependency-version: 9.5.1
  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-11-26 16:30:03 +00:00
dependabot[bot] 934506bca2 chore(deps-dev): bump oxlint from 1.93.0 to 1.94.0 (#14731)
Bumps [oxlint](https://github.com/oxc-project/oxc/tree/HEAD/npm/oxlint) from 1.93.0 to 1.94.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.94.0/npm/oxlint)

---
updated-dependencies:
- dependency-name: oxlint
  dependency-version: 1.94.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-11-26 16:29:59 +00:00
dependabot[bot] 83cc0a07dd chore(deps): bump the aws group with 6 updates (#14729)
Bumps the aws group with 6 updates:

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


Updates `@aws-sdk/client-s3` from 3.1167.0 to 3.1172.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.1172.0/clients/client-s3)

Updates `@aws-sdk/cloudfront-signer` from 3.1166.0 to 3.1172.0
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases)
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/packages/cloudfront-signer/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.1172.0/packages/cloudfront-signer)

Updates `@aws-sdk/lib-storage` from 3.1167.0 to 3.1172.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.1172.0/lib/lib-storage)

Updates `@aws-sdk/s3-presigned-post` from 3.1167.0 to 3.1172.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.1172.0/packages/s3-presigned-post)

Updates `@aws-sdk/s3-request-presigner` from 3.1167.0 to 3.1172.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.1172.0/packages/s3-request-presigner)

Updates `@aws-sdk/signature-v4-crt` from 3.1167.0 to 3.1172.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.1172.0/packages/signature-v4-crt)

---
updated-dependencies:
- dependency-name: "@aws-sdk/client-s3"
  dependency-version: 3.1172.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: aws
- dependency-name: "@aws-sdk/cloudfront-signer"
  dependency-version: 3.1172.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: aws
- dependency-name: "@aws-sdk/lib-storage"
  dependency-version: 3.1172.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: aws
- dependency-name: "@aws-sdk/s3-presigned-post"
  dependency-version: 3.1172.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: aws
- dependency-name: "@aws-sdk/s3-request-presigner"
  dependency-version: 3.1172.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: aws
- dependency-name: "@aws-sdk/signature-v4-crt"
  dependency-version: 3.1172.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-11-26 16:28:20 +00:00
Tom Moor 04e5efc51a fix: Passkey sign-in fails in Safari with security keys (#14727)
* fix: Accept form-encoded boolean extension results in passkey authentication

* fix: Make passkey boolean string validation case-sensitive
2026-11-26 09:52:05 -05:00
Tom Moor 578bf73e6b Prevent adding users as guests when their email matches a workspace domain (#14726)
* Prevent adding users as guests when their email matches a workspace domain

* Address review: skip existing users, use transaction, invite team domain emails as members from share popovers
2026-11-26 09:48:40 -05:00
Tom Moor c7cf99aabc feat: Clamp narrow table column cells to 3 lines (#14724)
* feat: Clamp narrow table column cells to 3 lines

* fix: Skip clamp in print and static HTML, sum merged column widths
2026-11-26 09:17:32 -05:00
Tom Moor e5cdb22cc9 fix: Restored revisions via API are overwritten on next edit (#14714)
* fix: Restore collaborative state when restoring a revision via the API

* fix: Normalize restored content and do not fail on collaboration notify errors

* fix: Read state under a row lock when restoring a revision
2026-11-25 21:55:59 -05:00
Tom Moor 16ec1acdf0 Rename "Shared links" to "Public links" in settings (#14723) 2026-11-25 21:05:28 -05:00
Tom Moor bb25530e7d feat: Show frequently used emojis in editor emoji menu (#14722)
* feat: Show frequently used emojis in editor emoji menu when no search query

* fix: Interleave custom emojis and insert default skin tone in recent emojis
2026-11-26 01:52:23 +00:00
Tom Moor c7434dcc26 fix: Delete attachments shared only by documents in the same purge batch (#14712)
* fix: Delete attachments referenced only by documents in the same purge batch

* fix: Only consider attachments owned by the document's team when purging
2026-11-25 20:52:05 -05:00
Tom Moor d6e25d246f fix: Recalculate document memberships and notifications after restore (#14721) 2026-11-25 20:51:29 -05:00
Tom Moor e622b016fc fix: Validate provider details when connecting authentication (#14704)
* fix: Validate provider details when connecting authentication

* fix: Limit provider validation to personal Google accounts

* fix: Only validate provider details when connecting a new provider
2026-11-26 01:29:07 +00:00
Tom Moor 4f25f3854e fix: Validate attachment in documents.import (#14711) 2026-11-25 20:20:58 -05:00
Tom Moor bb0f59f562 fix: Resolve text node event targets in editor handlers (#14719)
In Firefox an editor mouse event can target a Text node. Use
getEventTargetElement so handlers no longer throw on closest() or skip
the event.
2026-11-25 20:20:26 -05:00
Tom MoorandClaude 767758a1a8 feat: Document and collection owners (#14437)
* feat: Add document owners

Documents can now have owners, stored as an array of user IDs. Owners
must be active members or admins, and changing them requires the
existing manage users permission on the document, gated behind a new
DocumentOwners plan entitlement that is included in every plan.

- ownerIds accepted by documents.create and documents.update and
  returned by the document presenter
- ownerIds filter field (eq/in) for documents.list and documents.search
- ownerIds on the MCP create_document and update_document tools, and an
  ownerId filter on list_documents
- Owners section in the document Insights dialog to add and remove owners
- Owner filter on the search page
- In-app and email notification when a user is made an owner

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

* feat: Give document owners responsibility for their documents

- Access requests are routed to owners that can manage the document
  before falling back to document, collection and workspace admins
- Owners are subscribed to a document when they are added, respecting
  a previous unsubscribe
- Owners that can edit a document can also manage its access, owners
  and archive it; ownership never grants access on its own
- Owners are shown in the document byline, list items and search
  results, and document hover previews

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

* feat: Manage document owners from the share panel

- Owner is a role in the share panel permission menu and invite picker for
  individual users, adding an owner gives them the manage permission
- Lowering an owner's permission or removing their access removes the
  ownership
- Owners are sorted to the top of the member list
- Owners added through the API or MCP are given the manage permission
- Owners do not also receive the "added to document" notification
- Only added owners are validated, so suspended owners can still be removed
- Deleted users are removed from document owners
- Removes the owners section from Insights

* fix: Address review feedback on document owners

- Authorize owner changes before assigning owners on create
- Lock the document when adding an owner so concurrent invitations are kept
- Enforce the owner limit on every path
- Run MCP document updates in a transaction
- Broadcast owner removals to connected clients

* feat: Add collection owners

- Collections can have owners, who also own every document in the
  collection, shown first in document bylines
- Owner is a role in the collection share panel and invite picker for
  individual users, adding an owner gives them the manage permission
- Lowering an owner's permission or removing their access removes the
  ownership
- ownerIds on collections.create, collections.update and the MCP
  collection tools
- The document owner filter includes documents in owned collections
- Access requests go to document and collection owners together
- Collection owners are subscribed to the collection and notified when
  they are added
- Deleted users are removed from collection owners
- Renames the personal collection policy helper to
  isPersonalCollectionOwner

* feat: Show profile cards on owner names, hide inherited owners in collection lists

* fix: Allow adding yourself as a collection owner, include collection owners in MCP exact match

* fix: Correct singular owner translations

* feat: Allow users to make themselves a document owner

- The share panel suggests the current user when they can manage owners,
  and only offers the Owner permission for them
- documents.add_user accepts the actor's own ID when changing ownership,
  without changing their own access
- An owner's own row offers "Remove as owner", which keeps their access
- Hides the duplicate "You have full access" row when the current user is
  listed as a member

* fix: Restore singular owner translations

* fix: Limit owners to 5, use no key update locks when adding owners

* refactor: Move owner logic into Document and Collection model methods

- addOwner, removeOwner, grantOwnerAccess and setOwnerIds on both models,
  locking the row so concurrent owner changes are kept
- Owner events are created by an update hook from the change in ownerIds
- The manageOwners check runs at the route level when ownerIds is sent
- Removes the documentOwners and collectionOwners command modules
- Removes duplicate owner tests

* fix: Owner selection and membership edge cases

- Remove document owners from the legacy plan
- Selecting yourself in the share picker only suggests other users that can
  be owners, and you are not suggested next to groups or guests
- Users that make themselves an owner through the API get the manage
  permission, so they are listed in the share panel

* perf: Scope the collection owner filter subquery to the team

* chore: Drop redundant teamId UUID check

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-25 19:21:26 -05:00
Tom Moor ef1790e143 fix: Do not escape plain URL link text in Markdown output (#14707)
* fix: Do not escape plain URL link text in Markdown output

* fix: Escape pipes in plain URL links inside table cells

* fix: Escape table pipes in autolinks without a replace call
2026-11-25 19:21:12 -05:00
Tom MoorandClaude c265112bd0 fix: Guard Mermaid mouse handlers against text node event targets (#14717)
In Firefox, a mousedown in the editor can have a Text node as its target.
The Mermaid plugin cast the target to HTMLElement and called closest(),
which threw and stopped ProseMirror from handling the event. Resolve the
target to its element (or parent element) before calling element methods.

Sentry: OUTLINE-CLOUD-DFP


Claude-Session: https://claude.ai/code/session_016MJXFcsyhupagpKC181rqW

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-25 19:20:00 -05:00
Tom Moor 39a0e92223 fix: Align collection checks in list endpoints (#14715)
* fix: Align collection checks in list endpoints

* test: Cover MCP list tools for private collections
2026-11-25 11:52:42 -05:00
dependabot[bot] 8e7b1fac32 chore(deps): bump serialize-javascript from 7.0.5 to 7.1.4 (#14716)
Bumps [serialize-javascript](https://github.com/yahoo/serialize-javascript) from 7.0.5 to 7.1.4.
- [Release notes](https://github.com/yahoo/serialize-javascript/releases)
- [Commits](https://github.com/yahoo/serialize-javascript/compare/v7.0.5...v7.1.4)

---
updated-dependencies:
- dependency-name: serialize-javascript
  dependency-version: 7.1.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-11-25 14:03:49 +00:00
Tom Moor fb3ac50cc0 fix: Improve handling of repeated local file uploads (#14703)
* fix: Preserve stored file when an upload is repeated

* test: Cover repeated upload with undersized declared size
2026-11-25 14:02:55 +00:00
Tom Moor 50f54a9c6d fix: Validate provider access for passkey sessions (#14706) 2026-11-25 09:01:00 -05:00
Tom Moor e74517acfe fix: Restrict session and sign-in management routes to app sessions (#14713) 2026-11-25 09:00:17 -05:00
Tom Moor ca4aed4c15 fix: Apply archive limits when reading import attachments (#14709) 2026-11-25 09:00:05 -05:00
Tom Moor 1c6e26553b fix: Empty trash in batches to bound memory use (#14710) 2026-11-25 08:59:49 -05:00
Tom Moor dbace208dc chore: Remove unused dependencies (#14708) 2026-11-25 08:59:25 -05:00
Tom Moor b680a06b7e fix: Re-check notifications when a user role changes (#14705) 2026-11-25 08:57:17 -05:00
Tom Moor 935088123a fix: Prevent update depth errors when many linked documents load (#14701)
Stabilize the editor refs so they are not detached and attached on every
render, and defer command bar action registration so bursts of store
updates do not each re-register actions.
2026-11-25 07:38:52 -05:00
Tom Moor 476e8043e9 fix: Close open dialogs on logout (#14702) 2026-11-25 07:38:13 -05:00
Tom Moor 7fab397ec6 fix: Respect draft visibility when duplicating nested documents (#14698)
* fix: Respect draft visibility when duplicating nested documents

* fix: Use flattened Context fields after merging main
2026-11-24 20:04:35 -05:00
Translate-O-Tron bfddda3002 fix: New Ukrainian translations (#14689) 2026-11-24 19:52:29 -05:00
Tom Moor 2c84b2100f fix: Stream attachments in document exports and stop on disconnect (#14697)
* fix: Stream attachments in single document exports and stop on disconnect

Single document and revision exports read every attachment into memory
before building the zip, and kept running after the client had gone.
Repeated exports of a document with large attachments ran web dynos out
of memory.

- Stream attachments into the zip with a shared AttachmentHelper.addToArchive
- Abort export work when the client connection closes
- Read only images that will be inlined, with a 1MB total inline limit

* fix: Destroy streams opened after abort, treat missing local files as absent
2026-11-24 19:51:15 -05:00
Tom MoorandClaude Opus 5.5 00b124d03c chore: Rename APIContext to Context and flatten its fields (#14684)
* chore: Rename APIContext to Context and flatten its fields

Auth and transaction now live directly on the context instead of in
ctx.state and a nested ctx.context, and model helpers read them directly.
APIContext remains as a deprecated alias.

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

* chore: Remove deprecated APIContext alias

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

* fix: Read auth from context in OAuth provider callbacks

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

* chore: Add withUser and withTransaction context helpers

Replaces manual createContext rebuilds that copy fields from an existing context.

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

* chore: Remove arbitrary property access from Koa context types

AppContext and Context no longer inherit the any index signature from
Koa's DefaultContext, custom fields are declared explicitly, and importing
Koa's loose Context type is disallowed by lint.

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

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-23 23:17:06 -05:00
Tom Moor fd66b5e020 perf: Build table tokens in one pass when parsing Markdown (#14691)
* perf: Build table tokens in one pass when parsing Markdown

The tables-pm rule spliced into the full token array for each table cell,
which is quadratic in documents with many tables and blocked the worker
event loop during Markdown imports.

* test: Cover multiple tables, alignment, and tables in lists and blockquotes
2026-11-23 20:29:02 -05:00
Tom Moor 6374ea9f4b Clarify WEB_CONCURRENCY memory calculation comment
Updated comment to clarify memory calculation for WEB_CONCURRENCY.
2026-11-23 19:55:56 -05:00
Tom Moor 147014c6d6 fix: Claim transfer tokens atomically on redemption (#14693) 2026-11-23 19:41:24 -05:00
Tom Moor 36d40c5f65 fix: Cancel editor drag when the document changed since mousedown (#14694) 2026-11-23 19:41:04 -05:00
Tom Moor ef3a1fcb2c fix: Add timeout to Slack webhook posts (#14686) 2026-11-23 09:20:32 -05:00
Tom Moor 6576bc832a perf: Add subscriptions documentId index for document delete cascade (#14688) 2026-11-23 09:20:27 -05:00
linear-code[bot] 5935d4de3e docs: Capture reusable lessons from recent merges (#14687)
Co-authored-by: linear-code[bot] <222613912+linear-code[bot]@users.noreply.github.com>
2026-11-23 09:09:51 -05:00
Tom Moor 0fa4caec84 fix: Handle unreadable PNG files when detecting diagrams.net images (#14685) 2026-11-23 09:03:25 -05:00