Commit Graph

12 Commits

Author SHA1 Message Date
lintsinghua 9d2897773d feat: 优化审计任务UI和错误处理
- 隐藏审计进度对话框中的 pending 状态日志
- 优化仓库扫描任务的状态更新时机
- 增强错误处理:添加连续失败和失败率检测
2025-10-27 16:27:01 +08:00
lintsinghua ab64fde709 feat: 添加 GitLab 仓库支持和认证配置
- 添加 GitLab Token 环境变量和运行时配置支持
- 实现 GitLab API v4 集成(仓库树和文件获取)
- 在系统配置界面添加 GitLab Token 配置
- 支持容器环境下访问私有 GitLab 仓库
- 优化错误提示和调试日志
- 更新文档说明 GitLab 使用方法
2025-10-27 15:42:02 +08:00
lintsinghua a54b8da672 fix: .cc/.hh后缀文件无法进行纳入审计的问题. 2025-10-26 20:56:29 +08:00
lintsinghua e07ecd3ce2 feat(audit): Implement task cancellation and progress tracking
- Add task cancellation functionality to allow users to stop ongoing audit tasks.
- Introduce a global task control manager to manage task states and cancellations.
- Update CreateTaskDialog and TerminalProgressDialog components to handle ZIP file uploads and repository audits.
- Enhance progress tracking in both ZIP and repository scans, ensuring real-time updates.
- Modify task status handling to include 'cancelled' state and update UI accordingly.
- Refactor utility functions for calculating task progress percentages.
- Update relevant components and services to support new task management features.
2025-10-25 22:14:56 +08:00
lintsinghua 9fc95f8daf feat(reports): Add comprehensive report export functionality
- Implement export report dialog in task detail page
- Add support for JSON and PDF report export formats
- Create report export service with export logic
- Update README.md and README_EN.md with report export documentation
- Add package-lock.json to ensure consistent dependency versions
Enhances user experience by providing flexible and detailed audit report export options for better documentation and sharing of code review results.
2025-10-24 20:56:24 +08:00
lintsinghua 68477ebfd4 feat(audit): Add terminal progress dialog for audit tasks
- Implement TerminalProgressDialog component for real-time task tracking
- Enhance CreateTaskDialog to launch terminal progress dialog after task creation
- Add dynamic log tracking and status polling for audit tasks
- Improve user experience by providing immediate feedback during task initialization
- Support both repository and zip file audit task types
- Implement real-time logging with timestamp and status updates
- Add error handling and state management for task progress tracking
2025-10-24 20:23:22 +08:00
lintsinghua 6d1071289c feat(dashboard): Enhance data loading and display for dynamic dashboard
- Implement robust error handling for dashboard data fetching
- Add support for real-time data loading with fallback to empty states
- Generate dynamic issue type and quality trend data from actual task data
- Introduce demo mode indicator and informative alert for data context
- Improve console logging for data retrieval failures
- Update stats display to handle zero or undefined data gracefully
- Add database mode and demo mode context to dashboard rendering
Resolves data display inconsistencies and provides more transparent user feedback about current application state
2025-10-24 19:05:23 +08:00
lintsinghua 3f7cc276d9 feat(database): Add local database support with IndexedDB and multi-mode configuration
- Introduce three database modes: local IndexedDB, Supabase cloud, and demo mode
- Update `.env.example` with comprehensive database configuration options
- Add new database management components for local storage and status tracking
- Implement local database initialization and configuration utilities
- Update Dockerfile and docker-compose.yml to support local database environment variable
- Enhance README documentation with detailed database mode explanations and usage guidance
- Add configuration for output language selection in environment settings
- Refactor database configuration to support flexible storage strategies
- Improve error handling and configuration management for database interactions
Resolves database persistence and provides users with flexible data storage options across different use cases.
2025-10-24 18:34:55 +08:00
lintsinghua 613177e091 Add support for Ollama local models in LLM configuration and enhance README documentation. Update .env.example to include Ollama settings, improve error handling in code analysis, and refine logging for LLM interactions. 2025-10-24 12:25:29 +08:00
lintsinghua 363608a836 Refactor LLM configuration and add support for multiple providers in environment setup. Update README and example files to reflect new configuration options and usage instructions. Introduce LLM service architecture with adapters for various AI providers. 2025-10-24 10:59:05 +08:00
lintsinghua 9b11e47b36 feat(audit): Enhance CreateTaskDialog with improved task creation workflow
- Add navigation to project details page after task creation
- Update task creation process with more detailed toast notifications
- Modify created_by field to handle null scenario for system users
- Refactor CreateTaskDialog to improve user experience and error handling
- Optimize repoScan service with more robust background task processing
- Update example image for visual consistency
Improves the audit task creation flow by providing better user feedback and streamlining the post-creation experience.
2025-10-22 22:18:19 +08:00
lintsinghua a12633b47d refactor(project-structure): Restructure project architecture and improve code organization
- Reorganize source code into feature-based and shared module structure
- Move components, services, and hooks into more logical directories
- Update project configuration files to reflect new structure
- Add .env.example template for easier environment setup
- Enhance README.md with more detailed project information and setup instructions
- Consolidate utility functions and hooks into shared modules
- Remove deprecated or unused files and components
- Improve type definitions and configuration management
- Update routing and main application configuration
This refactoring aims to improve code maintainability, readability, and scalability by implementing a more modular and organized project structure.
2025-10-22 15:12:59 +08:00