fix(core): selfhosted auth handling (#15295)

fix #15284
fix #15266
fix #15268
fix #15267

#### PR Dependency Tree


* **PR #15295** 👈

This tree was auto-generated by
[Charcoal](https://github.com/danerwilliams/charcoal)
This commit is contained in:
DarkSky
2026-07-21 11:26:15 +08:00
committed by GitHub
parent bb55d6fd21
commit b1abd8db54
17 changed files with 169 additions and 65 deletions
+8
View File
@@ -9278,6 +9278,14 @@ export function useAFFiNEI18N(): {
* `Failed to sign out devices`
*/
["com.affine.settings.devices.sign-out-all-failed"](): string;
/**
* `Real-time connection failed`
*/
["com.affine.realtime.connection-error.title"](): string;
/**
* `Check that your server proxy forwards /socket.io over WebSocket or HTTP polling.`
*/
["com.affine.realtime.connection-error.message"](): string;
/**
* `An internal error occurred.`
*/
@@ -2318,6 +2318,8 @@
"com.affine.settings.devices.load-failed": "Failed to load devices",
"com.affine.settings.devices.sign-out-failed": "Failed to sign out device",
"com.affine.settings.devices.sign-out-all-failed": "Failed to sign out devices",
"com.affine.realtime.connection-error.title": "Real-time connection failed",
"com.affine.realtime.connection-error.message": "Check that your server proxy forwards /socket.io over WebSocket or HTTP polling.",
"error.INTERNAL_SERVER_ERROR": "An internal error occurred.",
"error.NETWORK_ERROR": "Network error.",
"error.TOO_MANY_REQUEST": "Too many requests.",
@@ -2308,6 +2308,8 @@
"com.affine.docIconPicker.placeholder": "添加图标",
"error.INTERNAL_SERVER_ERROR": "发生内部错误。",
"error.NETWORK_ERROR": "网络错误。",
"com.affine.realtime.connection-error.title": "实时同步连接失败",
"com.affine.realtime.connection-error.message": "请检查服务器反向代理是否通过 WebSocket 或 HTTP polling 正确转发 /socket.io。",
"error.TOO_MANY_REQUEST": "请求过多。",
"error.SSRF_BLOCKED_ERROR": "无效的 URL",
"error.RESPONSE_TOO_LARGE_ERROR": "响应过大({{receivedBytes}} 字节),限制为 {{limitBytes}} 字节",