Tom Moor
bb6c15a552
chore: Always log outgoing emails in development
2025-03-15 14:18:16 -04:00
Tom Moor
5a1aeed989
fix: API middleware wrapper triggers on JSZip stream ( #8683 )
2025-03-13 00:50:41 +00:00
Tom Moor
516d14fe27
fix: Potential unsafe content-type check ( #8673 )
...
* fix: Potential bypass of content-type check
* Include extra available chars
2025-03-12 12:39:41 +00:00
Tom Moor
e5b5cbaab7
Revert "chore: Upgrade path-to-regexp ( #8636 )" ( #8652 )
...
This reverts commit 58c4a486f7 .
2025-03-08 07:18:10 -08:00
Tom Moor
58c4a486f7
chore: Upgrade path-to-regexp ( #8636 )
...
* chore: Upgrade koa-router
* chore: Upgrade dd-trace
2025-03-05 13:36:30 -08:00
Hemachandar
d5462a92c8
fix: Skip unsubscribing when user has access to document ( #8631 )
...
* fix: Skip unsubscribing when user has access to document
* better checks
2025-03-04 19:26:13 -08:00
Hemachandar
7a90a909b3
Prevent duplicate emails when user has existing access to a document. ( #8263 )
...
* check user has higher access
* membershipId column
* handle document shared email
* fix and cleanup
* tests
* jsdoc
* event changeset
* check collection permission
* change date in migration filename
* review
* rename migration filename to today
* required group, jsdoc
2025-03-04 17:56:44 -08:00
Hemachandar
189ad30138
fix: Skip auto creating subscriptions when user/group is added to a document ( #8630 )
2025-03-04 16:58:20 -08:00
YouLL and Tom Moor
d551a1a10b
feat: collection mentions ( #8529 )
...
* feat: init collection mention
* refactor: dedicated search helper function for collection mentions
* feat: add test for collection search function helper
* feat: parseCollectionSlug
* feat: isCollectionUrl
* feat: add collection mention to paste handler
* fix: update translation of mention keyboard shortcut
* fix: keyboard shortcut mention label
* fix: missing teamId in search helper functioN
* chore: update translations
---------
Co-authored-by: Tom Moor <tom@getoutline.com >
2025-03-03 19:03:27 -08:00
Tom Moor
ddfd1b70e5
fix: Allow setting revision name to null ( #8626 )
2025-03-04 00:44:17 +00:00
Tom Moor
d3235250a8
perf: Move text serialization to task runner ( #8589 )
...
* perf: Move text serialization to task runner
* tsc
* test
* refactor
* fix: Restore previous default of toMarkdown behavior
* Stop writing text to revisions
2025-03-02 08:21:50 -08:00
Tom Moor
237253afdb
fix: Flaky test ordered event expectations ( #8607 )
2025-03-02 13:21:25 +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
bed0bf9ec8
feat: Add filtering to shared links admin table ( #8602 )
...
* Add query parameter to shares.list
* Add filter on shared links table
* Additional test
2025-03-01 22:22:15 +00:00
Tom Moor
ae05520a25
feat: Add query parameter to collections.list ( #8595 )
2025-03-01 09:02:17 -08:00
Hemachandar
5fbc57f39a
fix: Check user has enabled create-comment notification in email flow ( #8591 )
2025-02-28 15:01:46 -08:00
Tom Moor
69029b305d
test: Fix flaky availableTeams test ( #8583 )
2025-02-26 19:37:09 -08:00
Tom Moor
13f45e1a1c
Send editor version down websocket and force reload ( #8582 )
2025-02-26 19:25:13 -08:00
Hemachandar
e51f93f9a0
chore: Add API error handler middleware ( #8572 )
2025-02-26 05:02:21 -08:00
Tom Moor
d4fe240808
fix: If multiple authentication providers match, choose the enabled one with priority ( #8566 )
2025-02-25 19:06:53 -08:00
Tom Moor
61c76e62ef
fix: Smart text fraction replacements lose preceding space ( #8564 )
...
* chore: Ensure no cache of root index page
* fix: Fractional smart text replacements also lose preceding space
2025-02-25 17:10:19 -08:00
Tom Moor
499392c114
feat: allow sending text parameter to comments.create ( #8544 )
...
* fix: Do not size last table column by default
* feat: Allow text param for comments.create
* Support images in comment text
2025-02-24 17:52:39 -08:00
Tom Moor
97e91eb06b
test: Fix race condition
2025-02-23 22:29:40 -05:00
Tom Moor
36a92d5393
chore: Special-case database validation as it is used before server env can be validated
2025-02-23 22:00:09 -05:00
Tom Moor
50f9f414bf
fix: Slim stop-word list, related #8395
2025-02-23 17:26:57 -05:00
Tom Moor
17f4dc58f1
chore: Fix cascade team_domains -> users
2025-02-23 09:37:00 -05:00
Tom Moor
fe839acaeb
fix: Backport redirect fix
2025-02-23 09:14:36 -05:00
Hemachandar
6a1f2399db
feat: Collection subscription ( #8392 )
...
* feat: Collection subscription
* refactor to use latest impl
* load subscriptions only once
* tests, type rename, migration index
* all users in publish flow
* tsc
* remove SubscriptionType.Collection enum
* review
2025-02-22 06:53:19 -08:00
Hemachandar
f61046ec22
fix: Prevent double pinning of documents ( #8503 )
...
* fix: Prevent double pinning of documents
* tests
* review
* policy
* schema
2025-02-19 20:44:21 -08:00
Tom Moor
b2da166dd6
fix: Prevent last user/group with collection manage permission being removed ( #8499 )
...
* fix: Prevent removal of last manage UserMembership in collection
* fix: Check last GroupMembership with manage permission
* Cover permission update case
* save
2025-02-19 18:55:28 -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
a05c965be2
fix: Markdown import with relative path image not imported correctly
2025-02-18 22:38:41 -05:00
Tom Moor
2116041cd5
Revert "Move document history to revisions.list API ( #8458 )" ( #8495 )
...
This reverts commit 839ce889ad .
2025-02-18 20:25:52 -05:00
Tom Moor
4cd2ee6291
fix: Path with query string does not work with scope restrictions, closes #8489
2025-02-18 20:16:54 -05:00
Tom Moor
1749ffe20d
feat: Redirect to previous subdomains ( #8477 )
...
* Migration
* Store previous subdomains
* Redirect previous subdomains at service layer
* refactor
* refactor
* change index
* Guard logic to hosted only
2025-02-18 16:53:18 -08:00
Tom Moor
e90a86737f
Add task to cleanup old events, change strategies to hourly ( #8446 )
2025-02-17 13:34:30 -08:00
Hemachandar
839ce889ad
Move document history to revisions.list API ( #8458 )
...
* Move document history to `revisions.list` API
* deprecate name
* tests
* review
2025-02-17 13:14:51 -08:00
Tom Moor
f46921275d
fix: copy pasting the content from some medium into outline does not get the images ( #8472 )
...
* fix: Files from local storage provider sometimes returned with incorrect content type
* fix: attachments.createFromUrl response values incorrect for successful upload
* fix: Reduce liklihood of image download requests being blocked on server
* fix: Content with HTML images should never be considered as markdown
* fix: Image caption sometimes uncentered
* test
2025-02-17 11:54:13 -08:00
Tom Moor
acc825b554
perf: Add trigram index for doc title search ( #8454 )
2025-02-16 17:44:00 -08:00
Hemachandar
bef4292146
Enable dragging a document into drafts ( #8411 )
...
* Enable dragging a document into drafts
* unpublish by detaching from collection
* websocket events
2025-02-15 18:45:05 -08:00
Tom Moor
0bcff545e7
fix: Notifications sent for insignificant changes ( #8397 )
...
* fix: Notifications sent for insignificant changes
* doc
* Reduce work on larger documents
2025-02-13 16:14:28 -08:00
Tom Moor
9e8b4a3269
chore: Clarify copy in user account deletion email
2025-02-13 19:00:45 -05:00
Tom Moor
898e11b424
fix: Improve validation of document and collection IDs, closes #8401
2025-02-13 18:34:15 -05:00
Tom Moor
ac48767132
fix: Umami CSP with url including port, closes #8371
2025-02-12 23:23:31 -05:00
Tom Moor
854fbca420
fix: Improve matching on quoted queries
2025-02-12 21:32:30 -05:00
Hemachandar
c81802b3bb
Fetch subscription data using 'subscriptions.info' API ( #8368 )
...
* Fetch subscription data using 'subscriptions.info' API
* use getByDocumentId
* throw 404
* unnecessary notfound error
2025-02-10 18:32:51 -08:00
Hemachandar
d37e21645c
Manage document subscription when a group is added to (or) removed from a document ( #8354 )
2025-02-09 16:09:29 -08:00
Hemachandar
7eb2bc9a16
Unsubscribe from document updates when a user is removed from a document ( #8349 )
...
* Unsubscribe from document updates when a user is removed from a document
* dummy default
2025-02-07 05:31:46 -08:00
Hemachandar
7e1adab035
fix: Flaky subscriptionCreator test ( #8345 )
2025-02-06 18:22:24 -05:00
Tom Moor
2443be9329
fix: hash-api-keys migration accesses columns before creation, closes #8336
2025-02-04 19:41:00 -05:00