60 Commits

Author SHA1 Message Date
john a59823d347 Fix admin dashboard summary nulls 2026-06-20 17:04:30 +08:00
john dae3e2f350 Harden wechat summary and login input 2026-06-20 17:02:16 +08:00
john 78907792db Harden ops analytics rendering 2026-06-20 16:59:57 +08:00
john 2129b0e8cf Restore admin bootstrap secret 2026-06-20 16:58:28 +08:00
john 371aedd6a9 Make admin init noninteractive 2026-06-20 16:56:44 +08:00
john a2333f991b Move admin auth local 2026-06-20 16:52:13 +08:00
John 7a5b9cc912 Add argon2 polyfill and unified preview/API startup for admin login.
Node < 24 lacks crypto.argon2Sync; wire @node-rs/argon2 fallback and start Admin API alongside vite preview in local and remote deploy flows.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-17 16:38:58 -07:00
John 9ecfa73831 Add embedded Express admin API and unified dev workflow.
Move admin backend into this repo (Express + MySQL on :8085) so npm run dev starts both API and Vite, with updated env defaults and Caddy config for gadm.tkmind.cn.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-16 16:29:06 -07:00
john 680e2c9427 Add LAN deploy scripts and improve admin billing/users UX.
Provide rsync deploy and restart tooling for the 100 server, document the workflow, and add pagination plus user filtering across billing and user management pages.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-16 20:46:59 +08:00
john 8ad1a8a8da Initial commit: tkmind admin frontend (React + Vite).
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-16 19:44:31 +08:00