feat(connection): add HTTP tunnel

This commit is contained in:
t8y2 committed 2026-07-03 22:11:03 +08:00
1 parent 91c77e53c4
commit b80f3e8088
21 files changed
+1515 -123

No files matched your search

+15 -5
View File
@@ -323,9 +323,9 @@ export default {
duplicatedSelected: "{count} connections duplicated",
groupDeleted: "Group deleted",
loadFailed: "Failed to load saved connections: {message}",
sshTunnel: "SSH Tunnel / Proxy",
sshTunnel: "Tunnel / Proxy",
advancedTab: "Advanced",
sshEnable: "Use SSH tunnel / proxy",
sshEnable: "Use tunnel / proxy",
sshHost: "SSH Host",
sshUser: "SSH User",
sshPassword: "SSH Password",
@@ -336,7 +336,7 @@ export default {
sshKeyPathBrowse: "Browse",
sshExposeLan: "Expose tunnel to LAN",
sshConnectTimeout: "SSH Timeout (seconds)",
sshHops: "SSH Tunnel / Proxy Layers",
sshHops: "Tunnel / Proxy Layers",
sshHopAdd: "Add SSH layer",
sshHopDuplicate: "Duplicate",
sshHopDelete: "Delete",
@@ -368,6 +368,16 @@ export default {
proxyUsernamePlaceholder: "Optional",
proxyPassword: "Proxy Password",
proxyPasswordPlaceholder: "Optional",
httpTunnel: "HTTP Tunnel",
httpTunnelAdd: "Add HTTP tunnel",
httpTunnelUrl: "Tunnel Script URL",
httpTunnelToken: "Tunnel Token",
httpTunnelTokenPlaceholder: "Token configured in dbx_tunnel.php",
httpTunnelConnectTimeout: "Tunnel Timeout (seconds)",
httpTunnelDefaultName: "HTTP Tunnel {index}",
httpTunnelInvalidOrder: "{hop}: HTTP tunnel must be the first tunnel / proxy layer",
httpTunnelInvalidUrl: "{hop}: tunnel script URL is required",
httpTunnelInvalidTimeout: "{hop}: HTTP tunnel timeout must be between 1 and 300 seconds",
dremioArrowFlightSqlMode: "Arrow Flight SQL",
dremioLegacyJdbcMode: "Legacy JDBC",
jdbcUrl: "JDBC URL",
@@ -2774,9 +2784,9 @@ export default {
syncRememberWebDavPasswordDescription: "The password is encrypted and stored on this device only. It is not synced to WebDAV and does not replace the sync password.",
syncRemotePath: "Remote snapshot path",
syncRemotePathDescription: "DBX will create missing parent folders when uploading.",
syncSecretNotice: "By default, DBX syncs connection details and settings only. Database passwords, SSH passwords, proxy passwords, connection strings, and AI API keys stay local.",
syncSecretNotice: "By default, DBX syncs connection details and settings only. Database passwords, SSH passwords, proxy passwords, HTTP tunnel tokens, connection strings, and AI API keys stay local.",
syncSecrets: "Sync encrypted secrets",
syncSecretsDescription: "When enabled, DBX encrypts database passwords, SSH passwords, and AI API keys before uploading them to WebDAV.",
syncSecretsDescription: "When enabled, DBX encrypts database passwords, SSH passwords, proxy passwords, HTTP tunnel tokens, and AI API keys before uploading them to WebDAV.",
syncSecretsPassphrase: "Sync password",
syncSecretsPassphraseDescription: "This password is only used to encrypt and restore sensitive data. DBX does not save it; enter it again on each device.",
syncTest: "Test",
+15 -5
View File
@@ -325,9 +325,9 @@ export default withEnglishFallback({
duplicatedSelected: "已复制 {count} 个连接",
groupDeleted: "分组已删除",
loadFailed: "加载已保存连接失败:{message}",
sshTunnel: "SSH 隧道/代理",
sshTunnel: "隧道/代理",
advancedTab: "高级",
sshEnable: "使用 SSH 隧道/代理连接",
sshEnable: "使用隧道/代理连接",
sshHost: "SSH 主机",
sshUser: "SSH 用户",
sshPassword: "SSH 密码",
@@ -338,7 +338,7 @@ export default withEnglishFallback({
sshKeyPathBrowse: "浏览",
sshExposeLan: "允许局域网访问隧道",
sshConnectTimeout: "SSH 超时时间(秒)",
sshHops: "SSH 隧道/代理层级",
sshHops: "隧道/代理层级",
sshHopAdd: "添加 SSH 层",
sshHopDuplicate: "复制",
sshHopDelete: "删除",
@@ -370,6 +370,16 @@ export default withEnglishFallback({
proxyUsernamePlaceholder: "可选",
proxyPassword: "代理密码",
proxyPasswordPlaceholder: "可选",
httpTunnel: "HTTP 隧道",
httpTunnelAdd: "添加 HTTP 隧道",
httpTunnelUrl: "隧道脚本 URL",
httpTunnelToken: "隧道 Token",
httpTunnelTokenPlaceholder: "dbx_tunnel.php 中配置的 token",
httpTunnelConnectTimeout: "隧道超时(秒)",
httpTunnelDefaultName: "HTTP 隧道 {index}",
httpTunnelInvalidOrder: "{hop}:HTTP 隧道必须位于隧道/代理第一层",
httpTunnelInvalidUrl: "{hop}:隧道脚本 URL 不能为空",
httpTunnelInvalidTimeout: "{hop}:HTTP 隧道超时时间必须在 1 到 300 秒之间",
dremioArrowFlightSqlMode: "Arrow Flight SQL",
dremioLegacyJdbcMode: "Legacy JDBC",
jdbcUrl: "JDBC URL",
@@ -2774,9 +2784,9 @@ export default withEnglishFallback({
syncRememberWebDavPasswordDescription: "密码会加密保存在本机,不会同步到 WebDAV,也不会替代同步密码。",
syncRemotePath: "远端快照路径",
syncRemotePathDescription: "上传时 DBX 会自动创建缺失的父目录。",
syncSecretNotice: "默认只同步连接信息和设置,不会同步数据库密码、SSH 密码、代理密码、连接串或 AI API Key。",
syncSecretNotice: "默认只同步连接信息和设置,不会同步数据库密码、SSH 密码、代理密码、HTTP 隧道 Token、连接串或 AI API Key。",
syncSecrets: "同步加密后的敏感信息",
syncSecretsDescription: "开启后,DBX 会先加密数据库密码、SSH 密码和 AI API Key,再上传到 WebDAV。",
syncSecretsDescription: "开启后,DBX 会先加密数据库密码、SSH 密码、代理密码、HTTP 隧道 Token 和 AI API Key,再上传到 WebDAV。",
syncSecretsPassphrase: "同步密码",
syncSecretsPassphraseDescription: "这个密码只用于加密和恢复敏感信息,DBX 不会保存;换设备恢复时需要再次输入。",
syncTest: "测试",