Commit Graph

  • 6f8134b11a Initial commit main haoqimao 2026-05-19 09:16:37 +00:00
  • ed34144d26 docs: env knobs for observability + pm2-logrotate setup dev root 2026-05-19 08:55:39 +00:00
  • c20e6a9b8e feat(admin): add Logs entry to sidebar root 2026-05-19 08:55:21 +00:00
  • 428c998537 feat(admin): add /admin/logs page with logs + rate-limit tabs root 2026-05-19 08:54:08 +00:00
  • 4ea91f9f53 feat(admin): add GET /api/admin/logs for ring buffer + rate_limit_events root 2026-05-19 08:50:15 +00:00
  • 5c9a51b8fc refactor(observability): replace 20 console.error/warn with structured log.* calls root 2026-05-19 08:43:32 +00:00
  • d8de292cf0 feat(api): apply per-IP rate limits to friends/messages/posts/uploads/payment-create routes root 2026-05-19 08:31:40 +00:00
  • 7340153fe0 feat(api): apply per-IP rate limit (10/min) to all 7 AI routes root 2026-05-19 05:40:42 +00:00
  • 8471bde8b7 fix(api): mark /api/health as force-dynamic to bypass route cache root 2026-05-19 05:38:18 +00:00
  • c04059d920 feat(api): add GET /api/health with live dependency probes root 2026-05-19 05:34:51 +00:00
  • 3829714fa2 fix(observability): NaN-safe cache, single-flight, env restore in health tests root 2026-05-19 05:29:25 +00:00
  • 05e24ed486 feat(observability): add /api/health probes (deepseek, supabase, sqlite) with 10s cache rootandClaude Sonnet 4.6 2026-05-18 19:52:13 +00:00
  • 9f78bc7db3 fix(observability): typecheck-clean withRateLimit test + void on analytics root 2026-05-18 19:40:27 +00:00
  • 23092e8273 feat(observability): add withRateLimit handler wrapper rootandClaude Sonnet 4.6 2026-05-18 19:33:10 +00:00
  • 6e5d789fd3 feat(observability): add rate_limit_events table + record/list helpers rootandClaude Sonnet 4.6 2026-05-18 19:26:44 +00:00
  • d23e30e8eb fix(observability): guard clock-backward + log fail-open + fractional refill test root 2026-05-18 19:23:22 +00:00
  • 813858a7a8 feat(observability): add in-memory token-bucket rate limiter root 2026-05-18 19:19:05 +00:00
  • c8a6d2b303 fix(observability): defensive copy in log.recent + positive LOG_LEVEL test root 2026-05-18 19:16:31 +00:00
  • 0a093acdda feat(observability): add JSON-line logger with ring buffer for admin viewer rootandClaude Sonnet 4.6 2026-05-18 19:11:42 +00:00
  • c6c0708055 feat(observability): add getClientIp with XFF / x-real-ip / cf-connecting-ip root 2026-05-18 19:05:40 +00:00
  • 2fa74b0db8 feat(observability): add shared types for logger/rate-limit/health root 2026-05-18 19:02:04 +00:00
  • cda7892379 docs: add Slice 2 implementation plan (16 tasks) rootandClaude Opus 4.7 2026-05-18 18:54:54 +00:00
  • 75d45cec43 docs: add Slice 2 spec for stability + observability hardening rootandClaude Opus 4.7 2026-05-18 18:38:37 +00:00
  • 36e5245299 fix(ai): add timeout + env-driven base/model to deepseek provider root 2026-05-18 13:32:57 +00:00
  • 0a8af44fc9 docs: add Slice 1 spec + plan for DeepSeek hardening root 2026-05-18 13:24:24 +00:00
  • d4cd0cb33d feat: add Gitea deploy workflow for dev branch rootandCursor 2026-05-16 08:01:44 +00:00
  • 7415723b9c first commit root 2026-05-16 07:45:56 +00:00
  • 1264b643af fix: robust clipboard copy for friend code, larger touch target root 2026-05-13 05:03:56 +00:00
  • 90d7d46f28 feat: tap to copy friend code on profile page root 2026-05-13 04:55:15 +00:00
  • bf7e3bd4f2 feat: support #code search in friend search page root 2026-05-13 04:40:30 +00:00
  • 5cde30f447 feat: add friend 3-grid entry to MessagesView root 2026-05-13 04:34:09 +00:00
  • 2ccf528cd8 feat: add friend requests page and friends list page root 2026-05-13 04:32:53 +00:00
  • 5a68eeb447 feat: add friend search page /friends/search root 2026-05-13 04:30:56 +00:00
  • 3882dffbe7 feat: POST /api/friends/requests/[id]/accept and /reject root 2026-05-13 04:29:24 +00:00
  • 5498c532a7 feat: GET and POST /api/friends/requests root 2026-05-13 04:28:49 +00:00
  • dd9626dc6c feat: GET /api/friends/search and GET /api/friends routes root 2026-05-13 04:27:17 +00:00
  • b2e600bb00 feat: friends-repository DB functions (search, send, accept, reject, list) root 2026-05-13 04:24:47 +00:00
  • fd84540406 test: getRelationStatus unit tests root 2026-05-13 04:23:30 +00:00
  • c36f99fc97 feat: friends-repository types and getRelationStatus helper root 2026-05-13 04:22:55 +00:00
  • 9f24829cc1 feat: add friend_requests and friends tables with RLS root 2026-05-13 04:22:33 +00:00
  • 6a213303ba docs: add AI virtual companion upgrade design spec rootandClaude Sonnet 4.6 2026-05-12 03:34:49 +00:00
  • c09952f852 fix: add explicit NavItem/NavSection types to AdminChrome root 2026-05-09 11:02:27 +00:00
  • df4be7a9dc feat: add site config management module root 2026-05-09 10:57:10 +00:00
  • d2d2f713d6 feat: add payment config management module root 2026-05-09 10:21:04 +00:00
  • e89534689a feat: add membership plans management module rootandClaude Sonnet 4.6 2026-05-09 10:03:41 +00:00
  • e5057aa044 fix: add expires_at field, level validation, and delete error handling to announcements root 2026-05-09 09:48:36 +00:00
  • 2d165f590f feat: add announcement management module root 2026-05-09 09:38:41 +00:00
  • dc2c9cd12b feat: add content moderation page root 2026-05-09 09:11:32 +00:00
  • 8d307d6bae feat: upgrade admin dashboard with stats and SVG charts root 2026-05-09 09:04:21 +00:00
  • b2c96341aa feat: redesign AdminChrome with sidebar layout root 2026-05-09 08:58:11 +00:00
  • 98cb855e27 feat: add announcements, membership_plans, site_config tables root 2026-05-09 08:51:39 +00:00
  • 2889519a43 fix: atomic chat usage increment + post-stream quota accounting rootandClaude Sonnet 4.6 2026-05-07 04:50:14 +00:00
  • 67957f61a7 feat: wire payment UI into MembershipView, LockedProfileCard, SvipCard rootandClaude Sonnet 4.6 2026-05-07 04:35:03 +00:00
  • da4c597b3a feat: update SvipCard to accept onOpenMembership prop rootandClaude Sonnet 4.6 2026-05-07 04:34:50 +00:00
  • a85c6427ba feat: add LockedProfileCard component rootandClaude Sonnet 4.6 2026-05-07 04:34:30 +00:00
  • 4d085cb003 feat: add QRCodeView component with SSE polling root 2026-05-07 04:20:20 +00:00
  • 99aabd7e10 feat: add useSubscriptionStore (Zustand persist) root 2026-05-07 04:18:45 +00:00
  • aff2c06791 feat: add VIP gating to profiles and chat quota to xiaoyu-reply root 2026-05-07 04:11:43 +00:00
  • 98dce5929f fix: parallelize all subscription DB fetches in /api/subscription/me root 2026-05-07 04:07:44 +00:00
  • 06e3815cfc feat: add GET /api/subscription/me endpoint root 2026-05-07 03:56:45 +00:00
  • b21e805531 feat: add GET /api/payment/stream SSE endpoint root 2026-05-07 03:56:34 +00:00
  • 7eeabf7d4d feat: add POST /api/payment/webhook with signature verification root 2026-05-07 03:56:21 +00:00
  • f8b950c879 feat: add POST /api/payment/create endpoint root 2026-05-07 03:56:11 +00:00
  • 2e39ac52ef test: add unit tests for xunhupay sign computation root 2026-05-07 03:46:48 +00:00
  • 292bc1e5cf feat: add subscription DB helpers (isVip, incrementUsage, activateSubscription) root 2026-05-07 03:43:51 +00:00
  • caa70b8ed8 feat: add xunhupay API client with MD5 signing root 2026-05-07 03:40:20 +00:00
  • 6269c41ceb fix: add plan check constraint to subscriptions table root 2026-05-07 03:35:18 +00:00
  • aca0ec9142 feat: add payment schema (orders, subscriptions, chat_daily_usage) root 2026-05-07 03:32:43 +00:00
  • 1404848bfc docs: add payment system implementation plan (12 tasks) rootandClaude Sonnet 4.6 2026-05-07 03:21:57 +00:00
  • 502eb54515 docs: add payment system design spec (虎皮椒 + SSE) rootandClaude Sonnet 4.6 2026-05-07 03:08:26 +00:00
  • ebeddd1b7b feat: hide TabBar on scroll down, show on scroll up root 2026-05-06 12:08:40 +00:00
  • fa02ec725e feat: wire ZodiacPairingTool into explore tab tool grid root 2026-05-06 11:38:10 +00:00
  • 392cac3785 feat: add ZodiacPairingTool component (intro/select/loading/result/share) root 2026-05-06 11:35:08 +00:00
  • 5fe2d969bb feat: add zodiac-pairing AI API route with DeepSeek root 2026-05-06 11:24:48 +00:00
  • b8c906041f chore: add html2canvas for zodiac share card root 2026-05-06 11:22:12 +00:00
  • eafe5eca93 docs: add zodiac pairing implementation plan root 2026-05-06 11:18:59 +00:00
  • ce51e7ee19 docs: add zodiac pairing tool design spec root 2026-05-06 11:12:01 +00:00
  • cf3f073f3c docs: 心动盲盒交互化设计文档 rootandClaude Sonnet 4.6 2026-04-30 16:17:20 +00:00
  • 413a9b913b feat: add public persona, post like, avatar upload, and local file serving routes root 2026-04-29 03:26:12 +00:00
  • c4f5c3a4b6 feat: add admin seed and profile-photo upload routes root 2026-04-29 03:24:45 +00:00
  • 123a5abe6e feat: add admin users and posts management routes root 2026-04-29 03:22:37 +00:00
  • 6c9f96f5b8 feat: add admin profiles/personas/scripts CRUD routes root 2026-04-29 03:21:49 +00:00
  • 8a1f7a667b feat: add admin login/logout routes root 2026-04-29 03:19:41 +00:00
  • 7eecf80fe6 feat: add auth proxy route for Supabase Auth root 2026-04-29 03:19:17 +00:00
  • d701adc642 chore: initial commit of existing codebase root 2026-04-29 03:17:38 +00:00