memos/proto/api/v1
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
..
README.md chore: update demo site 2025-02-27 23:05:43 +08:00
attachment_service.proto fix: correct typos in comments, error messages, and identifiers (#5704) 2026-03-08 18:40:17 +08:00
auth_service.proto feat: replace auto-increment ID with UID for identity provider resource names (#5687) 2026-03-05 21:01:22 +08:00
common.proto refactor: renovate list memos endpoint 2025-02-02 18:43:26 +08:00
idp_service.proto chore: standardize and improve API structure (#5224) 2025-11-05 22:36:51 +08:00
instance_service.proto feat: add blur_content attribute to tag metadata settings 2026-03-23 19:36:07 +08:00
memo_service.proto feat(memo): add share links for private memos (#5742) 2026-03-19 23:47:22 +08:00
shortcut_service.proto refactor: clean unused fields 2025-06-23 22:55:14 +08:00
user_service.proto feat(instance): add canonical tag metadata setting (#5736) 2026-03-19 08:54:43 +08:00

README.md

Memos API Design

This API design should follow the guidelines and best practices outlined in the Google API Improvement Proposals (AIPs).