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
Hemachandar
e499881110
fix: Update collection 'documentStructure' when archived document is deleted ( #8922 )
2025-04-10 18:11:30 -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
Hemachandar
dcb7b86df8
Store import error in DB ( #8811 )
2025-03-29 06:08:07 -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
877b7ad0df
fix: Handle index collision when creating a collection ( #8803 )
...
* fix: Handle index collision when creating a collection
* move to sequelize hooks
* index maxLen parity between api and model
* remove beforeUpdate hook
* use common indexLen in model
* beforeUpdate hook..
* test
2025-03-27 02:50:40 -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
codegen-sh[bot] and Tom Moor
aac95c2b2e
Add SMTP_SERVICE environment variable for well-known services ( #8781 )
...
* Add SMTP_SERVICE environment variable for well-known services
* Fix PR #8777 : Restore code in teams.ts and users.ts
* The rest of the work
* fix validation
---------
Co-authored-by: codegen-sh[bot] <131295404+codegen-sh[bot]@users.noreply.github.com>
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2025-03-26 05:48:47 -07:00
Hemachandar
6e98568e5b
API importer for Notion ( #8710 )
2025-03-23 12:19:13 -07:00
Tom Moor
8b65ad3cfa
chore: Move notification event writing to model layer ( #8754 )
...
* Move notification event writing to model layer
fix: Bulk notification action does not reflect on other clients
* Add missing locks
* fixes
2025-03-23 11:59:19 -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
Tom Moor
307f4a1351
fix: Write lastValidatedAt when accessToken changes ( #8716 )
2025-03-18 15:27:19 -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
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
Tom Moor
82cdebfb66
Add name column to revisions ( #8603 )
...
* fix: Flaky test
* Migration, model interface
* Add policies to revisions
* Add revisions.update endpoint
* tests
* lint
2025-03-02 05:07:30 -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
69029b305d
test: Fix flaky availableTeams test ( #8583 )
2025-02-26 19:37:09 -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
b2da166dd6
fix: Prevent last user/group with collection manage permission being removed ( #8499 )
...
* fix: Prevent removal of last manage UserMembership in collection
* fix: Check last GroupMembership with manage permission
* Cover permission update case
* save
2025-02-19 18:55:28 -08:00
Tom Moor
4cd2ee6291
fix: Path with query string does not work with scope restrictions, closes #8489
2025-02-18 20:16:54 -05:00
Tom Moor
1749ffe20d
feat: Redirect to previous subdomains ( #8477 )
...
* Migration
* Store previous subdomains
* Redirect previous subdomains at service layer
* refactor
* refactor
* change index
* Guard logic to hosted only
2025-02-18 16:53:18 -08: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
Tom Moor
854fbca420
fix: Improve matching on quoted queries
2025-02-12 21:32:30 -05:00
Hemachandar
8e4844fd84
Convert UserMembership mutations ( #8285 )
...
* handle collections.add_user, collections.remove_user
* handle documents.add_user, documents.remove_user
* don't publish event in collection creation flow
2025-01-28 17:52:31 -08:00
Tom Moor
15892a9364
feat: API key resource scoping ( #8297 )
2025-01-28 16:50:22 -08:00
Tom Moor
90350e82fe
fix: Events lacking teamId published for sourced memberships ( #8295 )
2025-01-23 20:19:53 -08:00
Hemachandar
9deb9268b5
fix: Skip events for sourced group memberships ( #8286 )
2025-01-23 05:06:57 -08:00
Hemachandar
b527048b76
Remove namespace filter for publishing events ( #8252 )
...
* groupuser namespace
* remove namespace
* handle reactions
* handle group memberships
* cache changeset before all create and update flows
2025-01-22 17:16:05 -08:00
Tom Moor
73086139d2
Document mentions ( #8225 )
2025-01-17 15:56:38 -08:00
Hemachandar
3c86b48533
Convert GroupMembership mutations ( #8242 )
...
* Convert 'GroupMembership' mutations
* cleanup collectionGroupMemberships
* remove duplicate data
2025-01-16 15:23:09 -08:00
Tom Moor
1aaabf113b
fix: Incorrect plain text serialization in exportTable ( #8234 )
2025-01-14 06:35:43 -08:00
Hemachandar
81d7492e5e
Convert Comment and Reaction mutations ( #8181 )
...
* handle create, update, delete
* handle resolve, unresolve
* handle add_reaction, remove_reaction
* cleanup
* fix type
* afterDestroy hook
* remove unnecessary 'hooks:false' added in this PR
* tests
2025-01-09 15:48:09 -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
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
Hemachandar
4a64a767e1
Convert GroupUser mutations ( #8187 )
...
* Convert 'GroupUser' mutations
* cleanup commands
2025-01-05 16:33:51 -08:00
Hemachandar
98fef1bb1f
Convert Share mutations ( #8177 )
...
* Convert 'Share' mutations
* createContext
* name override in share.revoke method
2025-01-02 12:06:02 -08:00
Tom Moor
1c179a3c6b
Move Group to model event writing ( #8179 )
...
* Move Group to model event writing
* cleanup type
2025-01-02 07:45:09 -05: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
Hemachandar
5dd993adf5
Convert WebhookSubscription mutations ( #8161 )
...
* Convert 'WebhookSubscription' mutations
* add tests
* remove unnecessary assignment
2024-12-30 16:11:32 -08:00
Hemachandar
41832bbaf1
fix: Use parent transaction for findOrCreate after-commit hook ( #8173 )
2024-12-30 16:11:11 -08:00
Tom Moor
68a469daa7
Add externalId property on groups ( #8127 )
...
* Add 'externalId' property on groups
* Remove clientside Field decorator
* Allow querying by externalId
2024-12-26 08:44:04 -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