Commit Graph

115 Commits

Author SHA1 Message Date
Audit Bot 0ac81bfb1b fix(#25): 移除硬编码 localhost:3000
- 添加 APP_BASE_URL 配置项到 Settings
- auth.py 中改用 settings.APP_BASE_URL
- register_user_use_case.py 和 password_reset_use_case.py 移除默认值
- base_url 参数改为必须由调用方传入
- 更新 .env.example 添加 APP_BASE_URL
2026-06-27 17:20:17 +08:00
Audit Bot bc01d7ee6c fix(#17): 调整数据库连接池配置
- 将 DATABASE_MAX_OVERFLOW 从 40 调整为 10
- pool_size(20) + max_overflow(10) = 最大 30 连接
- 添加注释说明连接池配置
2026-06-27 17:20:17 +08:00
xiaoxia 70fe068fd3 Merge pull request 'fix: Redis session env fix + JWT import path fix (登录失败根因修复)' (#52) from hotfix/redis-session-env-fix into develop
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Has been cancelled
2026-06-27 17:18:11 +08:00
xiaoxia e068e301a1 fix: 统一 ENABLE_REDIS_SESSIONS 命名,修复登录因 AttributeError 导致 500
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Has been cancelled
2026-06-27 17:05:48 +08:00
xiaoxia 4e0f65ed03 fix: correct ENABLE_REDIS_SESSIONS typo to ENABLE_REDIS_SESSION
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 14:45:50 +08:00
CI Bot 4068a91413 fix: move SmartEditPlanGenerator to domain layer, remove dead workspaces route
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 12:44:04 +08:00
CI Bot 49665496aa feat: decouple API and Worker cross-service dependencies
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 10:22:25 +08:00
CI Bot 16043717b8 fix: resolve all workspace removal breakage - stub permissions, quota, ports, adapters
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Has been cancelled
CI/CD Pipeline / Frontend Lint (pull_request) Has been cancelled
- Remove Workspace from domain/__init__.py exports
- Stub domain/permissions.py (all checks pass)
- Stub domain/quota.py (all checks pass)
- Create missing port stubs: workspace_member_repository, workspace_repository, workspace_invitation_repository
- Create missing adapter stubs: workspace_repository, workspace_invitation_repository
- Create routes/permissions.py stub (require_workspace_member no-op)
- Fix .env Redis URL encoding on production server
2026-06-27 09:16:53 +08:00
CI Bot 019cb195a7 fix: add workspace_id compatibility for removed workspace concept 2026-06-27 08:43:02 +08:00
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 (pull_request) Failing after 1958h46m8s
CI/CD Pipeline / Frontend Lint (push) Failing after 1958h49m38s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Has been cancelled
CI/CD Pipeline / Validate Code Quality And Tests (push) 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
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
Deploy / Production Browser E2E (push) Failing after 1960h15m21s
Deploy / Deploy Production (push) Failing after 1960h15m25s
Deploy / Build Production Runtime Images (push) Failing after 1960h16m54s
Deploy / Deploy Staging (push) Failing after 1960h18m39s
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
Tests / lint (pull_request) Failing after 1964h11m22s
Tests / test (pull_request) Failing after 1964h12m22s
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 1964h13m23s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 1964h13m23s
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
Tests / lint (push) Failing after 1965h11m46s
Tests / test (push) Failing after 1965h11m48s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 1965h11m50s
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 (push) Has been cancelled
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 1965h11m56s
Tests / lint (pull_request) Failing after 1965h11m52s
Tests / test (pull_request) Failing after 1965h11m54s
- 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
Tests / lint (pull_request) Failing after 1965h12m8s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 1965h12m12s
Tests / test (pull_request) Failing after 1965h12m10s
2026-06-26 18:00:53 +08:00
xiaoxia 950f63bb69 fix: resolve CI check failures - format code and add nosec comment
Tests / lint (pull_request) Failing after 1965h12m20s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 1965h14m4s
Tests / test (pull_request) Failing after 1965h13m4s
2026-06-26 18:00:11 +08:00
xiaoxia 712b01d805 fix: P2-4 add complete type annotations to dependencies
Tests / lint (pull_request) Failing after 1965h14m36s
Tests / test (pull_request) Failing after 1965h15m36s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 1965h17m38s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 1965h16m37s
Deploy / Production Browser E2E (push) Failing after 1965h32m16s
Deploy / Deploy Production (push) Failing after 1965h32m18s
Deploy / Deploy Staging (push) Failing after 1965h32m22s
Deploy / Build Production Runtime Images (push) Failing after 1966h3m38s
2026-06-26 17:58:25 +08:00
xiaoxia 3a97ca385a fix: P3-1 unify database config with app.config
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
Tests / lint (pull_request) Failing after 1965h21m39s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 1965h23m39s
Tests / test (pull_request) Failing after 1965h22m39s
Deploy / Production Browser E2E (push) Failing after 1965h34m8s
Deploy / Build Production Runtime Images (push) Failing after 1965h34m12s
Deploy / Deploy Staging (push) Failing after 1965h34m14s
Deploy / Deploy Production (push) Failing after 1966h5m28s
2026-06-26 17:56:33 +08:00
xiaoxia 4c3dcfbf0f fix(P2-5): add server-side file type validation with magic
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
Tests / lint (pull_request) Failing after 1965h27m11s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 1965h29m11s
Tests / test (pull_request) Failing after 1965h28m11s
Deploy / Production Browser E2E (push) Failing after 1965h36m39s
Deploy / Deploy Production (push) Failing after 1965h36m41s
Deploy / Build Production Runtime Images (push) Failing after 1965h36m43s
Deploy / Deploy Staging (push) Failing after 1965h36m45s
2026-06-26 17:54:03 +08:00
xiaoxia ea5bd47489 fix(P1-1): resolve CORS configuration security issue
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
Tests / lint (pull_request) Failing after 1965h36m13s
Tests / test (pull_request) Failing after 1965h37m14s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 1965h38m14s
Deploy / Production Browser E2E (push) Failing after 1965h41m45s
Deploy / Deploy Production (push) Failing after 1965h41m47s
Deploy / Build Production Runtime Images (push) Failing after 1965h41m49s
Deploy / Deploy Staging (push) Failing after 1965h41m51s
2026-06-26 17:48:57 +08:00
xiaoxia e58293a51f fix(security): P0 - 日志过滤敏感参数(token/password/secret等)
Tests / lint (pull_request) Failing after 1965h44m58s
Tests / test (pull_request) Failing after 1965h45m58s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 1965h46m58s
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
CI/CD Pipeline / Validate Code Quality And Tests (push) Successful in 45s
Deploy / Production Browser E2E (push) Failing after 2011h12m37s
Deploy / Deploy Production (push) Failing after 2011h12m39s
Deploy / Build Production Runtime Images (push) Failing after 2011h12m43s
Deploy / Deploy Staging (push) Has been cancelled
2026-06-24 20:18:08 +08:00
Xiaoxia AI 6e00c9d3c3 style: sort Python imports for CI
Deploy / Production Browser E2E (push) Failing after 2011h33m25s
Deploy / Deploy Production (push) Failing after 2011h33m27s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 2011h33m28s
Deploy / Build Production Runtime Images (push) Failing after 2011h33m29s
Deploy / Deploy Staging (push) Has been cancelled
2026-06-24 19:57:19 +08:00
Xiaoxia AI e1b9ddaa1e style: format Python files for CI
Deploy / Production Browser E2E (push) Failing after 2011h36m7s
Deploy / Build Production Runtime Images (push) Failing after 2011h36m11s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 2011h36m11s
Deploy / Deploy Staging (push) Has been cancelled
Deploy / Deploy Production (push) Failing after 2012h7m26s
2026-06-24 19:54:36 +08:00
Xiaoxia AI 530b31dc10 feat(plans): add edit plan preview workflow
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
Deploy / Deploy Production (push) Failing after 2021h42m19s
Deploy / Production Browser E2E (push) Failing after 2021h11m0s
Deploy / Build Production Runtime Images (push) Failing after 2021h20m23s
2026-06-24 10:10:25 +08:00
Xiaoxia AI d31e30c494 feat(tasks): retry failed project tasks
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) Failing after 2022h11m24s
Deploy / Production Browser E2E (push) Failing after 2022h1m28s
Deploy / Deploy Production (push) Failing after 2022h2m14s
2026-06-24 09:19:23 +08:00
Xiaoxia AI 43de087282 feat(tasks): add project task center
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) Failing after 2022h51m15s
Deploy / Production Browser E2E (push) Failing after 2022h42m8s
Deploy / Deploy Production (push) Failing after 2022h42m10s
2026-06-24 08:39:32 +08:00
Xiaoxia AI 91df06b84d feat(results): add generated video management
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
Deploy / Production Browser E2E (push) Failing after 2024h53m37s
Deploy / Deploy Production (push) Failing after 2024h53m39s
Deploy / Build Production Runtime Images (push) Failing after 2025h2m41s
2026-06-24 06:28:06 +08:00
Xiaoxia AI 6f1a71e8bd feat(titles): complete title selection workflow
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) Failing after 2030h35m46s
Deploy / Production Browser E2E (push) Failing after 2030h26m37s
Deploy / Deploy Production (push) Failing after 2030h26m39s
2026-06-24 00:55:00 +08:00
Xiaoxia AI bad34ad001 feat(titles): add project title library
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
Deploy / Deploy Production (push) Failing after 2031h22m4s
Deploy / Production Browser E2E (push) Failing after 2030h50m45s
Deploy / Build Production Runtime Images (push) Failing after 2030h59m50s
2026-06-24 00:30:58 +08:00
Xiaoxia AI 57942e06d9 feat(assets): add review actions and high risk view
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
Deploy / Production Browser E2E (push) Failing after 2032h23m47s
Deploy / Deploy Production (push) Failing after 2032h23m49s
Deploy / Build Production Runtime Images (push) Failing after 2032h32m53s
2026-06-23 22:57:56 +08:00
Xiaoxia AI 37e849f90e feat(assets): track generation usage review state
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
Deploy / Production Browser E2E (push) Failing after 2033h28m49s
Deploy / Build Production Runtime Images (push) Failing after 2033h38m1s
Deploy / Deploy Production (push) Failing after 2033h28m51s
2026-06-23 21:52:47 +08:00
Xiaoxia AI a1fc9104aa fix(generation): block tasks without ready videos
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
Deploy / Production Browser E2E (push) Failing after 2033h49m45s
Deploy / Deploy Production (push) Failing after 2033h58m44s
Deploy / Build Production Runtime Images (push) Failing after 2033h58m46s
2026-06-23 21:31:59 +08:00
Xiaoxia AI 989b937ea9 feat(assets): add project material diagnosis
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
Deploy / Deploy Production (push) Failing after 2035h38m52s
Deploy / Production Browser E2E (push) Failing after 2035h7m33s
Deploy / Build Production Runtime Images (push) Failing after 2035h16m36s
2026-06-23 20:14:03 +08:00
Xiaoxia AI 1d638027bf feat(upload): add OSS direct upload flow
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
Deploy / Deploy Production (push) Failing after 2040h6m3s
Deploy / Production Browser E2E (push) Failing after 2039h34m45s
Deploy / Build Production Runtime Images (push) Failing after 2039h43m47s
2026-06-23 15:47:03 +08:00
Xiaoxia AI 136c40360c fix(api): enforce media result permission boundaries
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
Deploy / Deploy Production (push) Failing after 2046h0m31s
Deploy / Build Production Runtime Images (push) Failing after 2046h0m35s
2026-06-23 09:30:09 +08:00
Xiaoxia AI cb2e20ffd4 fix(api): enforce workspace access on project media routes
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
Deploy / Deploy Production (push) Failing after 2059h43m50s
Deploy / Build Production Runtime Images (push) Failing after 2059h52m45s
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 2087h6m23s
Deploy / Deploy Staging (push) Has been cancelled
Deploy / Deploy Production (push) Failing after 2087h4m10s
2026-06-21 16:24:21 +08:00