Copilot and tommoor
c382e1233b
Convert markdown frontmatter to YAML codeblocks on import ( #11420 )
...
* Initial plan
* Add frontmatter to YAML codeblock conversion
Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com >
* Add edge case tests and fix frontmatter regex, install types
Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com >
* Address code review feedback - improve template literal readability
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-02-12 18:32:15 -05:00
40bbfc78cd
Refactor: Extract Redis cache key generation to RedisPrefixHelper ( #11376 )
...
* Initial plan
* Refactor Redis cache keys: delegate CacheHelper to RedisPrefixHelper and update callers
Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com >
* Add JSDoc documentation to getCollectionDocumentsKey method
Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com >
* Remove unused indirection
* Remove mock
---------
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-02-09 14:03:02 -05:00
Tom Moor
bb128318da
perf: Remove turndown ( #11331 )
...
* Remove turndown
* Refactor htmlToProsemirror
* fix: Bug in CSV import
* refactor
2026-01-31 20:56:36 -05:00
Tom Moor and Claude Opus 4.5
49f918e7f5
perf: Remove Markdown conversion when importing HTML ( #11315 )
...
* wip
* fix: Remove unused variable in ProsemirrorHelper.extractEmojiFromStart
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
* test
* DRY
* Restore cleanup
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-31 16:26:33 -05:00
Tom Moor
446a0e1071
fix: Do not show embed option for unembeddable links ( #11323 )
...
* fix: Do not show embed option for unembeddable links
* test
2026-01-31 13:57:25 -05:00
Tom Moor
00fb4d1af7
chore: Update node style imports ( #11277 )
...
- crypto → node:crypto
- fs → node:fs
- fs/promises → node:fs/promises
- path → node:path
- http → node:http
- https → node:https
- stream → node:stream
- buffer → node:buffer
- url → node:url
- os → node:os
- net → node:net
- dns → node:dns
- events → node:events
- readline → node:readline
- querystring → node:querystring
- util → node:util
2026-01-26 20:51:50 -05:00
Copilot and tommoor
07514cb692
Allow http:// loopback redirect URIs for native OAuth apps (RFC 8252) ( #11255 )
...
* Initial plan
* Add RFC 8252 loopback redirect URI support for native OAuth apps
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-23 21:54:59 -05:00
Tom Moor
bffd11b593
fix: urls.unfurl thundering herd ( #11194 )
...
* Add tracing around unfurl calls
* fix: Prevent thundering-herd unfurls
* tracer -> traceFunction
2026-01-15 19:52:26 -05:00
Tom Moor
7532c428bd
feat: Auto-embed plain urls in API usage ( #11148 )
...
closes #9375
2026-01-12 19:44:58 -05:00
Tom Moor and Claude Sonnet 4.5
bcee4893f4
perf: Add timeout and optimize URL unfurl performance ( #11149 )
...
* perf: Add timeout and optimize URL unfurl performance
Fixes issue where urls.unfurl endpoint could take 15+ seconds due to external API timeouts and sequential plugin execution.
Changes:
- Add timeout support to fetch utility with AbortController (defaults to no timeout, configurable per request)
- Add 10 second timeout to Iframely plugin requests
- Add early URL pattern validation to GitHub and Linear plugins to avoid unnecessary database queries
- Add try-catch error handling to URL parsing in GitHub and Linear plugins
This reduces worst-case unfurl time from 15+ seconds to ~10 seconds maximum, and eliminates unnecessary overhead for URLs that don't match plugin patterns.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com >
* lint
---------
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com >
2026-01-10 18:03:19 -05:00
Tom Moor
d9aec40313
chore: Store service in JWT ( #11136 )
...
* chore: Store service in JWT
* docs
* fix: Remove early return
2026-01-10 12:28:00 -05:00
Tom Moor
b123762e86
chore: Remove collection.url, fix post-signin redirect ( #11139 )
2026-01-10 16:19:23 +00:00
Tom Moor
57b6e9aca4
feat: Passkey support ( #11065 )
...
closes #6930
2026-01-05 19:58:46 -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
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
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
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
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
615cad5484
fix: Incorrect handling of missing refresh token ( #10886 )
2025-12-13 12:37:06 -05:00
Tom Moor
774c973e0d
fix: Replacement parameters in index collision query ( #10880 )
...
* fix: Replacement parameters in index collision query
* refactor
2025-12-12 23:03:59 -05:00
Tom Moor
a51188882b
fix: isUrl requireHttps option is never hit ( #10885 )
2025-12-12 22:54:43 -05:00
Tom Moor
f085a30406
fix: Shutdown during migrations does not release mutex lock ( #10879 )
...
* fix: Shutdown during migrations does not release mutex lock
* tsc
2025-12-12 22:20:53 -05:00
Apoorv Mishra
5140d2434e
fix: apply react/rules-of-hooks ( #10840 )
2025-12-09 18:53:49 -05:00
Tom Moor and Copilot
621409ae0b
fix: Ensure shutdown with db migration lock correctly releases ( #10817 )
...
* fix: Ensure unsafe shutdown with db migration lock correctly releases
* Update server/utils/MutexLock.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-12-06 13:43:00 -05:00
Tom Moor
6f3534c713
feat: Custom emoji reactions ( #10805 )
...
* Claude first pass
* Move custom emojis first in search results
* refactor
* fix: Remove extra load emoji call
2025-12-05 18:47:12 -05:00
Tom Moor
55f21bfbb3
fix: Rapid retry behavior ( #10776 )
2025-12-03 20:25:12 -05:00
Tom Moor
94252672f8
feat: Allow PKCE clients to refresh tokens ( #10769 )
...
* Add clientType concept
* Add clientType mutations
* tsc
* i18n
* fix: Invalid input handling
* tsc
2025-12-03 18:09:43 -05:00
d75f8d64db
Support PostgreSQL multi-host connection URIs in DATABASE_URL ( #10754 )
...
* Initial plan
* Add isDatabaseUrl validator for multi-host PostgreSQL URIs
Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com >
* Update env.ts
---------
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-01 08:12:39 -05:00
Salihu
430883f186
feat: Custom emoji ( #10513 )
...
Towards #9278
2025-12-01 02:31:50 +01:00
Tom Moor
42959d66db
chore: Add cron task partitioning ( #10736 )
...
* wip
* Implementation complete
* tidying
* test
* Address feedback
* Remove duplicative retry logic from UpdateDocumentsPopularityScoreTask.
Now that we're split across many runs this is not neccessary
* Refactor to subclass, config to instance
* Refactor BaseTask to named export
* fix: Missing partition
* tsc
* Feedback
2025-11-27 16:57:52 +01:00
Hemachandar and Tom Moor
142985c6d7
Move Document event writing to model layer ( #9790 )
...
* documents.restore, documents.unarchive
* documents.templatize
* documents.archive
* documents.unpublish
* documents.create, documents.update
* documents.title_change event
* documents.move
* documents.delete
* tsc, tests
* tsc
* Copilot feedback
---------
Co-authored-by: Tom Moor <tom@getoutline.com >
2025-11-23 20:40:45 +01:00
Tom Moor
f4d9b6b257
chore: Remove chalk module ( #10700 )
2025-11-23 20:01:49 +01:00
Tom Moor
9ebcf6cc4c
chore: Move user suspension check inside getUserForJWT ( #10636 )
2025-11-13 19:23:59 -05:00
Tom Moor
89425ccdab
chore: Add a mutex lock around migrations to ensure in multi-instance deployments multiple machines don't attempt to run migrations at once ( #10560 )
2025-11-04 17:01:44 -05:00
Tom Moor
9cadcc668c
fix: Update email magic links ( #10471 )
...
* fix: Update email magic links to check IP within time limit rather than usage
* Add option to force OTP method
2025-10-25 12:23:45 -04:00
Tom Moor
61d8c2bdb6
chore: Add clarity to error message when private IP address is banned ( #10391 )
2025-10-15 20:31:48 -04:00
Alex
76701e35ec
fix: replace uuid package with standard module ( #10318 )
2025-10-10 17:06:51 -04:00
Luke Granger-Brown
7b27b74e24
fix: Recognise authentication_required for some OIDC providers ( #10252 )
...
Some OIDC providers return 401 Unauthorized errors with an empty body
when the access token has expired.
Avoid trying to parse the body as JSON before we've checked whether the
status code is OK.
Fixes #10251 .
2025-09-26 00:52:53 -04:00
codegen-sh[bot]
e2dfc4dd00
Add ALLOWED_PRIVATE_IP_ADDRESSES environment variable ( #10093 )
...
* Add ALLOW_IP_ADDRESS_LIST environment variable
This adds support for allowing specific private IP addresses to be accessed
by the request-filtering-agent, which is useful for OIDC providers and
webhooks on private networks.
The environment variable accepts a comma-separated list of IP addresses
that should be allowed even if they are private IP addresses.
Example: ALLOW_IP_ADDRESS_LIST=10.0.0.1,192.168.1.100
Fixes issue with OIDC providers on private IP addresses being blocked.
* Rename environment variable to ALLOWED_PRIVATE_IP_ADDRESSES
Changed from ALLOW_IP_ADDRESS_LIST to ALLOWED_PRIVATE_IP_ADDRESSES
for better clarity and naming consistency.
---------
Co-authored-by: codegen-sh[bot] <131295404+codegen-sh[bot]@users.noreply.github.com>
2025-09-04 07:36:50 -04:00
Tom Moor
2f2e7c3556
fix: One last spot that needs to allow private requests ( #10069 )
2025-09-01 11:03:25 -04:00
Tom Moor
3b2833c752
Update sanitizeLists.ts ( #10065 )
...
closes #10042
2025-09-01 06:25:09 -04:00
Tom Moor
f1dee53dc4
fix: Unable to access private OIDC server endpoints ( #10062 )
2025-09-01 05:12:49 -04:00
Tom Moor
a73a8626c5
fix: Allow access to private IP address for OIDC ( #10059 )
2025-08-31 12:44:37 -04:00
Tom Moor
0a9bd39aac
Add CSRF middleware ( #10051 )
...
ref OUT-Q325-03
2025-08-31 06:35:35 -04:00
Tom Moor
8fcb629bdf
fix: Standardize request filtering between cloud / self-hosted ( #9914 )
...
* fix: Add request-filtering-agent to self-hosted environment
* refactor
* Debug logging
* self-review
* Remove unused AbortController
* test
* test
* Address feedback
2025-08-15 07:16:29 -04:00
codegen-sh[bot]
e2c8ee7b54
chore: Migrate from dotenv to dotenvx with minimal changes ( #9921 )
...
Co-authored-by: codegen-sh[bot] <131295404+codegen-sh[bot]@users.noreply.github.com>
2025-08-14 19:43:42 -04:00
Tom Moor
23106bfce8
fix: Use safeEqual in VerificationCode verify method ( #9915 )
2025-08-13 22:45:11 -04:00
Tom Moor
ba8ade0244
chore: Add some additional debugging around auth failures ( #9924 )
2025-08-13 22:44:53 -04:00
Tom Moor
cda503e7af
fix: Correct transaction usage through team creation process ( #9878 )
...
* fix: Correct transaction usage through team creation process
* refactor
2025-08-09 07:47:39 -04:00