Commit Graph
10481 Commits
Author SHA1 Message Date
Tom Moor a7c1907aa6 Strip top-level domain from generated team subdomain (#13816)
* fix: Strip top-level domain from generated team subdomain

* Move subdomain generation into Team.findAvailableSubdomain and reuse in installation
2026-09-20 13:31:39 -04:00
Tom Moor 57cf871c9a Increase max comment length to 10k characters (#13814) 2026-09-20 11:40:23 -04:00
Tom Moor 2f57a36d50 Validate awareness identity in collaboration service (#13804)
* Validate awareness identity against connection context

* Validate awareness messages on the sending connection

* Encode real removal states and isolate ownership check in tests
2026-09-19 13:24:35 -04:00
mehmet turac f9ae2dcd6d fix: Imported attachment keys end in "null" when no name is set (#13750)
uploadAttachments reads the name off alt for images and title for video
and attachment nodes. Both come through as null when the markup doesn't
set one, and String(null) is "null" - 4 chars, so the name.length !== 0
check passes and the node.type.name fallback never runs. getKey then
sticks "null" on the end of the key: uploads/<userId>/<uuid>/null.

Fall back to the node type before the String(). Left the length check in,
it still catches a whitespace-only name. Only hits importers on the
default shouldUploadAttachmentsPerPage(); markdown import opts out.
2026-09-19 10:51:53 -04:00
Tom Moor d22d3137af fix: Crash when pasting code over a selection near the end of a document (#13807)
Fixes OUTLINE-CLOUD-619
2026-09-19 10:15:15 -04:00
Tom Moor 099a0dbc06 Remove CLAUDE.md (#13806) 2026-09-19 14:03:58 +00:00
Tom Moor c17d2c52b3 fix: Patch edit mode drops content spliced inside container blocks (#13794)
* fix: Patch edit mode drops content spliced inside container blocks

* fix: Only join adjacent lists that share attrs other than start number
2026-09-19 09:16:52 -04:00
Tom Moor e62a2f7aeb fix: Permission select text color too dim outside nude variant (#13805) 2026-09-19 12:17:55 +00:00
Tom Moor a27d1244a8 fix: Use xmax to detect inserted subscription in upsert (#13803) 2026-09-19 11:24:55 +00:00
Tom MoorandClaude Opus 5 4b4c7d3281 chore: React 19 upgrade (#13562)
* React 19 upgrade

Bumps react and react-dom to 19.2.8, with the dependency changes React 19
requires: react-is 19, @types/react 19, @types/react-dom 19,
react-helmet-async 3 and react-avatar-editor 15 (which now ships its own
types). framer-motion moves to 13 — its v6 types reference React.ReactHTML,
removed from @types/react 19.

The type changes fall into a few classes:

- The global JSX namespace is gone, so JSX.Element becomes React.JSX.Element
  and the custom element declarations move into a module augmentation.
- useRef() now requires an initial value.
- A ref created with a null initial value is typed nullable, so consumers
  that accept one are widened to RefObject<T | null>.
- React.ReactChild was removed; tooltips take React.ReactNode.
- Ref callbacks may only return a cleanup function. react-dnd connectors
  return the connected node, so useDragRef and useDropRef wrap useDrag and
  useDrop and hand back a ref callback.

react-i18next stays on v12: i18next 23 drops compatibilityJSON "v3", which
would rewrite all 64 _plural keys across every locale.

outline-icons, oy-vey and react-waypoint have no release that lists React 19
as a peer. All three render correctly under it; the install reports them as
unmet peers.

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

* Remove react-helmet and forwardRef

---------

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-18 22:22:50 -04:00
Tom Moor 7f00defd62 feat: Add archive and deletion reasons (#13784)
* feat: Add reasons for archived and deleted documents

* feat: Add deprecation reasons to archived collections

* fix: Refine deprecation reason display for readers

* feat: Accept reasons when archiving or deleting

* Support reasons in archive and delete MCP tools

* Fix placeholder after clearing content editable text

* Keep the caret before content editable placeholders

* Remove test

* feat: Add archive reasons to the confirmation dialog
2026-09-18 21:09:35 -04:00
Tom Moor b57d02c4fc fix: Enforce maxLength for all input paths in ContentEditable (#13793)
* fix: Enforce maxLength on paste, drop and IME input in ContentEditable

* fix: Count code points and hold over-limit change during IME composition
2026-09-18 18:28:26 -04:00
Tom Moor ed7a1e9ffc fix: Validate custom theme colors (#13800) 2026-09-18 17:52:22 -04:00
Tom Moor f0f8553521 feat: Section header menus in the sidebar (#13801)
* wip

* feat: Share sidebar actions overlay between headers and links, add quick create button
2026-09-18 17:52:16 -04:00
Tom Moor 6ac407de84 chore: Run server tests with a shared module registry (#13799)
Adds a server-shared Vitest project with isolate disabled and moves every
server test into it by default. Files that mock or reset modules opt out
with a header marker and stay in the isolated project.

Restores env values that leaked between files: the test URL is reset after
each file, and tests that mutate env restore the previous value. The test
server no longer closes the shared sequelize pool.
2026-09-18 17:45:39 -04:00
Tom Moor 3a446d1e37 chore: Speed up CI (#13797)
* chore: Speed up CI with TypeScript 7 and Blacksmith runners

Upgrade TypeScript to 7.0.2, the native compiler, which cuts a full type
check from ~57s to ~12s locally. Yarn is bumped to 4.18.0 because older
versions fail to apply the builtin compat patch to TypeScript 7.

Fix two type errors the stricter compiler surfaces: the collection drop
target used unrelated item and monitor types, and Store.add relied on the
error type of an abstract construct call to satisfy the generic return.

Move CI jobs to Blacksmith runners, with a fallback to GitHub-hosted
runners for forks.

* chore: Match enterprise CI runner sizes

* chore: Persist node_modules on a sticky disk and use more test workers

* chore: Use the preinstalled PostgreSQL in CI instead of a service container

* chore: Skip the setup-node yarn cache when a sticky disk is mounted

* chore: Persist the Node.js toolcache and run server tests in 6 shards

* chore: Disable the setup-node package manager cache on Blacksmith

* chore: Keep pull requests from forks off Blacksmith runners and sticky disks
2026-09-18 17:45:25 -04:00
Tom Moor 9839ad8182 fix: Send analytics events through gtag and track WebMCP tool registration (#13792)
* fix: Send analytics events through gtag and track WebMCP tool registration

* Track WebMCP registration without a tool count
2026-09-18 08:58:01 -04:00
Tom Moor 3c655d55a3 fix: Store group description on creation (#13791) 2026-09-18 08:00:03 -04:00
Tom Moor fe409306f4 fix: Warn before leaving a document with unsynced edits (#13738)
* fix: Warn before leaving a document with unsynced edits

* refactor: Move unsynced change tracking into CollaborationProvider

* refactor: Move collaboration event types next to CollaborationProvider

* fix: Pending changes stuck after the collaboration connection is restored

* chore: Log collaboration sync state changes in development

* fix: Report lost local persistence in the leave prompt

* fix: Stop local persistence when the initial read fails

* fix: Stop local persistence when a write aborts

* Remove test
2026-09-17 20:54:06 -04:00
Tom Moor d281e991d9 fix: Sidebar selection changes when a Prompt blocks navigation (#13785) 2026-09-17 20:45:01 -04:00
Tom MoorandClaude Opus 5 cc15b088ec feat: Show a toast with actions when a file download completes in the desktop app (#13769)
* Show toast with actions when a file download completes

In the desktop app a toast is now displayed when a file finishes
downloading, with the option to open the file or reveal it in the file
manager of the operating system.

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

* Guard download bridge calls for older desktop apps

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

* Change protocol in dev for easier testing

* Use standard buttons stacked below the file name in download toast

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-09-17 19:36:47 -04:00
Tom Moor da6cbc123e feat: Multi-select controls on the child document list (#13782)
* feat: Multi-select controls on the child document list

* Remove redundant selectable gate
2026-09-17 08:04:21 -04:00
Tom Moor 9f7069d083 fix: Reduce gap between archived/deleted banner and document title (#13780)
* fix: Reduce gap between archived/deleted banner and document title

* refactor: Move notice spacing rule to the editor container
2026-09-17 11:59:27 +00:00
Tom Moor 29287f6e1e fix: Table of contents closes immediately when another tab's header is under 700px (#13781) 2026-09-17 07:39:00 -04:00
Tom Moor d195e29651 feat: Show file extensions and print shortcut in the export menu (#13778) 2026-09-17 07:31:06 -04:00
Tom Moor 06a62f096c fix: Hide scrollbars on the suggestion menu (#13779) 2026-09-17 07:29:42 -04:00
Tom Moor 1a0c7f47c8 fix: Backspace inside a notice orphans the emptied paragraph in Chrome (#13770) 2026-09-16 23:48:02 -04:00
Tom Moor 9eb49d76b7 fix: Selection lands after a newly inserted notice instead of inside it (#13768) 2026-09-16 23:19:19 -04:00
Tom Moor 324b2b94ef fix: Validate share id on public share endpoints (#13766)
* fix: Validate share id on shares.sitemap, shares.info, and shares.subscribe

Fixes OUTLINE-CLOUD-CWY

* test: Add regression tests for invalid share ids on shares.info and shares.subscribe

* test: Use an id that fails share slug validation and assert the message
2026-09-17 02:43:57 +00:00
Tom Moor 35fe31e56f test: Use unique subdomains in test factories to prevent sporadic collisions (#13765) 2026-09-16 22:39:25 -04:00
Tom Moor 85deb8934b Fix GitLab webhook integration updates (#13764)
* fix GitLab webhook integration updates

* support shared GitLab webhook credentials
2026-09-16 22:11:24 -04:00
Translate-O-Tron e43ffc061c New Crowdin updates (#13763)
* fix: New Czech translations

* fix: New French translations

* fix: New Spanish translations

* fix: New Catalan translations

* fix: New Danish translations

* fix: New German translations

* fix: New Hebrew translations

* fix: New Hungarian translations

* fix: New Italian translations

* fix: New Japanese translations

* fix: New Korean translations

* fix: New Dutch translations

* fix: New Polish translations

* fix: New Portuguese translations

* fix: New Swedish translations

* fix: New Turkish translations

* fix: New Ukrainian translations

* fix: New Chinese Simplified translations

* fix: New Chinese Traditional translations

* fix: New Vietnamese translations

* fix: New Portuguese, Brazilian translations

* fix: New Indonesian translations

* fix: New Persian translations

* fix: New Thai translations

* fix: New English, United Kingdom translations

* fix: New Norwegian Bokmal translations
2026-09-16 22:05:29 -04:00
Tom Moor 143da3ff87 fix: Address review follow-ups for mapped editor decorations (#13762)
Treat checkbox list attribute changes as structural for id repair, keep
remote transactions on the rebuild path for table decorations, and map
column grip decorations through local inline edits.
2026-09-16 21:45:20 -04:00
Tom Moor 30b8e681cf Add Gmail and Outlook links after email sign-in requests (#13761)
* Add inbox links after email magic-link requests

* Add and align Gmail and Outlook button icons
2026-09-16 21:30:57 -04:00
brekenandInstinct Agent 0e054da71d fix(policies): let guests with edit rights duplicate documents again (#13717)
#13198 (9796407) moved the duplicate gate to team-level createDocument,
which guests and viewers can never hold - so the policy change silently
removed duplicate for guests with edit rights on the source document.
Allow duplicate when the actor can createDocument at team level
(members, preserves #13198) OR update the source (guests, the pre-1.10
capability); the destination collection is still authorized separately
in documents.duplicate. Includes the #13198 regression guard plus
guest positive/negative cases.

Fixes #13715.

Co-authored-by: Instinct Agent <agent@instinct.com>
2026-09-16 20:50:07 -04:00
Tom Moor 07aab19000 perf: Map editor decorations through inline edits instead of rebuilding (#13759)
* perf: Map editor decorations through inline edits instead of rebuilding

* fix: Repair missing block ids on first edit and keep remote edits on the rebuild path

* test: Add isInlineTransaction query tests
2026-09-16 20:44:03 -04:00
Tom Moor 11abb1c752 perf: Filter placeholder candidates before evaluating conditions (#13760) 2026-09-16 20:38:26 -04:00
Tom Moor f852339c57 fix: Remove source uploads after imports (#13757)
* fix: Remove source uploads after imports

* fix: Defer import upload cleanup

* fix: Initialize import cleanup state
2026-09-16 23:58:03 +00:00
Tom Moor 2d07783af7 Prevent the admin service from running in production (#13758)
* fix: Prevent the admin service from running in production

* clarify
2026-09-16 23:50:25 +00:00
Tom Moor 33e1293ae9 fix: Correct shared document preview links (#13756) 2026-09-16 19:17:39 -04:00
Tom Moor 4d12b3294c perf: Animate loading bar with transform (#13755) 2026-09-16 19:13:19 -04:00
Tom Moor 61aa3e43a7 fix: Clean up temporary upload files (#13752) 2026-09-16 19:01:19 -04:00
dependabot[bot]andTom Moor 0ed4a80336 chore(deps): bump markdown-it and @types/markdown-it (#13743)
* chore(deps): bump markdown-it and @types/markdown-it

Bumps [markdown-it](https://github.com/markdown-it/markdown-it) and [@types/markdown-it](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/markdown-it). These dependencies needed to be updated together.

Updates `markdown-it` from 14.3.0 to 14.3.1
- [Changelog](https://github.com/markdown-it/markdown-it/blob/14.3.1/CHANGELOG.md)
- [Commits](https://github.com/markdown-it/markdown-it/compare/14.3.0...14.3.1)

Updates `@types/markdown-it` from 14.1.2 to 14.2.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/markdown-it)

---
updated-dependencies:
- dependency-name: markdown-it
  dependency-version: 14.3.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: "@types/markdown-it"
  dependency-version: 14.2.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

* fix: align markdown-it rule types

---------

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-09-14 19:31:07 -04:00
Tom Moor 0cda530e15 fix: Scope authentication matching to the signing-in provider (#13737) 2026-09-14 18:34:08 -04:00
dependabot[bot] f275632f0a chore(deps): bump the sentry group with 2 updates (#13739)
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.73.0 to 10.74.0
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/10.74.0/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/10.73.0...10.74.0)

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

---
updated-dependencies:
- dependency-name: "@sentry/node"
  dependency-version: 10.74.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: sentry
- dependency-name: "@sentry/react"
  dependency-version: 10.74.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-09-14 18:33:51 -04:00
dependabot[bot] a082cc54c8 chore(deps): bump the aws group with 5 updates (#13740)
Bumps the aws group with 5 updates:

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


Updates `@aws-sdk/client-s3` from 3.1126.0 to 3.1130.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.1130.0/clients/client-s3)

Updates `@aws-sdk/lib-storage` from 3.1126.0 to 3.1130.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.1130.0/lib/lib-storage)

Updates `@aws-sdk/s3-presigned-post` from 3.1126.0 to 3.1130.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.1130.0/packages/s3-presigned-post)

Updates `@aws-sdk/s3-request-presigner` from 3.1126.0 to 3.1130.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.1130.0/packages/s3-request-presigner)

Updates `@aws-sdk/signature-v4-crt` from 3.1126.0 to 3.1130.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.1130.0/packages/signature-v4-crt)

---
updated-dependencies:
- dependency-name: "@aws-sdk/client-s3"
  dependency-version: 3.1130.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: aws
- dependency-name: "@aws-sdk/lib-storage"
  dependency-version: 3.1130.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: aws
- dependency-name: "@aws-sdk/s3-presigned-post"
  dependency-version: 3.1130.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: aws
- dependency-name: "@aws-sdk/s3-request-presigner"
  dependency-version: 3.1130.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: aws
- dependency-name: "@aws-sdk/signature-v4-crt"
  dependency-version: 3.1130.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-09-14 18:33:44 -04:00
dependabot[bot] 5414746db1 chore(deps): bump @vitejs/plugin-react from 6.0.5 to 6.1.1 (#13741)
Bumps [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) from 6.0.5 to 6.1.1.
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/plugin-react@6.1.1/packages/plugin-react)

---
updated-dependencies:
- dependency-name: "@vitejs/plugin-react"
  dependency-version: 6.1.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-09-14 18:33:31 -04:00
dependabot[bot] de005af894 chore(deps): bump @css-inline/css-inline-wasm from 0.20.2 to 0.21.2 (#13742)
Bumps [@css-inline/css-inline-wasm](https://github.com/Stranger6667/css-inline) from 0.20.2 to 0.21.2.
- [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/c-v0.20.2...c-v0.21.2)

---
updated-dependencies:
- dependency-name: "@css-inline/css-inline-wasm"
  dependency-version: 0.21.2
  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-09-14 18:33:22 -04:00
Translate-O-Tron b70bb4d02d fix: New Czech translations (#13692) 2026-09-13 15:53:58 -04:00
Tom Moor ca9317f4cc fix: Clarify missing OAuth state errors (#13734) 2026-09-13 15:53:34 -04:00