memos/proto
boojack 4bc3928029 fix(user): implement ListUsers pagination
Rework ListUsers to match the ListMemos pagination contract: opaque
PageToken, normalizePageSize, DB-level limit+1 look-ahead, and a
next_page_token. Adds Offset to store.FindUser with an OFFSET clause in
all three dialects, and an `id DESC` ORDER BY tiebreaker so offset pages
stay stable when created_ts ties.

Also align pagination across list endpoints:
- Bump DefaultPageSize 10 -> 50 to match the documented default; use
  normalizePageSize in ListAttachments.
- Remove the never-implemented total_size field from all six list
  responses (ListUsers, ListAttachments, ListMemoComments,
  ListMemoReactions, ListUserSettings, ListPersonalAccessTokens) and
  regenerate.
- useListUsers now pages through next_page_token so the admin members
  view still loads every user past the default page size.
2026-07-12 20:51:04 +08:00
..
api/v1 fix(user): implement ListUsers pagination 2026-07-12 20:51:04 +08:00
gen fix(user): implement ListUsers pagination 2026-07-12 20:51:04 +08:00
store feat(storage): add insecure_skip_tls_verify option for S3 2026-06-23 00:04:54 +08:00
buf.gen.yaml fix: openapi generation (#5349) 2025-12-15 10:55:04 +08:00
buf.lock chore(backend): update Go toolchain and dependencies (#5730) 2026-03-16 21:07:52 +08:00
buf.yaml chore: update gitignore 2025-04-17 23:11:36 +08:00
openapi_embed.go feat: add OpenAPI-driven MCP support (#6026) 2026-06-09 09:16:50 +08:00
README.md chore: tweak readme 2024-02-23 08:25:54 +08:00

Guide

Prerequisites

Generate

buf generate

Format

buf format -w