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
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
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
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
Hemachandar
e910ecf559
fix: Update counter cache when a user is deleted (or) suspended ( #8222 )
2025-01-10 19:36:39 -08:00
Hemachandar
3c5ce8cb3d
Publish event in withCtx flow only ( #8188 )
...
* api key
* attachment
* file operation
* group
* share
* star
* subscription
* publish events in withCtx flow only
* cleanup GroupUser hooks:false
* type and rename
* rename publish to create
2025-01-08 05:27:49 -08:00
Hemachandar
4a64a767e1
Convert GroupUser mutations ( #8187 )
...
* Convert 'GroupUser' mutations
* cleanup commands
2025-01-05 16:33:51 -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
Tom Moor
b58671cbd1
Exclude state column by default in document queries ( #8139 )
...
* Exclude state column by default in document queries
* restore withoutState scope
2024-12-26 03:30:48 -08:00
Tom Moor
e89c32424f
fix: Subscribe to document automatically on share ( #8108 )
2024-12-15 17:37:20 -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
Hemachandar
54f82cac96
fix: show all templates in the menu ( #7950 )
...
* fetch all templates
* websocket events for workspace templates
2024-11-14 16:31:48 -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
Hemachandar
de04d1c0c5
feat: Comment reactions ( #7790 )
...
Co-authored-by: Tom Moor <tom@getoutline.com >
2024-11-02 10:58:03 -07:00
Tom Moor
0e249951ab
chore: Event.createFromContext usage ( #7877 )
...
* revisions.create
* Automatically pass transaction in state to createFromContext
2024-11-02 10:16:15 -07:00
Tom Moor
9680e57849
chore: Remove suppressImplicitAnyIndexErrors TS rule ( #7760 )
2024-10-11 12:46:46 -07:00
Hemachandar
0f8ac54bcb
feat: include content in document mentioned email ( #7756 )
...
* feat: include content in document mentioned email
* handle doc publish flow
* add tests, doc
* including heading node
* Diff border
2024-10-11 12:30:08 -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
Apoorv Mishra
35ff70bf14
Archive collections ( #7266 )
...
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2024-10-06 05:37:11 -07:00
Hemachandar
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
Apoorv Mishra
5374784df6
New Replace type utility ( #7476 )
...
* fix: Replace type
* trigger ci
2024-08-30 10:02:38 +05:30
Tom Moor
0fc3099f75
Standardize websocket collection channel logic
2024-08-29 12:09:52 -04:00
Tom Moor
0642396264
perf: Policies refactor ( #7460 )
2024-08-28 06:10:38 -07:00
Apoorv Mishra
5d85a3a093
Specify time conversion unit ( #7458 )
...
* fix: specificity in time units
* fix: milliseconds -> ms
2024-08-25 18:57:45 +05:30
Tom Moor
8ac3c17310
fix: Reduce unneccessary client fetches
2024-08-19 19:10:30 -04:00
Tom Moor
0ab8b52582
feat: Cache count of group members ( #7377 )
2024-08-17 14:34:12 -07:00
Tom Moor
86be197049
fix: Websocket event not required for each document in imported collection
...
fix: Newly imported collections do not appear in sidebar until reload
2024-08-17 09:03:05 -04:00
Hemachandar
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