mirror of https://github.com/usememos/memos.git
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> |
||
|---|---|---|
| .. | ||
| apiv1connect | ||
| attachment_service.pb.go | ||
| attachment_service.pb.gw.go | ||
| attachment_service_grpc.pb.go | ||
| auth_service.pb.go | ||
| auth_service.pb.gw.go | ||
| auth_service_grpc.pb.go | ||
| common.pb.go | ||
| idp_service.pb.go | ||
| idp_service.pb.gw.go | ||
| idp_service_grpc.pb.go | ||
| instance_service.pb.go | ||
| instance_service.pb.gw.go | ||
| instance_service_grpc.pb.go | ||
| memo_service.pb.go | ||
| memo_service.pb.gw.go | ||
| memo_service_grpc.pb.go | ||
| shortcut_service.pb.go | ||
| shortcut_service.pb.gw.go | ||
| shortcut_service_grpc.pb.go | ||
| user_service.pb.go | ||
| user_service.pb.gw.go | ||
| user_service_grpc.pb.go | ||