CodeReview/backend/app/api/v1/endpoints
lintsinghua b0861c1690 feat(file-selection): add custom exclude patterns for file filtering
- Add exclude_patterns parameter to get_project_files endpoint for custom file filtering
- Support JSON-formatted exclude patterns array in API requests
- Integrate custom exclude patterns into ZIP and repository file scanning workflows
- Update should_exclude and is_text_file functions to support user-defined patterns
- Pass exclude_patterns through scan configuration in both scan_zip and scan_stored_zip endpoints
- Add ScanRequest model field for exclude_patterns to support pattern specification
- Implement file filtering logic that respects both default and custom exclusion rules
- Add comprehensive unit and E2E tests for file selection and exclusion pattern functionality
- Enable users to customize which files are scanned by specifying glob patterns like ["node_modules/**", "*.log"]
2025-12-10 18:46:33 +08:00
..
__init__.py refactor: 重构项目结构,将前端和后端代码分离到独立目录 2025-11-26 21:11:12 +08:00
auth.py refactor: 重构项目结构,将前端和后端代码分离到独立目录 2025-11-26 21:11:12 +08:00
config.py feat: 添加敏感信息加密存储功能 2025-11-28 17:51:17 +08:00
database.py fix: 修复时间显示问题,使用带时区的UTC时间 2025-12-09 17:47:34 +08:00
members.py 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
projects.py feat(file-selection): add custom exclude patterns for file filtering 2025-12-10 18:46:33 +08:00
prompts.py feat(prompts-scan): integrate prompt templates and audit rules into scan and analysis workflows 2025-12-09 23:03:08 +08:00
rules.py fix(rules): fix unicode encoding error in rule set export filename 2025-12-10 17:43:56 +08:00
scan.py feat(file-selection): add custom exclude patterns for file filtering 2025-12-10 18:46:33 +08:00
tasks.py fix: 修复时间显示问题,使用带时区的UTC时间 2025-12-09 17:47:34 +08:00
users.py feat(users): add comprehensive user management with search, filtering, and admin controls 2025-11-28 01:06:01 +08:00