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/test
boojack d1cef7a9ab feat(auth): add private instance mode derived from instance_url
Run the instance in private mode when instance_url is not configured: the API rejects anonymous requests except the auth-bootstrap set (sign-in, token refresh, instance profile/settings, SSO providers, share-link access) plus first-run user creation, and the web UI redirects anonymous visitors to /auth instead of /explore. Setting instance_url keeps the current public behavior. Access tokens and personal access tokens are never gated.

Enforcement lives in a shared Authorizer used by both the Connect interceptor and the gRPC-gateway middleware; the file server applies the same rule to public-memo attachments and avatars. Also merges the duplicated Authenticate/AuthenticateToUser token dispatch behind resolveBearer, dedups the AuthContext unauthenticated state, extracts the redirect decision into a pure shouldGatePrivateInstance helper, and prints the access mode at startup.
7 days ago
..
ai_service_test.go
attachment_service_test.go
auth_service_test.go
auth_test.go
authz_test.go feat(auth): add private instance mode derived from instance_url 7 days ago
idp_service_test.go
instance_admin_cache_test.go
instance_service_test.go fix(instance): add needs_setup so admin-less instances aren't treated as fresh 3 weeks ago
instance_stats_test.go
memo_attachment_service_test.go
memo_relation_service_test.go
memo_service_benchmark_test.go
memo_service_test.go fix: delete user cleanup (#5981) 2 months ago
memo_share_service_test.go fix: delete user cleanup (#5981) 2 months ago
reaction_service_test.go fix: delete user cleanup (#5981) 2 months ago
shortcut_service_test.go
sse_handler_test.go fix(sse): stream initial response and refresh tokens 2 months ago
test_helper.go
user_email_visibility_test.go
user_notification_test.go fix: delete user cleanup (#5981) 2 months ago
user_resource_name_test.go
user_search_test.go
user_service_delete_test.go
user_service_email_username_test.go
user_service_registration_test.go
user_service_stats_test.go
user_setting_test.go feat(settings): move tag metadata to user settings (#6017) 1 month ago