Commit Graph

437 Commits

Author SHA1 Message Date
lintsinghua d9cd0d73f9
更新 README.md 2025-12-05 15:25:08 +08:00
lintsinghua e3f96aac86
更新 README.md 2025-12-05 15:22:52 +08:00
lintsinghua f982d6a5e6 feat: 添加演示账户和演示数据,完善项目文档
- 添加演示账户 demo@example.com / demo123
- 创建 6 个演示项目和 15 个审计任务
- 完善 DEPLOYMENT.md、CONFIGURATION.md、LLM_PROVIDERS.md、FAQ.md 文档
- 更新 CONTRIBUTING.md、SECURITY.md、DISCLAIMER.md
- 前端版本号自动从 package.json 读取
- 仪表盘项目概览显示 6 个项目
- 版本号更新为 2.0.0-beta.3
2025-12-05 15:09:39 +08:00
lintsinghua 1550e51662
Add footer with creator information to README
Added a footer message indicating the creator of the project.
2025-12-05 14:40:54 +08:00
lintsinghua 4091e3ed13
Update README.md 2025-12-05 14:40:00 +08:00
lintsinghua 4f8823c584
Update README.md 2025-12-05 14:39:30 +08:00
lintsinghua 50d9d71f90 docs: expand contributing guidelines and improve documentation structure
- Restructure CONTRIBUTING.md with comprehensive sections including code of conduct, development setup, and PR workflow
- Add detailed environment requirements table with version specifications and descriptions
- Include step-by-step backend and frontend setup instructions with database initialization
- Document code standards for both Python (Ruff, mypy) and TypeScript (Biome) with example commands
- Add conventional commits specification with type definitions and practical examples
- Provide complete PR process guide from forking through code review
- Include project structure diagram for better navigation
- Expand DISCLAIMER.md with improved formatting, tables, and clearer responsibility sections
- Add AI analysis limitations and technical constraints documentation
- Update SECURITY.md with enhanced security guidelines
- Refresh backend/env.example and frontend/.env.example with current configuration options
- Create new docs/ARCHITECTURE.md for system design documentation
- Update docs/CONFIGURATION.md, docs/DEPLOYMENT.md, docs/FAQ.md, and docs/LLM_PROVIDERS.md with improved clarity and structure
- Improve overall documentation consistency and user experience across all guides
2025-12-05 14:37:07 +08:00
lintsinghua c454db6159 docs: improve README formatting and spacing
- Add blank line before call-to-action section for better visual separation
- Enhance readability of features section with improved spacing
- Maintain consistent formatting throughout documentation
2025-12-05 14:21:35 +08:00
lintsinghua 50fcc5af33 docs: simplify README formatting and improve content structure
- Remove emoji prefixes from core capabilities list for cleaner presentation
- Convert LLM platforms table to bullet point format for better readability
- Simplify roadmap section by removing blockquote and restructuring content
- Update contribution section heading from "一起让它变得更好" to "贡献"
- Streamline contribution description and remove extra line breaks
- Improve visual hierarchy and consistency across documentation sections
2025-12-05 14:20:31 +08:00
lintsinghua 0f0c68b8ee docs: update roadmap and documentation sections with more realistic goals
- Rewrite future roadmap with honest assessment of current limitations and planned improvements
- Simplify vision statement to reflect actual project maturity and development priorities
- Reorganize documentation section from table format to inline list with descriptions
- Update contribution section with clearer call-to-action and remove badge image
- Make content more conversational and approachable for users and contributors
- Emphasize cross-file analysis and hybrid analysis engine as key future features
2025-12-05 14:08:04 +08:00
lintsinghua 520e2afe3b
Update README.md 2025-12-05 13:57:40 +08:00
lintsinghua a8e6759d7f
Update README.md 2025-12-05 13:54:49 +08:00
lintsinghua f961e6a197 docs: restructure README with improved layout and formatting
- Replace centered HTML alignment with markdown heading and div styling
- Convert core capabilities table to bullet point list format
- Convert roadmap table to bullet point list format
- Add TypeScript badge to technology stack
- Reorganize contact section from centered links to bullet point list
- Add "Star this project" banner image to header
- Add development notice about multi-Agent PR batch audit version
- Improve visual hierarchy and readability of key sections
- Maintain all existing content while enhancing presentation
2025-12-05 13:52:48 +08:00
lintsinghua 0e00514aad docs: redesign README with improved visual hierarchy and content structure
- Restructure header with centered logo, title, and tagline for better visual impact
- Add comprehensive badge section showcasing version, tech stack, and social links
- Reorganize content with new "What is this?" section addressing user pain points
- Introduce "Why choose us?" comparison table highlighting key differentiators
- Replace text-based feature list with visual demo table showing screenshots
- Simplify quick start guide to 3-step process with clearer instructions
- Add core capabilities table for better feature discoverability
- Create LLM platform support table with categorized provider grouping
- Add future roadmap section with planned features and improvements
- Improve overall readability with better spacing, formatting, and visual hierarchy
- Enhance user engagement with emoji usage and conversational tone throughout
2025-12-05 13:48:34 +08:00
lintsinghua 318e836ebd
Update README.md 2025-12-05 13:39:18 +08:00
lintsinghua 8f113493e1 docs: add comprehensive documentation and guidelines
- Add CONTRIBUTING.md with development setup, code standards, and contribution workflow
- Add DISCLAIMER.md with privacy warnings, liability disclaimers, and user responsibilities
- Add SECURITY.md for code security and privacy guidelines
- Add docs/CONFIGURATION.md with backend configuration and database setup instructions
- Add docs/DEPLOYMENT.md with Docker and local development deployment guides
- Add docs/FAQ.md with frequently asked questions and troubleshooting
- Add docs/LLM_PROVIDERS.md with 10+ LLM platform configurations and API key setup
- Update README.md with documentation navigation table and streamlined feature descriptions
- Consolidate scattered documentation into organized docs/ directory for better maintainability
2025-12-05 13:38:14 +08:00
lintsinghua 5d28f066b4
Update README.md 2025-12-05 13:32:27 +08:00
lintsinghua 6fd305eac9 fix: 修复多个问题
- 修复创建ZIP项目时缺少source_type字段的问题
- 修复LiteLLM模型名称被错误解析为effort参数的问题
- 修复登录/注册页面无法正确显示验证错误的问题
- 添加Windows导出PDF需要GTK依赖的说明文档
2025-12-04 16:54:15 +08:00
lintsinghua 2656431c0a docs: add audit report section to README
- Add new "审计报告" (Audit Report) section with example screenshot
- Include description of professional code audit report features
- Document support for PDF/JSON export formats
- Highlight detailed issue analysis and fix recommendations
- Improve README documentation completeness with audit report showcase
2025-11-28 23:11:46 +08:00
lintsinghua 14dec67b22 docs: remove technical stack and project structure sections from README
- Remove "🛠️ 技术栈" section including frontend, backend, and data storage technology tables
- Remove "📁 项目结构" section with detailed project directory structure
- Remove "🎯 使用指南" section including system configuration, instant analysis, project management, audit tasks, report export, and build/deployment instructions
- Remove backend environment variables documentation and configuration tables
- Remove "🙏 致谢" (acknowledgments) section with technology and AI platform credits
- Simplify README by focusing on core content and removing detailed technical documentation that can be maintained separately
2025-11-28 23:04:28 +08:00
lintsinghua 2b73ca1af4 docs: remove system architecture diagram from README
- Remove embedded SVG diagram reference (frontend/public/diagram.svg)
- Remove associated diagram caption and styling div
- Remove extra separator line
- Streamline README by keeping feature descriptions while removing visual diagram
- Simplifies documentation maintenance and reduces visual clutter
2025-11-28 22:58:23 +08:00
lintsinghua 3d908ad93e feat: update UI screenshots, add fonts, and improve terminal progress dialog 2025-11-28 22:55:32 +08:00
lintsinghua 36622e1da8 docs: update README image paths and version to 2.0.0-beta.1
- Update all image references from `public/` to `frontend/public/` to reflect correct project structure
- Bump version badge from 1.3.4 to 2.0.0-beta.1 in README
- Refresh example screenshots (example1.png, example2.png, example3.png)
- Update audit report example image (审计报告示例.png)
- Ensure all documentation images point to correct frontend assets location
2025-11-28 22:12:27 +08:00
lintsinghua 7fa3a820ed fix: regenerate pnpm-lock.yaml to sync with package.json 2025-11-28 21:12:14 +08:00
lintsinghua 8192b16ebe fix(ci): upgrade pnpm to v9 for lockfile v9.0 compatibility 2025-11-28 21:08:09 +08:00
lintsinghua 833de0788c fix(ci): fix pnpm installation order in GitHub Actions
- Use pnpm/action-setup@v3 for proper pnpm installation
- Add pnpm store caching for faster builds
- Remove cache from setup-node to avoid pnpm not found error
- Update step numbers after adding cache steps
2025-11-28 20:53:05 +08:00
lintsinghua 9d2d9367b2 feat: improve Docker deployment and release workflows
- Add WeasyPrint system dependencies with Chinese font support
- Update requirements.txt with all dependencies
- Fix docker-compose.yml network configuration
- Update GitHub Actions release workflow for frontend-backend architecture
- Update release script for new project structure
- Support multi-arch Docker builds (amd64, arm64)
2025-11-28 20:43:26 +08:00
lintsinghua 9054f0d2c5 feat: v2.0.0-test release
Major changes:
- Backend: Add report generator service with comprehensive analysis
- Backend: Enhanced scan and task endpoints
- Frontend: Refactor instant analysis page and export dialog
- Frontend: Optimize report export service
- Infrastructure: Simplify Dockerfile and update docker-compose
- Docs: Streamline README documentation
- Assets: Add logo with transparent background
2025-11-28 20:34:15 +08:00
lintsinghua c54212a8c9 refactor: 清理IndexedDB相关代码,统一使用后端ZIP存储
- 移除前端废弃的loadZipFile/saveZipFile函数
- ProjectDetail使用scanStoredZipFile替代loadZipFile
- RecycleBin移除手动删除ZIP文件逻辑
- 后端permanently_delete_project自动清理ZIP文件
2025-11-28 18:01:43 +08:00
lintsinghua f640bfbaba feat: 添加敏感信息加密存储功能
- 新增 encryption.py 加密服务,使用 Fernet 对称加密
- API Key、Token 等敏感字段在数据库中加密存储
- 读取时自动解密,兼容未加密的旧数据
- 优化配置保存后自动更新前端状态
2025-11-28 17:51:17 +08:00
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
lintsinghua 7091f891d1 feat(llm): enhance LLM connection testing with improved error handling and adapter instantiation
- Bypass LLMFactory cache during connection tests to ensure fresh API calls with latest configuration
- Directly instantiate native adapters (Baidu, Minimax, Doubao) and LiteLLM adapter based on provider type
- Add comprehensive error handling in LiteLLM adapter with specific exception catching for authentication, rate limiting, and connection errors
- Implement user-friendly error messages for common failure scenarios (invalid API key, authentication failure, timeout, connection issues)
- Add response validation to detect and report empty API responses
- Disable LiteLLM internal caching to guarantee actual API calls during testing
- Update available models list with 2025 latest models across all providers (Gemini, OpenAI, Claude, Qwen, DeepSeek, etc.)
- Improve error message clarity and debugging information in config endpoint
2025-11-28 16:53:01 +08:00
lintsinghua 22c528acf1 refactor(llm): consolidate LLM adapters with LiteLLM unified layer
- Replace individual adapter implementations (OpenAI, Claude, Gemini, DeepSeek, Qwen, Zhipu, Moonshot, Ollama) with unified LiteLLM adapter
- Keep native adapters for providers with special API formats (Baidu, MiniMax, Doubao)
- Update LLM factory to route requests through LiteLLM for supported providers
- Add test-llm endpoint to validate LLM connections with configurable timeout and token limits
- Add get-llm-providers endpoint to retrieve supported providers and their configurations
- Update config.py to ignore extra environment variables (VITE_* frontend variables)
- Refactor Baidu adapter to use new complete() method signature and improve error handling
- Update pyproject.toml dependencies to include litellm package
- Update env.example with new configuration options
- Simplify adapter initialization and reduce code duplication across multiple provider implementations
2025-11-28 16:41:39 +08:00
lintsinghua 1fc0ecd14a refactor(frontend): modernize UI components with retro-futuristic styling
- Replace Card, Alert, and Separator components with retro-styled div elements
- Update DatabaseManager with retro-card styling and border-based design
- Refactor health status display to use styled Badge components instead of text
- Remove unused icon imports (Server, FileText) from DatabaseManager
- Clean up inline comments and unnecessary whitespace throughout components
- Simplify error handling by removing redundant console.error statements
- Update Sidebar, SystemConfig, Account, AdminDashboard, and other pages with consistent retro styling
- Apply uppercase font styling and monospace typography to match retro-futuristic theme
- Consolidate component structure across all pages for visual consistency
- Improve code readability by removing excessive blank lines and comments
2025-11-28 16:16:29 +08:00
lintsinghua b733181663 fix(api): restrict project and task queries to current user
- Filter projects endpoint to return only projects owned by current user
- Filter tasks endpoint to return only tasks from current user's projects
- Update statistics endpoint to calculate stats scoped to current user's data
- Add filtering logic for projects, tasks, and issues based on user ownership
- Improve data isolation and security by preventing cross-user data access
2025-11-28 01:11:21 +08:00
lintsinghua 5676211b20 feat(users): add comprehensive user management with search, filtering, and admin controls
- Add paginated user list endpoint with search by email, name, and phone
- Implement role-based and status filtering for user queries
- Add total count to user list response for pagination UI
- Create new Account page component for user profile management
- Add PUT /me endpoint for users to update their own profile information
- Add GET /{user_id} endpoint to retrieve specific user details
- Add PUT /{user_id} endpoint for admin user updates with full control
- Add DELETE /{user_id} endpoint for admin user deletion with self-protection
- Add POST /{user_id}/toggle-status endpoint to enable/disable user accounts
- Implement admin-only access control on user creation and management endpoints
- Add phone field support to user schema and creation flow
- Update user list response schema with pagination metadata
- Improve query validation with min/max constraints on pagination parameters
- Add Chinese localization to user-facing error messages and docstrings
- Update frontend routes to include new Account page
- Update Sidebar navigation to support account management links
- Update Login page styling to match new UI design system
2025-11-28 01:06:01 +08:00
lintsinghua 7aa4ab89cb fix(projects): disable cancel button during file upload and remove duplicate button
- Add `disabled={uploading}` prop to cancel button to prevent interaction during upload
- Remove duplicate button group that was causing redundant UI elements
- Ensure consistent button state management during file upload operations
2025-11-28 00:51:58 +08:00
lintsinghua fafeec803d UI Update 2025-11-28 00:48:30 +08:00
lintsinghua a87259a2ee feat: update UI with new branding, logo, and modern terminal-inspired styling 2025-11-27 22:34:23 +08:00
lintsinghua 53c8c27ee7 feat: Implement retro-futuristic UI design across frontend pages and components. 2025-11-27 21:33:51 +08:00
lintsinghua 7315770a17 feat: add global Tailwind CSS styles and theme variables for light and dark modes. 2025-11-27 18:16:26 +08:00
lintsinghua 7d1925db66 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
lintsinghua 6ce5b3c6c1 refactor: 重构项目结构,将前端和后端代码分离到独立目录
- 将前端代码移动到 frontend/ 目录
- 将后端代码移动到 backend/ 目录
- 更新 .gitignore 以包含 Python 和前端构建产物
- 修复 LLM JSON 解析问题,增强错误处理
- 修复前端配置默认值,改为从后端获取
- 删除 AdminDashboard 中的数据库信息和统计卡片
- 完善系统配置管理,支持从后端获取默认配置
2025-11-26 21:11:12 +08:00
github-actions[bot] cc9ef80278 chore: bump version to v1.3.4 2025-11-15 11:01:36 +00:00
lintsinghua dac82d3cd0 fix: 修复运行时配置不生效的问题
- 修改 repoScan.ts 使用 env.ts 中的运行时配置
- 修改 repoZipScan.ts 使用 env.ts 中的运行时配置
- 修改 CreateTaskDialog.tsx 使用 env.ts 中的 token 配置
- 确保 Web 界面修改的配置(如最大文件数量)能够立即生效
2025-11-15 18:51:07 +08:00
cto-new[bot] 30f670bfd3
Merge pull request #42 from lintsinghua/investigate-repo-audit-zero-quality-score
Stabilize code quality score calculation to prevent zero scores during repo audits
2025-11-12 13:11:47 +00:00
engine-labs-app[bot] 2060b81b22 fix(code-analysis): stabilize quality score calculation to avoid zero scores
Prevents quality_score from dropping to zero when many issues are reported during a repository audit. Reworks calculateQualityScore to use a balanced penalty scheme and a weighted average (issues 30%, metrics 70%). Keeps API compatibility and provides more stable, meaningful scores even with heavy issue loads.
2025-11-12 13:10:31 +00:00
lintsinghua 1f55c79231 docs(readme): Improve online demo section formatting
- Add line breaks to online demo section in both README files
- Enhance readability of demo URL presentation
- Maintain consistent formatting across Chinese and English README documents
2025-11-11 18:26:53 +08:00
lintsinghua 3c69ee74ab Merge branch 'main' of github.com:lintsinghua/XCodeReviewer 2025-11-11 18:25:14 +08:00
lintsinghua d6b80b8f90 docs(readme): Add online demo section to both README files
- Moved online demo section to a more prominent location in both Chinese and English README files
- Ensured consistent placement and formatting of online demo link
- Improved visibility of the online demo URL for easier access
- Maintained existing documentation structure and style
2025-11-11 18:24:55 +08:00