-
Notifications
You must be signed in to change notification settings - Fork 11k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Adapt some messaging features to work without the DB watcher #30408
Merged
sampaiodiego
merged 38 commits into
develop
from
chore/adapt-message-events-without-db-watcher
Nov 23, 2023
Merged
Changes from all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
957fda2
chore: add a flag to disable db watchers on the message collection
MarcosSpessatto 5e61b10
Merge branch 'develop' into chore/remove-message-db-watcher-1
MarcosSpessatto fef4fb0
chore: enable message event listeners depending on the event
MarcosSpessatto da806dd
chore: dispatch new event on send message
MarcosSpessatto 66435f5
chore: dispatch new event on update message
MarcosSpessatto c85ab7e
chore: dispatch new event on delete message
MarcosSpessatto 67b075b
chore: dispatch new event on send system message through svc
MarcosSpessatto 28419b8
chore: adapt discussion feat to work without message events watcher
MarcosSpessatto be538b1
Merge branch 'develop' into chore/remove-message-db-watcher-1
MarcosSpessatto b6327ff
Merge branch 'develop' into chore/remove-message-db-watcher-1
MarcosSpessatto 2d77cfb
Merge branch 'chore/remove-message-db-watcher-1' into chore/adapt-mes…
MarcosSpessatto ef450c8
Merge branch 'develop' into chore/remove-message-db-watcher-1
MarcosSpessatto 95c99ef
Merge branch 'chore/remove-message-db-watcher-1' into chore/adapt-mes…
MarcosSpessatto 1126a8a
Merge branch 'develop' into chore/remove-message-db-watcher-1
sampaiodiego de50690
Merge branch 'develop' into chore/remove-message-db-watcher-1
sampaiodiego c28e22f
Merge branch 'chore/remove-message-db-watcher-1' into chore/adapt-mes…
MarcosSpessatto 23b67e3
Merge branch 'develop' into chore/remove-message-db-watcher-1
MarcosSpessatto 9f59186
Merge branch 'chore/remove-message-db-watcher-1' into chore/adapt-mes…
MarcosSpessatto ce94c2a
Merge branch 'develop' into chore/remove-message-db-watcher-1
MarcosSpessatto 13e4a99
chore: remove unnecessary fn
MarcosSpessatto 4504415
chore: publish events directly using broadcast
MarcosSpessatto 717ca5e
Merge branch 'chore/remove-message-db-watcher-1' into chore/adapt-mes…
MarcosSpessatto 9ac4f19
chore: removing old references
MarcosSpessatto 4a92a42
chore: useless param
MarcosSpessatto 62965d3
Merge branch 'develop' into chore/remove-message-db-watcher-1
MarcosSpessatto d54a3db
Merge branch 'chore/remove-message-db-watcher-1' into chore/adapt-mes…
MarcosSpessatto 62a7f29
chore: undo param change
MarcosSpessatto c4e25ba
Merge branch 'chore/remove-message-db-watcher-1' into chore/adapt-mes…
MarcosSpessatto 5312f05
chore: reverting param
MarcosSpessatto 040c1af
chore: delete user working without relying on msg db watcher (#30435)
MarcosSpessatto 076c56c
Merge branch 'chore/remove-message-db-watcher-1' into chore/adapt-mes…
MarcosSpessatto 95c58b6
chore: send updates to client about the thread message as well
MarcosSpessatto a7a264e
Merge branch 'develop' into chore/remove-message-db-watcher-1
MarcosSpessatto 289cb22
Merge branch 'chore/remove-message-db-watcher-1' into chore/adapt-mes…
MarcosSpessatto 3aac05d
Merge branch 'develop' into chore/adapt-message-events-without-db-wat…
sampaiodiego 01fb41c
chore: Pin, star and react to message without oplog (#30906)
MarcosSpessatto 5def71b
Update apps/meteor/app/lib/server/functions/deleteMessage.ts
MarcosSpessatto 697e871
Merge branch 'develop' into chore/adapt-message-events-without-db-wat…
MarcosSpessatto File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
any reason to change this to MEDIUM? just curious
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This comes from the discussion feature. I changed that because I need that to run before the discussion callback, otherwise, we would end up without the correct number of messages within that room.
Rocket.Chat/apps/meteor/app/lib/server/lib/notifyUsersOnMessage.js
Line 187 in 28419b8