Tom Moor
072c7c537f
fix: Poll for the migrations lock so concurrent index builds cannot hang ( #14641 )
2026-11-18 19:58:23 -05:00
Tom Moor
631114129e
perf: Lock only the target row in locked queries with joins ( #14564 )
2026-11-12 21:48:14 -05:00
Tom Moor
eff1a43d9b
fix: Keep serving requests when Redis is unavailable ( #14457 )
...
* fix: Fail fast on Redis for cache and rate limits, lock migrations in Postgres
* fix: Use the fail-fast Redis client for locks
* fix: Require a database pool of at least two connections
* chore: Rename cache Redis client to ephemeralClient
2026-11-03 08:45:56 -05:00
Tom Moor
2679093af3
chore: Vendorize throng as ClusterManager ( #14198 )
...
* chore: Vendorize throng as ClusterManager
* fix: Force kill workers after grace period, skip fork if shutting down
* fix: Give workers their full shutdown timeout before the primary exits
* chore: Use a named export for ShutdownHelper
2026-10-21 18:20:03 -04:00
Tom Moor
c2fe0752ab
chore: Compact migrations before v1.3.0 into a baseline schema ( #13973 )
2026-10-17 18:45:25 -04:00
Tom Moor
2a4693687b
chore: Load Vite and Vitest configs as ESM ( #14101 )
...
* chore: Load Vite and Vitest configs as ESM
* fix: Resolve _FILE variables in the Vite config environment
* fix: Do not log the secret file path in the Vite config
* fix: Silence the dotenvx injection log
2026-10-16 01:40:47 +00:00
Tom Moor and Claude Opus 5.5
9e2565184e
chore: Prune stale comments, TODOs, and type suppressions ( #14092 )
...
* chore: Remove unused lint disable directives
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01WJegM4QsoYSKrBKb6eB4CH
* chore: Replace TODO type suppressions with typed code
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01WJegM4QsoYSKrBKb6eB4CH
* chore: Remove obsolete workaround comments in tests and MediaDimension
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01WJegM4QsoYSKrBKb6eB4CH
* chore: Remove Tippy compatibility props from Tooltip
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01WJegM4QsoYSKrBKb6eB4CH
* chore: Decouple DropdownMenu props from Tooltip and clarify sharing styles
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01WJegM4QsoYSKrBKb6eB4CH
* chore: Remove stale retention TODOs from cleanup tasks
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01WJegM4QsoYSKrBKb6eB4CH
* chore: Register relations synchronously and clarify workaround comments
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01WJegM4QsoYSKrBKb6eB4CH
* chore: Replace Notion import TODOs with descriptive comments
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01WJegM4QsoYSKrBKb6eB4CH
---------
Co-authored-by: Claude <noreply@anthropic.com >
2026-10-15 08:54:37 -04:00
Tom Moor
5386d689da
perf: Refactor to run boot migration check as separate process ( #13049 )
...
* perf: Refactor to run boot migration check as separate process
* Apply suggestions from code review
2026-07-19 11:36:14 -04:00
Tom Moor and Claude Opus 4.7
600108bc43
feat: Document insight rollups ( #12086 )
...
* First pass
* Remove popularity changes
* Address review feedback
- Compute retention cutoff in UTC from the database rather than worker-local TZ
- Push partition predicate into rollup source CTEs to avoid full-table scans per partition
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
* Anchor insight rollups to UTC and include today
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
---------
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com >
2026-04-18 08:11:15 -04: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
Tom Moor
35510fb4be
fix: Ignore missing .env in bootstrap.ts ( #10848 )
2025-12-10 17:14:39 -05:00
Tom Moor
d5e651436b
chore: Add confirmation step to release script ( #10648 )
...
* chore: Add confirmation step to release script
* Accept y/n/enter input
2025-11-15 13:29:05 -05:00
Tom Moor
9e8f206ebf
fix: release script does not work with gpgSign=true ( #10392 )
2025-10-15 21:42:19 -04:00
Tom Moor and graphite-app[bot]
92db179230
chore: Add script to reset encrypted data ( #10238 )
...
* chore: Add script to reset encrypted data
* Update server/models/WebhookSubscription.ts
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
* Update server/scripts/reset-encrypted-data.ts
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
* Add confirmation
---------
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
2025-09-23 08:34:46 -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
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
7dd0616b8c
fix: Remote table modifications cause CellSelection to be lost ( #9596 )
...
* fix: Table modifications lose any existing CellSelection
* tsc
* doc
* Remove unused imports
2025-07-10 08:46:08 -04:00
Tom Moor
82dc24040c
feat: Add screen to provision workspace ( #9355 )
...
* wip
* refactor
* lint
2025-05-31 23:27:44 -04:00
Tom Moor
f6d9d00947
fix: First time migration fails (Regressed in #9345 ) ( #9353 )
2025-05-31 20:46:39 +00:00
Hemachandar and Tom Moor
c5d534b2ad
Add script to resolve existing collection index collisions ( #8810 )
...
* Add script to resolve existing collection index collisions
* Remove debug logging
---------
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2025-05-04 16:12:09 -04:00
Tom Moor
a06671e8ce
OAuth provider ( #8884 )
...
This PR contains the necessary work to make Outline an OAuth provider including:
- OAuth app registration
- OAuth app management
- Private / public apps (Public in cloud only)
- Full OAuth 2.0 spec compatible authentication flow
- Granular scopes
- User token management screen in settings
- Associated API endpoints for programatic access
2025-05-03 19:40:18 -04:00
Tom Moor
2443be9329
fix: hash-api-keys migration accesses columns before creation, closes #8336
2025-02-04 19:41:00 -05:00
Tom Moor
bdac4360b4
chore: Remove usage of y-prosemirror fork, pull in latest fixes from upstream
2024-10-16 21:37:52 -04:00
Tom Moor
9680e57849
chore: Remove suppressImplicitAnyIndexErrors TS rule ( #7760 )
2024-10-11 12:46:46 -07:00
Tom Moor and Copilot Autofix powered by AI
1a02b0d9d7
Add script to backfill ApiKey hashes ( #7717 )
...
* Add hashed column for API keys
---------
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2024-10-03 16:27:25 -07:00
Tom Moor
4fc1ed0d7e
Add release script ( #7637 )
2024-09-22 09:59:10 -07:00
Hemachandar
043a8623b9
chore: Script to invalidate unfurls cache ( #7459 )
2024-08-26 19:14:25 -07:00
Tom Moor
bdcde1aa53
centralize email parsing logic
2024-07-07 10:54:19 -04:00
Hemachandar
6fd3a0fa8a
feat: Unified icon picker ( #7038 )
2024-06-23 06:31:18 -07:00
Tom Moor
d51267b8bc
JSON to client ( #5553 )
2024-05-24 05:29:00 -07:00
Tom Moor
0dede0b56e
Convert isViewer and isAdmin to getters ( #6724 )
2024-03-28 16:00:35 -07:00
Apoorv Mishra and Tom Moor
7e61a519f1
Type server models ( #6326 )
...
* fix: type server models
* fix: make ParanoidModel generic
* fix: ApiKey
* fix: Attachment
* fix: AuthenticationProvider
* fix: Backlink
* fix: Collection
* fix: Comment
* fix: Document
* fix: FileOperation
* fix: Group
* fix: GroupPermission
* fix: GroupUser
* fix: Integration
* fix: IntegrationAuthentication
* fix: Notification
* fix: Pin
* fix: Revision
* fix: SearchQuery
* fix: Share
* fix: Star
* fix: Subscription
* fix: TypeError
* fix: Imports
* fix: Team
* fix: TeamDomain
* fix: User
* fix: UserAuthentication
* fix: UserPermission
* fix: View
* fix: WebhookDelivery
* fix: WebhookSubscription
* Remove type duplication
---------
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2024-01-12 22:33:05 +05:30
Tom Moor
1840370e6f
Adds content column to documents and revisions as JSON snapshot ( #6179 )
2023-12-17 07:51:11 -08:00
Tom Moor
cd359f0e76
fix: Migration script fails on fresh installation
...
closes #6153
2023-11-14 07:43:15 -05:00
Tom Moor
3eb947e9a5
chore: Improve perf of server tests ( #5785 )
2023-09-06 04:14:49 -07:00
Apoorv Mishra and Tom Moor
1c7bb65c7a
Document emoji picker ( #4338 )
...
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2023-09-03 06:11:14 -07:00
Tom Moor
74722b80f2
chore: Refactor file storage ( #5711 )
2023-08-20 07:04:34 -07:00
Tom Moor
c32cec7bff
Add support for SSL in development ( #5668 )
2023-08-09 04:21:41 -07:00
Tom Moor
89d5527d39
Handle promise linting ( #5488 )
2023-06-28 17:18:18 -07:00
Tom Moor
45831e9469
Remove NotificationSettings table ( #5036
...
* helper
* Add script to move notification settings
* wip, removal of NotificationSettings
* event name
* iteration
* test
* test
* Remove last of NotificationSettings model
* refactor
* More fixes
* snapshots
* Change emails to class instances for type safety
* test
* docs
* Update migration for self-hosted
* tsc
2023-03-18 06:32:41 -07:00
Tom Moor
cafe4ed848
Add seed script
2022-11-12 10:16:19 -05:00
Tom Moor
86aa531fad
Utility method to re-derive text field from CRDT
2022-10-30 10:29:32 -04:00
Tom Moor
cbb2bdf80c
Update text column with CRDT backfill
2022-10-17 14:20:54 -04:00
Tom Moor
1fbc000e03
chore: Reduce test boilerplate ( #4300 )
...
* chore: Reduce test boilerplate
* mo
2022-10-15 19:40:21 -07:00
Tom Moor
804db1b0e4
Add CRDT backfill script
2022-10-08 18:25:49 -04:00
Tom Moor
922bf53753
fix: Document subscriptions backfill not recursive
2022-08-27 11:58:21 +02:00
CuriousCorrelation and Tom Moor
24c71c38a5
feat: Document subscriptions ( #3834 )
...
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2022-08-25 23:47:13 -07:00
Apoorv Mishra
0c51bfb899
perf: reduce memory usage upon running server tests ( #3949 )
...
* perf: reduce memory usage upon running server tests
* perf: plug leaks in server/routes
* perf: plug leaks in server/scripts
* perf: plug leaks in server/policies
* perf: plug leaks in server/models
* perf: plug leaks in server/middlewares
* perf: plug leaks in server/commands
* fix: missing await on db.flush
* perf: plug leaks in server/queues
* chore: remove unused legacy funcs
* fix: await on db.flush
* perf: await on GC to run in between tests
* fix: remove db refs
* fix: revert embeds
* perf: plug leaks in shared/i18n
2022-08-11 21:39:17 +05:30
Tom Moor
b20a341f0c
chore: Typescript database models ( #2886 )
...
closes #2798
2022-01-06 18:24:28 -08:00
Tom Moor
15b1069bcc
chore: Move to Typescript ( #2783 )
...
This PR moves the entire project to Typescript. Due to the ~1000 ignores this will lead to a messy codebase for a while, but the churn is worth it – all of those ignore comments are places that were never type-safe previously.
closes #1282
2021-11-29 06:40:55 -08:00