Repository navigation
merge: upstream auth + keep invite modes, selfupdate, Anthropic default - #3
Merged
ChinaToyHunter merged 10 commits intoJul 20, 2026
Merged
Conversation
…session control (QuantumNous#6329) * refactor(auth): replace dashboard sessions with stateless tokens * feat(auth): harden session issuance and distributed enforcement * fix(proxy): preserve trusted proxy compatibility defaults * refactor: address dashboard auth review feedback * refactor: remove classic frontend and flatten web app
) * fix(playground): prevent model group option stretching - keep group options at a fixed 2rem height and align them to the top. - organize layout code in a dedicated module and cover layout and scrolling behavior. * docs(web): strengthen frontend testing requirements - require regression coverage for behavior changes, bug fixes, and UI states. - define module-scoped test organization, stable assertions, mocks, and verification rules.
…s#6135) - apply a minimum width hint to content-sized columns to prevent wasted space. - preserve remaining table width allocation across regular data columns.
…uantumNous#6157) * fix(channel): improve proxy client compatibility and cache lifecycle * test(controller): use non-fatal assertions for channel tests
* fix(playground): resolve auto group model listing - merge and deduplicate available models in configured auto group order. - reuse special usable group rules and add model filtering regression coverage. * refactor: extract GetGroupsEnabledModels to dedupe group model expansion
…umNous#6074) * fix: prevent duplicate suno task refunds via cas status update * fix: reconcile failed task refunds --------- Co-authored-by: CaIon <i@caion.me>
…opic default - Accept upstream default-only frontend (drop classic theme) - Keep registration invite modes (optional/required/hidden) on password, OAuth AuthFlow, and WeChat paths - Keep selfupdate system update routes and docker helper - Keep Anthropic as default theme preset - Restore model-status route under flattened web/src layout - Reassert invite i18n keys after locale merge Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
将上游
QuantumNous/main合入 fork,并保留我们自改能力:optional/required/hidden(密码注册 / OAuth AuthFlow / 微信)/api/system/update*+ Docker helper)model-status顶栏入口(扁平web/src布局下保留)同时接受上游 default-only:移除 classic 前端源码(与 QuantumNous#6329 一致)。
Upstream included
相对当前
main,本 PR 额外包含上游:user_sessions/auth_flows)并移除 classicResolution notes
controller/oauth.goresolveConfiguredRegistrationInviterisAuthBundle登录成功处理routeTree.gen.ts/model-statusOps prerequisites (ali-server already prepared)
线上 compose 已预埋(当前仍跑 th.8,待本 PR 发版后生效):
SESSION_COOKIE_SECURE=trueSESSION_COOKIE_TRUSTED_URL=https://newapi.toyhunter.siteTRUSTED_PROXIES=127.0.0.1,::1,172.18.0.0/16,10.77.0.0/24(含 WireGuardwgm0)Local verification
go buildcontroller/model/common/i18n/selfupdate/middleware/router ✅go test ./controller(含邀请码三模式) ✅go test ./service/selfupdate/...✅Deploy plan (after merge, manual)
mainVERSION递增v1.0.0-rc.21-th.10(或当前最新 th+1)并 tag → 触发 Release 二进制Risk checklist
Test plan
aff/model-status顶栏与 iframe