memos/proto/gen/api/v1
johnnyjoygh 96cb65320b fix(instance): add needs_setup so admin-less instances aren't treated as fresh
The frontend keyed first-run setup off a null InstanceProfile.admin, but a
null admin only means "no admin-role user exists" — which also happens on a
populated instance that has lost all its admins. Such an instance was wrongly
redirected to signup, where the new account is created as a normal user (the
first-user promotion only triggers when there are zero users), leaving the
instance permanently admin-less.

Add an explicit InstanceProfile.needs_setup derived from user count == 0, and
switch the signup redirect and host tip to use it. admin stays for display only.
2026-06-21 22:14:15 +08:00
..
apiv1connect chore: add batch get settings API 2026-05-09 09:30:28 +08:00
ai_service.pb.go feat(transcription): explicit STT settings with provider, model, prompt (#5926) 2026-05-02 19:35:18 +08:00
ai_service.pb.gw.go feat(ai): add instance AI providers and transcription (#5829) 2026-04-12 19:23:34 +08:00
ai_service_grpc.pb.go feat(settings): move tag metadata to user settings (#6017) 2026-06-07 23:58:00 +08:00
attachment_service.pb.go feat(attachments): add Live Photo and Motion Photo support (#5810) 2026-04-06 10:47:01 +08:00
attachment_service.pb.gw.go feat(attachments): add Live Photo and Motion Photo support (#5810) 2026-04-06 10:47:01 +08:00
attachment_service_grpc.pb.go feat(settings): move tag metadata to user settings (#6017) 2026-06-07 23:58:00 +08:00
auth_service.pb.go feat: replace auto-increment ID with UID for identity provider resource names (#5687) 2026-03-05 21:01:22 +08:00
auth_service.pb.gw.go refactor: user auth improvements (#5360) 2025-12-18 18:15:51 +08:00
auth_service_grpc.pb.go feat(settings): move tag metadata to user settings (#6017) 2026-06-07 23:58:00 +08:00
common.pb.go fix: openapi generation (#5349) 2025-12-15 10:55:04 +08:00
idp_service.pb.go fix: openapi generation (#5349) 2025-12-15 10:55:04 +08:00
idp_service.pb.gw.go refactor: rename workspace to instance throughout codebase 2025-11-05 23:35:35 +08:00
idp_service_grpc.pb.go feat(settings): move tag metadata to user settings (#6017) 2026-06-07 23:58:00 +08:00
instance_service.pb.go fix(instance): add needs_setup so admin-less instances aren't treated as fresh 2026-06-21 22:14:15 +08:00
instance_service.pb.gw.go chore: add batch get settings API 2026-05-09 09:30:28 +08:00
instance_service_grpc.pb.go feat(settings): move tag metadata to user settings (#6017) 2026-06-07 23:58:00 +08:00
memo_service.pb.go feat: add link metadata endpoints 2026-04-29 22:38:08 +08:00
memo_service.pb.gw.go feat: add link metadata endpoints 2026-04-29 22:38:08 +08:00
memo_service_grpc.pb.go feat(settings): move tag metadata to user settings (#6017) 2026-06-07 23:58:00 +08:00
shortcut_service.pb.go fix(api): switch user resource names to usernames (#5779) 2026-03-25 09:11:17 +08:00
shortcut_service.pb.gw.go refactor: clean unused fields 2025-06-23 22:55:14 +08:00
shortcut_service_grpc.pb.go feat(settings): move tag metadata to user settings (#6017) 2026-06-07 23:58:00 +08:00
user_service.pb.go feat: add optional webhook signing secret (Standard Webhooks HMAC-SHA256) (#6013) 2026-06-09 22:45:01 +08:00
user_service.pb.gw.go feat(stats): support filtered all-user stats 2026-05-09 09:11:04 +08:00
user_service_grpc.pb.go feat(settings): move tag metadata to user settings (#6017) 2026-06-07 23:58:00 +08:00