Tom Moor
57b6e9aca4
feat: Passkey support ( #11065 )
...
closes #6930
2026-01-05 19:58:46 -05:00
Tom Moor
9f07607c05
fix: Exports linked to non-accessible location for non-admins ( #11070 )
...
* fix: Incorrect test for non-admins
* Update email language
2026-01-05 19:58:24 -05:00
Tom Moor
9675f9bd87
Show provider ID on auth list ( #11058 )
2026-01-03 20:06:25 +00:00
Tom Moor
8ee51a864a
Add download options to revision menu ( #11048 )
2026-01-03 11:25:30 -05:00
7e2d2542b0
Split group mention notifications into separate background task ( #11040 )
...
* Initial plan
* Split group notifications into separate background task
- Created GroupMentionedInCommentNotificationsTask for handling group mention notifications
- Updated CommentCreatedNotificationsTask to delegate group notifications
- Updated CommentUpdatedNotificationsTask to delegate group notifications
- Added comprehensive tests for the new task
- Improved scalability with batch processing (10 members per batch)
- Enhanced resilience by isolating group notification failures
Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com >
* Optimize database queries in GroupMentionedInCommentNotificationsTask
- Batch fetch users instead of individual queries for better performance
- Add defensive comment explaining duplicate mentions check
- Create user map for O(1) lookups within batch
Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com >
* Add comment explaining concurrency control in batch processing
Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com >
* Remove unnecessary document loading - use event properties directly
- Removed Document import and document loading query
- Use event.documentId and event.teamId directly
- Reduces database queries and improves performance
- canUserAccessDocument loads document internally when needed
Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com >
* Fix TypeScript errors and test failures
- Fixed test: buildComment requires documentId parameter
- Fixed type error: use nullish coalescing for group.actorId ?? event.actorId
- Fixed type definition: use Omit<CommentEvent, "data"> to avoid type conflicts
- All TypeScript errors resolved
Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com >
* test
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com >
Co-authored-by: Tom Moor <tom@getoutline.com >
2026-01-03 10:14:56 -05:00
Tom Moor
211b747c0a
fix: Update email diff rendering to use ChangesetHelper ( #11017 )
...
* stash
* toHTML changes property
* stash
* stash
* document access
* test
* fix cleanup
* cleanup, fixes
* Restore styles
* Remove magic number
* wip
2026-01-03 09:52:08 -05:00
Copilot and tommoor
e0812faec9
Add revisions.export endpoint for downloading document revisions ( #11039 )
...
* Initial plan
* Add revisions.export endpoint with tests
Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com >
* Fix: Add rejectOnEmpty to Document.findByPk in revisions.export
Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com >
2026-01-01 14:36:24 -05:00
Copilot and tommoor
755833c64c
Fix whitespace preservation after collection/document names in email templates ( #11034 )
...
* Initial plan
* Fix missing whitespace after collection/document names in shared emails
Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com >
2025-12-31 21:26:42 +00:00
Tom Moor
2e1d3f0e65
chore: Add missing error logging on wss connection ( #11015 )
2025-12-28 10:40:13 -05:00
Tom Moor
fd49602e40
feat: Improved revision viewer ( #10824 )
2025-12-28 08:56:32 -05:00
Tom Moor
222d86d084
fix: Flaky ErrorTimedOutFileOperationsTask test ( #11011 )
2025-12-27 14:34:38 -05:00
7cbd06541c
Upgrade Yarn to 4.11.0 ( #10865 )
...
* Initial plan
* Upgrade Yarn to 4.11.0 with node-modules linker and security settings
Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com >
* Restore rolldown resolution to package.json resolutions
Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com >
* Enable Corepack in CI workflow for Yarn 4.11.0 support
Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com >
* test
* module resolution
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com >
Co-authored-by: Tom Moor <tom@getoutline.com >
2025-12-25 08:46:08 -05:00
Tom Moor
a3b2615edf
chore: Remove future public bucket usage ( #10977 )
...
* No longer upload avatars to public bucket
* Public redirect
* tests
* test
* test
2025-12-24 20:24:58 -05:00
Tom Moor
fbd4ded5b4
feat: Add authentication provider management ( #10997 )
...
* Gemini first-pass
* Prevent post-connect login
* stash
* stash
* Add OIDC logo
* Separate security page
* test
* Update icon
* test
* ui
* Add extra guards for disabling auth provider
* refactor
* test
2025-12-24 09:09:24 -05:00
Tom Moor
d67b881b93
fix: Appending content via API ( #10998 )
...
* fix: Appending content via API
closes #10936
* Append without newline
2025-12-23 21:48:25 -05:00
Tom Moor
15f2959574
fix: Large base64 images pasted as HTML cause doc not to sync ( #10982 )
...
* First pass
* Use placeholders
* tsc
2025-12-23 20:03:37 -05:00
Tom Moor
bec1386253
fix: User with 'can edit' permission on sub-document cannot sort ( #10990 )
2025-12-23 17:37:08 -05:00
Tom Moor
cf1cd8efd5
perf: Refactor of permission loading ( #10988 )
...
* perf: Refactor of permission loading
* Simplify condition
2025-12-23 11:53:31 -05:00
Tom Moor
041c4217b2
perf: Update documents popularity score ( #10986 )
2025-12-22 08:10:27 -05:00
Tom Moor
ad513250e5
chore: Remove unneccessary redis warnings ( #10985 )
2025-12-21 20:52:57 -05:00
2959f2b300
Fix invisible email buttons in iOS Mail dark mode ( #10976 )
...
* Initial plan
* Fix invisible button in iOS Mail app dark mode using CSS media queries
Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com >
* Add border
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com >
Co-authored-by: Tom Moor <tom@getoutline.com >
2025-12-20 20:27:29 -05:00
Tom Moor
7342715535
fix: SQL errors do not correctly bubble in Jest ( #10975 )
2025-12-20 14:05:39 -05:00
Tom Moor
bf45e97641
chore: Enforce type import consistency ( #10968 )
...
* Update types
* fix circular dep
* type imports
* lint type imports and --fix
2025-12-19 23:07:02 -05:00
Salihu and Tom Moor
419cf2a583
PDF embed ( #10198 )
...
* simple PDF embded
* send pdf url
* pdf resize
* resize pdf accordingly
* pdf alignment
* minor fixes
* use attachment node for PDF preview
* remove unnecessary comments
* fix pdf class
* minor fixes
* adjust upload pdf logo
* revert SelectionToolbar
* pass embed URL directly
* pass embed URL directly
* remove embedded pdf alignment
* improve resize UX
* improve resize UX
* fix: X-Frame-Options with local hosting
fix: Resize not persisted
* Add dimensions to attachment toolbar
* fix: Styling
* fix: Non-interactable in read-only editor
* Revert unneccessary changes
* Avoid setting width/height on all attachment nodes
* fix: Disable embeds should also disable PDF embeds
---------
Co-authored-by: Tom Moor <tom@getoutline.com >
2025-12-19 21:48:25 -05:00
Tom Moor
b45a096aeb
feat: Implement RFC 9700 hardening against refresh token reuse ( #10960 )
...
* feat: Implement RFC 9700 hardening against refresh token reuse
* tests
* Update tests with less mocking, hit actual endpoints
2025-12-19 17:52:23 -05:00
65662ef402
Update request-filtering-agent to v3.2.0 for CIDR range support ( #10923 )
...
* Initial plan
* Update request-filtering-agent to v3.2.0 with CIDR support
Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com >
* Remove unnecessary mock and use transformIgnorePatterns for request-filtering-agent
Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com >
* Mock
* Revert unused change
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com >
Co-authored-by: Tom Moor <tom@getoutline.com >
2025-12-19 17:47:50 -05:00
Tom Moor
2b84770b0d
fix: path in sitemap.xml for root node on domain share ( #10957 )
2025-12-18 18:12:15 -05:00
2f9b30c30c
fix: Extra newlines in pasted code blocks ( #10958 )
...
* fix: Extra newlines in pasted code blocks
This code is super old, came across with the old markdown editor.
It seems to not have any real effect on well-formatted markdown
* Add tests for normalizePastedMarkdown internal logic (#10959 )
* Initial plan
* Add comprehensive tests for normalizePastedMarkdown
Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com >
---------
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com >
Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com >
2025-12-18 18:11:55 -05:00
Tom Moor
93356472a1
fix: Comment.data should not be included in event log ( #10947 )
2025-12-17 23:37:21 -05:00
Tom Moor
a54e66e19a
chore: Test improvements ( #10945 )
...
* Lazy queues, correctly closing Redis and server
* feedback
* fix: Tests not correctly split across matrix
2025-12-17 23:15:55 -05:00
Tom Moor
fe5cc8e007
chore: Cleanup of CI logs and connections ( #10944 )
...
* chore: Remove info logs in CI
* Upgrade jest
2025-12-17 20:41:51 -05:00
Tom Moor
6499164187
chore: fix MaxEventListener warning in tests ( #10943 )
2025-12-17 18:57:56 -05:00
Tom Moor
02aee884a3
chore: Remove unused indexes ( #10941 )
2025-12-17 17:26:38 -05:00
Tom Moor
4a59faf1a5
chore: Add missing indexes for hooks.unfurl ( #10940 )
2025-12-17 17:26:29 -05:00
Tom Moor
e0be5cf1d0
perf: Inline lastActiveAt update ( #10931 )
2025-12-16 08:33:18 -05:00
Tom Moor
206df6afd7
perf: Reducing database contention ( #10926 )
...
* perf: Remove findOrCreate in views.create
* findOrCreate for subscriptionCreator
* test
* Remove findOrCreate for document,collection,group memberships
* tsc
2025-12-16 04:58:21 -05:00
Tom Moor
08eab03041
perf: Ensure collab persistence cannot hold lock for more than 15s ( #10927 )
2025-12-15 23:19:52 -05:00
Tom Moor
e6d4ae0c87
chore: Remove flaky tests ( #10929 )
2025-12-15 23:19:43 -05:00
Tom Moor
5d5e56251c
fix: HealthMonitor check can fail if long running job ( #10883 )
2025-12-14 19:15:43 -05:00
Copilot and tommoor
6ab63ecca1
Fix race condition in AuthenticationProvider.disable leaving teams locked out ( #10902 )
...
* Initial plan
* Fix race condition in AuthenticationProvider.disable with shared lock
Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com >
* Address code review comments: add transaction validation and test assertion
Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com >
* Revert changes to .env.test file
Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com >
2025-12-13 17:54:37 -05:00
Tom Moor
d05b888bc9
fix: pins.list does not check collection policy ( #10903 )
...
This does not leak document info, by may leak ID's
2025-12-13 15:06:34 -05:00
Copilot and tommoor
2772de2766
Fix security check in /auth/redirect comparing against undefined ctx.params.token ( #10894 )
...
* Initial plan
* Fix security check in /auth/redirect to use ctx.state.auth.token instead of ctx.params.token
Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com >
2025-12-13 15:02:39 -05:00
44b754884f
Fix double pagination in documents.list and documents.archived with sort=index ( #10895 )
...
* Initial plan
* Fix double pagination bug and add tests
Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com >
* Add comments explaining pagination behavior
Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com >
* Fix test expectations for reversed document order
Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com >
* fix
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com >
Co-authored-by: Tom Moor <tom@getoutline.com >
2025-12-13 14:48:47 -05:00
Tom Moor
e2e8d23428
fix: Validation of SECRET_KEY environment variable is too loose ( #10897 )
2025-12-13 12:51:33 -05:00
Tom Moor
2e48ed8cd1
fix: Replace the strict higher-than check with a condition that includes Viewer as a valid previous role ( #10877 )
2025-12-13 12:42:06 -05:00
Tom Moor
a33731dd23
fix: Base64 uploads are not correctly verified for size limits ( #10878 )
2025-12-13 12:41:58 -05:00
Tom Moor
5c37f0a91d
fix: Details returned from OAuth client list endpoint ( #10896 )
2025-12-13 12:41:43 -05:00
Tom Moor
615cad5484
fix: Incorrect handling of missing refresh token ( #10886 )
2025-12-13 12:37:06 -05:00
Copilot and tommoor
478781ae53
Fix custom rate limiters ignored due to mountPath mismatch ( #10893 )
...
* Initial plan
* Fix rate limiter path mismatch bug by using fullPath in defaultRateLimiter
Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com >
2025-12-13 12:14:22 -05:00
Tom Moor
07421a3cba
fix: Return placeholder tasks object on public shares ( #10888 )
2025-12-13 07:16:18 -05:00