Commit Graph

6 Commits

Author SHA1 Message Date
lintsinghua ab64fde709 feat: 添加 GitLab 仓库支持和认证配置
- 添加 GitLab Token 环境变量和运行时配置支持
- 实现 GitLab API v4 集成(仓库树和文件获取)
- 在系统配置界面添加 GitLab Token 配置
- 支持容器环境下访问私有 GitLab 仓库
- 优化错误提示和调试日志
- 更新文档说明 GitLab 使用方法
2025-10-27 15:42:02 +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 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 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 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