Hemachandar
dcb7b86df8
Store import error in DB ( #8811 )
2025-03-29 06:08:07 -07:00
Hemachandar
45c6e72c6d
Manage collection subscriptions when user (or) group is removed from a collection ( #8821 )
...
* Manage collection subscriptions when user (or) group is removed from a collection
* rename collection task
* rename document task
* remove unnecessary actor filter
2025-03-29 06:07:57 -07:00
Hemachandar
a7fe6c9af3
Include non-deleted imports for cleanup ( #8822 )
2025-03-28 05:46:36 -07:00
Tom Moor
66fae19034
fix: Improve performance of notification queries ( #8809 )
...
* Remove onlySubscribers
* refactor
* perf
2025-03-27 19:10:32 -07:00
Hemachandar
6e98568e5b
API importer for Notion ( #8710 )
2025-03-23 12:19:13 -07:00
Tom Moor
f369c2f8bf
Refactor logic for validating authentication tokens ( #8727 )
...
* Remove use of Promise.any
* Restore retry on all invalid
2025-03-20 20:49:47 -07: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
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
97e91eb06b
test: Fix race condition
2025-02-23 22:29:40 -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
Tom Moor
a05c965be2
fix: Markdown import with relative path image not imported correctly
2025-02-18 22:38:41 -05:00
Tom Moor
e90a86737f
Add task to cleanup old events, change strategies to hourly ( #8446 )
2025-02-17 13:34:30 -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
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
Tom Moor
28aebc9fbf
feat: Upload remote-hosted images on paste ( #8301 )
...
* First pass
* fix
* tidy, tidy
* Determine dimensions
* docs
* test getFileNameFromUrl
* PR feedback
* tsc
2025-01-30 17:24:07 -08:00
Tom Moor
73086139d2
Document mentions ( #8225 )
2025-01-17 15:56:38 -08:00
Tom Moor
56b9c60388
Revert "Updated ImportJsonTask file mapDocuments method to use unshift instea…" ( #8241 )
...
This reverts commit 9cab404194 .
2025-01-15 07:16:41 -08:00
Prasad Bandaru
9cab404194
Updated ImportJsonTask file mapDocuments method to use unshift instead of push for sorting order ( #8183 )
2025-01-02 12:05:50 -08:00
Hemachandar
234915f4a0
Convert Subscription mutations ( #8166 )
...
* createContext accepts object
* handle subscriptions
* use createContext
* should've done this on the initial attempt...
2024-12-31 05:25:43 -08:00
infinite-persistence
e8bddbe104
Notification for resolved comment ( #8045 )
...
* fix: probably copy-pasted function description
* fix: userIdsMentioned was always empty
* add: NotificationEventType.ResolveComment
* move: split handler for "mentioned" vs. "resolved"
The recipients for "resolved" will include more people (creator, repliers, mentioned), so it's easier to just split the handler than trying to augment it.
* implement: handleResolvedComment
* clone: CommentMentionedEmail as CommentResolvedEmail
Changes coming up in next commit...
* implement: CommentResolvedEmail
* Fix "New Comment↓" incorrectly showing in Resolved
## Repro 1 (with production code)
1. In a list of long resolved comments, scroll up and select the first one.
2. From another account, resolve another comment. The hint appears.
## Repro 2 (with production code)
1. Select Most-Recent, then Resolved.
2. F5. It's scrolled all the way to the bottom.
## Repro 3 (after this PR)
1. Click on the notification when someone resolved a comment. The screen jumps to "Resolved" + showing hint unnecessarily.
## Fix
The scrolling and hint was meant for Most Recent only, but missed out this case since "Resolve" is not part of the enum.
* Better sentences
* Refactor "mentions + author" calculation
* Remove unnecessary check
The resolver is already added to `userIdsNotified` from the start, so no point checking it again here.
2024-12-04 15:10:03 -08:00
Tom Moor
c7d339ded5
Tracking of total uploaded attachments / team ( #8031 )
...
* Add column and task to calculate size
* Store in MB, rather than Bytes
* Add cron task to recalculate attachment sizes
* findAllInBatches
* Index createdAt
* fix: Index on incorrect table
2024-11-27 18:42:23 -08:00
Tom Moor
633e547d3e
Refactor of event insertion ( #5909 )
2024-11-10 16:26:20 -08:00
Tom Moor
d5de69fd4b
fix: Exception for Notion import of a single document
2024-11-09 19:26:44 -05:00
Tom Moor
9747c6ba5d
fix: Document mentions can be incorrectly attributed during collab session ( #7913 )
2024-11-08 05:35:49 -08:00
Hemachandar
0a3a684493
fix: collection archival post-process parity with deletion ( #7906 )
2024-11-07 18:02:51 -08:00
Tom Moor
9680e57849
chore: Remove suppressImplicitAnyIndexErrors TS rule ( #7760 )
2024-10-11 12:46:46 -07:00
Hemachandar
6c9f265918
feat: Lossless JSON import ( #7274 )
...
* feat: Lossless JSON import
* transform node only when attachments are present in the zip
2024-10-09 19:04:04 -07:00
Tom Moor
d3c8224839
fix: Error during import with long filenames ( #7738 )
...
* fix: Stream error during import causes worker restart
* refactor
* fix: Ensure we never write filenames longer than the system can handle
2024-10-07 05:36:18 -07:00
Hemachandar and Tom Moor
c58aafeb32
fix: check doc access before sending mention email ( #7664 )
...
* fix: check doc access before sending mention email
* refactor
---------
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2024-09-28 14:29:34 -07:00
Tom Moor
2fd18f7fdb
fix: Add resilience for absolute attachment paths in Markdown importer, closes #7512
2024-09-21 14:34:28 -04:00
Tom Moor
37c90e1592
fix: Add guard for empty actorId, closes #7614
2024-09-16 22:18:50 -04:00
Tom Moor
e032bb5ab8
Check document access before creating @mention notification
2024-09-15 21:27:07 -04:00
Hemachandar
4ef7e95863
feat: Add background task for empty_trash action ( #7531 )
...
* feat: Add background task for empty_trash action
* review
* enqueue task only if docs are available
2024-09-04 19:04:15 -07:00
Tom Moor
19b6ee832b
Suppress 'Added to document' notifications when user has existing document membership and added through group
2024-09-02 22:07:26 -04:00
Tom Moor
b95eb114f1
fix: Do not send notification to actor in group addition
2024-09-01 12:44:33 -04:00
Tom Moor
f61689abdc
feat: Invite groups to documents ( #7275 )
2024-09-01 06:51:52 -07:00
41af3a107e
chore: Remove emoji column from documents and revisions ( #7144 )
...
* chore: Remove emoji column from documents and revisions
* fix: Incorrect icon color on collections in share menu
* Update types.ts
---------
Co-authored-by: Tom Moor <tom.moor@gmail.com >
Co-authored-by: Tom Moor <tom@getoutline.com >
2024-08-05 01:08:20 -07:00
Hemachandar
4c999d00d2
fix: use all properties from zip when importing a collection ( #7318 )
...
* fix: use all properties from zip when importing a collection
* use shared defaults
2024-07-27 08:31:00 -07:00
Tom Moor
474baf7b42
fix: Suppress notifications for changes that are not visible
2024-07-22 20:09:03 -04:00
Hemachandar
e4c1281bf7
fix: replace document links when importing markdown ( #7259 )
2024-07-21 17:42:36 -07:00
Hemachandar
bbbc00baaa
fix: Set doc slug on importing collections ( #7270 )
...
* fix: Set doc slug on importing collections
* review
2024-07-21 17:42:22 -07:00
Tom Moor
1711d17e25
fix: newMentionIds no longer always in event data
2024-07-03 17:58:15 -04:00
Tom Moor
8a8dad15ef
fix: newMentionIds no longer always in event data, closes #7186
2024-07-02 18:03:22 -04:00
Hemachandar
6fd3a0fa8a
feat: Unified icon picker ( #7038 )
2024-06-23 06:31:18 -07:00
Hemachandar and Tom Moor
4897f001e4
Add icon column to document ( #7066 )
...
* Add icon column to document
* Backfill columns
---------
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2024-06-21 06:26:20 -07:00
Tom Moor
3b9cbb08c8
fix: AggregateError thrown from ValidateSSOAccessTask
2024-05-30 00:02:37 -04:00
Tom Moor
3e083ce132
fix: Missing use of document.content
2024-05-26 10:24:21 -04:00