Hemachandar
6e98568e5b
API importer for Notion ( #8710 )
2025-03-23 12:19:13 -07:00
Tom Moor
912b9159f0
fix: Add missing users.delete event handling ( #8715 )
2025-03-18 15:27:27 -07: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
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
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
73086139d2
Document mentions ( #8225 )
2025-01-17 15:56:38 -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
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
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
Hemachandar
0a3a684493
fix: collection archival post-process parity with deletion ( #7906 )
2024-11-07 18:02:51 -08:00
Hemachandar and Tom Moor
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
Apoorv Mishra and Tom Moor
35ff70bf14
Archive collections ( #7266 )
...
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2024-10-06 05:37:11 -07: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
Tom Moor
f0ba98e936
fix: Upon adding user to a group only the first collection in the group proactively joined
2024-07-21 08:14:51 -04:00
Tom Moor
f48c05bef3
chore: CollectionGroupMembership -> GroupMembership ( #7269 )
...
* chore: CollectionGroupMembership -> GroupMembership
* Backwards compat
* docs
2024-07-17 18:39:13 -07:00
Tom Moor
f675a04735
chore: Rename GroupPermission -> GroupMembership ( #7214 )
...
* GroupPermission -> GroupMembership
* Add group membership source
* wip
2024-07-17 16:31:20 -07:00
Tom Moor
e52719c38e
chore: Rename GroupMembership -> GroupUser ( #7268 )
...
* Rename GroupMembership -> GroupUserMembership
* GroupUser
2024-07-17 16:14:59 -07:00
Tom Moor
117c4f5009
feat: Comment resolving ( #7115 )
2024-07-02 03:55:16 -07:00
Tom Moor
7bdafff235
Add ApiKeyCleanupProcessor
2024-06-05 08:30:56 -04:00
Tom Moor
5bd6c7b9c7
fix: Layout only changes not synced to content property
2024-06-02 10:29:26 -04:00
Tom Moor
f103d73b48
Move collection description rendering to JSON ( #6944 )
...
* First pass, moving collection description rendering to JSON
* tsc
* docs
* refactor
* test
2024-05-25 15:17:19 -07:00
Tom Moor
d51267b8bc
JSON to client ( #5553 )
2024-05-24 05:29:00 -07:00
Tom Moor
3f209101e6
Add updateRole endpoint ( #6771 )
2024-04-06 06:32:15 -07:00
Apoorv Mishra and Tom Moor
450d0d9355
Github integration ( #6414 )
...
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2024-03-23 07:09:28 -07:00
Apoorv Mishra
85c8f83e33
PluginManager refactor (#6677 )
...
* fix: refactor plugin manager
* fix: make id optional
* fix: allow add to accept single object
* fix: getHooks
* fix: tsc
* fix: remove id
2024-03-16 21:22:25 +05:30
Tom Moor and Apoorv Mishra
f9a11a28d8
chore: Plugin registration ( #6623 )
...
* first pass
* test
* test
* priority
* Reduce boilerplate further
* Update server/utils/PluginManager.ts
Co-authored-by: Apoorv Mishra <apoorvmishra101092@gmail.com >
* fix: matchesNode error in destroyed editor transaction
* fix: Individual imported files do not display source correctly in 'Insights'
* chore: Add sleep before Slack notification
* docs
* fix: Error logged about missing plugin.json
* Remove email template glob
---------
Co-authored-by: Apoorv Mishra <apoorvmishra101092@gmail.com >
2024-03-08 20:32:05 -08:00
Tom Moor
012d8c2ae7
chore: Various importer improvements ( #6519 )
...
* Handle new Notion export format
Clear data on file operation delete
* fix: Don't restart development server on html upload
* fix: Do not send collection created notifications on bulk import
* fix: Avoid parellelizing all uploads at once
Move import into one transaction per-collection
2024-02-10 12:21:52 -08:00
Tom Moor
140e685d67
Move in-app notifications to instant, keep emails delayed ( #6506 )
2024-02-07 05:05:51 -08:00
Tom Moor
234613580d
fix: User updates are not synced between clients ( #6490 )
...
* Add Model.changeset method to get minified changes since last update
* fix: Handle arrays
* Add changes column, types
* test
2024-02-04 10:36:43 -08:00
Tom Moor
47d168a29b
Add notifications for document and collection access ( #6460 )
...
* Add notification for added to document
* Add notifications for document and collection access
* Add notification delay
* fix: Collection notifications not appearing
* Add notification settings
2024-01-31 15:01:27 -08: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
67a6b3fe43
fix: Cleanup relationships when user is deleted ( #6343 )
...
* fix: Cleanup relationships when user is deleted
* Update tests
* Update User.test.ts
2024-01-03 06:14:10 -08:00