Commit Graph

106 Commits

Author SHA1 Message Date
CI Bot c0f6c148a3 fix: update default APP_VERSION to 0.1.61
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Has been cancelled
CI/CD Pipeline / Frontend Lint (pull_request) Has been cancelled
2026-06-27 00:42:24 +08:00
CI Bot c96ac31132 chore: remove redundant .github/workflows (using Gitea Actions)
CI/CD Pipeline / Frontend Lint (push) Failing after 0s
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 0s
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Has been cancelled
2026-06-27 00:41:09 +08:00
xiaoxia 116ef1d7ce fix: 修复 DATABASE_POOL_RECYLE 拼写错误 -> DATABASE_POOL_RECYCLE
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Has been cancelled
- 将配置变量名从 DATABASE_POOL_RECYLE 更改为 DATABASE_POOL_RECYCLE
- 修正了拼写错误,使配置与标准 SQLAlchemy 命名一致
2026-06-27 00:01:44 +08:00
CI Bot 1dd1dca473 fix: 统一编辑模式枚举名并删除重复workflow
Deploy / Deploy Staging (push) Successful in 1m45s
Deploy / Build Production Runtime Images (push) Has been skipped
Deploy / Deploy Production (push) Has been skipped
Deploy / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Has been cancelled
1. 修复 edit_plan_generator.py 中的枚举名与 editing_modes.py 保持一致:
   - ONE_TAKE: one-take -> one_take
   - VOICEOVER -> VOICE_OVER: voiceover -> voice_over

2. 更新相关文档字符串和注释

3. 删除重复的 .gitea/workflows/tests.yml (ci-cd.yml 已包含完整测试)
2026-06-26 23:12:06 +08:00
CI Bot b23bb8410f fix: 修复 dedup.py 语法错误和 pHash DCT 实现,修复 chunked_upload.py 缩进错误
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
Deploy / Build Production Runtime Images (push) Has been cancelled
Deploy / Deploy Production (push) Has been cancelled
Deploy / Production Browser E2E (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Has been cancelled
Tests / test (pull_request) Has been cancelled
Tests / lint (pull_request) Has been cancelled
2026-06-26 22:46:21 +08:00
CI Test f5bc1b8947 chore: squash merge feature/smart-edit-plan into develop (resolve conflicts)
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Waiting to run
Tests / test (pull_request) Waiting to run
Tests / lint (pull_request) Waiting to run
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
Deploy / Build Production Runtime Images (push) Has been cancelled
Deploy / Deploy Production (push) Has been cancelled
Deploy / Production Browser E2E (push) Has been cancelled
- Resolve CI/CD and deploy workflow conflicts with develop version
- Resolve database and dependencies conflicts with develop version
- Keep new edit plan generator and API functionality from feature branch
2026-06-26 21:21:39 +08:00
xiaoxia 5dbde7e176 feat: add download_url field to generated video APIs (#20)
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Waiting to run
Tests / test (pull_request) Waiting to run
Tests / lint (pull_request) Waiting to run
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
Deploy / Build Production Runtime Images (push) Has been cancelled
Deploy / Deploy Production (push) Has been cancelled
Deploy / Production Browser E2E (push) Has been cancelled
2026-06-26 21:13:18 +08:00
xiaoxia 9dbbf1ab3c feat: add chunked upload API for large file uploads (#21)
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Waiting to run
Tests / test (pull_request) Waiting to run
Tests / lint (pull_request) Waiting to run
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
Deploy / Build Production Runtime Images (push) Has been cancelled
Deploy / Deploy Production (push) Has been cancelled
Deploy / Production Browser E2E (push) Has been cancelled
feat: add chunked upload API for large file uploads (#21)
2026-06-26 20:57:56 +08:00
xiaoxia c5f8c50872 refactor: Remove workspace concept - Projects now directly under User
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 1m1s
Tests / test (pull_request) Failing after 1m0s
Tests / lint (pull_request) Failing after 1m0s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 16m46s
BREAKING CHANGES:
- Removed Workspace, WorkspaceMember, WorkspaceInvitation entities
- Project now has owner_user_id instead of workspace_id
- Added shared_users list to Project for collaboration
- Subscription/quota moved from Workspace to User level

Changes:
- packages/domain/entities.py: Removed Workspace entities, updated Project
- packages/adapters/sqlalchemy_impl/models.py: Updated models
- packages/application/: Removed workspace use cases, updated other use cases
- packages/ports/: Removed workspace repository interfaces
- apps/api/: Updated routes, schemas, dependencies, router
- alembic/versions/007_remove_workspace_concept.py: Database migration

New APIs:
- POST /projects/{id}/share: Share project with user
- DELETE /projects/{id}/share/{user_id}: Unshare project
2026-06-26 19:16:54 +08:00
xiaoxia 5a05b804f2 P3-1: database.py 统一使用 config.py 中的 Settings,消除配置重复定义 2026-06-26 18:37:58 +08:00
xiaoxia c913e7cd89 P2-4: dependencies.py 添加返回类型注解 2026-06-26 18:37:11 +08:00
xiaoxia 33a0ed13fe P2-1 & P2-5: 移除 upload.py 中重复的 _require_workspace_member,添加服务端 MIME type 验证 2026-06-26 18:35:21 +08:00
xiaoxia d5bc23d488 P2-1: 移除 projects.py 中重复的 _require_workspace_member 函数,使用 permissions.py 中的共享函数 2026-06-26 18:34:41 +08:00
xiaoxia 13113f50c5 Merge pull request 'fix(p1): 修复 4 个 P1 技术债务问题' (#11) from fix/p1-technical-debt into main
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 0s
Tests / test (push) Failing after 0s
Tests / lint (push) Failing after 0s
2026-06-26 18:13:41 +08:00
Coze Agent 7fa327aa27 fix(p1): resolve 4 P1 technical debt issues
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 0s
Tests / test (pull_request) Failing after 0s
Tests / lint (pull_request) Failing after 0s
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
- 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 3d29dc0c83 fix: resolve CI check failures - format code and fix line length issues
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 0s
Tests / test (pull_request) Failing after 0s
Tests / lint (pull_request) Failing after 0s
2026-06-26 18:00:53 +08:00
xiaoxia 950f63bb69 fix: resolve CI check failures - format code and add nosec comment
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 1m0s
Tests / lint (pull_request) Failing after 0s
Tests / test (pull_request) Failing after 1m0s
2026-06-26 18:00:11 +08:00
xiaoxia 712b01d805 fix: P2-4 add complete type annotations to dependencies
Deploy / Deploy Staging (push) Failing after 1s
Deploy / Build Production Runtime Images (push) Has been skipped
Deploy / Deploy Production (push) Has been skipped
Deploy / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 1m1s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 1m0s
Tests / test (pull_request) Failing after 1m0s
Tests / lint (pull_request) Failing after 31s
2026-06-26 17:58:25 +08:00
xiaoxia 3a97ca385a fix: P3-1 unify database config with app.config
Deploy / Deploy Staging (push) Failing after 1s
Deploy / Build Production Runtime Images (push) Has been skipped
Deploy / Deploy Production (push) Has been skipped
Deploy / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 1m0s
Tests / test (pull_request) Failing after 1m0s
Tests / lint (pull_request) Failing after 1m0s
2026-06-26 17:56:33 +08:00
xiaoxia 4c3dcfbf0f fix(P2-5): add server-side file type validation with magic
Deploy / Deploy Staging (push) Failing after 1s
Deploy / Build Production Runtime Images (push) Has been skipped
Deploy / Deploy Production (push) Has been skipped
Deploy / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 1m0s
Tests / test (pull_request) Failing after 1m0s
Tests / lint (pull_request) Failing after 30s
2026-06-26 17:54:03 +08:00
xiaoxia ea5bd47489 fix(P1-1): resolve CORS configuration security issue
Deploy / Deploy Staging (push) Failing after 2s
Deploy / Build Production Runtime Images (push) Has been skipped
Deploy / Deploy Production (push) Has been skipped
Deploy / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 1m0s
Tests / test (pull_request) Failing after 1m0s
Tests / lint (pull_request) Failing after 1m0s
2026-06-26 17:48:57 +08:00
xiaoxia e58293a51f fix(security): P0 - 日志过滤敏感参数(token/password/secret等)
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 1m0s
Tests / test (pull_request) Failing after 1m0s
Tests / lint (pull_request) Failing after 1m0s
2026-06-26 17:43:35 +08:00
xiaoxia 7a4bbbe512 fix(security): P0 - JWT密钥强制环境变量,拒绝默认值 2026-06-26 17:43:35 +08:00
Xiaoxia AI cdad6fd641 fix(ci): run unit tests with API path
Deploy / Build Production Runtime Images (push) Has been skipped
Deploy / Deploy Production (push) Has been skipped
Deploy / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Validate Code Quality And Tests (push) Successful in 45s
Deploy / Deploy Staging (push) Successful in 1s
2026-06-24 20:18:08 +08:00
Xiaoxia AI 6e00c9d3c3 style: sort Python imports for CI
Deploy / Build Production Runtime Images (push) Has been skipped
Deploy / Deploy Production (push) Has been skipped
Deploy / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 18s
Deploy / Deploy Staging (push) Successful in 1s
2026-06-24 19:57:19 +08:00
Xiaoxia AI e1b9ddaa1e style: format Python files for CI
Deploy / Build Production Runtime Images (push) Has been skipped
Deploy / Deploy Production (push) Has been skipped
Deploy / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 14s
Deploy / Deploy Staging (push) Successful in 1s
2026-06-24 19:54:36 +08:00
Xiaoxia AI 530b31dc10 feat(plans): add edit plan preview workflow
Deploy / Build Production Runtime Images (push) Successful in 9m19s
Deploy / Deploy Production (push) Failing after 18s
Deploy / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
Deploy / Deploy Staging (push) Has been skipped
2026-06-24 10:10:25 +08:00
Xiaoxia AI d31e30c494 feat(tasks): retry failed project tasks
Deploy / Build Production Runtime Images (push) Successful in 9m7s
Deploy / Deploy Production (push) Successful in 44s
Deploy / Production Browser E2E (push) Successful in 33s
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
Deploy / Deploy Staging (push) Has been skipped
2026-06-24 09:19:23 +08:00
Xiaoxia AI 43de087282 feat(tasks): add project task center
Deploy / Build Production Runtime Images (push) Successful in 9m2s
Deploy / Deploy Production (push) Successful in 44s
Deploy / Production Browser E2E (push) Failing after 36s
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
Deploy / Deploy Staging (push) Has been skipped
2026-06-24 08:39:32 +08:00
Xiaoxia AI 91df06b84d feat(results): add generated video management
Deploy / Build Production Runtime Images (push) Successful in 9m0s
Deploy / Deploy Production (push) Successful in 44s
Deploy / Production Browser E2E (push) Failing after 33s
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
Deploy / Deploy Staging (push) Has been skipped
2026-06-24 06:28:06 +08:00
Xiaoxia AI 6f1a71e8bd feat(titles): complete title selection workflow
Deploy / Build Production Runtime Images (push) Successful in 9m5s
Deploy / Deploy Production (push) Successful in 46s
Deploy / Production Browser E2E (push) Failing after 3m39s
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
Deploy / Deploy Staging (push) Has been skipped
2026-06-24 00:55:00 +08:00
Xiaoxia AI bad34ad001 feat(titles): add project title library
Deploy / Build Production Runtime Images (push) Successful in 9m1s
Deploy / Deploy Production (push) Successful in 52s
Deploy / Production Browser E2E (push) Successful in 39s
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
Deploy / Deploy Staging (push) Has been skipped
2026-06-24 00:30:58 +08:00
Xiaoxia AI 57942e06d9 feat(assets): add review actions and high risk view
Deploy / Build Production Runtime Images (push) Successful in 9m2s
Deploy / Deploy Production (push) Successful in 45s
Deploy / Production Browser E2E (push) Failing after 2m45s
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
Deploy / Deploy Staging (push) Has been skipped
2026-06-23 22:57:56 +08:00
Xiaoxia AI 37e849f90e feat(assets): track generation usage review state
Deploy / Build Production Runtime Images (push) Successful in 9m8s
Deploy / Deploy Production (push) Successful in 55s
Deploy / Production Browser E2E (push) Successful in 36s
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
Deploy / Deploy Staging (push) Has been skipped
2026-06-23 21:52:47 +08:00
Xiaoxia AI a1fc9104aa fix(generation): block tasks without ready videos
Deploy / Build Production Runtime Images (push) Successful in 8m57s
Deploy / Deploy Production (push) Successful in 51s
Deploy / Production Browser E2E (push) Successful in 37s
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
Deploy / Deploy Staging (push) Has been skipped
2026-06-23 21:31:59 +08:00
Xiaoxia AI 989b937ea9 feat(assets): add project material diagnosis
Deploy / Build Production Runtime Images (push) Successful in 8m59s
Deploy / Deploy Production (push) Successful in 58s
Deploy / Production Browser E2E (push) Successful in 36s
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
Deploy / Deploy Staging (push) Has been skipped
2026-06-23 20:14:03 +08:00
Xiaoxia AI 1d638027bf feat(upload): add OSS direct upload flow
Deploy / Build Production Runtime Images (push) Successful in 8m58s
Deploy / Deploy Production (push) Successful in 1m7s
Deploy / Production Browser E2E (push) Failing after 4m17s
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
2026-06-23 15:47:03 +08:00
Xiaoxia AI 136c40360c fix(api): enforce media result permission boundaries
Deploy / Build Production Runtime Images (push) Successful in 8m53s
Deploy / Deploy Production (push) Successful in 45s
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
2026-06-23 09:30:09 +08:00
Xiaoxia AI cb2e20ffd4 fix(api): enforce workspace access on project media routes
Deploy / Build Production Runtime Images (push) Successful in 8m52s
Deploy / Deploy Production (push) Successful in 37s
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
2026-06-22 19:37:57 +08:00
Xiaoxia AI a1cf1ddd9d fix(web): restore project workspace context
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
Deploy / Deploy Production (push) Has been cancelled
2026-06-22 13:19:45 +08:00
Xiaoxia AI a7f816fe5b fix(auth): allow registration without display name
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 15s
Deploy / Deploy Staging (push) Has been skipped
Deploy / Deploy Production (push) Successful in 59s
2026-06-21 16:24:21 +08:00
Xiaoxia AI 114bc8aff2 chore(security): triage bandit findings
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 12s
Deploy / Deploy Staging (push) Successful in 2m26s
Deploy / Deploy Production (push) Has been skipped
2026-06-21 13:38:46 +08:00
Xiaoxia AI 6eba0cd296 refactor(storage): retire minio runtime naming
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 14s
Deploy / Deploy Staging (push) Successful in 2m8s
Deploy / Deploy Production (push) Has been skipped
2026-06-21 11:20:55 +08:00
Xiaoxia AI 9b6aab71d8 refactor(auth): configure external service adapters
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 14s
Deploy / Deploy Staging (push) Successful in 2m29s
Deploy / Deploy Production (push) Has been skipped
2026-06-21 11:04:07 +08:00
Xiaoxia AI fa19a34f7a feat(auth): add verification and password reset routes
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 15s
Deploy / Deploy Staging (push) Successful in 1m57s
Deploy / Deploy Production (push) Has been skipped
2026-06-21 10:40:56 +08:00
Xiaoxia AI a20267091a refactor(auth): remove auth simple shim
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 15s
Deploy / Deploy Staging (push) Successful in 50s
Deploy / Deploy Production (push) Has been skipped
2026-06-21 09:57:17 +08:00
Xiaoxia AI 93ba337538 refactor(auth): promote canonical auth routes
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 16s
Deploy / Deploy Staging (push) Successful in 48s
Deploy / Deploy Production (push) Has been skipped
2026-06-21 09:50:10 +08:00
Xiaoxia AI c5321f4f12 feat(workspace): restore member management routes
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 16s
Deploy / Deploy Staging (push) Successful in 1m55s
Deploy / Deploy Production (push) Has been skipped
2026-06-21 09:36:08 +08:00
Xiaoxia AI 38b5b60160 feat(workspace): restore core routes on sqlalchemy adapters
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 14s
Deploy / Deploy Staging (push) Successful in 1m53s
Deploy / Deploy Production (push) Has been skipped
2026-06-21 09:22:09 +08:00
Xiaoxia AI 2e863c8b43 refactor(auth): replace legacy middleware sentinel
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 14s
Deploy / Deploy Staging (push) Successful in 40s
Deploy / Deploy Production (push) Has been skipped
2026-06-21 09:06:22 +08:00