Commit Graph

152 Commits

Author SHA1 Message Date
xiaoxia f42e5618ba Merge pull request 'fix(p1): 修复 4 个 P1 技术债务问题' (#11) from fix/p1-technical-debt into main 2026-06-26 18:13:41 +08:00
Coze Agent 07b5589253 fix(p1): resolve 4 P1 technical debt issues
- P1-1: CORS configuration security - use DEBUG mode to differentiate
  production vs development CORS settings
- P1-2: Implement token refresh logic in RefreshTokenUseCase
  - Add get_session_by_refresh_token to SessionStore
  - Verify session validity and expiry
  - Generate new access token on refresh
- P1-3: Fix database connection leak in worker ingest task
  - Add proper try-except-finally block
  - Ensure db.close() is always called
- P1-4: Implement real media metadata extraction
  - Use ffprobe for video metadata
  - Use Pillow for image metadata
  - Return empty dict on failure (no mock data)
2026-06-26 18:11:07 +08:00
xiaoxia f3d8215b97 Merge pull request 'feat(ui): V21 design system overhaul' (#9) from feature/v21-design-system into main 2026-06-26 18:09:36 +08:00
xiaoxia a2fc3a0e2a fix: resolve CI check failures - format code and fix line length issues 2026-06-26 18:00:53 +08:00
xiaoxia b966d24ecf fix: resolve CI check failures - format code and add nosec comment 2026-06-26 18:00:11 +08:00
Subagent b15e8ca91e feat(ui): V21 design system overhaul 2026-06-26 17:48:28 +08:00
xiaoxia 0e4a07f0c1 fix(security): P0 - 日志过滤敏感参数(token/password/secret等) 2026-06-26 17:43:35 +08:00
xiaoxia c04b57a1f8 fix(security): P0 - JWT密钥强制环境变量,拒绝默认值 2026-06-26 17:43:35 +08:00
Xiaoxia AI 1353441a96 fix(web): resolve TypeScript unused variable warnings 2026-06-25 14:56:47 +08:00
Xiaoxia AI a0ea960eb8 feat(web): complete V21 UI redesign for all pages
- Replaced Ant Design Card/Layout with V21-compliant components
- Updated Header, MainLayout to V21 sticky top navigation
- Redesigned WorkspaceList, ProjectAssets, ProjectResults, ProjectTitles, ProjectVoices, ProjectGeneration with V21 card/grid system
- Added V21 color scheme, typography, spacing, pill badges, vertical/video cards
- Updated Login page and Plans subscription page to V21 design
- CSS-only styling without Ant Design overrides where possible
2026-06-25 14:53:49 +08:00
Xiaoxia AI e40a7d4df9 test(web): target generation approval pill 2026-06-25 12:58:36 +08:00
Xiaoxia AI da55b865a6 test(web): scope generation approval assertion 2026-06-25 12:43:17 +08:00
Xiaoxia AI 5f27e235b2 test(web): stabilize core E2E against V21 UI 2026-06-25 01:38:15 +08:00
Xiaoxia AI dd390c10e4 fix(web): restore V21 workspace Chinese copy 2026-06-25 00:51:00 +08:00
Xiaoxia AI 0ed3cb7ef5 fix(ci): run unit tests with API path 2026-06-24 20:18:08 +08:00
Xiaoxia AI 6e8394d749 style: sort Python imports for CI 2026-06-24 19:57:19 +08:00
Xiaoxia AI f85e389ced style: format Python files for CI 2026-06-24 19:54:36 +08:00
Xiaoxia AI cca3f0b711 feat(web): align SaaS UI with V21 prototype 2026-06-24 19:19:27 +08:00
Xiaoxia AI 0f59b412bc feat(plans): add edit plan preview workflow 2026-06-24 10:10:25 +08:00
Xiaoxia AI ea3a4c4111 feat(tasks): retry failed project tasks 2026-06-24 09:19:23 +08:00
Xiaoxia AI 50858a8810 test(e2e): stabilize task center completion assertion 2026-06-24 08:53:34 +08:00
Xiaoxia AI ee6b4a663a feat(tasks): add project task center 2026-06-24 08:39:32 +08:00
Xiaoxia AI 764986f95d feat(results): add preview and batch download actions 2026-06-24 06:57:59 +08:00
Xiaoxia AI 8801795d1e test(e2e): stabilize generated video review assertion 2026-06-24 06:42:11 +08:00
Xiaoxia AI 8acbd6c8a7 feat(results): add generated video management 2026-06-24 06:28:06 +08:00
Xiaoxia AI b4dbad2e1e fix(titles): keep selected title ids generation-safe 2026-06-24 01:13:01 +08:00
Xiaoxia AI 17021c351f feat(titles): complete title selection workflow 2026-06-24 00:55:00 +08:00
Xiaoxia AI 6b66601d67 feat(titles): add project title library 2026-06-24 00:30:58 +08:00
Xiaoxia AI 07fd2b3d49 test(e2e): stabilize review action selector 2026-06-23 23:12:19 +08:00
Xiaoxia AI 9cc48aeee9 feat(assets): add review actions and high risk view 2026-06-23 22:57:56 +08:00
Xiaoxia AI 8b2f4b3a34 test(e2e): allow production ingest latency 2026-06-23 22:24:47 +08:00
Xiaoxia AI fd56afbb73 test(e2e): assert generation marks source usage 2026-06-23 22:04:47 +08:00
Xiaoxia AI f2a9b0868b feat(assets): track generation usage review state 2026-06-23 21:52:47 +08:00
Xiaoxia AI 14b760cdaf fix(generation): block tasks without ready videos 2026-06-23 21:31:59 +08:00
Xiaoxia AI 18d35251f9 test(e2e): use valid media fixture for generation 2026-06-23 20:52:54 +08:00
Xiaoxia AI bb3a7e5e15 feat(assets): enforce smart diagnosis workflow 2026-06-23 20:36:47 +08:00
Xiaoxia AI d052645307 feat(assets): add project material diagnosis 2026-06-23 20:14:03 +08:00
Xiaoxia AI 798a4ce711 test(e2e): stabilize generated result assertion 2026-06-23 19:31:13 +08:00
Xiaoxia AI 769049bd02 fix(web): use signed URLs for generated video downloads 2026-06-23 19:11:30 +08:00
Xiaoxia AI a19a269cee test(e2e): gate generation download flow 2026-06-23 17:56:55 +08:00
Xiaoxia AI 8c7acc019c ci(e2e): pin playwright runtime version 2026-06-23 17:09:17 +08:00
Xiaoxia AI 64b29791a2 test(e2e): stabilize direct upload selector 2026-06-23 16:29:17 +08:00
Xiaoxia AI 6e42f944c0 feat(upload): add OSS direct upload flow 2026-06-23 15:47:03 +08:00
Xiaoxia AI 1810b74b66 test(e2e): add browser upload gate 2026-06-23 15:17:22 +08:00
Xiaoxia AI 73591f7e91 fix(worker): mark ingested assets ready 2026-06-23 13:12:17 +08:00
Xiaoxia AI a466a13ec8 fix(web): avoid asset list failures during large uploads 2026-06-23 13:02:06 +08:00
Xiaoxia AI 159ebae0f2 fix(upload): support mov assets and large web uploads 2026-06-23 11:44:10 +08:00
Xiaoxia AI 0a0c73bbd7 fix(api): enforce media result permission boundaries 2026-06-23 09:30:09 +08:00
Xiaoxia AI bf1b679f42 fix(web): humanize generation failure messages 2026-06-22 22:57:07 +08:00
Xiaoxia AI 2d798bf8a6 fix(web): allow batch asset uploads 2026-06-22 22:09:41 +08:00