You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
memos/server/router/api/v1
Johnny 1696c6c414 fix: add nil check for currentUser in DeleteUser
Defense-in-depth fix: Add missing nil check before accessing
currentUser.ID and currentUser.Role in DeleteUser function.

While the auth interceptor should block unauthenticated requests,
this check prevents potential nil pointer panic if fetchCurrentUser
returns (nil, nil).
4 months ago
..
test feat: update instance profile to use admin user instead of initialized flag 4 months ago
acl_config.go fix: allow guests to view public memo comments 5 months ago
acl_config_test.go refactor: user auth improvements (#5360) 5 months ago
activity_service.go chore: fix linter 7 months ago
attachment_exif_test.go feat: implement EXIF metadata stripping for image uploads 4 months ago
attachment_service.go fix: add access control checks for attachments, comments, and reactions 4 months ago
auth_service.go feat: implement refresh token rotation with sliding window sessions in the auth service 5 months ago
auth_service_client_info_test.go refactor: remove deprecated Sessions and AccessTokens settings 5 months ago
common.go refactor: migrate HOST roles to ADMIN 4 months ago
connect_handler.go refactor: migrate to connect-rpc (#5338) 6 months ago
connect_interceptors.go fix: add nil check for AnyResponse in WrapUnary method to prevent caching issues 4 months ago
connect_services.go refactor: remove deprecated Sessions and AccessTokens settings 5 months ago
header_carrier.go fix(backend): correct generic type parameter in withHeaderCarrier helper 6 months ago
health_service.go refactor(store): remove deprecated migration_history table and backward compatibility code 6 months ago
idp_service.go refactor: migrate HOST roles to ADMIN 4 months ago
instance_service.go feat: update instance profile to use admin user instead of initialized flag 4 months ago
memo_attachment_service.go fix: add access control checks for attachments, comments, and reactions 4 months ago
memo_relation_service.go refactor: user auth improvements (#5360) 5 months ago
memo_service.go fix: add access control checks for attachments, comments, and reactions 4 months ago
memo_service_converter.go refactor: rename workspace to instance throughout codebase 7 months ago
memo_service_filter.go refactor: deprecate old filter 10 months ago
reaction_service.go fix: add access control checks for attachments, comments, and reactions 4 months ago
resource_name.go refactor: nest reaction resource names under memos 5 months ago
shortcut_service.go refactor: user auth improvements (#5360) 5 months ago
user_service.go fix: add nil check for currentUser in DeleteUser 4 months ago
user_service_stats.go perf: optimize memory usage for statistics and image processing 5 months ago
v1.go refactor: remove mode flag and introduce explicit demo flag 4 months ago