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

Move blockUser to under admin API #352

Merged
merged 9 commits into from
Dec 1, 2024
Merged

Move blockUser to under admin API #352

merged 9 commits into from
Dec 1, 2024

Conversation

MrOrz
Copy link
Member

@MrOrz MrOrz commented Nov 17, 2024

Implement admin API /moderation/blockUser by reusing existing code and unit tests

  • Use fets HTTPError to properly pass error message to API caller
  • Remove CLI-specific things like progress bar
  • Update test and fix open handle issue

@coveralls
Copy link

coveralls commented Nov 17, 2024

Coverage Status

coverage: 83.364% (-0.007%) from 83.371%
when pulling 5970626 on admin-api-moderation
into ec2b269 on master.

@MrOrz MrOrz changed the title Move blockUser and other scripts to under admin API Move blockUser to under admin API Nov 18, 2024
@MrOrz MrOrz force-pushed the admin-api-moderation branch 2 times, most recently from 5a142ff to b52985f Compare November 18, 2024 17:43
Base automatically changed from pubsub-cmd to master November 25, 2024 05:09
@johnson-liang johnson-liang force-pushed the admin-api-moderation branch 2 times, most recently from 39f62b5 to 5cec2dc Compare November 25, 2024 05:28
@MrOrz MrOrz self-assigned this Nov 30, 2024
@MrOrz MrOrz marked this pull request as ready for review November 30, 2024 17:04
@MrOrz MrOrz merged commit 225b088 into master Dec 1, 2024
2 of 4 checks passed
@MrOrz MrOrz deleted the admin-api-moderation branch December 1, 2024 17:33
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.

5 participants