Tom Moor
3f8bdf7ac2
Refactor withMembershipScope ( #9134 )
2025-05-04 18:37:01 -04:00
Tom Moor
9c4b4f4989
fix: Chained scopes overwrite ( #9133 )
2025-05-04 22:16:38 +00:00
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
Tom Moor
fd3c21d28b
Remove withCollectionPermissions scope ( #9124 )
...
* Remove withCollectionPermissions scope
* defaultScopeWithUser -> withUserScope
* fix: Include withDrafts in groupMemberships.list
* rename
2025-05-03 12:00:54 -04:00
Tom Moor
347f033802
fix: Notifications received for draft with access but no subscription ( #9099 )
2025-04-29 06:45:15 -04:00
Tom Moor
7e05fc1017
Revert "Add recency boost to search results ( #9038 )" ( #9065 )
...
This reverts commit 2bc47cfcef .
2025-04-26 16:44:49 +00:00
Tom Moor
2bc47cfcef
Add recency boost to search results ( #9038 )
...
* Add recency boost to search helpers
* Restore tests
* Use boost
2025-04-26 08:27:45 -04:00
Tom Moor
09a4b76aae
fix: Users subscribed to document and collection may be notified twice ( #8997 )
...
fix: Create notifications in transaction
2025-04-17 08:08:09 -04:00
Hemachandar and Tom Moor
bf6a56849e
Show GitHub issues and pull requests as mentions ( #8870 )
...
* mention issue works
* pr and loading works
* error node
* tweak mention display
* handle multiple creation error
* tidy
* store unfurl in mention attrs
* simplify mention code creation
* test fix
* base feedback
* update node when pos is available
* delete local UnfurlsStore
* use unfurl from store
* Optimize lodash isMatch import statement
* fix: Copy/paste of issue mentions
fix: Icon alignment
fix: Error and loading mentions are unselectable
* Switch order in paste menu
---------
Co-authored-by: Tom Moor <tom@getoutline.com >
2025-04-13 06:09:13 -07:00
Tom Moor
fe8e50da92
fix: Remove url->embed mapping in Markdown import ( #8891 )
2025-04-07 00:43:18 +00:00
Tom Moor
ca0f0638c9
fix: Handle deleted user in NotificationHelper ( #8835 )
2025-03-29 19:11:04 -07:00
Tom Moor
66fae19034
fix: Improve performance of notification queries ( #8809 )
...
* Remove onlySubscribers
* refactor
* perf
2025-03-27 19:10:32 -07:00
Tom Moor
ba7d102a72
perf: Avoid querying all users in team for common notification types ( #8806 )
2025-03-26 16:19:45 -07:00
Tom Moor
a48f6c7a85
fix: Unsubscribe link for collection subscriptions ( #8734 )
...
* fix: Cannot unsubscribe from collection subscriptions via email token
* tests
* Separate redirect for pass through
* Delete both subscriptions
* Test draft documents
2025-03-22 08:22:20 -07: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
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
5fbc57f39a
fix: Check user has enabled create-comment notification in email flow ( #8591 )
2025-02-28 15:01:46 -08:00
Tom Moor
50f9f414bf
fix: Slim stop-word list, related #8395
2025-02-23 17:26:57 -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
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
854fbca420
fix: Improve matching on quoted queries
2025-02-12 21:32:30 -05:00
Tom Moor
73086139d2
Document mentions ( #8225 )
2025-01-17 15:56:38 -08:00
Tom Moor
1aaabf113b
fix: Incorrect plain text serialization in exportTable ( #8234 )
2025-01-14 06:35:43 -08:00
Hemachandar
4afa225967
Simplify email references determination ( #8189 )
...
* Simplify email references determination
* individual thread for comments
* use toPlainText
2025-01-07 05:29:04 -08:00
Hemachandar
25f264a763
fix: Notify previously mentioned users when new comment is added to a thread ( #8194 )
2025-01-05 18:23:16 -08:00
Tom Moor
3d5a167f7f
fix: textBetween line breaks ( #8145 )
...
* fix: textBetween line breaks
* test
2024-12-26 03:31:12 -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
8b15cc45b0
fix: Permissions checks on notification emails do not take into account shares ( #8109 )
...
* fix: Comment notifications not sent on drafts outside collection, shared docs
* fix: DocumentPublishedOrUpdatedEmail not sent for drafts
* tsc
2024-12-15 20:53:06 -08:00
dependabot[bot] and Tom Moor
40b1e3c8c6
chore(deps): bump prosemirror-model from 1.23.0 to 1.24.0 ( #8092 )
...
* chore(deps): bump prosemirror-model from 1.23.0 to 1.24.0
Bumps [prosemirror-model](https://github.com/prosemirror/prosemirror-model ) from 1.23.0 to 1.24.0.
- [Changelog](https://github.com/ProseMirror/prosemirror-model/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prosemirror/prosemirror-model/compare/1.23.0...1.24.0 )
---
updated-dependencies:
- dependency-name: prosemirror-model
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* tsc
* tsc
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2024-12-09 17:43:04 -08:00
Tom Moor
d8fbe35455
fix: Template variables are not applied on client ( #8044 )
...
* fix: Template variables are not applied on client
* test
2024-11-30 07:13:44 -08:00
Tom Moor
c222782534
Upgrade Mermaid script in exported HTML, related #7964
2024-11-17 09:51:46 -05:00
Tom Moor
633e547d3e
Refactor of event insertion ( #5909 )
2024-11-10 16:26:20 -08:00
Hemachandar
c1c20f1ff9
feat: allow search without a search term ( #7765 )
...
* feat: allow search without a search term
* tests
* conditional filter visibility
* add icon to collection filter
2024-11-03 14:59:48 -08:00
Tom Moor
f0add849f9
fix: Ensure max filename length for stored attachments, closes #7785
2024-10-16 23:18:18 -04:00
Tom Moor
bdac4360b4
chore: Remove usage of y-prosemirror fork, pull in latest fixes from upstream
2024-10-16 21:37:52 -04: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
Tom Moor
a0e363799c
fix: Add extra safety around search queries
2024-10-07 22:29:54 -04:00
Tom Moor
2b42ce0c0f
fix: document.content column not updated when sending text attribute through API ( #7630 )
2024-09-20 07:37:42 -07:00
Tom Moor
9b24482c46
fix: Prevent ISE when searched query contains colon, closes #7481
2024-09-03 08:24:33 -04:00
Tom Moor
2afec241a0
test
2024-09-02 09:40:42 -04:00
Tom Moor
58eb55efb3
fix: limit parallel image downloads in document importer
2024-09-02 09:22:29 -04:00
Tom Moor
510a756378
perf: Cache textSerializers on server
2024-08-21 23:15:06 -04:00
Tom Moor
2a502e43ef
perf: Avoid count query in search where possible ( #7426 )
...
* Remove unused replacements
* perf: Avoid count query where possible
* logic
2024-08-20 18:59:32 -07:00
Tom Moor
4eae1f1db3
fix: Copied internal links in shared documents are incorrect ( #7368 )
...
* Add internalUrlBase option for toJSON
* Return correct internal urls for shared data
* test
2024-08-10 09:36:03 -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
Tom Moor
a120427943
fix: Image download timeouts importing document should not exceed overall request timeout
2024-08-01 09:58:44 +01:00
Tom Moor
3da1945bea
perf: Optimize common path in presentDocument to not include JSON parsing
2024-07-27 15:12:11 -04:00
Apoorv Mishra
f56f240d9b
Remove trailing spaces from search query ( #7314 )
...
* fix: tsquery err
* fix: test
2024-07-26 20:27:56 -07:00
Tom Moor
474baf7b42
fix: Suppress notifications for changes that are not visible
2024-07-22 20:09:03 -04:00