-
Notifications
You must be signed in to change notification settings - Fork 11
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
Disable temporoarily auto share DMs #558
Merged
Merged
Conversation
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
lieut-data
approved these changes
Mar 21, 2024
wiggin77
approved these changes
Mar 21, 2024
wiggin77
reviewed
Mar 21, 2024
@@ -488,7 +488,7 @@ func (p *Plugin) onActivate() error { | |||
Displayname: pluginID, | |||
PluginID: pluginID, | |||
CreatorID: p.userID, | |||
AutoShareDMs: true, | |||
AutoShareDMs: false, | |||
AutoInvited: true, |
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.
@jespino @lieut-data if we what to ensure no ShareChannel records get created we need to disable AutoInvited as well.
lieut-data
added
the
QA/Deferred
Agreement with QA that these changes will be tested post-merge
label
Mar 21, 2024
sbishel
pushed a commit
that referenced
this pull request
Apr 2, 2024
sbishel
added a commit
that referenced
this pull request
Apr 8, 2024
* add handling for connecting bot account * check for permissions and connected user * add more tests * Update api_test.go * update Grafana dashboard for Cloud, stripping out hard-coded links (#557) * Disable temporoarily auto share DMs (#558) * [MM-56908] Make promote command accepts @ for both arguments (#550) * [MM-57072] Use ConstantTimeCompare to prevent timing attack (#549) * use ConstantTimeCompare to prevent timing attack * document code * MM-57367: log when invite sent (#559) * log when invite sent * remove listener on uninitialize * review change * use IsGroupOrDirect for clarity (#556) * [MM-57209] Set EmailVerified to true when promoting synthetic users (#548) * Set EmailVerified to true when promoting synthetic users * change EmailVerified in the sync job + add and fix tests * add once * lint * add EmailVerified when creating synthetic user from a getter * remove EmailVerified from the getOrCreateSyntheticUser (not promoted there) * fix tests * MM-57120: show connected users stat (#571) Show the number of connected users on the system console for administrators. Fixes: https://mattermost.atlassian.net/browse/MM-57350 * [RE:MM-57209] Set EmailVerified to true when autopromoting through hook (#565) * MM-57120: delay monitoring job on startup (#570) Delay the monitoring job by at least 1 minute after startup to avoid a race where the plugin hasn't fully yet deployed in a mostly disabled environment. ``` { "timestamp": "2024-03-30 15:06:00.011 -03:00", "level": "info", "msg": "Delaying the Monitoring System Job until at least 1 minute after startup", "caller": "app/plugin_api.go:1004", "plugin_id": "com.mattermost.msteams-sync" } { "timestamp": "2024-03-30 15:07:00.016 -03:00", "level": "info", "msg": "Running the Monitoring System Job", "caller": "app/plugin_api.go:1004", "plugin_id": "com.mattermost.msteams-sync" } ``` Fixes: https://mattermost.atlassian.net/browse/MM-57120 * [MM-56867] Fix metrics by not counting disabled users (#561) * stop counting disabled msteams user * fix terminology * fix test + lint * MM-56809: support deleting messages from Mattermost (#569) --------- Co-authored-by: Jesse Hallam <jesse.hallam@gmail.com> Co-authored-by: Jesús Espino <jespinog@gmail.com> Co-authored-by: Julien Tant <785518+JulienTant@users.noreply.github.com> Co-authored-by: Caleb Roseland <caleb@calebroseland.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Temporarily disable the auto-sharing of DMs and GMs via the shared channels subsystem. Although we're not using that subsystem for actually delivering messages, it can cause an issue for certain types of DMs initiated from a Teams message.
Fixes: https://mattermost.atlassian.net/browse/MM-57370