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
Tom Moor
86cfd62afa
feat: Allow users to change email in-app ( #8119 )
2024-12-25 02:58:26 -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
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
28cb5aa379
Convert pin mutations to use auto event insertion ( #7993 )
2024-11-20 16:14:11 -08:00
Tom Moor
c222782534
Upgrade Mermaid script in exported HTML, related #7964
2024-11-17 09:51:46 -05:00
Tom Moor
8cfd8e25db
fix: Event should not be written when API key is used
2024-11-13 09:10:30 -05:00
Tom Moor
98e03cc227
Convert stars, towards #7920 ( #7921 )
2024-11-10 19:26:27 -08:00
Tom Moor
633e547d3e
Refactor of event insertion ( #5909 )
2024-11-10 16:26:20 -08:00
infinite-persistence
ca17b41c53
share: add allowIndexing ( #7896 )
...
* share: add `allowIndexing`
## Ticket
Closes 7486
* i18n: follow existing no-punctuation style
2024-11-08 17:28:30 -08:00
Hemachandar
62ee075a6f
feat: store user timezone ( #7902 )
...
* feat: store user timezone
* tz validation
2024-11-06 18:06:19 -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
93f7fa8c89
fix: notifications.pixel errors, regressed in 5780959e93
2024-11-03 11:46:11 -05:00