Commit Graph

1195 Commits

Author SHA1 Message Date
CI Test 9d54b3e586 fix: correct all import paths for jwt_service and password_hasher (move from domain to application)
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (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-27 21:41:56 +08:00
CI Test 06574c85a2 fix: correct import paths in domain/auth/__init__.py for jwt_service and password_hasher
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (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-27 21:39:56 +08:00
CI Test e1efbdaf6e fix: resolve circular import for password_hasher/password_validator in auth __init__
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (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-27 21:33:51 +08:00
CI Test 5b47d1adb7 fix: 修复 password_reset_use_case 循环导入问题
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (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-27 21:30:57 +08:00
CI Test ebcfa7280d fix: 修复 password_reset_use_case 循环导入问题 2026-06-27 21:30:47 +08:00
xiaoxia c7d2407c57 Merge pull request 'fix: API Dockerfile使用阿里云PyPI镜像加速' (#60) from fix/api-dockerfile-pypi-mirror into develop
Tests / test (push) Failing after 0s
Tests / lint (push) Failing after 0s
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (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
v0.1.66
2026-06-27 21:02:51 +08:00
CI Test 46d9b9edfe fix: add Chinese apt mirrors to both Dockerfiles for faster builds
Tests / test (push) Failing after 2s
Tests / lint (push) Failing after 0s
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (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-27 20:38:37 +08:00
xiaoxia 8a3ae63497 fix: API Dockerfile使用阿里云PyPI镜像加速pip安装
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 20:32:33 +08:00
CI Test c6784a01f3 Merge: fix api.Dockerfile pip mirror for v0.1.65 build
Tests / test (push) Failing after 0s
Tests / lint (push) Failing after 0s
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (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
Auto Merge PRs / auto-merge (push) Failing after 0s
2026-06-27 20:26:41 +08:00
CI Test aade9fa938 fix: add HTTPS pip mirror to api.Dockerfile to fix build failure 2026-06-27 20:26:41 +08:00
xiaoxia 3a03699bf1 Merge branch 'develop' of https://git.xiaoxiajianji.com/xiaoxia/xiaoxia-saas into fix/env-var-name-mismatch 2026-06-27 20:22:52 +08:00
CI Test ef8c210c6e fix: 修复 WorkspaceDetail.tsx TS 编译错误(移除 workspace_id 参数)
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (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-27 20:19:05 +08:00
CI Test 7c8ae7f3cc fix: 添加 /projects 路由修复登录后页面空白
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (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-27 20:16:35 +08:00
CI Test 82e5f9d4a0 fix: replace heredoc with base64 pipe in deploy.yml to fix YAML parse error
Tests / test (push) Failing after 1s
Tests / lint (push) Failing after 1s
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (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-27 20:13:01 +08:00
xiaoxia 514ad94ebd Merge pull request 'feat: 分片上传功能实现' (#47) from feature/chunked-upload into develop
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Has been cancelled
v0.1.65
2026-06-27 19:52:54 +08:00
xiaoxia a357962387 Merge pull request 'fix: 修复 Celery Worker 任务注册和启动入口' (#57) from fix/celery-worker 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 19:52:47 +08:00
xiaoxia d1833d0bd4 fix: 修复 ENABLE_REDIS_SESSION 变量名不匹配导致登录500 (#58)
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Has been cancelled
Co-authored-by: xiaoxia-dev <dev@xiaoxiajianji.com>
Co-committed-by: xiaoxia-dev <dev@xiaoxiajianji.com>
2026-06-27 19:52:35 +08:00
xiaoxia 6871e191ae fix: 修复 ENABLE_REDIS_SESSION -> ENABLE_REDIS_SESSIONS 变量名不匹配导致登录500
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 19:52:17 +08:00
xiaoxia e13ac8da52 Merge pull request 'fix: 技术债务修复 - Domain层依赖优化' (#49) from fix/tech-debt-final 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 19:47:00 +08:00
Celery Worker Fix Agent 8210806632 fix: 修复 Celery Worker 任务注册和导入问题
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Has been cancelled
CI/CD Pipeline / Frontend Lint (pull_request) Has been cancelled
1. 修复 Worker 启动入口: celery_app → worker_app.celery_app
   - 旧 celery_app.py 不导入任何任务模块,导致 Worker 注册 0 个任务
   - 删除旧版 apps/worker/celery_app.py,统一使用 worker_app/celery_app.py

2. 为缺少装饰器的任务补充 @celery_app.task:
   - classification.py: classify_asset() 添加装饰器
   - generation.py: generate_video() 添加装饰器,修正签名匹配 API 调用方式

3. 确保 voice_extraction 任务被正确注册:
   - 添加 voice_extraction 到 celery_app imports
   - 修复 voice_extraction.py 中错误的相对导入 (.celery_app → worker_app.celery_app)
   - 修复 dedup.py 中指向已删除模块的导入

4. 修复 worker_app/celery_app.py:
   - 添加 broker_connection_retry_on_startup=True
   - imports 中添加 voice_extraction 和 dedup 模块

5. 修复 Dockerfile:
   - CMD 改为 celery -A worker_app.celery_app
   - 添加非 root 用户 celery 运行 Worker

6. 新建 packages/shared/config.py 和 storage.py 兼容层
   - 为 worker 任务模块提供统一的 config/storage 访问入口
2026-06-27 19:31:07 +08:00
Xiaoxia AI 10bcf35d43 ci: trigger v0.1.57 production deployment
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Has been cancelled
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 19:24:37 +08:00
Xiaoxia AI 3d4626d7d3 trigger: redeploy after docker mirror fix 2026-06-27 19:24:37 +08:00
Xiaoxia AI 95f04a588b trigger: validate prebuilt ci image 2026-06-27 19:24:37 +08:00
Xiaoxia AI cfd7453458 trigger: 重新触发 CI/CD(使用优化后的轻量级镜像) 2026-06-27 19:24:37 +08:00
Xiaoxia AI 74ac98dd80 chore: wire deployment to environment-based configuration 2026-06-27 19:24:36 +08:00
Xiaoxia AI 0675aed24d chore: add production environment configuration system 2026-06-27 19:24:32 +08:00
CI Test 02992a3fcd P2-2: Move auth services from domain to application layer
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Has been cancelled
CI/CD Pipeline / Frontend Lint (pull_request) Has been cancelled
- Move jwt_service.py from packages/domain/auth to packages/application/auth
- Move password_hasher.py from packages/domain/auth to packages/application/auth
- Update all import paths in use cases and tests
2026-06-27 19:23:56 +08:00
xiaoxia b711df58a9 chore: trigger CI/Deploy pipeline test 2026-06-27 19:23:56 +08:00
xiaoxia deedfef13f fix: resolve CI check failures - format code and add nosec comment 2026-06-27 19:23:56 +08:00
CI Bot 420c6b8062 ci: trigger rebuild after fixing runner label matching 2026-06-27 19:23:56 +08:00
Xiaoxia AI 8b829c4293 ci: trigger v0.1.57 production deployment 2026-06-27 19:23:56 +08:00
Xiaoxia AI 46c1620de2 trigger: redeploy after docker mirror fix 2026-06-27 19:23:56 +08:00
Xiaoxia AI 771ef6f2c8 trigger: validate prebuilt ci image 2026-06-27 19:23:56 +08:00
Xiaoxia AI cd1d7fb411 trigger: 重新触发 CI/CD(使用优化后的轻量级镜像) 2026-06-27 19:23:56 +08:00
Xiaoxia AI 1cd986c8b1 chore: wire deployment to environment-based configuration 2026-06-27 19:23:56 +08:00
Xiaoxia AI 19e7214643 chore: add production environment configuration system 2026-06-27 19:22:59 +08:00
xiaoxia 4f238b2e0b Merge PR #55: docs API文档准确性修复
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Has been cancelled
2026-06-27 19:02:55 +08:00
API文档维护Agent 8064b64ff5 docs: API文档准确性修复
1. 修正上传端点schema命名:新增UploadAssetRequest模型替代自动生成的Body_upload_asset名称
2. 清理认证重复端点:移除/forgot-password和/reset-password旧路由,保留/password/forgot和/password/reset
3. 清理workspace_id残留:从edit_plan/asset_diagnosis/task_center/project_title等schema中移除,project_management和projects中改为可选
4. 更新README:移除过时的多租户/订阅/refresh token描述,修正仓库地址为git.xiaoxiajianji.com,更新API路径列表
2026-06-27 19:02:31 +08:00
xiaoxia 0029adf2a3 Merge PR #56: fix 修复前端构建问题 2026-06-27 19:02:04 +08:00
xiaoxia e5abcdc340 Merge PR #54: fix(security) 删除.env.production并清理硬编码密码 2026-06-27 19:01:26 +08:00
xiaoxia 1749f7f059 Merge PR #48: feat: 视频剪辑模式支持 2026-06-27 19:00:50 +08:00
Audit Bot bad52fd1d0 fix: 修复前端构建问题 - 恢复 develop 分支配置
- develop 分支已包含完整的 package.json、tsconfig.json、vite.config.ts
- develop 分支已包含完整的路由、useAuth、api/tasks 实现
- @/ 路径别名已在 tsconfig 和 vite 配置中正确设置

额外修复:
- 删除 Next.js 残留文件 (next.config.js, next-env.d.ts)
- 删除死代码:workspaceStore.ts(从未被引用)、QuotaDisplay.tsx(从未被使用)
- 删除 Vite 脚手架残留:App.tsx、App.css
- Header.tsx 添加 Header.css 导入,修复顶部导航无样式问题

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-27 18:16:43 +08:00
XiaoXia Bot 0b990017ca fix(security): 删除 .env.production 并清理硬编码密码
- 删除 .env.production(含占位符密钥,已从版本控制移除)
- scripts/smoke_public_*.py: 密码改为从环境变量 SMOKE_TEST_PASSWORD 读取
- infra/docker/infra.yml: POSTGRES_PASSWORD 改为引用环境变量
- packages/application/auth/jwt_handler.py: 文档示例密钥改为占位符
2026-06-27 18:10:52 +08:00
xiaoxia 48d3754956 Merge pull request 'fix: 修复后端 8 项审计问题 (P1/P2)' (#51) from fix/audit-backend-p1p2 into develop 2026-06-27 17:20:32 +08:00
Audit Bot 401564f9f2 feat(#31): 添加密钥轮换机制支持
- 添加 JWT_SECRET_KEY_OLD 配置项支持双密钥平滑迁移
- 添加 SECRET_ROTATION_DAYS 配置项(默认90天)提示轮换周期
- 创建 docs/KEY-ROTATION.md 密钥轮换操作指南文档
- 包含完整的轮换流程和注意事项
2026-06-27 17:20:17 +08:00
Audit Bot 2c6d920bcb 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 627fe0eb8b fix(#23,#24): 统一 storage_key/file_url 命名和 file_size 类型
- AssetModel: 添加 storage_key 字段注释说明为 OSS 对象键
- AssetModel/GeneratedVideoModel: file_size 从 Float 改为 Integer
- 添加 file_url 字段注释说明为完整可访问 URL
- 确保字节数精度,避免浮点数精度问题
2026-06-27 17:20:17 +08:00
Audit Bot 793104c8e7 fix(#12): 实现 refresh token 查找功能
- 完善 _find_session_by_refresh_token() 方法
- 使用 session_store.get_session_by_refresh_token() 直接查询
- 利用 Redis 反向索引实现 O(1) 查找复杂度
2026-06-27 17:20:17 +08:00
Audit Bot b58388dec0 fix(#17): 调整数据库连接池配置
- 将 DATABASE_MAX_OVERFLOW 从 40 调整为 10
- pool_size(20) + max_overflow(10) = 最大 30 连接
- 添加注释说明连接池配置
2026-06-27 17:20:17 +08:00
xiaoxia 15b49082d1 Merge pull request 'fix: 修复前端审计问题 (#26-28)' (#50) from fix/audit-frontend-p2 into develop 2026-06-27 17:19:51 +08:00