CodeReview/backend
lintsinghua bfef3b35a6 feat(projects): add ZIP file upload support and source type tracking
- Add source_type field to projects model to distinguish between repository and ZIP sources
- Implement ZIP file storage service with save, load, delete, and metadata operations
- Add database migration to populate source_type for existing projects
- Create ZIP upload endpoint with file handling and metadata tracking
- Add ZIP download endpoint for project file retrieval
- Implement project ZIP info endpoint to check file status and metadata
- Update project creation to support both repository and ZIP source types
- Add project type constants and utility functions for source type handling
- Update database export/import to include source_type field
- Extend frontend components to support ZIP file uploads in project creation
- Add instant analysis page for direct ZIP file scanning without project creation
- Update .gitignore to exclude uploaded ZIP files and metadata
- Enhance project detail and task detail pages with ZIP file management UI
2025-11-28 17:38:12 +08:00
..
alembic feat(projects): add ZIP file upload support and source type tracking 2025-11-28 17:38:12 +08:00
app feat(projects): add ZIP file upload support and source type tracking 2025-11-28 17:38:12 +08:00
uploads feat(projects): add ZIP file upload support and source type tracking 2025-11-28 17:38:12 +08:00
.gitignore feat(projects): add ZIP file upload support and source type tracking 2025-11-28 17:38:12 +08:00
.python-version refactor: 重构项目结构,将前端和后端代码分离到独立目录 2025-11-26 21:11:12 +08:00
Dockerfile feat: Refactor frontend layout with new sidebar and i18n, update backend LLM adapters, and adjust database models. 2025-11-27 18:01:57 +08:00
README_UV.md refactor: 重构项目结构,将前端和后端代码分离到独立目录 2025-11-26 21:11:12 +08:00
UV_MIGRATION.md refactor: 重构项目结构,将前端和后端代码分离到独立目录 2025-11-26 21:11:12 +08:00
alembic.ini feat: Refactor frontend layout with new sidebar and i18n, update backend LLM adapters, and adjust database models. 2025-11-27 18:01:57 +08:00
env.example refactor(llm): consolidate LLM adapters with LiteLLM unified layer 2025-11-28 16:41:39 +08:00
main.py refactor: 重构项目结构,将前端和后端代码分离到独立目录 2025-11-26 21:11:12 +08:00
pyproject.toml refactor(llm): consolidate LLM adapters with LiteLLM unified layer 2025-11-28 16:41:39 +08:00
requirements-lock.txt refactor: 重构项目结构,将前端和后端代码分离到独立目录 2025-11-26 21:11:12 +08:00
requirements.txt feat: Refactor frontend layout with new sidebar and i18n, update backend LLM adapters, and adjust database models. 2025-11-27 18:01:57 +08:00
start.sh refactor: 重构项目结构,将前端和后端代码分离到独立目录 2025-11-26 21:11:12 +08:00
uv.lock feat(projects): add ZIP file upload support and source type tracking 2025-11-28 17:38:12 +08:00