Tom Moor
9b8acf3efb
Remove unnecessary default parameter values from function signatures ( #12617 )
...
* Fix remaining no-useless-default-assignment lint warnings
* Promote no-useless-default-assignment lint rule to error
2026-06-07 15:46:01 -04:00
Tom Moor
7be893f9a3
Refactor templates ( #11027 )
...
closes #8674
2026-02-20 18:53:00 -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
Hemachandar
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
68f87f7254
perf: Move recalculation of memberships to async job ( #9567 )
...
* perf: Move recalculation of memberships to async job
* tsc
2025-07-08 18:01:18 -04:00
Tom Moor
1836d2ef63
chore: Fix various lint warnings ( #9362 )
...
* Fix various linting errors
This commit addresses several linting warnings reported by ESLint:
- @typescript-eslint/no-shadow:
- I renamed variables in inner scopes to avoid conflicts with variables in outer scopes in the following files:
- server/commands/accountProvisioner.ts
- server/commands/documentDuplicator.ts
- server/commands/documentMover.ts
- server/commands/teamProvisioner.test.ts
- server/commands/teamProvisioner.ts
- server/commands/userInviter.ts
- server/commands/userProvisioner.ts
- server/emails/templates/BaseEmail.tsx
- @typescript-eslint/no-explicit-any:
- I replaced `any` with more specific types (Record<string, unknown> or void) in the following files:
- server/emails/templates/BaseEmail.tsx
- server/emails/templates/InviteEmail.tsx
- server/emails/templates/SigninEmail.tsx
- server/logging/Logger.ts
These changes improve code clarity and type safety without altering functionality.
* Update BaseEmail.tsx
* lint
---------
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2025-06-01 10:59:55 -04:00
Tom Moor
08b7c11461
Normalize Collection.findByPk ( #9193 )
2025-05-14 00:05:45 -04:00
Tom Moor
b9387734c7
perf: Remove documentStructure from default query select ( #9141 )
...
* perf: Remove documentStructure from default query select
* test
2025-05-07 07:47:57 -04:00
codegen-sh[bot]
a226889143
Update task scheduling to use instance method ( #9092 )
...
* Update task scheduling to use instance method
* Delete update_task_schedule.sh
* Applied automatic fixes
* tsc
---------
Co-authored-by: codegen-sh[bot] <131295404+codegen-sh[bot]@users.noreply.github.com>
Co-authored-by: Tom Moor <tom@getoutline.com >
2025-04-29 06:47:51 -04:00
Tom Moor
b8c07eb298
chore: Cleanup unused pinDestroyer ( #8180 )
2025-01-01 14:02:45 -08:00
Tom Moor
f61689abdc
feat: Invite groups to documents ( #7275 )
2024-09-01 06:51:52 -07:00
Hemachandar
c2fbb31e77
Workspace templates ( #7150 )
...
* feat: Workspace templates
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2024-07-27 08:38:16 -07:00
Apoorv Mishra
1490c3a14b
Individual document sharing with permissions ( #5814 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: Tom Moor <tom@getoutline.com >
2024-01-30 17:48:22 -08:00
Tom Moor
faf97401e6
feat: add "Copy document" dialog ( #6009 )
2023-10-16 16:13:57 -07:00
Tom Moor
41a6f77998
fix: Types on overridden findByPk methods ( #5908 )
2023-10-01 12:02:56 -07:00
Apoorv Mishra
86062f396d
Deleting a collection should detach associated drafts from it ( #5082 )
...
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2023-04-23 12:20:44 -07:00
Tom Moor
e347404502
chore: Improvements to document move behavior ( #4689 )
...
* chore: Improvements to document move behavior
* test
2023-01-12 18:48:09 -08:00
Tom Moor
4a97b35d5a
fix: Collection structure update on document move
2023-01-11 20:56:14 -05:00
Tom Moor
e67ac1215a
feat: Allow moving draft documents ( #4652 )
...
* feat: Allow moving draft documents
* Allow drag-n-drop move of draft documents
* fix: Allow moving draft without a collection
* fix: Allow moving draft without a collection
2023-01-06 19:31:06 -08:00
Tom Moor
c6fb764631
chore: Move tracing decorators into the codebase ( #4623 )
...
* Vendorize tracing, finally fix service name issues
* Upgrade datadaog-metrics, rename decorators -> tracing
* lint
2022-12-31 04:54:51 -08:00
Tom Moor
997d796eb7
chore: Remove anomalous serviceName from traces
2022-12-30 13:42:22 -05:00
Tom Moor
dc9c45ef6c
fix: Add extra span naming closes #3266
2022-03-18 20:12:49 -07:00
Tom Moor
5e655e42f6
chore: documentStructure database locking ( #3254 )
2022-03-18 08:59:11 -07:00
Tom Moor
a27af88d4a
perf: Stop copying attachments when moving documents ( #3251 )
...
* perf: Stop copying attachments when moving documents
* lint
2022-03-16 15:18:04 -07:00
Tom Moor
15cecf1e53
Upgrade dd-trace, add APM tracing around key commands, fix tags should be attached to root spans ( #3243 )
2022-03-14 20:03:12 -07:00
Tom Moor
b20a341f0c
chore: Typescript database models ( #2886 )
...
closes #2798
2022-01-06 18:24:28 -08:00
Tom Moor
eb0c324da8
feat: Pin to home ( #2880 )
2021-12-30 16:54:02 -08:00
Tom Moor
6e371f0d03
fix: HoverPreview not showing on collaborative editing teams
...
types
2021-12-05 19:31:08 -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