- 07 Jul, 2026 11 commits
-
-
CaIon committed
-
CaIon committed
-
CaIon committed
-
CaIon committed
-
CaIon committed
-
CaIon committed
-
CaIon committed
-
* feat(subscription): add admin quota reset actions * fix(subscription): keep quota reset in plan row actions * refactor(subscription): move user subscription actions into menu
Seefs committed -
* Create zh-TW.json * Update _sync-report.json * Update languages.ts * Update config.ts * fix(i18n): update language codes and improve translations for zh-CN and zh-TW
Meow Tech Open Source by NovaMeow committed -
CaIon committed
-
Thread int32 saturation clamps from tiered settlement and video task recompute into the consume/task logs under admin_info, so oversized or malformed billing inputs stay auditable. Clamp negative audio duration before token conversion and gate the saturation UI markers on admin.
CaIon committed
-
- 06 Jul, 2026 12 commits
-
-
Bound max-tokens fields across all relay format validators, saturate tiered-expression rounding and audio/tool/task token conversions, and route legacy remix ratios through the guarded setter.
CaIon committed -
Bound user-supplied count/duration parameters at request validation, route ratio multipliers through guarded setters, and use saturating int conversions in all quota math paths.
CaIon committed -
* fix: avoid stale stream writes after client disconnect * fix: wait for stream ping goroutines before returning * fix: log stream results after goroutine cleanup * fix: broadcast stream stop signals * fix: abort upstream on client disconnect and restore write error contracts Keep the goroutine-lifecycle fix (unconditional wg.Wait before returning the gin.Context, close resp.Body inside cleanup), but drop the drain-on-disconnect behavior: when the client goes away, cleanup now runs immediately so the upstream body is closed, the provider stops generating, and users are not billed for tokens produced after they disconnected. Also restore FlushWriter/StringData/PingData returning an error when the request context is done, so non-scanner relay loops (ollama, fake-stream, audio, image) keep their disconnect awareness instead of silently consuming the upstream to completion. ResponseChunkData now propagates write errors. Add a bounded per-write deadline (http.NewResponseController) before each locked stream write so a slow-but-connected client cannot block a write forever and hang the unconditional wg.Wait. --------- Co-authored-by: CaIon <i@caion.me>
Seefs committed -
CaIon committed
-
* feat: optimize legacy top-up warning banner copy (#5851) * fix(i18n): use standard Latin period at the end of Vietnamese translations
Gravirei committed -
The sign-in route already redirects logged-in users to /dashboard in its beforeLoad guard, but the sign-up route (and its /register alias) had no such guard, leaving authenticated users on the registration form. This mirrors the classic theme's AuthRedirect behavior. Add an equivalent beforeLoad guard using the same useAuthStore, redirecting to /dashboard for consistency with the sign-in route. Closes #5908 Co-authored-by: 贺. <kuang@M1.local>
乾L committed -
CaIon committed
-
CaIon committed
-
Shadow DOM 的样式隔离特性导致外部 html 元素上的 dark class 无法被 Shadow DOM 内部的 Tailwind dark: 选择器匹配到。通过 MutationObserver 监听 document.documentElement 的 class 变化,将 dark class 同步到 Shadow DOM 内的包装容器上,使深色模式样式正常生效。
olwater committed -
G.RQ committed
-
* fix: apply default ali video duration when value is non-positive * fix: persist task quota after async settlement
feitianbubu committed
-
- 05 Jul, 2026 5 commits
-
-
CaIon committed
-
Pin down the checkUpdatePassword contract: - changing a password requires the correct current password - OAuth/passwordless accounts (empty password hash) cannot set a password through the self-service endpoint and must use the password reset flow instead - setupLogin never writes back the password column These guard against regressing the password-change path back into a short-circuit that lets passwordless accounts set a password directly.
CaIon committed -
- add SESSION_COOKIE_SECURE / SESSION_COOKIE_TRUSTED_URL env vars with startup validation: enabling Secure requires at least one trusted HTTPS entry URL - wire common.SessionCookieSecure into the session cookie store instead of a hardcoded Secure=false - print a startup warning when Secure session cookies are disabled - document the new settings in .env.example and docker-compose files Secure stays off by default because many deployments front new-api with plain-HTTP reverse proxies, where a hardcoded Secure default would break logins entirely; enabling it safely depends on the deployment's TLS setup, so it ships as an opt-in deployment-hardening flag.
CaIon committed -
CaIon committed
-
- normalize emails (trim + lowercase) and enforce uniqueness across registration, OAuth auto-registration, and email binding - serialize concurrent writers on the same normalized email within a transaction to avoid duplicate accounts - resolve password reset to a single matching account and reject ambiguous or absent matches - require an existing password before self-service password change and reject login for accounts without a usable password
CaIon committed
-
- 04 Jul, 2026 9 commits
-
-
Merge pull request #5905 from feitianbubu/pr/e9fa595c7
同語 committed -
feitianbubu committed
-
Seefs committed
-
CaIon committed
-
CaIon committed
-
CaIon committed
-
Merge pull request #5892 from QuantumNous/fix/classic-web-build
同語 committed -
- rename Makefile variables and targets from backend to api for naming consistency. - update dev command messages and reset setup restart flow to use api terminology.
QuentinHsu committed -
- replace the Slack OAuth icon with FaSlack from react-icons/fa to avoid the missing SiSlack export. - add a classic Rsbuild alias for date-fns so Semi resolves its compatible date-fns v2 dependency.
QuentinHsu committed
-
- 03 Jul, 2026 3 commits
-
-
Merge pull request #5886 from QuantumNous/perf/channel-test-dialog-layout
同語 committed -
Merge pull request #5884 from QuantumNous/chore/web-default-deps
同語 committed -
- replace per-model test text buttons with icon-only actions matching the channel list. - let the action column shrink to its icon content to reduce table width.
QuentinHsu committed
-