Tom Moor
a06671e8ce
OAuth provider ( #8884 )
...
This PR contains the necessary work to make Outline an OAuth provider including:
- OAuth app registration
- OAuth app management
- Private / public apps (Public in cloud only)
- Full OAuth 2.0 spec compatible authentication flow
- Granular scopes
- User token management screen in settings
- Associated API endpoints for programatic access
2025-05-03 19:40:18 -04:00
codegen-sh[bot] and Tom Moor
a226889143
Update task scheduling to use instance method ( #9092 )
...
* Update task scheduling to use instance method
* Delete update_task_schedule.sh
* Applied automatic fixes
* tsc
---------
Co-authored-by: codegen-sh[bot] <131295404+codegen-sh[bot]@users.noreply.github.com>
Co-authored-by: Tom Moor <tom@getoutline.com >
2025-04-29 06:47:51 -04:00
Hemachandar
722d10e7de
Implement type-safe schedule method for tasks ( #9079 )
...
* Implement type-safe task scheduler
* introduce 'schedule' instance method
* typo
2025-04-28 17:27:24 -04:00
Hemachandar
51cb5bffce
Cache issueSources for embed integrations ( #8952 )
...
* Cache `issueSources` for embed integrations
* lock model before update
2025-04-22 09:59:39 -04:00
Hemachandar
2e018e74b8
Log fields that cause UniqueConstraintError in ImportsProcessor ( #8887 )
2025-04-06 11:10:59 -07:00
codegen-sh[bot] and Tom Moor
a11ab56117
Cleanup the old Notion importer ( #8832 )
...
* Cleanup the old Notion importer
* Fix Notion importer cleanup PR based on feedback
* Restore Notion format references for backward compatibility
* Remove Notion import fixtures
* translations
---------
Co-authored-by: codegen-sh[bot] <131295404+codegen-sh[bot]@users.noreply.github.com>
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2025-04-06 09:04:35 -07:00
66e4ec32ed
Fix: Handle Notion database not found errors gracefully ( #8860 )
...
* Fix: Handle Notion database not found errors gracefully
* Fix: Use Logger.warn instead of console.log in Notion import task
* Applied automatic fixes
* Touch to trigger actions
* Fix: Implement additional improvements for Notion import error handling
* Applied automatic fixes
* Change to trigger CI
* Fix TypeScript error: Add type assertion for filtered parsedPages
---------
Co-authored-by: codegen-sh[bot] <131295404+codegen-sh[bot]@users.noreply.github.com>
Co-authored-by: Tom Moor <tom@getoutline.com >
Co-authored-by: Codegen <codegen@example.com >
2025-04-06 09:04:23 -07:00
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
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