Commit Graph
11033 Commits
Author SHA1 Message Date
Tom Moor fb7b024489 chore: Move link actions to their own module and inline link checks 2026-11-11 21:18:44 -05:00
Tom Moor 080a9e59c8 chore: Simplify sidebar link code 2026-11-11 21:04:54 -05:00
Tom Moor 55bd1f36c1 Merge remote-tracking branch 'origin/main' into tommoor/external-sidebar-links-add
# Conflicts:
#	app/components/Sidebar/components/DocumentRow.tsx
2026-11-11 19:41:58 -05:00
Tom Moor bca9c53139 fix: Address review feedback on sidebar links 2026-11-11 19:31:48 -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 744f6e6ded feat: Add link action and top section to the collection menu 2026-11-11 18:48:41 -05:00
Tom Moor 6a32a349d0 feat: Save a url pasted into the sidebar new doc input at once 2026-11-11 18:33:18 -05:00
Tom Moor ece72832db fix: Do not rethrow save errors from EditableTitle 2026-11-11 18:33:13 -05:00
Tom Moor 0d385cb09a feat: Add a link when a url is entered in the sidebar new doc input 2026-11-11 18:01:07 -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 39a6df0c73 fix: Only show link actions in the sidebar document menus 2026-11-11 11:45:10 -05:00
Tom Moor 394ac42d17 feat: Add link actions to the document menu 2026-11-11 11:05:49 -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 ca43faa76f fix: Open internal sidebar links at the canonical location 2026-11-11 08:15:09 -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
Tom Moor dbef6ba847 fix: Explain local storage permission errors with the process uid (#14525)
* fix: Explain local storage permission errors with the process uid

* fix: Check execute permission on local storage directory
2026-11-11 07:09:36 -05:00
Tom Moor e1a1d753a2 feat: Open sidebar links to this app through the router 2026-11-10 09:04:30 -05:00
Tom Moor 08f4e59136 feat: Fill the link title from the unfurl endpoint 2026-11-10 07:29:53 -05:00
Tom Moor 06ace0c54b fix: Do not show a changing title placeholder in the link dialog 2026-11-10 07:28:40 -05:00
Tom Moor 3d9e6bd20d feat: Alt+click on the sidebar add button creates a document 2026-11-10 07:28:37 -05:00
Tom Moor 283b254fea fix: Keep sidebar row active while the add menu is open 2026-11-10 07:27:32 -05:00
Tom Moor d75c243763 feat: Allow sidebar links to be dragged to reorder 2026-11-10 07:24:43 -05:00
Tom Moor fcf3f41a58 feat: Add external links to the sidebar 2026-11-10 07:20:35 -05:00
Tom Moor 309dd022f6 fix: Add spacing around images in list items (#14518)
* fix: Add spacing around images in list items

* fix: Space list images at the wrapper so inline text is separated too
2026-11-09 22:44:57 -05:00
Tom Moor f71f12b41d chore(deps): Update prosemirror packages (#14519) 2026-11-09 22:44:37 -05:00
Tom Moor a40198a97d feat: Add expiry dates for public share links (#14513)
* wip

* fix: Treat null expiresAt as no expiry when creating a share

* fix: Add bottom padding to share notices
2026-11-09 22:29:49 -05:00
dependabot[bot]andTom Moor 491adf9f93 chore(deps): bump prosemirror-transform from 1.10.5 to 1.12.4 (#14474)
* chore(deps): bump prosemirror-transform from 1.10.5 to 1.12.4

Bumps [prosemirror-transform](https://github.com/prosemirror/prosemirror-transform) from 1.10.5 to 1.12.4.
- [Changelog](https://github.com/ProseMirror/prosemirror-transform/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prosemirror/prosemirror-transform/commits)

---
updated-dependencies:
- dependency-name: prosemirror-transform
  dependency-version: 1.12.4
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* chore: Allow prosemirror-transform minor updates and remove resolution

The exact version and resolution were added in 2024 to keep 1.10.0 because of a paragraph-to-list join bug. Join behavior is the same on 1.10.0 and 1.12.x, so a caret range is now safe and resolves to a single copy.

---------

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-09 22:19:56 -05:00
Tom Moor a7b1d8050e fix: Run team deletions one at a time (#14517) 2026-11-09 21:43:30 -05:00
linear-code[bot]andTom Moor a9661f01ae docs: Add prevention rules from recent regression fixes (#14514)
* docs: Add prevention rules from recent regression fixes

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

* Refactor AGENTS.md to remove redundant information

Removed redundant explanations for task input fields, account linking, importers, and Redis usage.

---------

Co-authored-by: linear-code[bot] <222613912+linear-code[bot]@users.noreply.github.com>
Co-authored-by: Tom Moor <tom@getoutline.com>
2026-11-09 14:17:21 +00:00
Translate-O-Tron 3402c2a251 New Crowdin updates (#14512)
* fix: New French translations

* fix: New Spanish translations

* fix: New Catalan translations

* fix: New Czech 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

* fix: New French translations

* fix: New Spanish 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 Polish translations

* fix: New Portuguese translations

* fix: New Swedish translations

* fix: New Turkish translations

* fix: New Ukrainian translations

* fix: New Vietnamese translations

* fix: New Chinese Simplified translations
2026-11-09 09:15:23 +00:00
Tom Moor afb5314825 chore: Replace oy-vey with native React rendering (#14495) 2026-11-08 08:23:26 -05:00
Tom MoorandClaude f680d5dec9 feat: Display links, documents and collections as preview cards (#14511)
* feat: Display links as preview cards

Adds a display attribute to mentions so a link can render either inline
or as a card with image, title and description from its unfurl. Pasting
a URL offers a "Card" option, and selecting a link mention shows a
toolbar to switch between the two displays.

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

* feat: Arrow key selection, full width and Return for link cards

Cards fill the document width, hide the blank line below them, are selected
by the up and down arrow keys like images, and Return on a selected card
adds a paragraph below it.

* feat: Display document and collection mentions as cards

Document and collection mentions can be switched to a card from the
selection toolbar. Document cards show the summary, collection and the
first image larger than 100x100. Collection cards show the first line of
the description. On public shares the preview image is signed, as the
share page already signs the attachments of that document. Card images
are hidden until they load and removed if they fail.

* feat: Keep mention cards through Markdown

The card display is written as the link title, so URLs are not changed.
Document and collection cards are written as @ links to their id and
parsed back into mentions.

* refactor: Move mention cards to their own file

Document cards show the collection after the title instead of below it.

* fix: Address review feedback on mention cards

- Include the share id in the document card unfurl URL for root shares.
- Return on a card in a heading adds a paragraph.
- URL cards keep their URL in Markdown, and the server does not narrow
  their type.
- Unfurl results apply to the current node, not the node at first render.
- Collection card descriptions stop at the first line break.

* refactor: Reuse existing helpers for mention cards

- Sign the preview image with TextHelper.attachmentsToSignedUrls.
- Check document and collection ids with isUUID.
- Return lines from getFirstText without changing an input array.

* fix: Preserve JSON output for inline mentions

* refactor: Centralize mention selection classes

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-08 08:11:31 -05:00
Tom Moor 48db71c351 fix: Tighten document policy checks for personal collections (#14510) 2026-11-07 08:17:29 -05:00
Tom Moor 0c317222a7 chore: Run non-bottleneck CI jobs on GitHub-hosted runners (#14509) 2026-11-07 06:59:35 -05:00
Tom Moor f70428c338 fix: Retain scroll position when switching between "edit" mode (#14415)
* fix: Clicking Edit scrolls to the top of the document

* fix: Restore scroll after node views render

* fix: Switch to editing without redrawing the document

* fix: Keep Yjs undo working after switching to editing
2026-11-06 22:41:32 -05:00
Translate-O-Tron 10e50dd890 New Crowdin updates (#14455)
* fix: New French translations

* fix: New Spanish translations

* fix: New Catalan translations

* fix: New Czech 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

* fix: New French translations

* fix: New Spanish translations

* fix: New German translations

* fix: New Korean translations

* fix: New Polish translations

* fix: New Portuguese translations

* fix: New Swedish translations

* fix: New Turkish translations

* fix: New Ukrainian translations

* fix: New French translations

* fix: New Spanish translations

* fix: New Catalan translations

* fix: New Czech 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

* fix: New French translations

* fix: New Spanish 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 Polish translations

* fix: New Portuguese translations

* fix: New Swedish translations

* fix: New Turkish translations

* fix: New Ukrainian translations

* fix: New Vietnamese translations

* fix: New French translations

* fix: New Spanish translations

* fix: New Catalan translations

* fix: New Czech 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

* fix: New French translations

* fix: New Spanish translations

* fix: New Catalan translations

* fix: New Czech 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-11-06 22:35:00 -05:00
Tom Moor 3f1540832d fix: Connect ephemeral Redis client before services start (#14507) 2026-11-06 21:57:42 -05:00
Tom Moor a518799e9a fix: Flaky audit events test when timestamps tie (#14508) 2026-11-06 21:45:54 -05:00
Tom Moor 6aec14ca6b fix: Return inherited shares for documents without their own share (#14506) 2026-11-06 19:52:15 -05:00
Tom Moor cf119ea041 chore: Check English translation strings for common grammar errors (#14505)
* chore: Check English translation strings for common grammar errors

* chore: Apply grammar checks to plural translation values
2026-11-06 19:31:57 -05:00
Tom Moor d783007558 fix: Compare to the current version when no revision is selected (#14493)
* fix: Compare to the current version when no revision is selected

* chore: Use query-string to build the compare location

* fix: Open the current version until revision content loads, skip deleted documents
2026-11-06 19:05:37 -05:00
Tom Moor 34f746ee9e chore: Remove emoji-mart runtime dependency (#14500)
* chore: Remove emoji-mart runtime dependency

* fix: Exclude unavailable emoji from the search haystack

* fix: Use an Emoji 2.0 sequence for the version 2 probe
2026-11-06 19:03:47 -05:00
Tom Moor 106f439d54 chore: Upgrade jsdom from 22 to 30 (#14497) 2026-11-06 19:02:57 -05:00
Tom Moor 6d76dfb056 fix: Remove child document pins when moved to another collection (#14503) 2026-11-06 18:43:43 -05:00
Tom MoorandClaude 55544f7531 chore: Upgrade pele from 1.12.0 to 1.13.0 (#14494)
Claude-Session: https://claude.ai/code/session_016MJXFgKhrwnHz8jYAqRoxK

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-06 18:42:51 -05:00
Tom Moor 0caebe9cc3 fix: Correct grammar and US spelling in translation strings (#14504) 2026-11-06 18:41:23 -05:00
Tom Moor 9168ec31ab perf: Use fast-deep-equal in DocumentHelper.isContentEqual (#14501) 2026-11-06 18:28:04 -05:00
Tom Moor 3cdf0c0979 fix: Keep extensions in toDropzoneAccept when there are no mime types (#14502) 2026-11-06 18:28:00 -05:00
Tom Moor 2c3bff81e1 fix: Handle repeated framing headers in embed check (#14492)
* fix: Handle repeated framing headers in embed check

* fix: Only honor the first frame-ancestors directive in a CSP policy
2026-11-06 18:27:51 -05:00