Commit Graph
132 Commits
Author SHA1 Message Date
chiyi 6c2a942a88 feat(providers): route only the generate submit through the proxy
Extends the adobe split to leonardo, krea, imagine, runway (image+video) and chatgpt: reference-image upload, polling and result download egress on the local IP; only the generate/task-create submit uses proxy.url. chatgpt keeps its anti-bot-guarded submit+upload phase on the proxy and moves only the existing second (poll/resolve/download) session to local. custom is already direct. Build+vet pass; adobe verified live, the other providers are code-complete but not yet live-tested (no dev accounts).
2026-07-09 16:21:31 +08:00
chiyi db3219416e feat(adobe): route only the image-generate submit through the proxy
Reference-image upload, job polling and result download now run on the local IP; only the generate submit egresses via proxy.url. Verified live: submit egress 74.244.159.228 (proxy) vs upload/poll/download 76.209.9.65 (local), 1K adobe gpt image generated OK.
2026-07-09 16:08:33 +08:00
chiyi a414385802 fix(auth): roll session cookie Max-Age on each authed request
The server session slides its TTL on use but the browser cookie's Max-Age was frozen at login, so it lapsed mid-session and broke cookie-only auth (private image <img>/download loads returned 401) while the SPA still looked logged in via its Bearer token. Re-issue the cookie with a fresh Max-Age whenever an authenticated request carried it.
2026-07-09 15:40:54 +08:00
chiyi 48cfbff592 fix(grok): self-heal x-statsig-id from live homepage seed+curves
Derive the 49-byte header seed and the salt F per-session from the grok homepage (browser-free tls-client GET), instead of hardcoding constants that go stale on every grok web rebuild (403 anti-bot). F is reproduced natively in Go (curve keyframe sampling: cubic-bezier easing, color lerp, rotation matrix, JS-exact number->hex). Static constants remain as env-overridable fallback. Adds offline regression test against server-verified ground-truth triples.
2026-07-09 15:07:12 +08:00
Steven 2748524fc1 fix(grok): refresh x-statsig-id header/salt for new grok web build 2026-07-09 13:44:33 +08:00
chiyi f3803d01cf 更新adobe协议 2026-07-08 20:17:33 +08:00
chiyi 98b5f5a5c3 chatgot更新换号重试 2026-07-08 13:13:25 +08:00
chiyi 452a7bb450 更新公告展示 2026-07-08 09:49:54 +08:00
chiyi e45ff5ef9a 恢复gpt 2026-07-08 09:22:26 +08:00
chiyi 5e809d375b 更新调度 2026-07-07 13:22:34 +08:00
chiyi ce390d9b67 增加指纹随机 2026-07-07 12:28:02 +08:00
chiyi 67354c3b8c 增加随机指纹 2026-07-07 12:03:52 +08:00
chiyi 10c312eb09 修复账号没了找不到email 2026-07-06 18:36:11 +08:00
chiyi d3a479ed76 修复误判死 2026-07-06 15:52:09 +08:00
chiyi c25e162841 grok 判死 2026-07-06 15:43:31 +08:00
chiyi 23dd70505a 优化违禁词 2026-07-06 14:28:43 +08:00
chiyi b103e6d35e 忽略原本的id 2026-07-06 12:54:03 +08:00
chiyi 18f29fff88 更新后端分页数量 2026-07-06 12:20:30 +08:00
chiyi 89e0a9df9f 优化违禁词 2026-07-06 12:18:09 +08:00
chiyi 713cca8f67 优化chatgpt检查 2026-07-06 10:57:41 +08:00
chiyi e05db36f63 优化错误检查 2026-07-06 10:37:46 +08:00
chiyi e517c56225 更新chatgpt协议 2026-07-06 10:21:44 +08:00
chiyi c96bee4094 增加积分 2026-07-05 22:45:27 +08:00
chiyi 729a061840 更新统计 2026-07-05 19:54:49 +08:00
chiyi 07aa50e8ff 更新统计 2026-07-05 19:52:47 +08:00
chiyi d7056de56e 更新支付 2026-07-05 18:48:49 +08:00
chiyi f27c6ba60c 增加批量导入违禁词 2026-07-05 14:59:05 +08:00
chiyi cfb7d2e0ea 更新图标 2026-07-05 14:51:34 +08:00
chiyi 28fe59a1af 修复视频分辨率问题 2026-07-05 14:35:36 +08:00
chiyi 02fff338cf 优化展示 2026-07-05 12:58:48 +08:00
chiyi c708ba65ad 更新增加尾巴 2026-07-05 03:20:50 +08:00
chiyi 06f16e7924 所有拦截请求都写入日志 2026-07-05 03:15:43 +08:00
chiyi 2d1fcd9162 md更新 2026-07-05 03:06:51 +08:00
chiyi 10d0732f8c 增加违禁词管理 增加多选操作 2026-07-05 03:00:49 +08:00
chiyi 4d5b49c2a9 更新增加关闭 2026-07-05 01:35:53 +08:00
chiyi 19626810d1 优化复制预览体验 2026-07-05 01:31:32 +08:00
chiyi 18e92b1cc6 增加复制功能 2026-07-04 23:47:03 +08:00
chiyi 60375e6cbe 增加表格滚动条 2026-07-04 22:35:39 +08:00
chiyi b83007edb6 修复下载问题 2026-07-04 19:45:29 +08:00
chiyi fab9998a18 更新调度 2026-07-04 15:38:32 +08:00
chiyi ac08a7d066 优化展示 2026-07-04 15:37:19 +08:00
chiyi daad121f12 优化调度 2026-07-04 15:23:43 +08:00
chiyi b4e9b233ca 修复日志展示 2026-07-04 15:09:01 +08:00
chiyi aef01923b0 支持模型别名 2026-07-04 15:01:24 +08:00
chiyi 03f9744dcb 增加模型别名 2026-07-04 14:49:52 +08:00
chiyi 641a021f7a grok更新 2026-07-04 12:53:48 +08:00
chiyi 34e69adefc grok修复 2026-07-03 23:33:04 +08:00
chiyi c6a8ca440a 修复grok视频参考图 2026-07-03 23:10:04 +08:00
chiyi f9e72c0168 修复bug 2026-07-03 18:12:46 +08:00
chiyi 53dc178804 更新尺寸兼容 2026-07-03 10:27:49 +08:00