Commit Graph
3482 Commits
Author SHA1 Message Date
Tom Moor 18cd750d75 chore: Consistent team checks in policies (#14235) 2026-10-22 08:10:46 -04:00
Tom Moor d102e4223e fix: Check each available team against session cookie for isSignedIn (#14236) 2026-10-22 08:10:24 -04:00
Tom Moor 7f1512b499 chore: Consolidate comment and restore checks into policies (#14234) 2026-10-22 08:02:44 -04:00
Tom Moor 0454badbf6 fix: Scope linked account settings in integration presenter to the owner (#14233) 2026-10-22 08:02:23 -04:00
Tom Moor 2ec2e2025e chore: Scope mention label lookup in emails to the team (#14229) 2026-10-22 07:56:59 -04:00
Tom Moor a5b8c9102c chore: Consistent email visibility checks in user search (#14227) 2026-10-22 07:56:46 -04:00
Tom Moor 1bd0ea8819 fix: Consistent template validation in documents.update (#14230) 2026-10-22 07:55:43 -04:00
Tom Moor e64b02388a fix: Consistent collection policy checks in MCP fetch (#14231) 2026-10-22 07:55:35 -04:00
Tom Moor 8bbd371db6 fix: Consistent order of checks in accessRequests.approve (#14232) 2026-10-22 07:55:30 -04:00
Tom Moor 0720b83f9f fix: Scope public share loading to the request team (#14223) 2026-10-22 07:47:46 -04:00
Tom Moor 60095ed58a fix: Stricter document name handling in collaboration server (#14225)
* fix: Require canonical document names in collaboration connections

* Add null check before reading document id
2026-10-22 07:46:40 -04:00
Tom Moor 96dd059727 chore: Consistent websocket rooms for group events (#14226) 2026-10-22 07:46:14 -04:00
Tom Moor 4402975f57 fix: Check permissions earlier in documents.restore (#14224) 2026-10-22 07:43:28 -04:00
Tom Moor e5284d610d chore: Replace stoppable with native server connection closing (#14205)
* chore: Replace stoppable with native server connection closing

* fix: Keep pipelined sockets open until all responses finish
2026-10-21 22:50:25 -04:00
Tom Moor 2679093af3 chore: Vendorize throng as ClusterManager (#14198)
* chore: Vendorize throng as ClusterManager

* fix: Force kill workers after grace period, skip fork if shutting down

* fix: Give workers their full shutdown timeout before the primary exits

* chore: Use a named export for ShutdownHelper
2026-10-21 18:20:03 -04:00
Tom Moor 8040ce19a3 chore: Replace addressparser with nodemailer/lib/addressparser (#14202) 2026-10-21 18:19:21 -04:00
Tom Moor 0545db9080 chore: Vendorize styled-components-breakpoint (#14191) 2026-10-21 00:02:11 -04:00
Tom Moor 8456b6a4c0 feat: Support one-click unsubscribe (RFC 8058) (#14148)
* feat: Support one-click unsubscribe (RFC 8058)

- Emails with an unsubscribe URL now send List-Unsubscribe-Post: List-Unsubscribe=One-Click.
- notifications.unsubscribe and shares.unsubscribe accept a form POST from mail providers and return 200.

* fix: Use default rate limiter for shares.unsubscribe

Mail providers send one-click unsubscribe callbacks in bulk from a small set of IPs. Remove mailer.test.tsx.
2026-10-20 23:31:50 -04:00
Tom Moor cfc236a51f fix: Rate limit documents.update (#14189) 2026-10-21 03:14:26 +00:00
Tom Moor 067f340996 perf: Skip queueing SearchIndexProcessor jobs for the Postgres provider (#14186) 2026-10-20 23:03:58 -04:00
Tom Moor ba7b6e88e7 fix: Translate access request emails and set email language and direction (#14147)
* fix: Allow every mention notification to be turned off and unsubscribed

- The Mentioned and Group mentions settings now control both the document and comment event types.
- Mention, share, collection invite, and access request emails now have an unsubscribe link and List-Unsubscribe header.

* fix: Translate access request emails and set email language and direction

- The access request email now uses the language of the recipient.
- Emails now set lang and dir on the HTML document, and RTL emails align content to the right.
2026-10-20 20:23:21 -04:00
Tom Moor 71c3f79018 fix: Allow every mention notification to be turned off and unsubscribed (#14146)
* fix: Allow every mention notification to be turned off and unsubscribed

- The Mentioned and Group mentions settings now control both the document and comment event types.
- Mention, share, collection invite, and access request emails now have an unsubscribe link and List-Unsubscribe header.

* Remove test
2026-10-20 23:25:34 +00:00
Tom Moor c963528941 feat: List all contributors in document update emails (#14157)
* feat: List all contributors in document update emails

* fix: Stable collaborator order, plural wording, and legacy email jobs
2026-10-20 08:32:16 -04:00
Tom Moor 94276a743c fix: Prevent duplicate heading anchor IDs (#14162)
A heading whose text ends in a number could get the same slug as a
numbered duplicate. Heading slugs now come from one HeadingSlugger that
skips taken IDs, and the server section lookup counts nested headings
like the editor does.
2026-10-20 08:28:54 -04:00
Tom Moor 878f41393d fix: Cap signed URL redirect caching at guaranteed signature lifetime (#14169) 2026-10-20 08:28:41 -04:00
Tom Moor 584e27ad10 fix: Check permissions earlier in users.update_role (#14156) 2026-10-19 23:33:44 -04:00
Tom Moor d249b34e8e fix: Tighten checks when publishing drafts (#14155)
* fix: Tighten checks when publishing drafts

Detaching a document on unpublish now also clears its parent.

* fix: Publish at the root when the parent is in another collection

* test: Load detached drafts without the default scope
2026-10-19 23:23:11 -04:00
Tom Moor d015a32459 fix: Share state handling for unpublished documents (#14160)
* fix: Share state handling for unpublished documents

* fix: Update cached shares when a document is unpublished

* Revert "fix: Update cached shares when a document is unpublished"

This reverts commit 15abf962b8.
2026-10-19 21:58:41 -04:00
linear-code[bot]andTom Moor aed1e87bb1 chore: update @modelcontextprotocol/sdk to 1.32.1 (#14145)
* chore: update MCP SDK to 1.32.1

Co-authored-by: linear-code[bot] <222613912+linear-code[bot]@users.noreply.github.com>

* feat: Limit MCP tool argument elements to 1000

---------

Co-authored-by: linear-code[bot] <222613912+linear-code[bot]@users.noreply.github.com>
Co-authored-by: Tom Moor <tom@getoutline.com>
2026-10-19 18:55:10 -04:00
Tom Moor 2f68f32b40 fix: Polish UI copy, casing, and punctuation (#14144)
* fix: Polish UI copy, casing, and punctuation across the app

* fix: Remove duplicate period in API key scope hint
2026-10-19 09:05:24 -04:00
Tom Moor 7d8269a82e fix: Redact query string values in traces except an allowlist (#14140)
* fix: Redact OAuth authorization codes from traced URLs

* Extend the dd-trace default pattern instead of copying it, add tests

* Redact all query string values except an allowlist
2026-10-19 08:23:17 -04:00
Tom Moor d97c4baad2 perf: Cache permanent Iframely errors for an hour (#14134)
* perf: Cache permanent Iframely errors for an hour

* perf: Cache permanent Iframely errors for a day
2026-10-18 23:57:19 +00:00
Tom Moor 4bd64340a4 perf: Skip the text column when loading document lists (#14138) 2026-10-18 19:52:13 -04:00
Tom Moor 20cc8e1106 fix: Refresh and validate Discord authentications (#14141) 2026-10-18 18:57:43 -04:00
Tom Moor ad8906d82e perf: Count notifications without default scope joins (#14139) 2026-10-18 18:53:08 -04:00
Tom Moor accfa44da3 perf: Filter groupMemberships.list by the user's groups (#14137) 2026-10-18 18:29:01 -04:00
Tom Moor 9d4304a332 chore: Remove unused code (#14133)
* chore: Remove unused code

* Restore DiscordClient
2026-10-18 18:27:05 -04:00
Tom Moor ef7753dc57 fix: Tighten parent share resolution in share loader (#14129) 2026-10-18 09:15:46 -04:00
Tom Moor 97cc147726 feat: Render Mermaid diagrams with Pele (#14126)
* feat: Render Mermaid diagrams with Pele

* fix: Translate empty diagram label

* fix: Prevent diagram flash when editors swap on load
2026-10-18 08:11:41 -04:00
Tom Moor c2fe0752ab chore: Compact migrations before v1.3.0 into a baseline schema (#13973) 2026-10-17 18:45:25 -04:00
Tom MoorandClaude Opus 5.5 5647621224 chore: Prune redundant comments and type suppressions (#14124)
* chore: Prune redundant comments and normalize lint directives

Removes comments that restate the following line and stale TODOs, drops
the passive event listener feature check now that all supported browsers
support it, and renames eslint directives to oxlint.

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

* fix: Evaluate restricted team domains at validation time

The restricted email provider list was captured when the model loaded, so
it could not follow the hosting environment and the tests that covered it
never reached the model.

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

* chore: Replace type suppressions with accurate types

Adds a Concrete helper type for registries of abstract classes, declares
missing Sequelize and refractor typings, uses public ProseMirror APIs, a
typed mock context helper in middleware tests, and a StaticLink component
for sidebar rows being edited.

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

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-17 17:07:39 -04:00
Tom Moor e51b9f3151 chore: Export provisionFirstCollection, skip migration check when cloud hosted (#14116) 2026-10-17 11:01:55 -04:00
Tom Moor 00c37669c4 fix: Exit when a Redis connection stays unavailable (#14114)
Fixes OUTLINE-CLOUD-BZ6
2026-10-17 09:37:03 -04:00
Tom Moor 79522b5084 fix: Stop logging MCP protocol version negotiation probes (#14113) 2026-10-17 08:43:22 -04:00
Tom Moor be75e8e0a8 fix: Resolve Slab cross-links and import Slab-hosted attachments (#14109)
* fix: Resolve Slab cross-links and import Slab-hosted attachments

Slab exports links between posts as absolute URLs and file attachments as
signed links, so both stayed pointing at Slab after import. Post links are
now matched to imported documents by slug (or by label for id-only mention
links) and Slab-hosted file links become attachments that are re-hosted.

Also fixes concurrent mention transforms assigning different ids to the
same not-yet-imported document.

* fix: Address review feedback on Slab link and file conversion

Prefer exact slug matches and leave ambiguous slugs unresolved, convert
file links in headings, and keep a toggle's leading text block so its
attachments are still converted.
2026-10-16 17:23:13 -04:00
Tom Moor 0514c5ba4f fix: Prevent indexing of login and app pages (#14105) 2026-10-16 08:34:33 -04:00
Tom Moor eceba73a14 chore: Upgrade koa-helmet to v9 and koa-body to v8 (#14046)
* chore: Upgrade koa-helmet to v9 and koa-body to v8

* fix: Keep decimal parsing for pagination limit and offset
2026-10-16 02:11:11 +00:00
Tom Moor 2a4693687b chore: Load Vite and Vitest configs as ESM (#14101)
* chore: Load Vite and Vitest configs as ESM

* fix: Resolve _FILE variables in the Vite config environment

* fix: Do not log the secret file path in the Vite config

* fix: Silence the dotenvx injection log
2026-10-16 01:40:47 +00:00
Tom Moor 9ef275cf5d fix: Insert patch text verbatim inside code blocks (#14097) 2026-10-15 21:10:45 -04:00
Tom Moor 095b096c21 chore: Derive the Vite dev server port from PORT (#14094) 2026-10-15 08:58:29 -04:00