Tom Moor
9fd3254a8d
fix: Collaborative persist can overwrite a concurrent API update ( #14898 )
...
* fix: Collaborative persist can overwrite a concurrent API update
Merge the stored state into the snapshot under the row lock before deriving
content, so an API update that committed after the snapshot is kept.
* chore: Clarify collaborative updater comments
2026-12-04 22:16:39 -05:00
Tom Moor
d82617b086
perf: Batch lookups when a group is removed from a collection ( #14903 )
...
* perf: Batch user and membership lookups when a group is removed from a collection
* perf: Limit membership lookups to each batch of group users
* chore: Explain membership lookups in remove_group handler
* fix: Ignore deleted groups when checking remaining collection access
2026-12-04 22:16:35 -05:00
Tom Moor
2845d76085
feat: Option to include comments when duplicating a document ( #14880 )
...
* feat: Option to include comments when duplicating a document
* refactor: Share mark walking between removeMarks and comment remapping
* fix: Copy thread roots first and notify nobody about duplicated comments
2026-12-04 21:44:32 -05:00
Tom Moor
18760ab6c2
perf: Use HMAC instead of scryptSync for OAuth actor session hash ( #14901 )
2026-12-04 21:28:00 -05:00
Tom Moor
c00a7a4c8d
fix: Filter sensitive query parameters in logged strings ( #14896 )
2026-12-04 20:28:01 -05:00
dependabot[bot] and Tom Moor
3af3064cb1
chore(deps-dev): bump oxlint-tsgolint from 7.0.2008 to 7.0.2009 ( #14873 )
...
* chore(deps-dev): bump oxlint-tsgolint from 7.0.2008 to 7.0.2009
Bumps [oxlint-tsgolint](https://github.com/oxc-project/tsgolint ) from 7.0.2008 to 7.0.2009.
- [Release notes](https://github.com/oxc-project/tsgolint/releases )
- [Commits](https://github.com/oxc-project/tsgolint/compare/v7.0.2008...v7.0.2009 )
---
updated-dependencies:
- dependency-name: oxlint-tsgolint
dependency-version: 7.0.2009
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* fix: Remove useless void operator flagged by tsgolint
---------
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-12-03 13:59:35 +00:00
Tom Moor
be5d83b2ed
fix: Centralize document visibility filtering in list queries ( #14882 )
2026-12-03 08:45:36 -05:00
dependabot[bot] and Tom Moor
731d681c26
chore(deps): bump katex from 0.18.2 to 0.19.1 ( #14875 )
...
* chore(deps): bump katex from 0.18.2 to 0.19.1
Bumps [katex](https://github.com/KaTeX/KaTeX ) from 0.18.2 to 0.19.1.
- [Release notes](https://github.com/KaTeX/KaTeX/releases )
- [Changelog](https://github.com/KaTeX/KaTeX/blob/main/CHANGELOG.md )
- [Commits](https://github.com/KaTeX/KaTeX/compare/v0.18.2...v0.19.1 )
---
updated-dependencies:
- dependency-name: katex
dependency-version: 0.19.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update CSS
---------
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-12-02 23:35:28 -05:00
Tom Moor
479765c808
fix: Do not store the attachment id map on every JSON import task ( #14851 )
2026-12-02 09:42:34 -05:00
Tom Moor
f43e077389
fix: Return 401 for tokens with a malformed user id ( #14844 )
2026-12-02 08:15:40 -05:00
Tom Moor
307b385a98
fix: Show a clear notice when the OAuth provider is unavailable ( #14845 )
...
* fix: Show provider outage notice instead of reporting OAuth 5xx to Sentry
* trans
2026-12-01 21:17:08 -05:00
Tom Moor
6df1d3641e
fix: Respect workspace user detail visibility in JSON export ( #14840 )
2026-12-01 11:46:44 -05:00
Tom Moor
23a2d0a468
fix: Wrap S3 upload errors with operation and status ( #14821 )
2026-11-30 19:55:37 -05:00
Tom Moor
eefc3500be
fix: Preserve transaction after find-or-create conflict ( #14822 )
2026-11-30 19:55:11 -05:00
Tom Moor
6ec1761092
fix: Download comment images before locking the document ( #14823 )
2026-11-30 19:54:56 -05:00
Tom Moor
a143e28edd
fix: Improve request scrubbing in error reports ( #14820 )
2026-11-30 18:28:16 -05:00
Tom Moor
654c9c3b1e
fix: Keep HTTP errors with "not found" in their message from becoming 404 ( #14816 )
...
* fix: Keep HTTP errors with "not found" in their message from becoming 404
* test: Expect 400 for an anchorNodeId that is not in the document
2026-11-30 18:24:56 -05:00
Tom Moor
282f0b8fc2
fix: Align batch sub-request error handling with top-level requests ( #14814 )
2026-11-30 09:04:02 -05:00
Tom Moor
a34caf977c
fix: Restrict teams.create to app sessions ( #14815 )
2026-11-30 09:03:58 -05:00
Tom Moor
6c03f9d751
fix: Tighten emoji attachment validation ( #14817 )
2026-11-30 09:03:55 -05:00
Tom Moor
70a4d8f4a4
fix: pins.info does not find pins created by other users ( #14818 )
2026-11-30 09:03:48 -05:00
Tom Moor
4b69469b40
fix: Exclude suspended admins from last admin checks ( #14813 )
2026-11-30 09:03:43 -05:00
Tom Moor
39f1b82919
fix: Collaborative saves inherit request statement timeout ( #14812 )
2026-11-30 08:25:34 -05:00
Tom Moor
91d8bb5ebd
fix: Log ephemeral cache failures as warnings ( #14810 )
2026-11-30 08:13:29 -05:00
Tom Moor
a434dd66e5
fix: Move redis retry attempt number out of log message ( #14807 )
2026-11-30 08:04:54 -05:00
Tom Moor
cca21437f5
Flatten collaborative state of large documents ( #14587 )
...
* feat: Flatten collaborative state of large documents
Replace edit history in large collaborative state with fresh state once a
document is idle with no open sessions, and when state is over the maximum
length on save. Each replacement increments a state generation that is part of
the collaboration room name, so old state never merges into the new state.
* fix: Refuse to load state of another generation and lock editor during reset
* Remove excessive tests
* fix: Reset rooms on all instances and check state generation during authentication
* refactor: Schedule state flattening only for changed rooms, from PersistenceExtension
* fix: Refuse API text updates applied to state of an earlier generation
2026-11-29 15:49:34 -05:00
Tom Moor
227f85c8f6
chore: Remove unused maintainerApprovalRequired column from collections ( #14796 )
2026-11-28 10:59:00 -05:00
Tom Moor
87c29eaa3c
chore: Remove server leftovers from the FileOperation import path ( #14797 )
2026-11-28 10:58:56 -05:00
Tom Moor
00f1ef5063
chore: Remove lint-disable comments for rules that are not enabled ( #14794 )
2026-11-28 10:48:30 -05:00
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
3d5e9c1da1
fix: Tighten document policy checks for drafts ( #14786 )
2026-11-28 09:40:57 -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
9b18f62fd0
fix: Respect collectionId filter in documents.list backlink requests ( #14779 )
2026-11-27 09:14:19 -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
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
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
63de3fcd37
fix: Delete emoji attachment row in transaction and prevent shared attachments ( #14768 )
2026-11-26 19:16:40 -05:00