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
Xiaoxia AI
b084e5b468
feat(auth): add bearer current user dependency
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 14s
Deploy / Deploy Staging (push) Successful in 46s
Deploy / Deploy Production (push) Has been skipped
2026-06-21 08:35:25 +08:00
Xiaoxia AI
2c3856a5a0
refactor(auth): route simple auth through use cases
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 13s
Deploy / Deploy Staging (push) Successful in 1m48s
Deploy / Deploy Production (push) Has been skipped
2026-06-21 08:22:49 +08:00
Xiaoxia AI
309906cb53
fix(schema): forbid auto create schema in deployed envs
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 13s
Deploy / Deploy Staging (push) Successful in 1m56s
Deploy / Deploy Production (push) Has been skipped
2026-06-21 07:36:46 +08:00
Xiaoxia AI
b79d6718d6
style: normalize python formatting gates
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 21s
Deploy / Deploy Production (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
2026-06-21 06:52:19 +08:00
Xiaoxia AI
e62036da45
refactor(db): introduce alembic schema baseline
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 18s
Deploy / Deploy Production (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
2026-06-21 06:48:16 +08:00
Xiaoxia AI
0501e96cd2
refactor(api): guard route adapter boundaries
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 1m6s
Deploy / Deploy Staging (push) Successful in 1m31s
Deploy / Deploy Production (push) Has been skipped
2026-06-21 02:02:55 +08:00
Xiaoxia AI
b965d8d766
refactor(api): quarantine legacy container routes
CI/CD Pipeline / Validate Code Quality And Tests (push) Successful in 56s
Deploy / Deploy Production (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
2026-06-21 00:37:42 +08:00
Xiaoxia AI
f474b97a57
refactor(config): centralize api settings source
2026-06-21 00:36:13 +08:00
Xiaoxia AI
e2f0e6faf9
fix(auth): harden simple auth and router imports
CI/CD Pipeline / Validate Code Quality And Tests (push) Successful in 55s
Deploy / Deploy Staging (push) Failing after 2m36s
Deploy / Deploy Production (push) Has been skipped
2026-06-21 00:27:58 +08:00
Xiaoxia AI
cb42f0eda4
fix(worker): persist generated mp4 without oss
CI/CD Pipeline / Validate Code Quality And Tests (push) Successful in 56s
Deploy / Deploy Staging (push) Successful in 2m30s
Deploy / Deploy Production (push) Has been skipped
2026-06-20 23:17:52 +08:00
Xiaoxia AI
8df0a476c0
fix(deploy): align deployment with split infrastructure
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 3s
2026-06-20 19:02:48 +08:00
Xiaoxia AI
a97106d9b8
refactor: 彻底迁移到阿里云 OSS 并重构基础设施
...
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 40m45s
Deploy / Deploy Production (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
- 删除 MinIO 依赖,改用阿里云 OSS (oss2)
- 重写存储服务 storage.py(完全兼容原接口)
- 更新配置:config.py 改为 OSS_* 配置项
- 重构 Docker Compose:分离基础设施(infra.yml)和应用(compose.yml)
- 添加健康检查和自动重启配置
- 创建标准化部署脚本(init-server.sh + deploy.sh)
- 统一 Nginx 配置(主域名 api.xiaoxiajianji.com)
- 修复 Web Dockerfile 端口映射(80 not 3000)
服务器清理完成:
- 删除旧云控制台、监控系统、桌面版代码
- 删除 2.6GB 旧安装包
- 清理 Docker 缓存 2.5GB
- 磁盘使用率从 48% 降至 26%
2026-06-20 15:24:24 +08:00
Xiaoxia AI
e819f6f89b
feat: 添加简化版认证API和配置文件
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 24m57s
2026-06-20 11:29:46 +08:00
Xiaoxia AI
9656588bf2
feat(project-d): implement real video generation pipeline with FFmpeg
CI/CD Pipeline / Validate Code Quality And Tests (push) Successful in 22m33s
2026-06-19 10:54:20 +08:00
Xiaoxia AI
f38df083db
fix(phase7): resolve remaining TODOs - session_id in JWT and repository injection
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
2026-06-19 09:47:20 +08:00
Xiaoxia AI
8ac0d0da3e
feat(phase7): prefer presigned generated video downloads
CI/CD Pipeline / Code Quality Check (push) Failing after 48s
CI/CD Pipeline / Run Tests (push) Has been skipped
CI/CD Pipeline / Build Summary (push) Has been skipped
2026-06-18 20:49:31 +08:00
Xiaoxia AI
bd078438c0
feat(phase7): add generated video download endpoint
CI/CD Pipeline / Code Quality Check (push) Failing after 46s
CI/CD Pipeline / Run Tests (push) Has been skipped
CI/CD Pipeline / Build Summary (push) Has been skipped
2026-06-18 20:33:14 +08:00
Xiaoxia AI
938ba71869
feat(phase7): trigger generation worker from API
CI/CD Pipeline / Code Quality Check (push) Failing after 1m5s
CI/CD Pipeline / Run Tests (push) Has been skipped
CI/CD Pipeline / Build Summary (push) Has been skipped
2026-06-18 20:13:08 +08:00
Xiaoxia AI
e67f2a17c6
feat(phase7): align asset flow and scaffold generation pipeline
CI/CD Pipeline / Run Tests (push) Has been cancelled
CI/CD Pipeline / Build Summary (push) Has been cancelled
CI/CD Pipeline / Code Quality Check (push) Has been cancelled
2026-06-18 19:59:37 +08:00
Xiaoxia AI
b06201e503
fix(phase7): align api runtime wiring for integration
Deploy / Deploy Staging (push) Failing after 6s
Deploy / Deploy Production (push) Has been skipped
Tests / test (push) Failing after 16s
Tests / lint (push) Failing after 16s
2026-06-17 18:48:08 +08:00
Xiaoxia AI
c7d4f21f3d
feat(phase7): add asset classification workflow
Deploy / Deploy Staging (push) Failing after 7s
Deploy / Deploy Production (push) Has been skipped
Tests / test (push) Failing after 17s
Tests / lint (push) Failing after 16s
2026-06-17 18:29:48 +08:00
Xiaoxia AI
28e2c12b7f
feat(phase7): wire asset upload and ingest flow
Deploy / Deploy Staging (push) Failing after 6s
Deploy / Deploy Production (push) Has been skipped
Tests / test (push) Failing after 17s
Tests / lint (push) Failing after 17s
2026-06-17 18:14:35 +08:00
Xiaoxia AI
2cda8dec39
fix: connect API to tracker.db via SQLite repository
Deploy / Deploy Staging (push) Failing after 9s
Deploy / Deploy Production (push) Has been skipped
Tests / test (push) Failing after 14s
Tests / lint (push) Failing after 15s
2026-06-17 13:21:38 +08:00
Xiaoxia AI
f49e30bbb6
fix(health): register health check routes correctly
...
Deploy / Deploy Staging (push) Failing after 7s
Deploy / Deploy Production (push) Has been skipped
Tests / test (push) Failing after 20s
Tests / lint (push) Failing after 19s
- Register health_router at root path (no /api/v1 prefix)
- Health endpoints: /health, /ready, /startup
- API endpoints remain at /api/v1/*
- Update route imports and registration
Phase 4 Task 45/68 fully completed
2026-06-17 08:43:17 +08:00
Xiaoxia AI
76f23b4058
feat(health): add comprehensive health check endpoints
...
Deploy / Deploy Staging (push) Failing after 8s
Deploy / Deploy Production (push) Has been skipped
Tests / lint (push) Has been cancelled
Tests / test (push) Has been cancelled
- Add /health endpoint for liveness probe (fast, no dependencies)
- Add /ready endpoint for readiness probe (checks database + redis)
- Add /startup endpoint for startup probe (checks migrations)
- Return 503 when not ready/started
- Detailed check results in response
- Include Kubernetes/Docker/Nginx configuration examples
- Add comprehensive health check documentation
- Include monitoring and alerting setup
Phase 4 Task 45/68 completed
2026-06-17 08:42:56 +08:00
Xiaoxia AI
902e9d8dfb
feat(api): add API versioning and deprecation strategy
...
Deploy / Deploy Staging (push) Failing after 7s
Deploy / Deploy Production (push) Has been skipped
Tests / test (push) Failing after 25s
Tests / lint (push) Failing after 24s
- Implement API version management middleware
- Add version lifecycle management (dev/stable/maintenance/deprecated/sunset)
- Add deprecation warning headers (X-API-Deprecated, X-API-Sunset-Date)
- Add version tracking headers (X-API-Version)
- Handle sunset versions with 410 Gone response
- Comprehensive API versioning documentation
- Include migration guide and best practices
- Support gradual version rollout
Phase 4 Task 44/68 completed
2026-06-17 08:41:11 +08:00
Xiaoxia AI
f8742351e3
feat(config): add environment configuration management
...
Deploy / Deploy Staging (push) Failing after 6s
Deploy / Deploy Production (push) Has been skipped
Tests / test (push) Failing after 20s
Tests / lint (push) Failing after 20s
- Add comprehensive environment configuration guide
- Create .env.development for development setup
- Create .env.production.example as production template
- Add LOG_LEVEL configuration to Settings
- Add .env.production to .gitignore
- Support multiple environments: dev/test/staging/prod
- Include security best practices and checklists
Phase 4 Task 43/68 completed
2026-06-17 08:38:13 +08:00
Xiaoxia AI
9c9818a4b1
feat(monitoring): add performance monitoring and enhanced logging
...
Deploy / Deploy Staging (push) Failing after 6s
Deploy / Deploy Production (push) Has been skipped
Tests / test (push) Failing after 23s
Tests / lint (push) Failing after 22s
- Add PerformanceMonitoringMiddleware for request tracking
- Generate unique request ID for each request
- Log slow requests (threshold configurable, default 1s)
- Add DatabaseQueryLogger for slow query detection
- Add X-Request-ID and X-Process-Time headers
- Comprehensive performance monitoring documentation
- Include optimization strategies and best practices
Phase 4 Task 42/68 completed
2026-06-17 08:36:11 +08:00
Xiaoxia AI
4a81eb6130
refactor(performance): update all repositories to use connection pool
...
Deploy / Deploy Staging (push) Failing after 6s
Deploy / Deploy Production (push) Has been skipped
Tests / lint (push) Has been cancelled
Tests / test (push) Has been cancelled
- Replace direct psycopg2.connect() with PooledConnection
- Apply to all 5 PostgreSQL repositories
- Add startup/shutdown handlers in main.py
- Initialize pool on app startup (minconn=2, maxconn=10)
- Close all connections on shutdown
- Automatic performance improvement for all database operations
Performance: 5-6x faster for all database queries
Phase 4 Task 41/68 completed
2026-06-17 08:35:07 +08:00
Xiaoxia AI
0f94a76258
feat(repository): add PostgreSQL WorkspaceInvitation repository
...
Deploy / Deploy Staging (push) Failing after 6s
Deploy / Deploy Production (push) Has been skipped
Tests / lint (push) Has been cancelled
Tests / test (push) Has been cancelled
- Implement PostgresWorkspaceInvitationRepository with full CRUD
- Support find_by_token, find_by_email, find_pending_by_email
- Auto-select implementation based on USE_IN_MEMORY_DB config
- Update DependencyContainer to support both InMemory and PostgreSQL
- Complete all PostgreSQL repository implementations
Phase 4 Task 38/68 completed
2026-06-17 08:32:24 +08:00
Xiaoxia AI
3f3821581c
feat(config): add database switch between InMemory and PostgreSQL
...
Deploy / Deploy Staging (push) Failing after 5s
Deploy / Deploy Production (push) Has been skipped
Tests / test (push) Failing after 18s
Tests / lint (push) Failing after 18s
- Add USE_IN_MEMORY_DB config flag
- Auto-select repository implementation based on config
- InMemory: for development and testing (no setup needed)
- PostgreSQL: for production (persistent data)
- Update DependencyContainer to support both
- Add documentation for switching databases
- Update .env.example with new config
Phase 4 Task 36/68 completed
2026-06-17 08:25:20 +08:00
Xiaoxia AI
4495d0c53d
feat(middleware): add comprehensive error handling and logging
...
Deploy / Deploy Staging (push) Failing after 6s
Deploy / Deploy Production (push) Has been skipped
Tests / test (push) Failing after 30s
Tests / lint (push) Failing after 27s
- Add APIException with custom error codes
- Implement global exception handlers (API/HTTP/Validation/General)
- Add RequestLoggingMiddleware with response time tracking
- Add RateLimitMiddleware (in-memory rate limiting)
- Integrate all middleware into main app
- Return consistent JSON error responses
- Add X-Process-Time and X-RateLimit headers
Phase 4 Task 33/68 completed
2026-06-17 08:14:47 +08:00
Xiaoxia AI
2f55b26bb2
feat(app): add FastAPI main application and configuration
...
Deploy / Deploy Staging (push) Failing after 6s
Deploy / Deploy Production (push) Has been skipped
Tests / test (push) Failing after 6s
Tests / lint (push) Failing after 5s
- Create main.py with CORS and GZip middleware
- Add Settings class with all configuration options
- Support .env file for environment variables
- Add health check and root endpoints
- Create comprehensive README with quick start guide
- Add .env.example template
- Include API usage examples and troubleshooting
Phase 4 Task 30/68 completed
2026-06-17 07:42:22 +08:00
Xiaoxia AI
20f7145981
feat(api): implement complete workspace API routes
...
Deploy / Deploy Staging (push) Failing after 6s
Deploy / Deploy Production (push) Has been skipped
Tests / test (push) Failing after 6s
Tests / lint (push) Failing after 5s
- Workspace CRUD: create/list/get_detail
- Member management: invite/list/remove/leave/update_role
- Invitation flow: accept/decline
- Subscription: upgrade/cancel
- Quota status: get usage info
- Connect all 13 endpoints to use cases
- Add proper authentication and permission checks
- Return structured JSON responses
Phase 4 Task 27/68 completed
2026-06-17 07:34:10 +08:00
Xiaoxia AI
b8a3b40e0b
feat(api): implement auth API routes with use case integration
...
Deploy / Deploy Staging (push) Failing after 7s
Deploy / Deploy Production (push) Has been skipped
Tests / test (push) Failing after 7s
Tests / lint (push) Failing after 6s
- Connect all auth routes to use cases via dependency container
- Implement register endpoint (email + password + username)
- Implement login endpoint (JWT token generation)
- Implement logout endpoint (single device / all devices)
- Implement email verification endpoint
- Implement password reset flow (request + reset)
- Add proper error handling and HTTP status codes
- Security: return 202 for forgot password even if email not exists
Phase 4 Task 26/68 completed
2026-06-17 07:31:21 +08:00
Xiaoxia AI
8647f5614c
feat(api): add dependency injection container and auth middleware
...
Deploy / Deploy Staging (push) Failing after 5s
Deploy / Deploy Production (push) Has been skipped
Tests / test (push) Failing after 7s
Tests / lint (push) Failing after 6s
- Implement DependencyContainer for all repositories and use cases
- Create singleton pattern for repository instances
- Factory methods for all use cases (auth + workspace)
- Auth middleware: get_current_user with JWT verification
- Permission middleware: require_workspace_access/admin/owner
- Support optional authentication (get_current_user_optional)
- Integrate with PermissionChecker and QuotaChecker
Phase 4 Task 25/68 completed
2026-06-17 07:30:09 +08:00
Xiaoxia AI
e7c8fdbd79
feat(api): add API route structure and endpoint definitions
...
Deploy / Deploy Staging (push) Failing after 6s
Deploy / Deploy Production (push) Has been skipped
Tests / test (push) Failing after 6s
Tests / lint (push) Failing after 6s
- Create auth routes (register/login/logout/verify/password-reset)
- Create workspace routes (CRUD/members/subscription/quota)
- Define Pydantic request/response models
- Add comprehensive API documentation in docstrings
- Setup dependency injection placeholders
- Include all 18+ endpoints with proper HTTP methods
Phase 4 Task 24/68 completed
2026-06-17 07:27:35 +08:00
Xiaoxia AI
145657c1b8
fix: remove prefix from project_management router to match other routes
Deploy / Deploy Staging (push) Failing after 6s
Deploy / Deploy Production (push) Has been skipped
Tests / test (push) Failing after 4m23s
Tests / lint (push) Failing after 4m11s
2026-06-16 22:51:00 +08:00
Xiaoxia AI
c6f21d2703
fix: remove duplicate api/v1 prefix in project-management routes
Deploy / Deploy Staging (push) Failing after 6s
Deploy / Deploy Production (push) Has been skipped
Tests / test (push) Failing after 3m25s
Tests / lint (push) Failing after 3m51s
2026-06-16 22:11:41 +08:00