Skip to content

Commit f28d087

Browse files
authored
Merge pull request #45 from jumpserver/dev
merge dev
2 parents b134a68 + be13bef commit f28d087

File tree

8 files changed

+59
-20
lines changed

8 files changed

+59
-20
lines changed

go-client/config.json

+52-13
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
"download_url": "https://mobaxterm.mobatek.net/download-home-edition.html",
7777
"type": "linux",
7878
"path": "",
79-
"arg_format": "-newtab * sshpass -p{value} ssh -o StrictHostKeyChecking=no {username}@{host} -p{port}",
79+
"arg_format": "-newtab*sshpass -p{value} ssh -o StrictHostKeyChecking=no {username}@{host} -p{port}",
8080
"match_first": [],
8181
"is_internal": false,
8282
"is_default": false,
@@ -125,16 +125,16 @@
125125
"is_set": false
126126
},
127127
{
128-
"name": "filezilla",
129-
"display_name": "Filezilla",
128+
"name": "securefx",
129+
"display_name": "SecureFX",
130130
"protocol": [
131131
"sftp"
132132
],
133133
"comment": {
134-
"zh": "FileZilla Client是一款免费、开源的 FTP 客户端。它支持FTP、SFTP",
135-
"en": "FileZilla Client is a free, open source FTP client. It supports FTP, SFTP."
134+
"zh": "SecureFX 是一款安全的文件传输应用, 拥有一个简单易学的可视化界面",
135+
"en": "SecureFX is a secure file transfer application with an easy-to-learn visual interface."
136136
},
137-
"download_url": "https://filezilla-project.org/download.php?type=client",
137+
"download_url": "https://www.vandyke.com/cgi-bin/releases.php?product=securefx",
138138
"type": "linux",
139139
"path": "",
140140
"arg_format": "{protocol}://{username}:{value}@{host}:{port}",
@@ -262,6 +262,25 @@
262262
"is_internal": false,
263263
"is_default": false,
264264
"is_set": false
265+
},
266+
{
267+
"name": "toad",
268+
"display_name": "Toad for Oracle",
269+
"protocol": [
270+
"oracle"
271+
],
272+
"comment": {
273+
"zh": "Toad for Oracle是业界领先的数据库开发和管理工具。",
274+
"en": "Toad for Oracle is an industry-leading database development and management tool."
275+
},
276+
"download_url": "https://www.quest.com/products/toad-for-oracle/",
277+
"type": "databases",
278+
"path": "",
279+
"arg_format": "-c {username}/{value}@{host}:{port}/{dbname}",
280+
"match_first": [],
281+
"is_internal": false,
282+
"is_default": false,
283+
"is_set": false
265284
}
266285
]
267286
},
@@ -351,18 +370,38 @@
351370
],
352371
"filetransfer": [
353372
{
354-
"name": "filezilla",
355-
"display_name": "Filezilla",
373+
"name": "iterm",
374+
"display_name": "iTerm2",
375+
"protocol": [
376+
"ssh",
377+
"telnet"
378+
],
379+
"comment": {
380+
"zh": "iTerm2是MacOS操作系统上的虚拟终端应用软件。\n\n!!!手动下载安装,点击保存启用!!!",
381+
"en": "iTerm2 is a virtual terminal application software on the MacOS operating system.\n\n\n!!!Manually download and install, click Save to activate!!!"
382+
},
383+
"download_url": "https://iterm2.com/downloads.html",
384+
"type": "linux",
385+
"path": "iTerm2",
386+
"arg_format": "{protocol} {username}@{host} -p {port} -P {value}",
387+
"match_first": [],
388+
"is_internal": true,
389+
"is_default": false,
390+
"is_set": false
391+
},
392+
{
393+
"name": "securefx",
394+
"display_name": "SecureFX",
356395
"protocol": [
357396
"sftp"
358397
],
359398
"comment": {
360-
"zh": "FileZilla Client是一款免费、开源的 FTP 客户端。它支持FTP、SFTP\n\n!!!手动下载安装,点击保存启用!!!",
361-
"en": "FileZilla Client is a free, open source FTP client. It supports FTP, SFTP.\n\n!!!Manually download and install, click Save to activate!!!"
399+
"zh": "SecureFX 是一款安全的文件传输应用, 拥有一个简单易学的可视化界面\n\n!!!手动下载安装,点击保存启用!!!",
400+
"en": "SecureFX is a secure file transfer application with an easy-to-learn visual interface.\n\n!!!Manually download and install, click Save to activate!!!"
362401
},
363-
"download_url": "https://filezilla-project.org/download.php?type=client",
402+
"download_url": "https://www.vandyke.com/cgi-bin/releases.php?product=securefx",
364403
"type": "linux",
365-
"path": "/Applications/FileZilla.app/Contents/MacOS/filezilla",
404+
"path": "/Applications/SecureFX.app/Contents/MacOS/SecureFX",
366405
"arg_format": "{protocol}://{username}:{value}@{host}:{port}",
367406
"match_first": [],
368407
"is_internal": false,
@@ -502,7 +541,7 @@
502541
"download_url": "https://github.com/FreeRDP/FreeRDP",
503542
"type": "windows",
504543
"path": "xfreerdp",
505-
"arg_format": "{file} /cert-ignore",
544+
"arg_format": "{file} /cert-ignore /d: /p:",
506545
"match_first": [],
507546
"is_internal": true,
508547
"is_default": false,

go-client/pkg/awaken/awaken_linux.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ func awakenSSHCommand(r *Rouse, cfg *config.AppConfig) *exec.Cmd {
7474
currentDesktop := strings.ToLower(strings.Trim(string(out), "\n"))
7575

7676
switch currentDesktop {
77-
case "gnome", "ubuntu:gnome":
77+
case "gnome", "ubuntu:gnome", "ukui":
7878
cmd = exec.Command(
7979
"gnome-terminal", "--", "bash", "-c",
8080
fmt.Sprintf("%s %s; exec bash -i", clientPath, commands),
@@ -141,7 +141,7 @@ func awakenDBCommand(r *Rouse, cfg *config.AppConfig) *exec.Cmd {
141141
currentDesktop := strings.ToLower(strings.Trim(string(out), "\n"))
142142

143143
switch currentDesktop {
144-
case "gnome", "ubuntu:gnome":
144+
case "gnome", "ubuntu:gnome", "ukui":
145145
cmd = exec.Command(
146146
"gnome-terminal", "--", "bash", "-c",
147147
fmt.Sprintf("%s; exec bash -i", commands),

go-client/pkg/awaken/awaken_windows.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ func handleSSH(r *Rouse, cfg *config.AppConfig) *exec.Cmd {
7272
commands := getCommandFromArgs(connectMap, appItem.ArgFormat)
7373
if strings.Contains(commands, "*") {
7474
commands := strings.Split(commands, "*")
75-
return exec.Command(appPath, commands...)
75+
return exec.Command(appPath, commands[0], commands[1])
7676
} else {
7777
commands := strings.Split(commands, " ")
7878
return exec.Command(appPath, commands...)

interface/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "jumpserver-client",
33
"author": "Fit2Cloud Technology Co., Ltd.; <[email protected]>",
4-
"version": "v2.1.3",
4+
"version": "v2.1.4",
55
"homepage": "https://jumpserver.org",
66
"private": true,
77
"scripts": {

interface/src/i18n/langs/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import zhLocale from "element-plus/lib/locale/lang/zh-cn";
2-
import enLocale from "element-plus/lib/locale/lang/en";
1+
import zhLocale from "element-plus/es/locale/lang/zh-cn";
2+
import enLocale from "element-plus/es/locale/lang/en";
33
import zh from './zh.json'
44
import en from './en.json'
55

12.2 KB
Loading
16.5 KB
Loading

interface/src/renderer/pages/About.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div>
33
<img id="logo" src="@/assets/JumpServer.png" alt=""/>
44
<p>{{ $t('Common.JumpServerClient') }}</p>
5-
<p>{{ $t('AboutUs.Version') }}:v2.1.3</p>
5+
<p>{{ $t('AboutUs.Version') }}:v2.1.4</p>
66
<p>{{ $t('AboutUs.Copyright') }}:FIT2CLOUD 飞致云 © 2014-2024 {{ $t('AboutUs.AllRightsReserved')}}</p>
77
<a target="_blank" href="https://www.fit2cloud.com/jumpserver/index.html">{{ $t('AboutUs.OfficialWebsite') }}</a>
88
<a target="_blank" href="https://docs.jumpserver.org/zh/v3/">{{ $t('AboutUs.OnlineDocumentation') }}</a>

0 commit comments

Comments
 (0)