Skip to content
Snippets Groups Projects

optionally blur NSFW content in lieu of placeholder image

Open kaniini requested to merge feature/sensitive-blur into develop

This MR adds a new configuration setting nsfwUseBlur which uses a client-composited blur of the image or first video frame.

In the case of images, it also adds placeholder text that explains that the content is sensitive. For videos, the play icon is used.

In the event that attachment post-processing is available, such as when running on Mastodon BE or MFC Pleroma, the post-processed image will be used as the basis for the blur composition instead of the raw image or first video frame.

Screenshot_20190926_185134

Screenshot_20190926_191257

Edited by kaniini

Merge request reports

Pipeline #17733 passed

Pipeline passed for 2c3644f5 on feature/sensitive-blur

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