Commit Graph
2545 Commits
Author SHA1 Message Date
Translate-O-Tron cfea604baf fix: New Italian translations 2026-11-12 23:15:07 -05:00
Translate-O-Tron 648775fe61 fix: New Hungarian translations 2026-11-12 23:15:05 -05:00
Translate-O-Tron 55a2a7b552 fix: New Hebrew translations 2026-11-12 23:15:03 -05:00
Translate-O-Tron 7493fd0575 fix: New German translations 2026-11-12 23:15:01 -05:00
Translate-O-Tron fdc57d0120 fix: New Danish translations 2026-11-12 23:15:00 -05:00
Translate-O-Tron a2b9252e23 fix: New Czech translations 2026-11-12 23:14:58 -05:00
Translate-O-Tron 3088b7d956 fix: New Catalan translations 2026-11-12 23:14:56 -05:00
Translate-O-Tron 2d430e7f7a fix: New Spanish translations 2026-11-12 23:14:54 -05:00
Translate-O-Tron 3c03eca11e fix: New French translations 2026-11-12 23:14:52 -05:00
Translate-O-Tron 1f07e578b5 fix: New Greek translations 2026-11-12 21:42:40 -05:00
Translate-O-Tron 2601f6724b fix: New Norwegian Bokmal translations 2026-11-09 23:19:49 -05:00
Translate-O-Tron aaf6d0d645 fix: New English, United Kingdom translations 2026-11-09 23:19:48 -05:00
Translate-O-Tron e3fad5feec fix: New Thai translations 2026-11-09 23:19:46 -05:00
Translate-O-Tron 7bc3c80adf fix: New Persian translations 2026-11-09 23:19:44 -05:00
Translate-O-Tron d2bf480860 fix: New Indonesian translations 2026-11-09 23:19:43 -05:00
Translate-O-Tron 77e8469b44 fix: New Portuguese, Brazilian translations 2026-11-09 23:19:41 -05:00
Translate-O-Tron 82c3a63807 fix: New Vietnamese translations 2026-11-09 23:19:39 -05:00
Translate-O-Tron 9456c63b12 fix: New Chinese Traditional translations 2026-11-09 23:19:37 -05:00
Translate-O-Tron e7b126f464 fix: New Chinese Simplified translations 2026-11-09 23:19:36 -05:00
Translate-O-Tron 9ff593fa54 fix: New Ukrainian translations 2026-11-09 23:19:34 -05:00
Translate-O-Tron d355216a88 fix: New Turkish translations 2026-11-09 23:19:32 -05:00
Translate-O-Tron 82676de1c5 fix: New Swedish translations 2026-11-09 23:19:30 -05:00
Translate-O-Tron 08ddce058c fix: New Portuguese translations 2026-11-09 23:19:29 -05:00
Translate-O-Tron 87560a1d2d fix: New Polish translations 2026-11-09 23:19:27 -05:00
Translate-O-Tron e0a45a2b73 fix: New Dutch translations 2026-11-09 23:19:25 -05:00
Translate-O-Tron 27dbec684e fix: New Korean translations 2026-11-09 23:19:23 -05:00
Translate-O-Tron ed42ed2988 fix: New Japanese translations 2026-11-09 23:19:21 -05:00
Translate-O-Tron 9ae0c0f950 fix: New Italian translations 2026-11-09 23:19:20 -05:00
Translate-O-Tron 951f84ab88 fix: New Hungarian translations 2026-11-09 23:19:18 -05:00
Translate-O-Tron 9bf4ab4a5c fix: New Hebrew translations 2026-11-09 23:19:16 -05:00
Translate-O-Tron ef602b1749 fix: New German translations 2026-11-09 23:19:14 -05:00
Translate-O-Tron 60d7453076 fix: New Danish translations 2026-11-09 23:19:13 -05:00
Translate-O-Tron 3c2f4813b6 fix: New Czech translations 2026-11-09 23:19:11 -05:00
Translate-O-Tron 693c7d3544 fix: New Catalan translations 2026-11-09 23:19:09 -05:00
Translate-O-Tron 9c23c8e4f9 fix: New Spanish translations 2026-11-09 23:19:08 -05:00
Translate-O-Tron f204245c55 fix: New French translations 2026-11-09 23:19:06 -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 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
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 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 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 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 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 0caebe9cc3 fix: Correct grammar and US spelling in translation strings (#14504) 2026-11-06 18:41:23 -05:00
Tom Moor db6b562a25 fix: Correct CSV escaping and URL host matching in shared utils (#14491)
* fix: Correct CSV escaping and URL host matching in shared utils

- Check for CSV formula triggers after removing hidden characters, so that a
  removed character cannot hide a trigger.
- Quote CSV fields that contain a carriage return.
- End the authority in parseDomain at "?", "#" and "\" as well as "/", so that
  a host is not read from a query or fragment.
- Require a boundary after the origin in urlRegex, so that a look-alike host
  does not match.

* fix: Match a stated default port in urlRegex

URL.host omits a default port, so a url that states :443 or :80 did not match its own origin after the boundary check was added.
2026-11-06 18:17:25 -05:00
Tom Moor fe50488c97 feat: Allow selecting a destination when importing (#14486)
* feat: allow selecting import destination

* fix: address import destination review findings

* feat: multi-step import dialog with workspace root location

- Import dialog is now upload then location, the same height as the move dialog
- Document explorer lists the workspace as the root and marks the selected row
- A document export with a sibling folder merges into one document, or becomes
  the collection overview when creating new collections
- Destination document checks now rely on the createChildDocument policy

* fix: delete archived imported documents and read legacy task inputs

- Deleting an import now removes the children of archived imported documents
- Tasks queued before the rename to rootExternalId are still assigned correctly
2026-11-06 08:05:31 -05:00
Tom Moor d8667e4b19 fix: Record passkey, OAuth client and invite events in the audit log (#14485)
* fix: Record passkey, OAuth client and invite events in the audit log

- Add passkeys.*, oauthClients.*, documents.unpublish,
  webhookSubscriptions.update and users.invite_accepted to AUDIT_EVENTS.
- users.invite_accepted was never emitted: the invited check ran after
  sign-in had set lastActiveAt, and email sign-in did not emit it at all.
  It also had no actor or team. Invited users signing in with SSO receive
  their welcome email again, and webhooks for this event start firing.
- passkeys.create had no actor or team as auth routes have no API context.
- Record the name on update and delete events where it is otherwise lost,
  the title on documents.unpublish, and mark OAuth client secret rotations.

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

* fix: Attribute invite_accepted to the invitee, not the browser session

Auth routes parse an optional cookie session, and createFromContext prefers
that user over the provided defaults, so accepting an invite in a browser
with another session recorded the wrong actor and team.
2026-11-06 08:05:18 -05:00
Tom MoorandClaude Opus 5.5 6eaff102a9 feat: Add server-driven rows to useTableRequest and date range helpers (#14483)
* feat: Add server-driven rows to useTableRequest and date range helpers

- useTableRequest: `data` is now optional, when omitted the hook displays the
  rows returned by the server for the current params. Needed when server-side
  filtering cannot be reproduced against a client store.
- Add `dateToTimestamp` and `dateRangeToReadable` localized date formatters.
- Calendar: style the days between the start and end of a range.

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

* Delete app/hooks/useTableRequest.test.tsx

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 02:09:57 +00:00
Tom Moor 634d8d6493 fix: Keep preceding character when splitting code block on triple backticks (#14463)
* fix: Keep preceding character when splitting code block on triple backticks

* test: Cover dry-run result of triple backtick split
2026-11-05 19:33:56 -05:00