Skip to content
Snippets Groups Projects

Add "force content warning" setting for user moderation (resolves #905)

What does this MR do?

Adds a new "Force content warning" field that can be applied by moderators to local and remote users. The value entered here will be automatically attached as a content warning to all new and edited posts by the target user. This allows instance staff to selectively filter problem users by applying a descriptive CW.

image image

As this is a potentially dangerous tool, all changes to a forced content warning are recorded in the moderation log. image

Additionally:

  • Fix lint errors in NoteCreateService and NoteEditService.
  • Fix lint errors in modlog.ModLog.vue.
  • Add missing translation entry for ModLog "Declined" events.
  • Immediately clear memory caches when setting "Mark all media as NSFW" for a user.

Contribution Guidelines

By submitting this merge request, you agree to follow our Contribution Guidelines

  • I agree to follow this project's Contribution Guidelines
  • I have made sure to test this merge request
Edited by Hazelnoot

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading