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

add admin purge user function #834

Merged
merged 6 commits into from Jan 19, 2023
Merged

add admin purge user function #834

merged 6 commits into from Jan 19, 2023

Conversation

andreaskoepf
Copy link
Collaborator

  • database should be backed up before trying this in the production system

@andreaskoepf andreaskoepf added this to the Admin MVP milestone Jan 19, 2023
@andreaskoepf andreaskoepf requested a review from yk as a code owner January 19, 2023 02:00
@andreaskoepf andreaskoepf linked an issue Jan 19, 2023 that may be closed by this pull request
Copy link
Collaborator

@yk yk left a comment

Choose a reason for hiding this comment

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

lgtm. We'll need to come away from the raw sql statements eventually, those things are mighty scary

@andreaskoepf andreaskoepf merged commit 335af5d into main Jan 19, 2023
@andreaskoepf andreaskoepf deleted the 832_purge_user_function branch January 19, 2023 11:33
andreaskoepf added a commit that referenced this pull request Jan 19, 2023
* add admin purge user function

* improve comments

* minor naming changes

* ensuer user is enabled for tasks api requests

* add preview with stats to /admin/purge_user/{id} endpoint

* add update_children_counts()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add purge user function to kill UwU spammers
2 participants