mattermost icon indicating copy to clipboard operation
mattermost copied to clipboard

Add UserHasBeenDeactivated plugin hook

Open MatthewDorner opened this issue 2 years ago • 7 comments

Summary

Add a new Plugin hook, UserHasBeenDeactivated as specified by @mickmister here: https://github.com/mattermost/mattermost-plugin-gitlab/issues/287. Goes with the plugin PR: https://github.com/mattermost/mattermost-plugin-gitlab/pull/315.

Ticket Link

https://github.com/mattermost/mattermost-plugin-gitlab/issues/287

Release Note

Added the Plugin hook "UserHasBeenDeactivated"

MatthewDorner avatar Aug 27 '22 03:08 MatthewDorner

@MatthewDorner: Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it.

I understand the commands that are listed here

mm-cloud-bot avatar Aug 27 '22 03:08 mm-cloud-bot

Hello @MatthewDorner,

Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

mattermod avatar Aug 27 '22 03:08 mattermod

Does the new hook need to be added to some documentation repos?

MatthewDorner avatar Aug 27 '22 20:08 MatthewDorner

Hmm, didn't realize I could only request review from one person lol.

MatthewDorner avatar Sep 16 '22 01:09 MatthewDorner

/update-branch

hanzei avatar Sep 18 '22 06:09 hanzei

Successfully triggered e2e testing! https://git.internal.mattermost.com/qa/cypress-ui-automation/-/pipelines/243385

mattermod avatar Sep 22 '22 21:09 mattermod

@DHaussermann This PR should be testing alongside with https://github.com/mattermost/mattermost-plugin-gitlab/pull/315

hanzei avatar Sep 22 '22 21:09 hanzei

This PR has been automatically labelled "stale" because it hasn't had recent activity. A core team member will check in on the status of the PR to help with questions. Thank you for your contribution!

mattermod avatar Oct 03 '22 01:10 mattermod

This PR has been automatically labelled "stale" because it hasn't had recent activity. A core team member will check in on the status of the PR to help with questions. Thank you for your contribution!

mattermost-build avatar Mar 05 '23 01:03 mattermost-build

Hi @MatthewDorner, big thanks for your contribution! There hasn't been recent activity on this PR so I've marked it as inactive. Following our inactive contribution process, the PR is now closed due to 30 days or more of inactivity.

However, if you're still interested working on the changes, let us know! Note that we merged multiple repositories into one monorepo, which may require you to resubmit the changes.

If you have any questions, don't hesitate to let us know, we're happy to help.

isacikgoz avatar Apr 25 '23 12:04 isacikgoz

@isacikgoz Can you please elaborate on why the PR was closed? It was blocked by the missing review of @DHaussermann, not because an action from the community member was missing.

hanzei avatar May 21 '23 07:05 hanzei

@hanzei and @isacikgoz we could re-open this.

That said I don't know of an option for functional testing. We might need to implement the use of the hook in the demo plugin.

DHaussermann avatar May 24 '23 16:05 DHaussermann

@DHaussermann @MatthewDorner provided an implemenation of the hook via https://github.com/mattermost/mattermost-plugin-gitlab/pull/315. Can you use that for testing?

hanzei avatar May 24 '23 20:05 hanzei

@hanzei Sorry for the late reply, I was OOO for a while. I closed many PRs to cleanup some stale work. For this one I may missed the context and any time we can re-open this if necessary. Feel free to do so.

isacikgoz avatar May 30 '23 08:05 isacikgoz

/update-branch

hanzei avatar Aug 08 '23 09:08 hanzei

I've submitted a PR to the plugin that makes use of the new hook.

@DHaussermann I've tested the above-linked PR and can confirm that this PR works as expected. Are we good in terms of QA testing then?

hanzei avatar Aug 28 '23 10:08 hanzei

@MatthewDorner Would you mind If I also add a UserHasBeenActivated hook?

hanzei avatar Aug 28 '23 10:08 hanzei

@hanzei LGTM. Also in agreement this is good to merge @DHaussermann

mickmister avatar Aug 29 '23 21:08 mickmister

You don't have permissions to trigger this command. It's only available for organization members.

mattermost-build avatar Aug 30 '23 06:08 mattermost-build

QA deferred by the above comment. cc @DHaussermann

hanzei avatar Aug 30 '23 06:08 hanzei

Understood. Thanks @hanzei!

DHaussermann avatar Aug 30 '23 13:08 DHaussermann