Commit Graph
11060 Commits
Author SHA1 Message Date
Tom Moor e6a79000cd fix: Refuse to load state of another generation and lock editor during reset 2026-11-13 23:46:20 -05:00
Tom Moor d29bd1c788 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.
2026-11-13 22:52:37 -05:00
Tom Moor 2206588aa8 feat: Expiry column and expiry menu for shared links (#14579)
* feat: Expiry column and expiry menu for shared links

Adds an Expires column to the shared links table and a Set expiry submenu
with presets, a custom date dialog and removal. Also loads document
memberships in shares.list so the update policy is correct.

* fix: Hide share expiry menu when workspace sharing is disabled

* refactor: Load share document memberships in the list query
2026-11-13 09:29:30 -05:00
Tom Moor 587c211f57 fix: Do not overwrite canceled or finished imports from import tasks (#14578) 2026-11-13 08:40:05 -05:00
Tom Moor 8df9c854fa fix: Error imports that have nothing to import (#14577)
An import with no input, or a Notion import with no shared pages, stayed in an active state with no tasks. This blocked new imports for the team until the creator canceled it.
2026-11-13 08:33:36 -05:00
Tom Moor 6fd7eb7cf0 chore: Share import state lists from the Import model (#14575) 2026-11-13 08:05:13 -05:00
Tom Moor 4fd8b0731e fix: Limit archive contents read during imports (#14576) 2026-11-13 08:04:58 -05:00
Tom Moor e913715ce1 fix: Return each tab to its own document after cross-tab logout (#14536)
* fix: Return each tab to its own document after cross-tab logout

* Use savePath option for tab-only post login path
2026-11-13 07:56:55 -05:00
dependabot[bot] 1bc4938090 chore(deps): bump react-is from 19.3.0 to 19.3.1 (#14550)
Bumps [react-is](https://github.com/react/react/tree/HEAD/packages/react-is) from 19.3.0 to 19.3.1.
- [Release notes](https://github.com/react/react/releases)
- [Changelog](https://github.com/react/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/react/react/commits/v19.3.1/packages/react-is)

---
updated-dependencies:
- dependency-name: react-is
  dependency-version: 19.3.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-12 23:32:31 -05:00
Tom Moor 6231f01860 fix: Forced fetches dropped or stale while another fetch is in flight (#14573)
* fix: Run forced document tree fetches that arrive while a fetch is in flight

* fix: Run forced store fetches that arrive while a fetch is in flight

* test
2026-11-12 23:07:35 -05:00
Tom Moor bcf282a2f6 feat: Auto-save settings and tidy settings layout (#14569)
* feat: Auto-save General and Profile settings, add settings sections

- Save General and Profile fields on change and remove the Save button
- Add SettingsSection with consistent spacing and a tinted Danger block
- Right-align setting controls and center switches in their row
- Let descriptions use the full row width beside switches

* fix: Avoid settings autosave overwrites and IME Enter saves

- Send only the changed team preference so concurrent saves do not revert each other
- Save separate editing as a single preference instead of the whole team
- Treat a cleared color input as empty so the default is restored
- Ignore Enter during IME composition

* feat: Add change and remove icon buttons below image inputs

- Replace the Remove button with edit and trash icon buttons with tooltips
- Show an upload icon on the image hover overlay
- Re-render ImageInput when the image changes so the remove action appears immediately

* feat: Use footer buttons in the change profile picture dialog

- Add Replace and Delete buttons beside Done in the admin avatar dialog
- Add showActions and an open handle to ImageInput so dialogs can supply their own controls

* fix: Style the danger section with an outer shadow instead of tinted text
2026-11-13 04:01:55 +00:00
Tom Moor e0895fc548 Refine authentication token handling (#14572) 2026-11-12 23:00:42 -05:00
Tom Moor 306c0fcecf feat: Show the drag handle only when hovering the side of the editor (#14574) 2026-11-12 22:26:49 -05:00
Tom Moor 7a87534789 chore: Replace Gitbeaker with a small GitLab API client (#14548)
* chore: Replace Gitbeaker with a small GitLab API client

* test: Cover GitLab token refresh
2026-11-12 22:11:39 -05:00
Tom Moor ebe842b1f5 fix: Sticky hover state on sidebar items on touch screens (#14570) 2026-11-12 22:10:31 -05:00
Tom Moor 77f2d88416 fix: Tighten passkey challenge handling (#14571) 2026-11-12 22:08:47 -05:00
Tom Moor 97055b2d80 chore: Split server/routes/index.ts into focused routers (#14556)
Move static assets, shares, embeds and the app catch-all into their own
routers, and extract workspace redirect and render option logic so the
index file only composes middleware in order.
2026-11-12 21:52:06 -05:00
Tom Moor 2276ee2ecb Set lock_timeout on request transactions (#14563)
* Set lock_timeout on request transactions

Lock waits in API transactions now fail after 5s with a 503 instead of
holding a pool connection until the statement timeout.

* Map query timeouts to request_timeout in batch sub-requests
2026-11-12 21:51:48 -05:00
dependabot[bot]andTom Moor 38770745c8 chore(deps): bump react from 19.3.0 to 19.3.1 (#14546)
* chore(deps): bump react from 19.3.0 to 19.3.1

Bumps [react](https://github.com/react/react/tree/HEAD/packages/react) from 19.3.0 to 19.3.1.
- [Release notes](https://github.com/react/react/releases)
- [Changelog](https://github.com/react/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/react/react/commits/v19.3.1/packages/react)

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

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

* chore(deps): bump react-dom to 19.3.1 to match react

---------

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>
2026-11-12 21:48:21 -05:00
Tom Moor 631114129e perf: Lock only the target row in locked queries with joins (#14564) 2026-11-12 21:48:14 -05:00
dependabot[bot] 8b253e058a chore(deps): bump react-window from 2.3.4 to 2.5.3 (#14552)
Bumps [react-window](https://github.com/bvaughn/react-window) from 2.3.4 to 2.5.3.
- [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.3.4...2.5.3)

---
updated-dependencies:
- dependency-name: react-window
  dependency-version: 2.5.3
  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-12 20:47:11 -05:00
dependabot[bot] 84cabed245 chore(deps): bump i18next-fs-backend from 2.6.9 to 2.6.10 (#14555)
Bumps [i18next-fs-backend](https://github.com/i18next/i18next-fs-backend) from 2.6.9 to 2.6.10.
- [Changelog](https://github.com/i18next/i18next-fs-backend/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/i18next-fs-backend/compare/v2.6.9...v2.6.10)

---
updated-dependencies:
- dependency-name: i18next-fs-backend
  dependency-version: 2.6.10
  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-13 00:10:37 +00:00
Tom Moor ecb27a7132 fix: Scope import attachment queries to the importing team (#14557) 2026-11-12 19:06:15 -05:00
Tom Moor f04a300bed perf: Add index for inherited group permission lookups (#14560) 2026-11-12 19:05:44 -05:00
dependabot[bot] ded3118739 chore(deps): bump react-colorful from 5.8.0 to 5.8.1 (#14547) 2026-11-12 19:04:18 -05:00
Tom Moor e262f3bd17 perf: Add partial createdAt index for stuck import task scan (#14565) 2026-11-12 18:59:43 -05:00
Tom Moor d066c98bde fix: Remove vestigial done flag from document updates (#14561)
Creating a revision immediately when the user clicks Done raced the collaboration server's save debounce, producing a stale revision followed by a second one and duplicate Slack notifications.
2026-11-12 18:57:50 -05:00
Tom Moor 72a72dc735 fix: Popularity score update blocks inserts that reference documents (#14558)
* fix: Use FOR NO KEY UPDATE when locking documents for popularity scores

* test: Cover popularity update with a key share lock held
2026-11-12 18:55:35 -05:00
Tom Moor f95761dddf perf: Use FOR NO KEY UPDATE where locked rows are only updated (#14559)
* perf: Use FOR NO KEY UPDATE where locked rows are only updated

Rows that other tables reference by foreign key are now locked with
FOR NO KEY UPDATE when the transaction only updates or soft-deletes
them, so concurrent inserts that reference the row are not blocked.

* test: Collaborative save does not wait for foreign key inserts
2026-11-12 18:54:37 -05:00
Tom Moor 7a90ee5887 fix: Run MCP document updates in a transaction (#14562) 2026-11-12 18:53:24 -05:00
Tom Moor 64be91604f Adjust S3 upload policy fields (#14567) 2026-11-12 18:52:28 -05:00
Tom Moor fbb78cd2b0 chore: Tighten error reporting payloads (#14568) 2026-11-12 18:45:47 -05:00
dependabot[bot] 333cac83d4 chore(deps-dev): bump oxlint-tsgolint from 7.0.2005 to 7.0.2006 (#14554)
Bumps [oxlint-tsgolint](https://github.com/oxc-project/tsgolint) from 7.0.2005 to 7.0.2006.
- [Release notes](https://github.com/oxc-project/tsgolint/releases)
- [Commits](https://github.com/oxc-project/tsgolint/compare/v7.0.2005...v7.0.2006)

---
updated-dependencies:
- dependency-name: oxlint-tsgolint
  dependency-version: 7.0.2006
  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-11-12 16:40:01 +00:00
dependabot[bot] e69a2870ae chore(deps-dev): bump @swc/core from 1.16.20 to 1.16.22 (#14553)
Bumps [@swc/core](https://github.com/swc-project/swc/tree/HEAD/packages/core) from 1.16.20 to 1.16.22.
- [Release notes](https://github.com/swc-project/swc/releases)
- [Changelog](https://github.com/swc-project/swc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/swc-project/swc/commits/v1.16.22/packages/core)

---
updated-dependencies:
- dependency-name: "@swc/core"
  dependency-version: 1.16.22
  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-11-12 16:36:25 +00:00
dependabot[bot] e51d1916d7 chore(deps-dev): bump fake-indexeddb from 6.2.6 to 6.2.8 (#14551)
Bumps [fake-indexeddb](https://github.com/dumbmatter/fakeIndexedDB) from 6.2.6 to 6.2.8.
- [Release notes](https://github.com/dumbmatter/fakeIndexedDB/releases)
- [Changelog](https://github.com/dumbmatter/fakeIndexedDB/blob/master/CHANGELOG.md)
- [Commits](https://github.com/dumbmatter/fakeIndexedDB/compare/v6.2.6...v6.2.8)

---
updated-dependencies:
- dependency-name: fake-indexeddb
  dependency-version: 6.2.8
  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-11-12 16:33:28 +00:00
dependabot[bot] 4fb4f9d6ad chore(deps): bump @tanstack/react-virtual from 3.14.23 to 3.14.26 (#14549)
Bumps [@tanstack/react-virtual](https://github.com/TanStack/virtual/tree/HEAD/packages/react-virtual) from 3.14.23 to 3.14.26.
- [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.26/packages/react-virtual)

---
updated-dependencies:
- dependency-name: "@tanstack/react-virtual"
  dependency-version: 3.14.26
  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-12 16:31:40 +00:00
dependabot[bot] 508491c1cd chore(deps): bump nodemailer from 10.1.7 to 10.3.1 (#14545)
Bumps [nodemailer](https://github.com/nodemailer/nodemailer) from 10.1.7 to 10.3.1.
- [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.1.7...v10.3.1)

---
updated-dependencies:
- dependency-name: nodemailer
  dependency-version: 10.3.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-12 16:30:21 +00:00
dependabot[bot] 44c0831279 chore(deps): bump i18next-http-backend from 4.0.9 to 4.0.10 (#14544)
Bumps [i18next-http-backend](https://github.com/i18next/i18next-http-backend) from 4.0.9 to 4.0.10.
- [Changelog](https://github.com/i18next/i18next-http-backend/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/i18next-http-backend/compare/v4.0.9...v4.0.10)

---
updated-dependencies:
- dependency-name: i18next-http-backend
  dependency-version: 4.0.10
  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-12 16:30:16 +00:00
dependabot[bot] a176a40749 chore(deps): bump the aws group with 6 updates (#14543)
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.1159.0` | `3.1162.0` |
| [@aws-sdk/cloudfront-signer](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/packages/cloudfront-signer) | `3.1157.0` | `3.1161.0` |
| [@aws-sdk/lib-storage](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/lib/lib-storage) | `3.1159.0` | `3.1162.0` |
| [@aws-sdk/s3-presigned-post](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/packages/s3-presigned-post) | `3.1159.0` | `3.1162.0` |
| [@aws-sdk/s3-request-presigner](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/packages/s3-request-presigner) | `3.1159.0` | `3.1162.0` |
| [@aws-sdk/signature-v4-crt](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/packages/signature-v4-crt) | `3.1159.0` | `3.1162.0` |


Updates `@aws-sdk/client-s3` from 3.1159.0 to 3.1162.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.1162.0/clients/client-s3)

Updates `@aws-sdk/cloudfront-signer` from 3.1157.0 to 3.1161.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.1161.0/packages/cloudfront-signer)

Updates `@aws-sdk/lib-storage` from 3.1159.0 to 3.1162.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.1162.0/lib/lib-storage)

Updates `@aws-sdk/s3-presigned-post` from 3.1159.0 to 3.1162.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.1162.0/packages/s3-presigned-post)

Updates `@aws-sdk/s3-request-presigner` from 3.1159.0 to 3.1162.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.1162.0/packages/s3-request-presigner)

Updates `@aws-sdk/signature-v4-crt` from 3.1159.0 to 3.1162.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.1162.0/packages/signature-v4-crt)

---
updated-dependencies:
- dependency-name: "@aws-sdk/client-s3"
  dependency-version: 3.1162.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: aws
- dependency-name: "@aws-sdk/cloudfront-signer"
  dependency-version: 3.1161.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: aws
- dependency-name: "@aws-sdk/lib-storage"
  dependency-version: 3.1162.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: aws
- dependency-name: "@aws-sdk/s3-presigned-post"
  dependency-version: 3.1162.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: aws
- dependency-name: "@aws-sdk/s3-request-presigner"
  dependency-version: 3.1162.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: aws
- dependency-name: "@aws-sdk/signature-v4-crt"
  dependency-version: 3.1162.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-12 16:28:50 +00:00
Tom Moor b3555dddfe fix: Improve webhook delivery response handling (#14541) 2026-11-12 09:50:35 -05:00
Tom Moor f8446a3c78 fix: Tighten session token validation order (#14542)
* fix: Tighten session token validation order

* test: Rename signature test
2026-11-12 09:48:13 -05:00
Tom Moor 3dbd552ae8 chore: Update Node.js to 26.13.1 (#14539) 2026-11-11 23:47:30 -05:00
Tom Moor bf0dbc8545 fix: Show workspace logo as square in General settings (#14538) 2026-11-11 23:37:48 -05:00
Tom Moor f43d8bcba9 fix: Use a redder warning color so notices are not brown (#14537) 2026-11-11 23:35:11 -05:00
Tom Moor acf90fdbf4 feat: Filter menu items by typing (#14534)
* feat: Filter menu items by typing

Typing in an open context menu, dropdown menu or editor toolbar dropdown shows a filter row and filters the items. Focus stays on the menu items, so the arrow keys still navigate, and the menu keeps its position and width while filtering.

* fix: Focus first menu item when Escape clears the filter

* fix: Accept AltGr characters and emoji in the menu filter

* refactor: Use isTextInput helper in menu filter

* fix: Text cursor, select all and selection delete in the menu filter

* Refactor to use real input

* fix: Keep the focused menu item highlighted while filtering
2026-11-11 23:31:46 -05:00
Tom Moor 7589ce38de fix: New doc input indent and Shared with me nested docs (#14531)
* fix: Match nested new doc input to child document indent

* fix: Allow creating nested docs from Shared with me rows
2026-11-11 19:18:37 -05:00
Tom Moor 291ec67243 fix: Record document title on documents.delete audit event (#14530) 2026-11-11 15:48:02 -05:00
Tom Moor 713a2b511d fix: Show nested shared documents under their shared parent in sidebar (#14526)
* fix: Show nested shared documents under their shared parent in sidebar

* fix: Select shared roots from ancestor grants, ignore stale cached trees

* Revert ancestor walk in membership list queries
2026-11-11 08:27:50 -05:00
Tom Moor aa454033ec fix: Keep callouts and rules nested when serialized to Markdown (#14528)
* fix: Keep notices and rules nested in lists and quotes when serialized to Markdown

* fix: Keep the blank line above notices and rules, written per line
2026-11-11 08:09:35 -05:00
Tom Moor f480f96089 fix: Consistent document filtering in trash list (#14527)
* fix: Apply draft visibility to trash list

* fix: Include group memberships in draft visibility
2026-11-11 07:51:33 -05:00