memos/server/router
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
fileserver feat(auth): add private instance mode derived from instance_url 2026-07-05 22:48:00 +08:00
frontend chore: remove MCP server 2026-06-05 08:38:57 +08:00
mcp feat(mcp): expose create_attachment tool 2026-07-01 22:15:58 +08:00
rss fix(memo): enforce parent visibility for comments 2026-05-08 23:22:56 +08:00