memos/proto
memoclaw a86a29609e feat: add blur_content attribute to tag metadata settings
Allow any tag to trigger content blurring by setting blur_content=true
in InstanceTagsSetting, replacing the previous hardcoded NSFW-only check.

Changes:
- proto: add bool blur_content field to InstanceTagMetadata (store) and
  InstanceSetting.TagMetadata (API v1); regenerate Go and TS bindings
- server: thread BlurContent through convertInstanceTagsSettingFromStore
  and convertInstanceTagsSettingToStore conversion helpers
- web/MemoView: replace tag.toUpperCase()==='NSFW' with a
  findTagMetadata() lookup on tagsSetting.blurContent; rename internal
  state nsfw/showNSFWContent/toggleNsfwVisibility to
  blurred/showBlurredContent/toggleBlurVisibility
- web/TagsSection: add blur checkbox column and new-tag blur toggle to
  the admin tags settings UI
- web/locales: rename click-to-show/hide-nsfw-content keys to
  click-to-show/hide-sensitive-content across all 30+ locale files;
  update English strings to 'sensitive content' phrasing

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-23 19:36:07 +08:00
..
api/v1 feat: add blur_content attribute to tag metadata settings 2026-03-23 19:36:07 +08:00
gen feat: add blur_content attribute to tag metadata settings 2026-03-23 19:36:07 +08:00
store feat: add blur_content attribute to tag metadata settings 2026-03-23 19:36:07 +08:00
README.md chore: tweak readme 2024-02-23 08:25:54 +08:00
buf.gen.yaml fix: openapi generation (#5349) 2025-12-15 10:55:04 +08:00
buf.lock chore(backend): update Go toolchain and dependencies (#5730) 2026-03-16 21:07:52 +08:00
buf.yaml chore: update gitignore 2025-04-17 23:11:36 +08:00

README.md

Guide

Prerequisites

Generate

buf generate

Format

buf format -w