提交图

16 次代码提交

作者 SHA1 备注 提交日期
cryptocommuniums-afk
9772ea6764 feat: note scoring 60/6 with rating award + Minecraft theme
- Score max changed from 100 to 60, rating max from 10 to 6
- Note scoring now awards actual rating points (delta-based)
- Re-scoring only awards/deducts the difference
- Rating history shows note_score entries with problem link
- LLM prompt includes problem statement context for better evaluation
- LLM scoring dimensions: 题意理解/思路算法/代码记录/踩坑反思 (15 each)
- Minecraft-themed UI: 矿石鉴定, 探索笔记, 存入宝典, etc.
- Fallback scoring adjusted for 60-point scale
- Handle LLM markdown code fence wrapping in response

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-16 18:32:23 +08:00
cryptocommuniums-afk
7dd10bef2d fix: image upload proxy, compression, and JSON parse safety
- Add /api/v1/ and /files/ rewrite rules in next.config.ts so frontend
  can call backend without /admin139 prefix
- Fix upload using MultiPartParser instead of req->getUploadedFiles()
- Add client-side image compression (canvas resize to 1920px, quality 0.8)
  for photos >500KB before upload
- Safe JSON parsing: catch HTML error responses instead of throwing
  SyntaxError on non-JSON backend responses
- Fix backslash escape in delete filename validation

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-16 18:10:47 +08:00
cryptocommuniums-afk
cfbe9a0363 feat: problems local stats, user status, admin panel enhancements, rating text
- Problems page: replace Luogu pass rate with local submission stats
  (local_submit_count, local_ac_count)
- Problems page: add user AC/fail status column (user_ac, user_fail_count)
- Admin users: add total_submissions and total_ac columns
- Admin users: add detail panel with submissions/rating/redeem tabs
- Admin: new endpoint GET /api/v1/admin/users/{id}/rating-history
- Rating history: note field includes problem title via JOIN
- Me page: translate task codes to friendly labels with icons
- Me page: problem links in rating history are clickable
- Wrong book service, learning note scoring, note image controller
- Backend SQL uses batch queries for performance

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-16 17:35:22 +08:00
cryptocommuniums-afk
7860414ae5 feat: auto LLM feedback runner + problem link + 5xx retry
- Add SubmissionFeedbackRunner: async background queue for auto LLM feedback
- Enqueue feedback generation after each submission in submitProblem()
- Register runner in main.cc with CSP_FEEDBACK_AUTO_RUN env var
- Add problem_title to GET /api/v1/submissions/{id} response
- Frontend: clickable problem link on submission detail page
- Enhance LLM prompt with richer analysis dimensions
- Add 5xx/connection error retry (max 5 attempts) in Python LLM script

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-16 15:13:35 +08:00
cryptocommuniums-afk
bc2e085c70 fix: rating-history API - pass auth token, fix table/column names
- frontend: pass token to listRatingHistory API call
- backend: fix SQL table name redeem_logs -> redeem_records
- backend: fix SQL column name title -> task_code in daily_task_logs

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-16 12:22:22 +08:00
X
3a98882a71 feat(theme): complete Minecraft overhaul for all pages including admin/utility 2026-02-15 17:06:24 -08:00
cryptocommuniums-afk
e4742ff5ea feat: add HTTP entry link and fix frontend build 2026-02-16 02:38:00 +08:00
X
ef6d71ef54 feat: Minecraft theme overhaul, fix points bug, add history 2026-02-15 09:41:54 -08:00
Codex CLI
37266bb846 feat: ship minecraft theme updates and platform workflow improvements 2026-02-15 17:36:56 +08:00
Codex CLI
f209ae82da feat: expand platform management, admin controls, and learning workflows 2026-02-15 15:41:56 +08:00
Codex CLI
ad29a9f62d feat: add daily tasks and fix /admin139 admin entry 2026-02-15 12:51:42 +08:00
Codex CLI
e2ab522b78 feat: rebuild CSP practice workflow, UX and automation 2026-02-13 15:49:05 +08:00
anygen-build-bot
d33deed4c5 chore(proxy): expose backend under /admin139 on frontend port 2026-02-12 10:40:23 +00:00
anygen-build-bot
6585ff6d68 chore(env): add bundled test accounts and seed admin 2026-02-12 10:34:29 +00:00
anygen-build-bot
15211a99de feat(web): add simple auth UI + enable CORS for testing 2026-02-12 10:02:13 +00:00
anygen-build-bot
438c7e840e chore: init frontend+backend skeleton 2026-02-12 08:54:44 +00:00