Commit Graph
10045 Commits
Author SHA1 Message Date
Tom Moor 9b03db016c fix: Recalculate memberships in the same transaction when moving doc (#13182)
closes #13181
2026-07-28 17:44:16 -04:00
Tom MoorandClaude 5ff3020318 fix: Crash when two mermaid diagrams are adjacent (#13173)
* fix: Crash when two mermaid diagrams are adjacent

A diagram's widget decoration sits at the end of its code block, which is
also the start position of the following block. When the next block is also
a mermaid diagram and has no decoration of its own yet, it adopted the
preceding diagram's renderer — and so its single DOM element — leaving two
widget decorations sharing one node and crashing prosemirror-view.

Co-Authored-By: Claude <noreply@anthropic.com>

* fix: Enter with mermaid selection deletes node

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-07-28 08:58:01 -04:00
Tom Moor c5f9646337 Icon picker glow-up (#13177)
* Icon panel glow-up

* Move colorPalette to shared/constants
2026-07-28 08:47:09 -04:00
Tom Moor b377c2cf96 Allow pasting on images to replace in editor (#13178)
* Allow pasting on images to replace in editor

* feedback
2026-07-28 08:20:33 -04:00
Tom Moor de032c01c1 fix: colon in query (#13176)
* fix: colon in query

* iteration
2026-07-27 22:37:15 -04:00
Tom Moor f97523f0b0 Add days until expiry to export email (#13175) 2026-07-27 21:43:35 -04:00
Tom Moor 023bda8c1b Hide comment gutter icons on mobile (#13174) 2026-07-27 21:15:57 -04:00
Tom Moor b0ed00fef4 fix: Cannot view past 25 archived collections (#13171) 2026-07-27 20:41:52 -04:00
Tom Moor d0900e7277 fix: relationships.list drafts (#13170) 2026-07-27 19:25:50 -04:00
Tom Moor 7b751ab04b perf: Attach output stream before adding zip entries (#13167)
* perf: Attach output stream before adding zip entries

* fix: Handle failure
2026-07-27 19:13:18 -04:00
Tom Moor 715694684c chore: Encyrpted.test.ts flaky test (#13169) 2026-07-27 18:50:23 -04:00
Tom Moor 8cdd2895a3 chore: Refactor get+post combos to register (#13168) 2026-07-27 18:39:20 -04:00
Tom Moor 9ae7517efb fix: Re-check file operation permissions at download (#13148)
* fix: Re-check file operation permissions at download

* feedback

* Address feedback and copy across to other findByPk overrides
2026-07-27 18:32:17 -04:00
Tom Moor 5befd94fb8 perf: Fix streaming file outputs passthrough (#13153)
* perf: Fix streaming file outputs passthrough correctly

* test
2026-07-27 18:23:51 -04:00
Tom Moor 8a375991a7 chore: Update brace-expansion (#13166) 2026-07-27 18:23:45 -04:00
Tom Moor 854db75995 fix: Crash opening comment sidebar in Lightbox on public share (#13164) 2026-07-27 18:15:57 -04:00
Tom Moor 3260153f9c fix: Suppress 499 error reporting (#13165) 2026-07-27 18:15:50 -04:00
7e6499e71f chore(deps): bump ioredis from 5.10.1 to 5.11.1 (#13159)
* chore(deps): bump ioredis from 5.10.1 to 5.11.1

Bumps [ioredis](https://github.com/luin/ioredis) from 5.10.1 to 5.11.1.
- [Release notes](https://github.com/luin/ioredis/releases)
- [Changelog](https://github.com/redis/ioredis/blob/main/CHANGELOG.md)
- [Commits](https://github.com/luin/ioredis/compare/v5.10.1...v5.11.1)

---
updated-dependencies:
- dependency-name: ioredis
  dependency-version: 5.11.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): dedupe ioredis so bull shares the hoisted copy

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Moor <tom@getoutline.com>
Co-authored-by: Claude <noreply@anthropic.com>
2026-07-27 18:13:07 -04:00
Tom Moor 3c53f4c75b fix: Evaluate of undefined in useKeyDown (#13163) 2026-07-27 17:58:43 -04:00
Tom MoorandClaude 6b60858226 fix: Never downgrade Node.js in update workflow (#13154)
Co-authored-by: Claude <noreply@anthropic.com>
2026-07-27 17:44:32 -04:00
dependabot[bot] fe4aea0c00 chore(deps): bump vite from 8.0.16 to 8.1.5 (#13161)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 8.0.16 to 8.1.5.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v8.1.5/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 8.1.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-07-27 17:44:16 -04:00
dependabot[bot] 2a1c0fd2af chore(deps): bump dd-trace from 5.115.0 to 5.117.0 (#13160)
Bumps [dd-trace](https://github.com/DataDog/dd-trace-js) from 5.115.0 to 5.117.0.
- [Release notes](https://github.com/DataDog/dd-trace-js/releases)
- [Commits](https://github.com/DataDog/dd-trace-js/compare/v5.115.0...v5.117.0)

---
updated-dependencies:
- dependency-name: dd-trace
  dependency-version: 5.117.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-07-27 17:44:05 -04:00
dependabot[bot] 1bd800b714 chore(deps-dev): bump @types/readable-stream from 4.0.23 to 4.0.24 (#13158)
Bumps [@types/readable-stream](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/readable-stream) from 4.0.23 to 4.0.24.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/readable-stream)

---
updated-dependencies:
- dependency-name: "@types/readable-stream"
  dependency-version: 4.0.24
  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-07-27 17:43:56 -04:00
dependabot[bot] 758bc89a35 chore(deps): bump the sentry group with 2 updates (#13157)
Bumps the sentry group with 2 updates: [@sentry/node](https://github.com/getsentry/sentry-javascript) and [@sentry/react](https://github.com/getsentry/sentry-javascript).


Updates `@sentry/node` from 10.65.0 to 10.68.0
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/10.68.0/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/10.65.0...10.68.0)

Updates `@sentry/react` from 10.65.0 to 10.68.0
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/10.68.0/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/10.65.0...10.68.0)

---
updated-dependencies:
- dependency-name: "@sentry/node"
  dependency-version: 10.68.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: sentry
- dependency-name: "@sentry/react"
  dependency-version: 10.68.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: sentry
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-27 17:43:24 -04:00
Tom Moor 86335325e8 fix: attachments.redirect should be considered in read scope. (#13155)
closes #13152
2026-07-27 17:43:06 -04:00
Tom MoorandClaude 053a3fd438 fix: Respect move policy in sidebar drag and drop (#13150)
Drop targets that reorder or reparent an item now require the `move`
ability on the dragged item, so no drop cursor or highlight appears
where the move would be rejected by the server.

Co-authored-by: Claude <noreply@anthropic.com>
2026-07-26 18:51:54 -04:00
Tom MoorandClaude 17452bda5b Move socket management from client -> server (#13120)
* Move socket management from client -> server

* feedback

* fix: Reconcile collection rooms on visibility change

Handle collections.update transitions between private and team-visible by
joining or rebuilding the collection channel, route collection events through
the members channel so guests are excluded, and use removeData for the
collection ids cache invalidation.

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-07-26 17:47:34 -04:00
Tom Moor fc40988891 fix: Lock contention on documents.create (#13149)
* wip

* fix: Lock contention on documents.create

* revert
2026-07-26 17:35:15 -04:00
Tom Moor 84c4cbc431 fix: Narrow validation on relationships.list (#13147) 2026-07-26 16:49:24 -04:00
Tom Moor 6190684d59 fix: collaboratorIds async/distributed nature should not guard persistence (#13145)
* fix: collaboratorIds async/distributed should not guard persistence

* feedback
2026-07-26 11:41:55 -04:00
Tom Moor 6268bc149a fix: Add missing zod schema check for incoming document.text (#13143)
* fix: Add missing zod schema check for incoming document.text

* feedback

* test
2026-07-26 08:25:25 -04:00
Tom Moor 22cb3f1baf chore: Tighten rate limits on document mutations (#13142) 2026-07-26 08:18:01 -04:00
Tom Moor 9d066c2a92 fix: Avoid user serialization on public share response (#13144)
* fix: Avoid user serialization on public share response

* fix: shares.list does not return shares from deleted users
2026-07-26 08:17:09 -04:00
Tom MoorandClaude 44b1529b3d chore: Remove redundant fast-uri resolution (#13146)
The `fast-uri@npm:^3.0.1` resolution was redundant. The ^3.0.1 range
naturally resolves to 3.1.4 without the resolution override, so removing
it produces identical yarn.lock output and does not introduce any new
vulnerabilities per `yarn npm audit --severity high --recursive
--environment production`.

All other resolutions remain necessary either to prevent lower/vulnerable
versions from being installed transitively or to enforce a single package
version required for TypeScript type consistency (React, Koa,
prosemirror-transform, markdown-it types).

Co-authored-by: Claude <noreply@anthropic.com>
2026-07-26 07:57:43 -04:00
Tom Moor 42cd66f79f Reorder search in command menu, remove Fuse workers (#13137) 2026-07-25 14:21:46 -04:00
Tom MoorandClaude e1c906a1c2 feat: Fuse powered local content search (#13115)
* wip

* generalize

* refactor

* Extract SearchResultIcon for command bar results

Both search action builders rendered the same document icon inline. Move it
into a shared component alongside the other command bar pieces, forwarding
size so the command bar can continue to size icons via cloneElement.

Also drop the redundant charAt(0).toUpperCase() on the initial, as the Icon
component already normalizes it.

Co-Authored-By: Claude <noreply@anthropic.com>

* PR feedback
Prevent same doc showing twice in cmd k
Improve result ordering in main app command bar
Refactor to flattenTree

* Upgrade Fuse to 7.5.0, use workers

* fix: Re-register search actions when index is enriched

Include result contexts in the command bar registration key so that
snippets refresh when the same documents are enriched, and only mark a
server search as cached once its results are actually fed to the index.

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-07-25 13:16:53 -04:00
Tom Moor c2fd3ddb5a perf: Removes JSDom usage on main server -> worker (#13128)
* refactor

* fix: Test setup for awaited jobs

* feedback
2026-07-25 12:43:18 -04:00
Tom Moor 5a9fb0024f fix: Immediately stop retrying malformed imports 2026-07-25 12:38:57 -04:00
Raisal P WardanaandRaisal P Wardana 62a2220a48 fix: preserve diagrams.net source through API markdown round-trip (#13082)
* fix: preserve diagrams.net source through API markdown round-trip

Images with source: "diagrams.net" (draw.io embeds) lost their editability
when updated through the API (documents.create/update with text). The
markdown serializer/deserializer had no slot for the source attribute, so
every round-trip through markdown stripped it, downgrading editable diagrams
to static images.

Encode source as a "source=<value>" token in the markdown title attribute,
which already carries layoutClass and size. The token is extracted on parse
and emitted on serialize, surviving the full API round-trip.

* fix: address image source review feedback

Authored-by: Terminus (AI Assistant) <raisalpwardana+terminus@gmail.com>

* fix: narrow image test node attributes

Authored-by: Terminus (AI Assistant) <raisalpwardana+terminus@gmail.com>

* fix: narrow image test attributes

Authored-by: Terminus (AI Assistant) <raisalpwardana+terminus@gmail.com>

---------

Co-authored-by: Raisal P Wardana <IEatCodeDaily@users.noreply.github.com>
2026-07-25 12:36:07 -04:00
Tom Moor 8267f22c31 chore: Remove client boolean guard in redirectOnClient (#13136) 2026-07-25 12:16:28 -04:00
Tom MoorandClaude 8192bc0514 chore: Audit and move inline actions to definitions (#13133)
* chore: Audit and move inline actions to definitions

* fix: Reuse existing smart-quote translation key in emoji delete dialog

Co-Authored-By: Claude <noreply@anthropic.com>

* Remove two usages of 'Link copied' translation

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-07-25 16:13:12 +00:00
Tom Moor 60195ae0ee fix: Clear search chip highlight when opening CMD+F (#13135) 2026-07-25 12:05:26 -04:00
Tom Moor 64fad39230 Remove dead ImportHelper (#13134) 2026-07-25 11:50:54 -04:00
dependabot[bot] 2ed50bfe03 chore(deps): bump postcss from 8.5.15 to 8.5.22 (#13131)
Bumps [postcss](https://github.com/postcss/postcss) from 8.5.15 to 8.5.22.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.5.15...8.5.22)

---
updated-dependencies:
- dependency-name: postcss
  dependency-version: 8.5.22
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-25 11:07:19 -04:00
dependabot[bot] ed90f25dc6 chore(deps): bump tar from 7.5.20 to 7.5.21 (#13132)
Bumps [tar](https://github.com/isaacs/node-tar) from 7.5.20 to 7.5.21.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v7.5.20...v7.5.21)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 7.5.21
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-25 11:07:03 -04:00
Tom Moor 08a3b64295 chore: Exhaustive deps warning -> error (#13124)
* chore: Exhaustive deps turned to error

* Refactor useDragResize

* Refactor Lightbox to explicit state machine

* feedback

* ci
2026-07-25 10:43:49 -04:00
Tom Moor b9354edb52 fix: Split view browser title (#13130) 2026-07-25 10:36:37 -04:00
Tom Moor d4349731b8 chore: Update deprecated CodeQL to v3 (#13129) 2026-07-25 10:32:40 -04:00
Tom MoorandClaude 2d608d95e7 fix: Temporary directory left behind after S3 storage file handle (#13127)
* fix: Temporary directory left behind after S3 storage file handle

* Remove unused ZipHelper.extract

Use pipeline everywhere instead of manually wiring streams

* fix: Cleanup failure should not mask original error

Removing the temporary directory is best-effort, log the failure and
propagate the underlying error instead.

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-07-25 08:17:04 -04:00
Copilot 796adb8b22 Rename split-view route helper to isSplittablePath (#13125) 2026-07-25 07:57:19 -04:00