panda
2784c5b36f
fix: iframe link click - add allow-popups, use target=_blank
...
Previous fix injected base target=_top but the sandbox attribute lacked allow-top-navigation, so the browser blocked link clicks and the user had to Ctrl+Click as a workaround. Fix: sandbox allow-same-origin allow-popups + base target=_blank. Links now open in new tab (better UX, no content loss). Also fix deploy/rebuild.ps1 to read jar from target/ instead of deleted deploy/baota/. Add agent_test/ scripts: create_7_test_projects, upload_test_html, manual_package.
2026-06-03 22:32:06 +08:00
panda
afcd18c54f
fix: evaluation report P0/P1/P2 fixes, remove Docker, add upload UI
...
Backend:
- Add NotFoundException + BusinessException, return correct HTTP status (404/400)
- Add @Index on reports.project_id and reports.upload_time
- Add fileSize column to reports, populate on upload, return in DTO
- Cascade delete: deleting project now removes all reports (DB + files + PDFs)
- Delete report: also clean up pre-rendered PDF
- File upload MIME validation (extension + Content-Type)
- Remove duplicate @ExceptionHandler from ReportController
- Switch from System.err to SLF4J logger
- Handle MethodArgumentNotValid, MissingServletRequestPart, etc.
Frontend:
- Remove all Docker files (project uses 宝塔 panel deployment)
- Upgrade axios 1.6.8 -> 1.7.7 (CVE-2024-39338)
- Remove unused @vue-office/pptx + vue-demi (see CHANGELOG for rationale)
- Fix vite proxy port 37821 -> 30081
- Remove mock data fallback in production
- Add upload report UI (button + modal in ProjectDetail)
- Add create project UI (button + modal in ProjectList)
- Add filename search box in ProjectDetail
- New useApi methods: createProject, uploadReport, deleteProject, deleteReport
- FilePreview/ReportCard: show fileSize (was undefined before)
Docs:
- Add README.md (overview, quick start, structure)
- Add CHANGELOG.md (full change log + pptx removal rationale)
- Include EVALUATION_REPORT.md and blog-vibe-coding.md
Tests:
- All 73 backend tests pass
- All 43 frontend tests pass
- Updated test fixtures for new API contract
2026-06-01 21:35:13 +08:00
panda
7000c186e2
fix: sort reports by uploadTime descending (newest first)
2026-05-27 20:39:30 +08:00
panda
f2172fcef6
fix: use uploadTime instead of reportDate for display timestamps
2026-05-25 23:45:50 +08:00
panda
df29e13c26
docs: clarify coverImage URL format and static asset paths
2026-05-25 23:42:01 +08:00
panda
6f7be85091
fix: add nginx /uploads/ proxy for cover images
2026-05-25 23:40:44 +08:00
panda
75c3a19d2e
docs: add API documentation
2026-05-25 23:25:04 +08:00
panda
1093908e87
add: rebuild.ps1 for quick local packaging
2026-05-25 23:20:54 +08:00
panda
4fa51004b8
fix: ProjectDetail sidebar layout - 1/4 collapsible, preview full height
2026-05-25 23:18:19 +08:00
panda
0082ee6379
docs: update nginx config with /api/ proxy and rewrite rules
2026-05-25 23:13:47 +08:00
panda
3b24b69de0
docs: add full deployment guide with baota panel steps
2026-05-25 22:55:14 +08:00
panda
b66adcddde
Add deploy workflow: build.bat packaging script plus gitignore zip exclusion
2026-05-25 22:54:36 +08:00
panda
d972421312
router: set basename /publish_dishboard for correct Vue history routing
2026-05-25 22:25:18 +08:00
panda
28c7b2226b
server: use port 30081 to match 宝塔 config
2026-05-25 21:52:54 +08:00
panda
9342f14d65
Fix SPA 404 fallback: register ErrorPage /index.html for Vue Router
2026-05-25 21:47:47 +08:00
panda
b70d814b6d
auto_deploy: use HTTP to avoid SSL on NAS
2026-05-25 08:26:10 +08:00
panda
71dd9d7e8f
Add polling auto-deploy script for NAS without SSH
2026-05-25 08:19:40 +08:00
panda
d4b217f60f
Add Gitea webhook auto-deploy: webhook receiver plus server.js proxy route
2026-05-24 23:54:55 +08:00
panda
48b7f481cc
fix: 多阶段构建强制dist层缓存失效
2026-05-24 23:41:11 +08:00
panda
c9e619ff5e
添加VERSION构建参数强制每次重建dist层
2026-05-24 23:38:07 +08:00
panda
06a457c1db
更新uploads路径为/vol1/1000/docker/publish/uploads
2026-05-24 23:29:27 +08:00
panda
e0983afd44
fix: uploads路径改回现有Docker命名卷
2026-05-24 23:20:21 +08:00
panda
560a48a78a
add: 前端构建产物 deploy/frontend
2026-05-24 23:07:15 +08:00
panda
97fe8f64ce
持久化: 改用NAS路径挂载uploads,移除命名卷
2026-05-24 23:03:50 +08:00
panda
3823f70714
fix: FilePreview iframe高度撑满 + 手机端响应式布局
2026-05-24 22:25:50 +08:00
panda
fbd029a7fe
chore: revert docker-compose.yml to original named volume config
2026-05-24 20:29:05 +08:00
panda
b9137204a0
fix: FilePreview fileType case + Tailwind v4 gradient transparent bug
...
- FilePreview.vue: add normalizedFileType computed to handle backend
returning uppercase HTML/MD/PPTX (fixes preview/download buttons)
- FilePreview.vue: bg-gradient-to-r from-orange-500 -> bg-orange-500
(Tailwind v4 gradient + CSS variable = transparent)
- ReportCard.vue: bg-gradient-to-r -> bg-orange-600 for selected state
- Add .opencode/, node_modules/, dist/ to .gitignore
- Initial git setup for publish project
2026-05-24 20:09:42 +08:00