Commit Graph

21 Commits

Author SHA1 Message Date
stringadmin 00eba3e209 Expose enterprise video pricing config 2026-06-10 14:27:42 +08:00
stringadmin ca84754bd2 fix: feed provider health into circuit breaker 2026-06-09 12:02:29 +08:00
stringadmin f9da506017 fix: harden provider polling recovery 2026-06-09 11:32:53 +08:00
stringadmin 1166811ee4 fix: harden clustered task status updates 2026-06-08 20:57:55 +08:00
stringadmin 47b7bff2ac Add beta email review and task safeguards 2026-06-08 18:30:20 +08:00
stringadmin 6f8658bf85 Require auth for beta application review routes 2026-06-08 16:20:45 +08:00
stringadmin 9d604b5dd9 Restore image generation charge to 20 credits 2026-06-08 16:07:01 +08:00
stringadmin 071a98bd96 Scale generation billing charges to 1-to-100 credits 2026-06-08 16:03:49 +08:00
stringadmin 0f94010104 Use latest login session as active device 2026-06-08 15:55:43 +08:00
stringadmin fdd408d06b Convert billing to 1-to-100 credits 2026-06-08 15:46:28 +08:00
stringadmin 855fdfc4ff feat: add beta application review APIs 2026-06-08 15:24:18 +08:00
stringadmin ea91155f9e fix: harden generation task coordination 2026-06-08 15:00:19 +08:00
stringadmin 5367e8c2fd Merge pull request 'fix: ????????????????' (#2) from fix/ecommerce-502-bug into master
Reviewed-on: #2
2026-06-04 12:14:22 +00:00
stringadmin 80c10971ea Merge remote-tracking branch 'origin/master' into fix/ecommerce-502-bug 2026-06-04 19:26:27 +08:00
stringadmin df5ea8c65e fix: harden launch server runtime and public config 2026-06-04 18:58:45 +08:00
stringadmin 94b19459d8 Merge pull request 'Fix/ecommerce 502 bug' (#1) from fix/ecommerce-502-bug into master
Reviewed-on: #1
2026-06-03 02:53:24 +00:00
stringadmin 1a5992845a feat: 新增客户端错误收集与admin监控接口
- POST /api/client-errors: 批量存储客户端错误(10分钟去重合并)
- GET /api/client-errors: admin分页查看错误列表
- DELETE /api/client-errors: admin清空错误记录
- 72小时自动清理旧数据

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-03 10:52:26 +08:00
stringadmin 3c574eeff6 fix: rate limiting + upload-binary body-parser bypass + OSS upload route - Increase global rate limit 100->300 req/min - Add /api/ai/chat dedicated limiter 60 req/min - Add req._body=true middleware to skip JSON parser for upload-binary - Add busboy binary upload route + MIME type extensions 2026-06-02 17:00:05 +08:00
stringadmin 035190420f fix(oss): add binary upload route + base64 fallback fix + MIME types
- Add /oss/upload-binary route using busboy for FormData multipart uploads
- Fix parseUploadPayload base64 fallback: strip data:xxx;base64 prefix
  instead of using entire rawData string as base64 (caused 44-byte
  corrupt files when DATA_URL_PATTERN regex did not match)
- Add image/avif, image/heic, image/heif to MIME_EXTENSIONS

Root cause of ecommerce 502: base64 dataUrl not matching regex pattern
caused server to store corrupt 44-byte files on OSS, DashScope could
not read them and returned "image format is illegal" error.
2026-06-02 16:20:52 +08:00
stringadmin 0f8f3825e1 Remove backup/env files from tracking, update .gitignore 2026-06-02 13:14:38 +08:00
stringadmin 56955e32f7 Initial commit: OmniAI backend server 2026-06-02 13:14:10 +08:00