Commit Graph
10423 Commits
Author SHA1 Message Date
Salihu b7dfd66ad6 fix bug 2026-09-09 14:09:44 +01:00
Salihu 5e8d75170d consistent expiration checks 2026-09-09 14:09:44 +01:00
Salihu 23c14a78a3 show expired banner when link expires 2026-09-09 14:09:44 +01:00
Salihu bb5d548afe expiry selection in shareSettingsPopover.tsx 2026-09-09 14:09:44 +01:00
Salihu 36eb3837e0 fix bugs 2026-09-09 14:09:44 +01:00
Salihu 4d973ba40a fix stlye issue 2026-09-09 14:09:44 +01:00
Salihu 5bdafe721d expiring share links feature 2026-09-09 14:09:41 +01:00
Tom Moor 4a5a616a21 v1.10.1 v1.10.1 2026-09-09 21:05:58 +08:00
Tom MoorandClaude 68b912825c perf: Skip loading document body for authorization-only lookups (#13706)
Several high-traffic endpoints (views.create, views.list, comments.list,
relationships.list, subscriptions.list/info, events.list, pins.info,
documents.insights/users/documents) load a document purely to run a
policy check, yet fetched its full content, text and state columns on
every request. The read policy only inspects ownership, membership and
collection fields, so pass includeContent: false to use the existing
withoutContent scope. comments.list keeps the body only when anchor text
is requested, which is the sole consumer of it.


Claude-Session: https://claude.ai/code/session_017swPbmq4SwtkE15fcRhdcU

Co-authored-by: Claude <noreply@anthropic.com>
2026-09-08 11:20:39 -04:00
Tom Moor 89a1da7ee6 fix: Allow viewers with collection write access to import documents (#13707) 2026-09-08 11:04:25 -04:00
Tom Moor c1811ffa20 fix: Scroll position reset when navigating between revisions (#13704)
* fix: Scroll position reset when navigating between revisions

* fix: Clear revision error when returning to the live document
2026-09-08 00:20:29 -04:00
dependabot[bot]andTom Moor e15954649e chore(deps-dev): bump oxlint from 1.75.0 to 1.81.0 (#13701)
* chore(deps-dev): bump oxlint from 1.75.0 to 1.81.0

Bumps [oxlint](https://github.com/oxc-project/oxc/tree/HEAD/npm/oxlint) from 1.75.0 to 1.81.0.
- [Release notes](https://github.com/oxc-project/oxc/releases)
- [Changelog](https://github.com/oxc-project/oxc/blob/main/npm/oxlint/CHANGELOG.md)
- [Commits](https://github.com/oxc-project/oxc/commits/oxlint_v1.81.0/npm/oxlint)

---
updated-dependencies:
- dependency-name: oxlint
  dependency-version: 1.81.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

* chore: Disable no-redeclare for TypeScript files

oxlint 1.79+ flags value and type declarations that share a name, which is
valid TypeScript declaration merging. tsc already reports true redeclarations.

---------

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-09-07 22:03:37 -04:00
dependabot[bot] 10dc1572fe chore(deps): bump the aws group with 6 updates (#13700)
Bumps the aws group with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [@aws-sdk/client-s3](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-s3) | `3.1121.0` | `3.1126.0` |
| [@aws-sdk/cloudfront-signer](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/packages/cloudfront-signer) | `3.1116.0` | `3.1125.0` |
| [@aws-sdk/lib-storage](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/lib/lib-storage) | `3.1121.0` | `3.1126.0` |
| [@aws-sdk/s3-presigned-post](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/packages/s3-presigned-post) | `3.1121.0` | `3.1126.0` |
| [@aws-sdk/s3-request-presigner](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/packages/s3-request-presigner) | `3.1121.0` | `3.1126.0` |
| [@aws-sdk/signature-v4-crt](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/packages/signature-v4-crt) | `3.1121.0` | `3.1126.0` |


Updates `@aws-sdk/client-s3` from 3.1121.0 to 3.1126.0
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases)
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-s3/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.1126.0/clients/client-s3)

Updates `@aws-sdk/cloudfront-signer` from 3.1116.0 to 3.1125.0
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases)
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/packages/cloudfront-signer/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.1125.0/packages/cloudfront-signer)

Updates `@aws-sdk/lib-storage` from 3.1121.0 to 3.1126.0
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases)
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/lib/lib-storage/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.1126.0/lib/lib-storage)

Updates `@aws-sdk/s3-presigned-post` from 3.1121.0 to 3.1126.0
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases)
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/packages/s3-presigned-post/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.1126.0/packages/s3-presigned-post)

Updates `@aws-sdk/s3-request-presigner` from 3.1121.0 to 3.1126.0
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases)
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/packages/s3-request-presigner/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.1126.0/packages/s3-request-presigner)

Updates `@aws-sdk/signature-v4-crt` from 3.1121.0 to 3.1126.0
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases)
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/packages/signature-v4-crt/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.1126.0/packages/signature-v4-crt)

---
updated-dependencies:
- dependency-name: "@aws-sdk/client-s3"
  dependency-version: 3.1126.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: aws
- dependency-name: "@aws-sdk/cloudfront-signer"
  dependency-version: 3.1125.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: aws
- dependency-name: "@aws-sdk/lib-storage"
  dependency-version: 3.1126.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: aws
- dependency-name: "@aws-sdk/s3-presigned-post"
  dependency-version: 3.1126.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: aws
- dependency-name: "@aws-sdk/s3-request-presigner"
  dependency-version: 3.1126.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: aws
- dependency-name: "@aws-sdk/signature-v4-crt"
  dependency-version: 3.1126.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: aws
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-07 21:51:39 -04:00
dependabot[bot] ed2dd33d7f chore(deps): bump the sentry group with 2 updates (#13699)
Bumps the sentry group with 2 updates: [@sentry/node](https://github.com/getsentry/sentry-javascript) and [@sentry/react](https://github.com/getsentry/sentry-javascript).


Updates `@sentry/node` from 10.72.0 to 10.73.0
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/10.73.0/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/10.72.0...10.73.0)

Updates `@sentry/react` from 10.72.0 to 10.73.0
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/10.73.0/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/10.72.0...10.73.0)

---
updated-dependencies:
- dependency-name: "@sentry/node"
  dependency-version: 10.73.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: sentry
- dependency-name: "@sentry/react"
  dependency-version: 10.73.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: sentry
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-07 21:51:31 -04:00
dependabot[bot] c3275d1b1b chore(deps-dev): bump @types/ioredis-mock from 8.2.7 to 8.2.8 (#13702)
Bumps [@types/ioredis-mock](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/ioredis-mock) from 8.2.7 to 8.2.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/ioredis-mock)

---
updated-dependencies:
- dependency-name: "@types/ioredis-mock"
  dependency-version: 8.2.8
  dependency-type: direct:development
  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-09-07 21:51:23 -04:00
dependabot[bot] 286c816b25 chore(deps-dev): bump oxfmt from 0.55.0 to 0.66.0 (#13703)
Bumps [oxfmt](https://github.com/oxc-project/oxc/tree/HEAD/npm/oxfmt) from 0.55.0 to 0.66.0.
- [Release notes](https://github.com/oxc-project/oxc/releases)
- [Changelog](https://github.com/oxc-project/oxc/blob/main/npm/oxfmt/CHANGELOG.md)
- [Commits](https://github.com/oxc-project/oxc/commits/oxfmt_v0.66.0/npm/oxfmt)

---
updated-dependencies:
- dependency-name: oxfmt
  dependency-version: 0.66.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-07 21:51:15 -04:00
Tom Moor 110c332727 fix: Byte range handling for media in Safari (#13695)
* fix: Byte range handling for media in Safari

Safari loads video and audio with byte range requests. Several forms of
Range header were mishandled by files.get: a suffix range fell through to
a full 200 response, a single byte request served the whole file, a range
past the end of the file produced an invalid Content-Range and a truncated
body, and a range starting past the end returned 400 rather than 416.

Also stop the service worker intercepting these requests. Partial
responses cannot be stored by the Cache API, so the route only produced
failed writes, and serving media through a service worker prevents
playback in Safari.

* Refactor to ByteRangeHelper
2026-09-07 20:18:36 -04:00
Tom Moor cf53932e9c fix: Table of contents clicks ignored while a search term is active (#13698) 2026-09-07 12:17:32 -04:00
Tom Moor 959f54752d fix: stop table pagination at final page (#13697) 2026-09-07 12:11:57 -04:00
Tom Moor 4c9e711b73 fix: Members receive authorization error when importing a document (#13696) 2026-09-07 14:58:58 +00:00
Tom Moor fcfab6452c fix: Links in view mode ignore modifier clicks, drag and keyboard activation (#13689)
* fix: Links in read-only documents follow browser behavior for modifier clicks, drag and keyboard

* Address feedback
2026-09-07 04:29:40 -04:00
Tom Moor bc8c8a96ec perf: Prefetch revision content on hover in history sidebar (#13688)
* perf: Prefetch revision content on hover in history sidebar

* Dedupe and cache latest revision fetches

* Use await in fetchLatest
2026-09-07 01:26:02 -04:00
Tom MoorandClaude Fable 5.1 b3a1cef018 fix: Revision view does not re-render when late-loaded content arrives (#13683)
* fix: Revision view does not re-render when late content arrives

Pre-define every MobX-decorated field on model instances so reads made
before the data arrives are tracked.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* test: Inherited base-class fields are observable on partial models

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-07 00:51:16 -04:00
Tom MoorandClaude Opus 4.8 70ef12bd27 fix: History changes indicator missing on load and stuck on "N changes" (#13673)
* fix: History changes indicator missing on load and stuck on "N changes"

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* fix: Match changes param check to RevisionViewer

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* fix: Disable change nav buttons until Diff extension is available

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* fix: Reset changes count only on unmount to avoid flicker

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-09-07 00:48:56 -04:00
Tom Moor af2608536a fix: robots.txt disallowed crawlers on self-hosted installs (#13687)
Closes #13685
2026-09-06 22:44:49 -04:00
Tom Moor 9ad078074e fix: Crash opening the template editor (#13686)
Fixes OUTLINE-CLOUD-D5Z
2026-09-06 22:36:03 -04:00
Tom MoorandClaude Fable 5.1 e78bb0d4e3 fix: previous() on UserMembership and Star returned the next item (#13684)
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-06 12:29:12 +00:00
Tom MoorandClaude Fable 5.1 d457e3998a fix: AuthStore.fetchConfig writes config outside a MobX action (#13682)
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-06 07:50:44 -04:00
Tom MoorandClaude Fable 5.1 90f7091316 fix: Signed file downloads rejected when an API key lacks scope for the route (#13681)
* fix: Signed file downloads rejected when an API key lacks scope for the route

Adds a skip option to the auth middleware so routes authorized by other means can ignore credentials on the request, and applies it to signed file requests. Also maps the get method to the read scope.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* Restrict skip option to optional authentication

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-06 04:05:12 -04:00
Tom MoorandClaude Fable 5.1 d3c8be2dbc feat: Alt/Mod-click toggle disclosure folds nested or all toggle blocks (#13678)
* feat: Alt-click toggle disclosure folds or unfolds all toggle blocks

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* Alt toggles nested blocks, Mod toggles all blocks

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-06 00:45:30 -04:00
Tom MoorandClaude Fable 5.1 07aa125b58 fix: Expand folded toggle blocks when printing (#13677)
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-06 00:11:51 -04:00
Tom MoorandClaude Fable 5.1 4ba91fcb8e fix: AuthStore.availableTeams never becomes observable (#13672)
Add an initializer so makeObservable picks up the field, and add a local
oxlint rule that flags @observable fields without an initializer in
classes that call makeObservable(this).

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-05 19:26:27 -04:00
Tom MoorandClaude Fable 5.1 7bd59ba1b3 fix: History "Current version" entry never finishes loading (#13669)
* fix: Current version history entry loads forever

Assigning the primary key on a built Revision is a silent no-op in
Sequelize, so revisions.info returned a random UUID instead of the
synthetic latest id the client waits for.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* fix: Apply policies from fetchLatest response

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-05 18:40:27 -04:00
Tom MoorandClaude Fable 5.1 4533038cb4 fix: Allow dropping a document after an expanded subtree in the sidebar (#13668)
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-05 10:40:02 -04:00
Tom MoorandClaude Opus 4.8 c11c910716 fix: Persist comment sidebar open/close state across reloads (#13667)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-09-05 06:25:18 -04:00
Tom MoorandClaude Fable 5.1 a577d5c2c8 fix: Validate API key and OAuth scopes at the model layer (#13664)
* fix: Validate API key scopes with Sequelize-level validators

* test: Add API regression tests for duplicate OAuth redirect URIs

* fix: Preserve wildcard scope and guard non-string redirect URIs

---------

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-04 23:10:32 -04:00
Tom Moor cd082e7e3b fix: Allow document mentions to wrap (#13639)
* fix: Allow document mentions to wrap

* fix: Prevent mention icons from shrinking

* fix: Preserve mention icon and text styles

* fix: Prevent Font Awesome icons from shrinking
2026-09-05 03:08:31 +00:00
Tom MoorandClaude Fable 5.1 62bfc7b5f5 fix: Markdown list dropped when a plain item precedes a checkbox item (#13665)
Closes #13661

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-04 22:42:31 -04:00
Tom MoorandClaude Opus 4.8 68981c0952 fix: Restrict views.create to session authentication (#13663)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-09-05 02:00:46 +00:00
Tom MoorandClaude Fable 5.1 f56155541e fix: Load collection tree with document so child documents show without sidebar (#13662)
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-04 21:49:14 -04:00
Tom Moor f3f30d1335 fix: Guard null (#13660)
Allow toggling block with selection content
2026-09-04 21:36:18 -04:00
Tom Moor 7e94a38cf6 fix: Editor crash when placeholder targets a position with no node (#13658)
Returning the plugin state instead of undefined keeps the decoration set valid on subsequent transactions.
2026-09-05 00:19:18 +00:00
Tom Moor d40bfc6f09 fix: Cannot sort observable array 2026-09-05 09:13:46 +09:00
Tom MoorandClaude Opus 4.8 21df3db7a6 fix: Register revision editor with DocumentContext (#13657)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-09-04 19:56:52 -04:00
Tom Moor 9411535ee8 fix: Load revision content in history (#13656) 2026-09-04 19:42:42 -04:00
Tom Moor 6a4e188ec7 fix: Align attachment upload permissions (#13654) 2026-09-04 18:33:35 -04:00
Tom MoorandClaude Fable 5.1 1887db2dab fix: Mermaid diagrams laid out with nodes thousands of pixels apart (#13648)
* fix: Mermaid diagrams laid out with nodes thousands of pixels apart

Render diagrams with SVG text labels instead of HTML labels, except mindmaps. HTML labels are measured through foreignObject elements that some browsers size incorrectly in Mermaid's hidden render container, inflating node sizes for layout. Also removes the render container that was never passed to Mermaid.

* chore: Clarify Mermaid render container comment

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-04 17:15:39 -04:00
dependabot[bot] fc28f95c0a chore(deps): bump @simplewebauthn/server from 13.3.1 to 13.3.2 (#13652)
Bumps [@simplewebauthn/server](https://github.com/MasterKale/SimpleWebAuthn/tree/HEAD/packages/server) from 13.3.1 to 13.3.2.
- [Release notes](https://github.com/MasterKale/SimpleWebAuthn/releases)
- [Changelog](https://github.com/MasterKale/SimpleWebAuthn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/MasterKale/SimpleWebAuthn/commits/v13.3.2/packages/server)

---
updated-dependencies:
- dependency-name: "@simplewebauthn/server"
  dependency-version: 13.3.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-04 17:03:56 -04:00
Tom Moor 96d20a5e9b fix: Missing <space> in shortcut help 2026-09-04 23:03:20 +09:00
Tom Moor 6d94af2c85 chore: upgrade Zod and enable compilation (#13647) 2026-09-04 09:38:58 -04:00