Commit Graph
11233 Commits
Author SHA1 Message Date
Tom Moor f7c41395c4 chore: Remove Google Analytics 3 (Universal Analytics) code (#14792)
Google stopped processing UA data in July 2023, so the UA- path, autotrack plugins and ga() calls did nothing.
2026-11-28 10:45:46 -05:00
Tom Moor 38eb10db51 chore: Remove client feature flag system (#14791) 2026-11-28 10:45:16 -05:00
Tom Moor 2cbd8726fd chore: Merge duplicate file name and settings path helpers (#14793) 2026-11-28 10:45:10 -05:00
Tom Moor 46bdcc1a2d fix: Ignore expected client errors in Sentry when Error is wrapped (#14790)
* fix: Ignore expected client errors in Sentry when Error is wrapped

* fix: Let DOM NotFoundError reach the translation filter
2026-11-28 15:30:17 +00:00
Tom Moor d118448654 chore: Remove "Attempted to reload twice" warning (#14789) 2026-11-28 10:18:20 -05:00
Tom Moor 0779240c6f fix: Stop tabs echoing auth changes back through storage events (#14787)
* fix: Stop tabs echoing auth changes back through storage events

A tab that applied another tab's sign-in or sign-out wrote the result back to
localStorage, which flipped the other tab again. Tabs that serialize the auth
store differently then bounced between / and the app every few milliseconds.

* fix: Keep tracking nested auth fields while skipping storage writes
2026-11-28 10:10:32 -05:00
Tom Moor 0d8201962d fix: Guard scrollbar width hook against a missing documentElement (#14788) 2026-11-28 10:10:27 -05:00
Tom Moor 3d5e9c1da1 fix: Tighten document policy checks for drafts (#14786) 2026-11-28 09:40:57 -05:00
Tom Moor 139f511056 chore: Resolve unmet peer dependency warnings on install (#14785) 2026-11-28 09:17:29 -05:00
Tom Moor eb2749d379 perf: Yield work in batches on presenters (#14784) 2026-11-28 08:50:59 -05:00
Tom Moor 754672e9dc Centralize document access rules for list queries (#14783)
* wip

* Route document list queries through findAllWithCtx

Add findAllWithCtx and countWithCtx on Document and Template, unsafe* methods
for system reads, and a lint rule that bans direct list queries. Remove the
cached membership list, accessibleSql and findByIds in favour of one gate.

* Remove test

* Include drafts when loading starred documents

* Scope the access gate to the user's team, move whereToSql to QueryHelper

* Move collection access to Collection.findAllWithCtx

Collection.accessibleIds keeps the cached id list inside the collection gate, and user.collectionIds() is a shortcut to it. List queries use findAllWithCtx and countWithCtx, system reads use the shared unsafe methods, and the admin listing in collections.list is explicit.

* Check permanentDelete for each document in empty_trash
2026-11-27 15:30:43 -05:00
Tom Moor 3039f0723c feat: Update link editor toolbar layout (#14781)
Move the back button to the start, use the new unlink icon, and show an
Apply button when the URL has changed.
2026-11-27 09:34:24 -05:00
Tom Moor 538549ff2a chore: Dedupe lib0 to remove Node localStorage startup warning (#14782) 2026-11-27 09:33:46 -05:00
Tom Moor 9b18f62fd0 fix: Respect collectionId filter in documents.list backlink requests (#14779) 2026-11-27 09:14:19 -05:00
Tom MoorandClaude Opus 5.5 a09c77a4f7 fix: Equal table spacing and slimmer table controls (#14699)
* fix: Match table vertical margin to other blocks

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

* fix: Remove doubled table margin and match notice margin to other blocks

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

* fix: Slimmer table grips that fit within block spacing

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

* fix: Center table corner grip on row and column grips

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

* fix: Equal table spacing with column controls over the block above

* fix: Stop table control fade above the table border

* fix: Taller table control fade that covers column borders

* fix: Draw table control fade on the scroll area so it does not cover the add dots

* fix: Only show table control fade while the grips are shown

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-27 08:51:01 -05:00
Translate-O-Tron c264c916c9 New Crowdin updates (#14720)
* 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 Greek 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 Greek translations

* fix: New French translations

* fix: New Spanish translations
2026-11-27 08:50:37 -05:00
Tom Moor bc44330d1f Remove deprecated users.promote and users.demote routes (#14778) 2026-11-27 08:50:22 -05:00
Tom Moor 7deef830a4 perf: Remove redundant and unused database indexes (#14695) 2026-11-27 08:50:07 -05:00
Tom Moor e0a455e3be fix: Align static share rendering with document presenter (#14777) 2026-11-27 08:49:19 -05:00
Tom Moor 46fc485a89 perf: Make documents ownerIds index partial (#14776)
Score-only updates on documents are non-HOT, so every update wrote a new
entry into the full GIN index on ownerIds even though almost all rows have
no owners. Index only rows with owners.
2026-11-27 08:49:07 -05:00
Tom Moor 2fb1503d35 fix: Anchor checkbox markdown regex and parse checklists in linear time (#14751) 2026-11-26 20:52:42 -05:00
Tom Moor e868ca1728 fix: Avoid quadratic regex backtracking in isMarkdown (#14753)
* fix: Avoid quadratic regex backtracking in isMarkdown

* fix: Stop link destinations at brackets and parentheses in isMarkdown

* test: Remove isMarkdown regression tests
2026-11-26 20:39:43 -05:00
Tom Moor a840b553f6 fix: shares.create publishes an existing share and keeps its creator (#14749)
* fix: shares.create publishes an existing share and keeps its creator

* fix: apply supplied expiresAt when publishing a reused share
2026-11-26 20:24:30 -05:00
Tom Moor 74c12d4c63 fix: Markdown round trip loses image, attachment, video and embed content (#14759)
* fix: Markdown serializer loses image, attachment, video and embed content on round trip

Escape image alt newlines and title quotes, and close attachment, video and
embed blocks so list and blockquote delimiters apply.

* test: Cover backslash in image title round trip

* fix: Escape image title quotes and backslashes together
2026-11-26 20:22:12 -05:00
Tom Moor 66254a8239 fix: documents.drafts collectionId filter includes unfiled drafts (#14772) 2026-11-26 19:45:51 -05:00
Tom Moor 0d80559f8d fix: Show public shares of draft documents in Shared Links (#14775)
* fix: Include draft document shares in shares.list

* perf: Exclude document content from shares.list
2026-11-26 19:45:40 -05:00
Tom Moor 7cda6670ac fix: Remove pins when a document is trashed (#14765)
* fix: Remove pins when a document is trashed

Pins on trashed documents were hidden but still counted toward the pin limit and could not be removed.

* fix: Remove pins when a collection is deleted
2026-11-26 19:38:49 -05:00
Tom Moor 36163dddd8 fix: Prevent removing inherited group access from child documents (#14774) 2026-11-26 19:38:29 -05:00
Tom Moor bba2c8393d fix: Scope admin share fields to the owning team (#14770) 2026-11-26 19:38:17 -05:00
Tom Moor 454c9e1b13 fix: Respect limit query parameter in cron endpoints (#14767) 2026-11-26 19:33:21 -05:00
Tom Moor 4649ac3e09 fix: Read Word documents with the shared zip reader (#14744)
* fix: Read Word documents with the shared zip reader

* fix: Bound total bytes read from Word documents
2026-11-26 19:27:40 -05:00
Tom Moor 0db2c71099 fix: documents.list total and DESC paging for sort=index (#14771) 2026-11-26 19:25:05 -05:00
Tom Moor 373b098dfe fix: Resolve document and collection slugs to ids before writing them (#14763) 2026-11-26 19:18:34 -05:00
Tom Moor ff9735f573 fix: Align empty trash scope with trash listing (#14769) 2026-11-26 19:18:20 -05:00
Tom Moor 168dc32111 fix: Cap diffArrays memo size for large changed ranges (#14760)
* fix: Cap diffArrays memo size for large changed ranges

* fix: Count memo boundary row and column in diffArrays cap
2026-11-26 19:17:02 -05:00
Tom Moor 63de3fcd37 fix: Delete emoji attachment row in transaction and prevent shared attachments (#14768) 2026-11-26 19:16:40 -05:00
Tom Moor de93d83041 fix: groups.list drops userId filter when source is a provider (#14757) 2026-11-26 19:07:03 -05:00
Tom Moor 54e57424d6 fix: Tighten embed frame sandbox and URL matching (#14755) 2026-11-26 19:06:56 -05:00
Tom Moor 588d161a33 perf: Sort titles with Intl.Collator instead of natural-sort (#14766)
natural-sort runs a date regex with nested quantifiers on every compare,
which made sorting long titles that contain numbers very slow.
2026-11-26 19:05:14 -05:00
Tom Moor c996691411 fix: Require an enabled authentication provider before disabling email sign-in (#14761)
* fix: Require an enabled authentication provider before disabling email sign-in

* test: Cover teams with only disabled providers
2026-11-27 00:05:08 +00:00
Tom Moor 2df9f245df fix: Reject non-import integrations in imports.create (#14764) 2026-11-26 19:04:29 -05:00
Tom Moor fbe06d0624 fix: Match existing users by case-insensitive email on invite (#14762)
* fix: Match existing users by case-insensitive email on invite

* test: Cover case-insensitive User.findByEmail lookup
2026-11-27 00:03:43 +00:00
Tom Moor d2ab9e7e3f fix: Validate collection when creating a pin (#14758) 2026-11-26 19:02:44 -05:00
Tom Moor 9d39e07a7d fix: documents.duplicate returns 403 for an unknown collectionId (#14750) 2026-11-26 19:01:36 -05:00
Tom Moor 12862f5c18 fix: Return an error from attachments.createFromUrl when the download fails (#14756) 2026-11-26 18:59:08 -05:00
Tom Moor dd25d6ab62 chore: Remove unused document schemas (#14746) 2026-11-26 18:58:15 -05:00
Tom Moor 6fb22008ee fix: Return 404 from integrations.update for an unknown id (#14745) 2026-11-26 18:58:10 -05:00
Tom Moor 4e468bf0d6 fix: Use actor for readEmail check in users.invite response (#14748) 2026-11-26 18:55:20 -05:00
Tom Moor 5891724628 fix: Present collections in suggestions.mention response (#14747) 2026-11-26 18:51:29 -05:00
Tom Moor 66432e53a4 fix: Do not open block math when text follows the opening delimiter (#14752) 2026-11-26 18:51:19 -05:00