Skip to content
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

Implement the ability for moderators to delete all scores/comments by a user #1027

Merged
merged 8 commits into from
Jun 15, 2024

Conversation

Metraberryy
Copy link
Contributor

Title is fairly self-explanatory.
This PR allows moderators/admins to delete every score or comment posted by a user from the user page.
These features were requested by a Beacon moderator after some recent comment and hacked score spam.

Copy link
Member

@sudokoko sudokoko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, bracket formatting nitpick

Copy link
Contributor

@Slendy Slendy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I forgot in the previous review that batch updates and deletes don’t require you to call SaveChanges after

Copy link
Contributor

@Slendy Slendy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@sudokoko sudokoko added this pull request to the merge queue Jun 15, 2024
Merged via the queue into LBPUnion:main with commit be11e13 Jun 15, 2024
2 checks passed
@Metraberryy Metraberryy deleted the delete-all-scores-comments branch August 31, 2024 00:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants