Commit graph

5 commits

Author SHA1 Message Date
fatedier
ae1c0504ec
feat(dashboard): add v2 client detail status (#5381)
Some checks failed
golangci-lint / lint (push) Has been cancelled
2026-06-26 21:15:30 +08:00
fatedier
9bde0b07de
feat: paginate dashboard clients and proxies via API v2 (#5354)
Some checks failed
golangci-lint / lint (push) Has been cancelled
Move the frps dashboard Clients and Proxies views to the paginated
/api/v2/clients and /api/v2/proxies endpoints instead of fetching all
data at once, and extend server-side proxy search so the search box
keeps working under pagination.

Frontend:
- Add V2Envelope/V2Page types and getV2 HTTP helper to api/http.ts
- Add v2 paginated fetch functions to api/client.ts and api/proxy.ts
- Add ClientV2Info and ProxyV2Info types for v2 API responses
- Rewrite Clients.vue with server-side pagination, status/user search
  filtering, and ElPagination component
- Rewrite Proxies.vue with server-side pagination, type tabs, client
  dropdown filter, and a search box that passes q to the API
- Default page size 10, selectable sizes [10, 20, 50, 100]

Backend:
- Extend /api/v2/proxies q matching to also cover online proxy spec
  fields: TCP/UDP remotePort and HTTP/HTTPS/TCPMux customDomains and
  subdomain, so dashboard search no longer needs to scan every page
- Add controller_v2 tests for the new spec-field matching
2026-06-03 14:08:45 +08:00
fatedier
503afe78b7 feat: add dashboard API v2 pagination endpoints (#5351)
Some checks are pending
golangci-lint / lint (push) Waiting to run
2026-06-01 20:09:25 +08:00
fatedier
e9464919d1
protocol: add v2 wire protocol with binary framing and capability negotiation (#5294) 2026-04-27 00:17:00 +08:00
fatedier
fbeb6ca43a
refactor: restructure API packages into client/http and server/http with typed proxy/visitor models (#5193) 2026-03-04 17:38:43 +08:00