Tom Moor
0ce992e87a
fix: Misuse of transactions in revision endpoints ( #11574 )
2026-02-25 16:44:10 -05:00
Tom Moor
c758f0d93a
chore: Upgrade Zod to version 4 ( #11465 )
2026-02-15 22:54:50 -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
Tom Moor
1675c42364
Remove documents.diff endpoint ( #11175 )
2026-01-13 19:11:13 -05:00
Newton and Tom Moor
2d1092a2ca
feat: Use signed urls in "copy as markdown" ( #10821 )
...
* feat: Use signed urls (ttl configurable) for attachment urls in "copy markdown"
* make signed urls a parameter, not a instance configuration
* feat(fix): copy as markdown: refactor toMarkdown (use signed urls)
* attempt to fix tests failing
* adjust markdown exporting in revisions too
* formatting
---------
Co-authored-by: Tom Moor <tom@getoutline.com >
2026-01-10 21:42:44 -05:00
Tom Moor
ad975620b0
Remove HTML from revisions.info ( #11088 )
...
closes #11024
2026-01-07 08:31:48 -05:00
Tom Moor
8ee51a864a
Add download options to revision menu ( #11048 )
2026-01-03 11:25:30 -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
Tom Moor
fd49602e40
feat: Improved revision viewer ( #10824 )
2025-12-28 08:56:32 -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
9a180e486d
Fix: admin permissions bypass ( #10542 )
...
* admins should not be able to update documents when it has view only for everyone
* fix tests
* fix broken tests
* remove unworkable test blocks
* fix broken tests
* fix all broken tests
* minor fix
* remove public collection check
* fix broken tests
2025-11-14 20:49:23 -05:00
Tom Moor
c83a6b4f41
fix: Usage of ctx.attachment overrides explicit Content-Type ( #9949 )
2025-08-16 11:29:00 -04:00
Hemachandar
c7231ffd8b
chore: Move Revision event writing to model layer ( #9650 )
2025-07-16 17:28:29 -04:00
Tom Moor
3ffee1239b
Add revision deletion endpoints ( #9240 )
2025-05-21 22:57:02 -04:00
Tom Moor
ddfd1b70e5
fix: Allow setting revision name to null ( #8626 )
2025-03-04 00:44:17 +00:00
Tom Moor
82cdebfb66
Add name column to revisions ( #8603 )
...
* fix: Flaky test
* Migration, model interface
* Add policies to revisions
* Add revisions.update endpoint
* tests
* lint
2025-03-02 05:07:30 -08:00
Tom Moor and hmacr
cbca7f60fe
Move document history to revisions.list API ( #8497 )
...
* Revert "Revert "Move document history to `revisions.list` API (#8458 )" (#8495 )"
This reverts commit 2116041cd5 .
* fix: check all events for latest ad-hoc revision
* view revision list for deleted docs
* rename
---------
Co-authored-by: hmacr <hmac.devo@gmail.com >
2025-02-19 04:44:15 -08:00
Tom Moor
d51267b8bc
JSON to client ( #5553 )
2024-05-24 05:29:00 -07:00
Tom Moor
c27cd945a7
Policies refactor, guest roles ( #6732 )
2024-03-31 17:28:35 -07:00
Apoorv Mishra and Tom Moor
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
428b3c9553
chore: Ensure comment data is validated before persisting ( #6322 )
...
Fix flash on render of comment create
2023-12-28 10:46:50 -08:00
Tom Moor
a21e1d9fea
chore: Expose createDatabaseInstance, createMigrationRunner methods
2023-11-25 13:18:51 -05:00
Apoorv Mishra
7145f7ef51
UserPermission and GroupPermission models (#5860 )
...
* fix: rename to group_permissions
* fix: delete null collectionId records before setting non null constraint
* fix: use scope with collectionId not null
* fix: update model with documentId
* fix: rename to GroupPermission
* fix: rename collection_users to user_permissions
* fix: teamPermanentDeleter test
* fix: use scope with collectionId not null
* fix: update model with documentId
* fix: rename to UserPermission
* fix: create views upon table rename for zero downtime
* fix: remove comments
2023-09-25 10:51:29 +05:30
Tom Moor
0856f5f6ae
Move template management to settings ( #5811 )
2023-09-10 12:46:12 -07:00
Tom Moor
127115272a
feat: Return attachments when exporting an individual file ( #5778 )
2023-09-06 17:53:30 -07:00
Tom Moor
3eb947e9a5
chore: Improve perf of server tests ( #5785 )
2023-09-06 04:14:49 -07:00
Tom Moor
b7bfc4bb1a
chore: Remove optimize imports to allow vite upgrade ( #5691 )
2023-08-14 11:44:58 -07:00
Tom Moor
45641103ba
Allow viewing diff before revision is written ( #5399 )
2023-05-29 19:49:13 -07:00