Compare commits

...

3 Commits

Author SHA1 Message Date
Lykin eb5f69bcbc chore: update dependencies 2024-04-09 10:46:32 +08:00
Lykin 28c326d608 fix: keep `network` when save connection failed 2024-04-08 15:25:10 +08:00
Lykin 83319c06d7 fix: incorrect placeholder of input for sentinel 2024-04-08 10:34:56 +08:00
15 changed files with 444 additions and 393 deletions

File diff suppressed because it is too large Load Diff

View File

@ -14,10 +14,10 @@
"lodash": "^4.17.21", "lodash": "^4.17.21",
"monaco-editor": "^0.47.0", "monaco-editor": "^0.47.0",
"pinia": "^2.1.7", "pinia": "^2.1.7",
"sass": "^1.72.0", "sass": "^1.74.1",
"vue": "^3.4.21", "vue": "^3.4.21",
"vue-chartjs": "^5.3.0", "vue-chartjs": "^5.3.0",
"vue-i18n": "^9.10.2", "vue-i18n": "^9.11.0",
"xterm": "^5.3.0", "xterm": "^5.3.0",
"xterm-addon-fit": "^0.8.0" "xterm-addon-fit": "^0.8.0"
}, },
@ -28,6 +28,6 @@
"unplugin-auto-import": "^0.17.5", "unplugin-auto-import": "^0.17.5",
"unplugin-icons": "^0.18.5", "unplugin-icons": "^0.18.5",
"unplugin-vue-components": "^0.26.0", "unplugin-vue-components": "^0.26.0",
"vite": "^5.1.6" "vite": "^5.2.8"
} }
} }

View File

@ -1 +1 @@
846badb7d64acbf10aad01d5e8a7aff5 0d410c9fc805ccbdb8c9242401379c51

View File

@ -170,7 +170,7 @@ const onSaveConnection = async () => {
generalForm.value.addr = '' generalForm.value.addr = ''
generalForm.value.port = 0 generalForm.value.port = 0
} else { } else {
generalForm.value.network = '' generalForm.value.network = 'tcp'
generalForm.value.sock = '' generalForm.value.sock = ''
} }

View File

@ -264,8 +264,8 @@
"auto_discover": "Auto Discover", "auto_discover": "Auto Discover",
"password": "Master Password", "password": "Master Password",
"username": "Master Username", "username": "Master Username",
"pwd_tip": "(Optional) Master auth username", "pwd_tip": "(Optional) Master auth password (Redis > 6.0)",
"usr_tip": "(Optional) Master auth password (Redis > 6.0)" "usr_tip": "(Optional) Master auth username"
}, },
"cluster": { "cluster": {
"title": "Cluster", "title": "Cluster",

View File

@ -264,8 +264,8 @@
"auto_discover": "Descubrimiento automático", "auto_discover": "Descubrimiento automático",
"password": "Contraseña del maestro", "password": "Contraseña del maestro",
"username": "Usuario del maestro", "username": "Usuario del maestro",
"pwd_tip": "(Opcional) Usuario de autenticación del maestro", "pwd_tip": "(Opcional) Contraseña de autenticación del maestro (Redis > 6.0)",
"usr_tip": "(Opcional) Contraseña de autenticación del maestro (Redis > 6.0)" "usr_tip": "(Opcional) Usuario de autenticación del maestro"
}, },
"cluster": { "cluster": {
"title": "Clúster", "title": "Clúster",

View File

@ -264,8 +264,8 @@
"auto_discover": "Découverte automatique", "auto_discover": "Découverte automatique",
"password": "Mot de passe principal", "password": "Mot de passe principal",
"username": "Nom d'utilisateur principal", "username": "Nom d'utilisateur principal",
"pwd_tip": "(Optionnel) Nom d'utilisateur d'authentification principal", "pwd_tip": "(Optionnel) Mot de passe d'authentification principal (Redis > 6.0)",
"usr_tip": "(Optionnel) Mot de passe d'authentification principal (Redis > 6.0)" "usr_tip": "(Optionnel) Nom d'utilisateur d'authentification principal"
}, },
"cluster": { "cluster": {
"title": "Cluster", "title": "Cluster",

View File

@ -264,8 +264,8 @@
"auto_discover": "自動検出", "auto_discover": "自動検出",
"password": "マスターパスワード", "password": "マスターパスワード",
"username": "マスターユーザー名", "username": "マスターユーザー名",
"pwd_tip": "(オプション)マスター認証,ユーザー名", "pwd_tip": "(オプション)マスター認証パスワード (Redis > 6.0)",
"usr_tip": "(オプション)マスター認証パスワード (Redis > 6.0)" "usr_tip": "(オプション)マスター認証,ユーザー名"
}, },
"cluster": { "cluster": {
"title": "クラスターモード", "title": "クラスターモード",

View File

@ -264,8 +264,8 @@
"auto_discover": "자동 탐색", "auto_discover": "자동 탐색",
"password": "마스터 비밀번호", "password": "마스터 비밀번호",
"username": "마스터 사용자 이름", "username": "마스터 사용자 이름",
"pwd_tip": "(선택) 마스터 인증 사용자 이름", "pwd_tip": "(선택) 마스터 인증 비밀번호 (Redis > 6.0)",
"usr_tip": "(선택) 마스터 인증 비밀번호 (Redis > 6.0)" "usr_tip": "(선택) 마스터 인증 사용자 이름"
}, },
"cluster": { "cluster": {
"title": "클러스터 모드", "title": "클러스터 모드",

View File

@ -264,8 +264,8 @@
"auto_discover": "Auto Descoberta", "auto_discover": "Auto Descoberta",
"password": "Senha para Nó Master", "password": "Senha para Nó Master",
"username": "Nome de Usuário para Nó Master", "username": "Nome de Usuário para Nó Master",
"pwd_tip": "(Opcional) Nome de usuário para autenticação no nó master", "pwd_tip": "(Opcional) Senha de autenticação no nó master (Redis > 6.0)",
"usr_tip": "(Opcional) Senha de autenticação no nó master (Redis > 6.0)" "usr_tip": "(Opcional) Nome de usuário para autenticação no nó master"
}, },
"cluster": { "cluster": {
"title": "Cluster", "title": "Cluster",

View File

@ -264,8 +264,8 @@
"auto_discover": "Автоопределение", "auto_discover": "Автоопределение",
"password": "Пароль мастера", "password": "Пароль мастера",
"username": "Имя пользователя мастера", "username": "Имя пользователя мастера",
"pwd_tip": "(Опционально) Имя пользователя мастера для авторизации", "pwd_tip": "(Опционально) Пароль мастера для авторизации (Redis > 6.0)",
"usr_tip": "(Опционально) Пароль мастера для авторизации (Redis > 6.0)" "usr_tip": "(Опционально) Имя пользователя мастера для авторизации"
}, },
"cluster": { "cluster": {
"title": "Кластер", "title": "Кластер",

View File

@ -264,8 +264,8 @@
"auto_discover": "自动查询组名", "auto_discover": "自动查询组名",
"password": "主节点密码", "password": "主节点密码",
"username": "主节点用户名", "username": "主节点用户名",
"pwd_tip": "(可选)主节点服务授权用户名", "pwd_tip": "(可选)主节点服务授权密码 (Redis > 6.0)",
"usr_tip": "(可选)主节点服务授权密码 (Redis > 6.0)" "usr_tip": "(可选)主节点服务授权用户名"
}, },
"cluster": { "cluster": {
"title": "集群模式", "title": "集群模式",

View File

@ -264,8 +264,8 @@
"auto_discover": "自動查詢組名", "auto_discover": "自動查詢組名",
"password": "主節點密碼", "password": "主節點密碼",
"username": "主節點使用者名稱", "username": "主節點使用者名稱",
"pwd_tip": "(可選)主節點伺服器授權使用者名稱", "pwd_tip": "(可選)主節點伺服器授權密碼 (Redis > 6.0)",
"usr_tip": "(可選)主節點伺服器授權密碼 (Redis > 6.0)" "usr_tip": "(可選)主節點伺服器授權使用者名稱"
}, },
"cluster": { "cluster": {
"title": "集群模式", "title": "集群模式",

6
go.mod
View File

@ -11,8 +11,8 @@ require (
github.com/vmihailenco/msgpack/v5 v5.4.1 github.com/vmihailenco/msgpack/v5 v5.4.1
github.com/vrischmann/userdir v0.0.0-20151206171402-20f291cebd68 github.com/vrischmann/userdir v0.0.0-20151206171402-20f291cebd68
github.com/wailsapp/wails/v2 v2.8.0 github.com/wailsapp/wails/v2 v2.8.0
golang.org/x/crypto v0.21.0 golang.org/x/crypto v0.22.0
golang.org/x/net v0.22.0 golang.org/x/net v0.24.0
gopkg.in/yaml.v3 v3.0.1 gopkg.in/yaml.v3 v3.0.1
) )
@ -45,7 +45,7 @@ require (
github.com/wailsapp/go-webview2 v1.0.10 // indirect github.com/wailsapp/go-webview2 v1.0.10 // indirect
github.com/wailsapp/mimetype v1.4.1 // indirect github.com/wailsapp/mimetype v1.4.1 // indirect
golang.org/x/exp v0.0.0-20240205201215-2c58cdc269a3 // indirect golang.org/x/exp v0.0.0-20240205201215-2c58cdc269a3 // indirect
golang.org/x/sys v0.18.0 // indirect golang.org/x/sys v0.19.0 // indirect
golang.org/x/text v0.14.0 // indirect golang.org/x/text v0.14.0 // indirect
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
) )

16
go.sum
View File

@ -100,13 +100,13 @@ github.com/wailsapp/mimetype v1.4.1 h1:pQN9ycO7uo4vsUUuPeHEYoUkLVkaRntMnHJxVwYhw
github.com/wailsapp/mimetype v1.4.1/go.mod h1:9aV5k31bBOv5z6u+QP8TltzvNGJPmNJD4XlAL3U+j3o= github.com/wailsapp/mimetype v1.4.1/go.mod h1:9aV5k31bBOv5z6u+QP8TltzvNGJPmNJD4XlAL3U+j3o=
github.com/wailsapp/wails/v2 v2.8.0 h1:b2NNn99uGPiN6P5bDsnPwOJZWtAOUhNLv7Vl+YxMTr4= github.com/wailsapp/wails/v2 v2.8.0 h1:b2NNn99uGPiN6P5bDsnPwOJZWtAOUhNLv7Vl+YxMTr4=
github.com/wailsapp/wails/v2 v2.8.0/go.mod h1:EFUGWkUX3KofO4fmKR/GmsLy3HhPH7NbyOEaMt8lBF0= github.com/wailsapp/wails/v2 v2.8.0/go.mod h1:EFUGWkUX3KofO4fmKR/GmsLy3HhPH7NbyOEaMt8lBF0=
golang.org/x/crypto v0.21.0 h1:X31++rzVUdKhX5sWmSOFZxx8UW/ldWx55cbf08iNAMA= golang.org/x/crypto v0.22.0 h1:g1v0xeRhjcugydODzvb3mEM9SQ0HGp9s/nh3COQ/C30=
golang.org/x/crypto v0.21.0/go.mod h1:0BP7YvVV9gBbVKyeTG0Gyn+gZm94bibOW5BjDEYAOMs= golang.org/x/crypto v0.22.0/go.mod h1:vr6Su+7cTlO45qkww3VDJlzDn0ctJvRgYbC2NvXHt+M=
golang.org/x/exp v0.0.0-20240205201215-2c58cdc269a3 h1:/RIbNt/Zr7rVhIkQhooTxCxFcdWLGIKnZA4IXNFSrvo= golang.org/x/exp v0.0.0-20240205201215-2c58cdc269a3 h1:/RIbNt/Zr7rVhIkQhooTxCxFcdWLGIKnZA4IXNFSrvo=
golang.org/x/exp v0.0.0-20240205201215-2c58cdc269a3/go.mod h1:idGWGoKP1toJGkd5/ig9ZLuPcZBC3ewk7SzmH0uou08= golang.org/x/exp v0.0.0-20240205201215-2c58cdc269a3/go.mod h1:idGWGoKP1toJGkd5/ig9ZLuPcZBC3ewk7SzmH0uou08=
golang.org/x/net v0.0.0-20210505024714-0287a6fb4125/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20210505024714-0287a6fb4125/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
golang.org/x/net v0.22.0 h1:9sGLhx7iRIHEiX0oAJ3MRZMUCElJgy7Br1nO+AMN3Tc= golang.org/x/net v0.24.0 h1:1PcaxkF854Fu3+lvBIx5SYn9wRlBzzcnHZSiaFFAb0w=
golang.org/x/net v0.22.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg= golang.org/x/net v0.24.0/go.mod h1:2Q7sJY5mzlzWjKtYUEXSlBWCdyaioyXzRB2RtU8KVE8=
golang.org/x/sys v0.0.0-20200810151505-1b9f1253b3ed/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200810151505-1b9f1253b3ed/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
@ -114,11 +114,11 @@ golang.org/x/sys v0.0.0-20211025201205-69cdffdb9359/go.mod h1:oPkhp1MJrh7nUepCBc
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.18.0 h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4= golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o=
golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/term v0.18.0 h1:FcHjZXDMxI8mM3nwhX9HlKop4C0YQvCVCdwYl2wOtE8= golang.org/x/term v0.19.0 h1:+ThwsDv+tYfnJFhF4L8jITxu1tdTWRTZpdsWgEgjL6Q=
golang.org/x/term v0.18.0/go.mod h1:ILwASektA3OnRv7amZ1xhE/KTR+u50pbXfZ03+6Nx58= golang.org/x/term v0.19.0/go.mod h1:2CuTdWZ7KHSQwUzKva0cbMg6q2DMI3Mmxp+gKJbskEk=
golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=