Commit Graph

10 Commits

Author SHA1 Message Date
User
686454bf22 docs: add project review and update development guide
Some checks failed
CI / test (push) Has been cancelled
CI / golangci-lint (push) Has been cancelled
Security Scan / backend-security (push) Has been cancelled
Security Scan / frontend-security (push) Has been cancelled
- Add comprehensive PROJECT_REVIEW.md with development experience summary
- Update DEV_GUIDE.md with standardized conventions and best practices
- Move audit reports to docs/reports/ and update .gitignore
- Document Windows compatibility issues and solutions
- Add PR checklist and testing standards
2026-04-13 06:44:25 +08:00
User
d44fa6b35c chore: clean up project directory structure
Some checks failed
CI / test (push) Has been cancelled
CI / golangci-lint (push) Has been cancelled
Security Scan / backend-security (push) Has been cancelled
Security Scan / frontend-security (push) Has been cancelled
- Move audit reports (CHINESE_MODELS_AUDIT.md, REVIEW_REPORT_*.md) to docs/reports/
- Remove redundant pnpm-lock.yaml (project uses npm)
- Add .codebuddy/ and .workbuddy/ to .gitignore (IDE tool directories)
2026-04-13 06:31:25 +08:00
User
146a306343 fix: resolve 3 test package failures for Windows compatibility
Some checks failed
CI / test (push) Has been cancelled
CI / golangci-lint (push) Has been cancelled
Security Scan / backend-security (push) Has been cancelled
Security Scan / frontend-security (push) Has been cancelled
- config: add optional configPaths parameter to load() for test isolation
  (tests now use t.TempDir() to avoid interference from D:\app\data)
- handler: fix stubAccountRepoForHandler.ListByPlatform to return accounts
  (was returning nil, nil causing "no available accounts" errors)
- logger: fix Sync() blocking on Windows pipes by closing write end first
  (also add Reset() function to close lumberjack file handles for cleanup)
2026-04-13 01:09:46 +08:00
User
5ca850700b feat: comprehensive review optimizations and Chinese model support
Some checks failed
CI / test (push) Has been cancelled
CI / golangci-lint (push) Has been cancelled
Security Scan / backend-security (push) Has been cancelled
Security Scan / frontend-security (push) Has been cancelled
- Add fallback pricing for 10 Chinese AI providers (DeepSeek, Qwen, GLM,
  Moonshot, Doubao, MiniMax, ERNIE, Spark, Hunyuan, Yi) with 38 test cases
- Add 32 Chinese model entries to pricing JSON (qwen-long, qwq-32b,
  glm-4-air, spark-max/pro/lite, hunyuan-pro/standard/lite, etc.)
- Add 6 Chinese API domains to SSRF allowlist
- Fix XSS vulnerability in HomeView.vue with DOMPurify sanitization
- Change DB SSL default from 'disable' to 'prefer' with security comment
- Replace hardcoded admin password in config.example.yaml
- Enable @typescript-eslint/no-explicit-any as warning
- Add vite-plugin-compression for gzip production builds
- Add Prettier and EditorConfig configurations
- Fix missing context import in sticky_session_test.go
2026-04-12 22:18:35 +08:00
Developer
c660553c87 security: replace hardcoded OAuth credentials with placeholders
Some checks failed
CI / test (push) Has been cancelled
CI / golangci-lint (push) Has been cancelled
Security Scan / backend-security (push) Has been cancelled
Security Scan / frontend-security (push) Has been cancelled
- Replace Google OAuth ClientID/Secret with placeholder values
- Update test assertions to match new placeholder values
2026-04-02 14:19:10 +08:00
Developer
c303817800 test: fix AccountStatusIndicator and AccountUsageCell tests
Some checks failed
CI / test (push) Has been cancelled
CI / golangci-lint (push) Has been cancelled
Security Scan / backend-security (push) Has been cancelled
Security Scan / frontend-security (push) Has been cancelled
- AccountStatusIndicator: fix i18n key assertion (account.x → admin.accounts.status.x)
- AccountUsageCell: fix getUsage mock assertion to include undefined source param
2026-04-01 14:41:10 +08:00
Developer
6b060dd14d merge: resolve conflicts with remote, keep local fixes 2026-04-01 14:11:47 +08:00
Developer
d4a2397740 fix: resolve P0/P1 code quality issues
- Add context parameter to shouldClearStickySession in tests
- Return 501 NotImplemented for TestCredentials
- Remove unused user variable in redeem_service
- Add comment for context.Background goroutine in promo_service
- Uncomment sora_client_handler tests (17 skipped tests)
- Add math/rand usage comment in request_transformer
- Fix ModelError.Error() to use fmt.Sprintf
- Add NotImplemented error type to errors package
- Optimize SSE defaultMaxLineSize from 500MB to 10MB
2026-04-01 13:39:37 +08:00
phamnazage-jpg
a097055deb fix: resolve P0/P1 code quality issues
P0 fixes:
- ModelError.Is(): use exact matching instead of substring contains()
- shouldClearStickySession: add context param for cancellation/tracing

P1 fixes:
- TODO stubs: return 501 Not Implemented errors
- validateInstanceSignature: deduplicate to shared validateCodeSignature()
- Error messages: standardize to English only
- http.go: remove pseudo if-else with duplicate branches
2026-03-31 11:44:54 +08:00
Developer
da36506b89 fix: resolve P0/P1 code quality issues
P0 fixes:
- ModelError.Is(): use exact matching instead of substring contains()
- shouldClearStickySession: add context param for cancellation/tracing

P1 fixes:
- TODO stubs: return 501 Not Implemented errors
- validateInstanceSignature: deduplicate to shared validateCodeSignature()
- Error messages: standardize to English only
- http.go: remove pseudo if-else with duplicate branches
2026-03-31 11:39:18 +08:00