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
Hemachandar
04c3d81b1f
chore: Setup missing oxlint configs ( #9862 )
...
* shared
* server
* app
* remove vestigial eslintrc files
* update comment directives
2025-08-06 19:54:22 -04:00
Tom Moor
a97908518a
fix: Various issues with JSON import and UTF8 or very long filenames ( #9850 )
2025-08-05 21:15:45 -04:00
Tom Moor
84f45b7fb7
fix: refresh token rotation is broken in OAuth provider implementation ( #9847 )
...
* fix: Incorrect clientId used in getAccessToken response
* fix: getRefreshToken as well
2025-08-05 18:34:52 -04:00
Tom Moor
8dc6bcba22
fix: Add option as to whether state cookie is considered for team context ( #9831 )
...
* fix: Do not consider host in cookies state unless its a workspace subdomain
* fix: Add option as to whether state cookie is considered in team context
2025-08-04 19:50:32 -04:00
Tom Moor
a139d599b7
fix: Nested lists flatten in confluence import ( #9797 )
...
Towards #9789
2025-08-02 09:04:26 -04:00
Tom Moor
737e7ba4b4
fix: Improve importer to be more resilient to hidden directories ( #9762 )
2025-07-28 20:36:45 -04:00
Tom Moor
cf2f13193f
chore: Fix Redis mock not used consistently in tests ( #9716 )
2025-07-23 09:38:24 -04:00
Hemachandar
7d315288dd
Listen to GitHub webhooks to update issueSources cache ( #9414 )
...
* Listen to GitHub webhooks to update issue-sources cache
* Add `GitHubWebhookTask`
* review
2025-07-15 23:07:14 -04:00
Tom Moor
772eb2f1d4
fix: randomstring dep does not work in browser with rolldown-vite ( #9624 )
...
* fix: randomstring dep does not work in browser with rolldown-vite
* fix: Last usage of randomstring, docs
* feedback
2025-07-13 09:33:16 -04:00
Tom Moor
a6b0fcff48
feat: Add OTP sign-in for PWA ( #9556 )
...
* wip
* wip
* wip
* Only use code for desktop and PWA
2025-07-07 18:36:43 -04:00
Tom Moor
5de549c882
fix: Double title on import of some documents ( #9522 )
2025-07-01 17:10:01 -04:00
Tom Moor
c4d798d70b
fix: Various fixes for HTML -> Markdown conversion ( #9509 )
...
* chore: List conversion should use a single space between marker and content
* Simplify table header detection
2025-06-29 11:57:40 -04:00
Tom Moor
8e56f58102
chore: Add additional validation to SMTP_SERVICE env ( #9506 )
...
Related #9505
2025-06-29 04:34:47 -04:00
codegen-sh[bot] and Tom Moor
879c568a2c
Upgrade Prettier to v3.6.2 ( #9500 )
...
* Upgrade Prettier to v3.6.2 and eslint-plugin-prettier to v5.5.1
- Upgraded prettier from ^2.8.8 to ^3.6.2 (latest version)
- Upgraded eslint-plugin-prettier from ^4.2.1 to ^5.5.1 for compatibility
- Applied automatic formatting changes from new Prettier version
- All existing ESLint and Prettier configurations remain compatible
* Applied automatic fixes
* Trigger CI
---------
Co-authored-by: codegen-sh[bot] <131295404+codegen-sh[bot]@users.noreply.github.com>
Co-authored-by: Tom Moor <tom@getoutline.com >
2025-06-28 10:22:28 -04:00