Commit Graph
11090 Commits
Author SHA1 Message Date
Tom Moor 7b31afdf30 fix: Move nested personal documents to root on drop, accept alias with parent on copy 2026-11-17 18:51:29 -05:00
Tom Moor ea123434a0 fix: Allow moving documents to the personal collection before it exists
Move, copy and publish accept the personal collectionId alias, and the
destination pickers list the personal collection when it does not exist yet.
The Personal sidebar section accepts dropped documents at its root.
2026-11-17 18:43:35 -05:00
Tom Moor b73fd509e0 fix: Exclude suspended users from mention suggestions (#14617)
* fix: Exclude suspended users from mention suggestions

* test: Remove findByQuery test
2026-11-17 08:43:23 -05:00
Tom Moor 8893cb26e6 perf: Batch linked document lookups in BacklinksProcessor (#14613)
* perf: Batch linked document lookups in BacklinksProcessor

* test: Cover batched backlink lookups

* test: Remove query count test
2026-11-16 18:55:07 -05:00
Tom Moor 6ece062b8c perf: Fetch Notion pages in an import task in parallel (#14612)
* perf: Fetch Notion pages in an import task in parallel

* fix: Settle all Notion page fetches before failing an import task
2026-11-16 23:46:43 +00:00
Tom Moor bb7372ab05 perf: Avoid loading collection structure when fetching document shares (#14611)
* perf: Avoid loading collection structure when fetching document shares

* fix: Do not return inherited shares for archived documents
2026-11-16 18:45:31 -05:00
Tom Moor e463e5565b chore: Upgrade react-day-picker to v10 and date-fns to v4 (#14608)
Rewrite the calendar styles for the v9+ DOM and handle range selection in DateRangeDialog, as v9 sets both ends of the range on the first click.
2026-11-16 18:43:44 -05:00
Tom Moor 69528b16be perf: Check drag handle hover zone before hit testing (#14610) 2026-11-16 18:42:31 -05:00
Tom Moor 0a656b356e chore: Upgrade diff to v9 and remove @types/diff (#14609) 2026-11-16 18:42:25 -05:00
17ed709a80 Prevent guests from joining groups and creating custom emoji (#14606)
* Prevent guests from joining groups and creating custom emoji

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

* Enhance user retrieval with transaction lock

Add lock option to User.findByPk for transaction safety

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-11-16 23:42:06 +00:00
Tom Moor cba12e2e0b chore(deps): Upgrade uuid to 14 (#14607) 2026-11-16 18:41:34 -05:00
Tom Moor 4e8dfa39f2 fix: Name batch requests correctly in APM and trace each sub-request (#14603)
* fix: Name batch requests correctly in APM and trace each sub-request

* fix: Tag status on failed batch request spans
2026-11-16 18:39:07 -05:00
Tom Moor 5e6cc0f191 fix: Send single batched requests directly to their endpoint (#14604)
* fix: Send single batched requests directly to their endpoint

* fix: Reject a lone batched request when dispatch throws
2026-11-16 09:09:59 -05:00
linear-code[bot] 2261def0ea docs: Add prevention guidance from recent fixes (#14605)
Co-authored-by: linear-code[bot] <222613912+linear-code[bot]@users.noreply.github.com>
2026-11-16 09:09:09 -05:00
Tom Moor 5bf7a93c1a fix: Pasting a URL over an existing link replaces the link (#14602) 2026-11-16 08:33:14 -05:00
Tom Moor 3f25d6579e Implement translation check in lint-staged config
Add a check for empty translation.json to prevent commits.
2026-11-15 19:31:12 -05:00
Tom Moor c0288df8eb fix: Reduce error noise while the database is read-only or unavailable (#14599)
* fix: Reduce error noise while the database is read-only or unavailable

* fix: Let websocket clients reconnect after a slow authentication
2026-11-15 12:40:59 -05:00
Tom Moor 1fa7b5459e chore: Delete nightly Docker tags older than 30 days (#14596) 2026-11-15 11:14:25 -05:00
Tom Moor acb8530e8f v1.13.0 2026-11-15 10:46:06 -05:00
Tom Moor d1609c3843 fix: Sidebar jumps when creating a document from the inline input (#14594) 2026-11-15 09:27:33 -05:00
Tom MoorandClaude 9ea360995f feat: Optimistic model saves with rollback on failure (#14593)
* feat: Make model.save() optimistic with rollback on failure

Apply saved params to the model immediately so MobX observers update
without waiting for the server, and roll the model back to its previous
state when the request fails. New models with a client-generated id are
optimistically added to the store and removed again on failure.

* chore: Apply formatter and test naming convention

* fix: Scope optimistic saves to passed fields and confirmed values

Only fields passed to save() are applied optimistically, and a failure
reverts a field only while it still holds the optimistic value. Change
hooks compare against the last confirmed values so they run when the
server responds. The optimistic store add is removed.

* refactor: Use optimistic save for preferences and field toggles

Add savePreference to User, Team and Document, and pass changed fields to
save() so they revert on failure.

* fix: Only compare incoming fields against confirmed values in change hooks

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-15 09:26:55 -05:00
Tom Moor 4a96de653b perf: Smaller locale files and fewer locale fetches (#14592)
* perf: Smaller locale files, start i18n with stored user language, preload locale

* fix: Set spellchecker when locale is unchanged, match lng from allowlist

* refactor: Type-safe locale cache keyed by supported language

* Remove locale preload

* fix: Ignore unsupported languages in changeLanguage
2026-11-14 19:57:53 -05:00
Tom Moor 4554494ed8 chore: Make docker compose host ports configurable (#14590) 2026-11-14 13:07:57 -05:00
Translate-O-Tron 11a74ebd4a New Crowdin updates (#14591)
* 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
2026-11-14 13:07:16 -05:00
Tom Moor c51ba1ead7 fix: User filter order, title only icon, plurality 2026-11-14 12:37:42 -05:00
Tom Moor c3274d17d1 Redesign search filters with a scalable chip bar (#14589)
* Redesign search filters

* Design refinement

* Search filter polish: chip states, Text components, Published filter

* Encode search filters as <field>.<operator> URL params

Filters read and write a standard <field>.<operator>=<value> format, a
bare key reads as eq, and the previous dateFilter, statusFilter and
titleFilter params are still read.

* Add custom date ranges to search date filters

Updated, Created and Published get a Custom option that opens a range
calendar in a modal. The range is stored as <field>.gte and <field>.lte
dates and sent to the API as whole days in local time.

* Keep date filter chip shown while its range dialog is open

* Align calendar with modal edges

The calendar had its own 12px padding, so in modals it sat inside the
title and footer edges. The popovers that need the space now pad it.

* Search filter refinements: menu height, chip spacing, steady results line

* Simplify search filters and address review comments

Parse each filter once per URL change, unify URL writes, share status and
date helpers with the server, add a maxHeight prop to MenuContent, ignore
counts from obsolete searches, and show the empty state for filter-only
searches.

* Refine filter chip remove button and skip animation on auto-opened menus
2026-11-14 12:00:47 -05:00
Tom Moor 6a6987ec2d perf: Faster mention suggestions (#14583)
* perf: Faster mention suggestions

Limit each section of suggestions.mention to 1s so a slow query does not
delay the others, debounce mention and link editor requests, ignore stale
responses, and use title search in the link editor.

* fix: Include presentation in the mention suggestion time limits

* test: Use a fixed name in the collection member name filter test
2026-11-13 22:37:49 -05:00
Tom Moor 4fd9b60400 fix: Fetch Azure profile photo in UploadUserAvatarTask instead of during login (#14584) 2026-11-13 18:15:55 -05:00
Tom Moor 9bead306c2 feat: Add Greek to language options (#14585) 2026-11-13 18:13:59 -05:00
Translate-O-Tron 6893adcd4e New Crowdin updates (#14520)
* 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

* fix: New Italian 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 Greek translations

* fix: New Greek translations
2026-11-13 17:46:43 -05:00
75a5d19ea1 fix: decode non-base64 image data URLs (#14580)
Co-authored-by: Tom Moor <380914+tommoor@users.noreply.github.com>
Co-authored-by: linear-code[bot] <222613912+linear-code[bot]@users.noreply.github.com>
2026-11-13 17:21:12 -05:00
Tom Moor ace73d103a fix: Bump @firecrawl/pdf-inspector for linux-arm64 PDF imports (#14582) 2026-11-13 17:17:59 -05:00
Tom Moor 2206588aa8 feat: Expiry column and expiry menu for shared links (#14579)
* feat: Expiry column and expiry menu for shared links

Adds an Expires column to the shared links table and a Set expiry submenu
with presets, a custom date dialog and removal. Also loads document
memberships in shares.list so the update policy is correct.

* fix: Hide share expiry menu when workspace sharing is disabled

* refactor: Load share document memberships in the list query
2026-11-13 09:29:30 -05:00
Tom Moor 587c211f57 fix: Do not overwrite canceled or finished imports from import tasks (#14578) 2026-11-13 08:40:05 -05:00
Tom Moor 8df9c854fa fix: Error imports that have nothing to import (#14577)
An import with no input, or a Notion import with no shared pages, stayed in an active state with no tasks. This blocked new imports for the team until the creator canceled it.
2026-11-13 08:33:36 -05:00
Tom Moor 6fd7eb7cf0 chore: Share import state lists from the Import model (#14575) 2026-11-13 08:05:13 -05:00
Tom Moor 4fd8b0731e fix: Limit archive contents read during imports (#14576) 2026-11-13 08:04:58 -05:00
Tom Moor e913715ce1 fix: Return each tab to its own document after cross-tab logout (#14536)
* fix: Return each tab to its own document after cross-tab logout

* Use savePath option for tab-only post login path
2026-11-13 07:56:55 -05:00
dependabot[bot] 1bc4938090 chore(deps): bump react-is from 19.3.0 to 19.3.1 (#14550)
Bumps [react-is](https://github.com/react/react/tree/HEAD/packages/react-is) from 19.3.0 to 19.3.1.
- [Release notes](https://github.com/react/react/releases)
- [Changelog](https://github.com/react/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/react/react/commits/v19.3.1/packages/react-is)

---
updated-dependencies:
- dependency-name: react-is
  dependency-version: 19.3.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-11-12 23:32:31 -05:00
Tom Moor 6231f01860 fix: Forced fetches dropped or stale while another fetch is in flight (#14573)
* fix: Run forced document tree fetches that arrive while a fetch is in flight

* fix: Run forced store fetches that arrive while a fetch is in flight

* test
2026-11-12 23:07:35 -05:00
Tom Moor bcf282a2f6 feat: Auto-save settings and tidy settings layout (#14569)
* feat: Auto-save General and Profile settings, add settings sections

- Save General and Profile fields on change and remove the Save button
- Add SettingsSection with consistent spacing and a tinted Danger block
- Right-align setting controls and center switches in their row
- Let descriptions use the full row width beside switches

* fix: Avoid settings autosave overwrites and IME Enter saves

- Send only the changed team preference so concurrent saves do not revert each other
- Save separate editing as a single preference instead of the whole team
- Treat a cleared color input as empty so the default is restored
- Ignore Enter during IME composition

* feat: Add change and remove icon buttons below image inputs

- Replace the Remove button with edit and trash icon buttons with tooltips
- Show an upload icon on the image hover overlay
- Re-render ImageInput when the image changes so the remove action appears immediately

* feat: Use footer buttons in the change profile picture dialog

- Add Replace and Delete buttons beside Done in the admin avatar dialog
- Add showActions and an open handle to ImageInput so dialogs can supply their own controls

* fix: Style the danger section with an outer shadow instead of tinted text
2026-11-13 04:01:55 +00:00
Tom Moor e0895fc548 Refine authentication token handling (#14572) 2026-11-12 23:00:42 -05:00
Tom Moor 306c0fcecf feat: Show the drag handle only when hovering the side of the editor (#14574) 2026-11-12 22:26:49 -05:00
Tom Moor 7a87534789 chore: Replace Gitbeaker with a small GitLab API client (#14548)
* chore: Replace Gitbeaker with a small GitLab API client

* test: Cover GitLab token refresh
2026-11-12 22:11:39 -05:00
Tom Moor ebe842b1f5 fix: Sticky hover state on sidebar items on touch screens (#14570) 2026-11-12 22:10:31 -05:00
Tom Moor 77f2d88416 fix: Tighten passkey challenge handling (#14571) 2026-11-12 22:08:47 -05:00
Tom Moor 97055b2d80 chore: Split server/routes/index.ts into focused routers (#14556)
Move static assets, shares, embeds and the app catch-all into their own
routers, and extract workspace redirect and render option logic so the
index file only composes middleware in order.
2026-11-12 21:52:06 -05:00
Tom Moor 2276ee2ecb Set lock_timeout on request transactions (#14563)
* Set lock_timeout on request transactions

Lock waits in API transactions now fail after 5s with a 503 instead of
holding a pool connection until the statement timeout.

* Map query timeouts to request_timeout in batch sub-requests
2026-11-12 21:51:48 -05:00
dependabot[bot]andTom Moor 38770745c8 chore(deps): bump react from 19.3.0 to 19.3.1 (#14546)
* chore(deps): bump react from 19.3.0 to 19.3.1

Bumps [react](https://github.com/react/react/tree/HEAD/packages/react) from 19.3.0 to 19.3.1.
- [Release notes](https://github.com/react/react/releases)
- [Changelog](https://github.com/react/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/react/react/commits/v19.3.1/packages/react)

---
updated-dependencies:
- dependency-name: react
  dependency-version: 19.3.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* chore(deps): bump react-dom to 19.3.1 to match react

---------

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-12 21:48:21 -05:00
Tom Moor 631114129e perf: Lock only the target row in locked queries with joins (#14564) 2026-11-12 21:48:14 -05:00