Commit Graph

22 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 ea97d67165 增加了自定义请求头功能;
修复了API调用的相关功能.
2025-10-26 15:32:39 +08:00
lintsinghua 165372cfd6 新增系统管理功能,可在Web界面修改配置,无需手动修改配置文件,无需重新构建docker镜像 2025-10-26 13:38:17 +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 93bac360f1 feat(deployment): Add Docker support and deployment configuration
- Add Dockerfile for multi-stage build with Node.js and Nginx
- Create docker-compose.yml for simplified container deployment
- Add .dockerignore to optimize Docker build context
- Configure nginx.conf with performance and security optimizations
- Update README.md and README_EN.md with Docker deployment instructions
- Enhance database configuration to support optional Supabase integration
- Improve environment configuration handling for local and containerized environments
Enables easier deployment and provides a standardized container-based setup for the application.
2025-10-23 00:13:48 +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 96e15452e8 feat(audit): Enhance CreateTaskDialog with project preselection
- Add preselectedProjectId prop to CreateTaskDialog component
- Implement automatic project selection when a project ID is provided
- Update useEffect hook to set project ID in task form when preselected
- Add CreateTaskDialog to ProjectDetail page for seamless task creation
- Implement handleCreateTask and handleTaskCreated methods
- Add dialog trigger buttons in both empty state and tasks section
- Improve user experience by simplifying task creation workflow
2025-10-22 22:00:05 +08:00
lintsinghua 6830183cd0 feat(instant-analysis): Enhance code analysis UI and user experience
- Add parseAIExplanation function to handle complex AI explanation parsing
- Implement automatic scrolling to loading card during analysis
- Improve issue rendering with more detailed and visually appealing components
- Add useEffect hook to manage scrolling behavior during analysis
- Refactor issue rendering with enhanced styling and information display
- Include additional context and visual indicators for code issues
- Optimize user interaction and feedback during code analysis process
2025-10-22 21:53:16 +08:00
lintsinghua c287861f5f feat(audit): Add CreateTaskDialog component for audit task creation
- Implement new CreateTaskDialog component for creating audit tasks
- Add comprehensive form with project selection, task configuration options
- Include dynamic project loading and search functionality
- Implement task creation logic with validation and error handling
- Add support for custom exclude patterns and scan configuration
- Integrate with existing API for task creation
- Enhance user experience with responsive design and informative UI elements
2025-10-22 21:33:10 +08:00
lintsinghua ecfc9c02cf style(theme): Refactor global CSS with professional color scheme and design system
- Update root and dark mode color variables using HSL color system
- Implement professional color palette with deep red and gradient backgrounds
- Add custom shadow and gradient variables for enhanced visual design
- Improve component classes with new color tokens and design tokens
- Enhance readability and consistency of color and styling approach
- Introduce more semantic and professional color definitions for light and dark modes
2025-10-22 17:42:48 +08:00
lintsinghua bfd00ae29d feat(branding): Update project logo and favicon
- Replace default favicon with project-specific logo
- Add new logo image file `logo_xcodereviewer.png`
- Update Header component to use new logo image instead of Code icon
- Modify index.html to reference new logo file with correct MIME type
2025-10-22 16:57:52 +08:00
lintsinghua 65520d1ca1 refactor(routing): Update App.tsx routing and import structure
- Moved Header component from @/components/common to @/components/layout
- Updated routes import to include RouteConfig type
- Added type annotation for route mapping to improve type safety
- Adjusted import paths for better project organization
2025-10-22 16:47:07 +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
lintsinghua 7478f6f14f Initial commit: Add XCodeReviewer project files 2025-09-20 00:09:00 +08:00