Commit Graph

125 Commits

Author SHA1 Message Date
ioito
0143cda8a4 fix(webconsole): avoid panic when send stats request 2023-04-07 17:15:26 +08:00
Jian Qiu
1e4bd25b1f fix: webconsole ssh user/pass prompt backspace hanlding (#15836)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-01-29 01:35:10 +08:00
Zexi Li
540e5d3d16 fix(webconsole): not get pod info when fetchK8sEnv 2022-12-29 15:49:42 +08:00
Jian Qiu
22a2ffec45 feature: automatically purge expired splitables (#15226)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-10-26 02:07:04 +08:00
屈轩
9c733ff130 fix(websonsole): vnc query (#15197) 2022-10-15 22:05:26 +08:00
wanyaoqi
1a7cd22bb8 fix: gen copyright
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-28 13:28:54 +08:00
QIU Jian
3098a7b857 fix: remove apiversion param from session 2022-08-25 10:08:30 +08:00
Zexi Li
06e54c9988 fix(webconsole): record command input and ps1 2022-04-23 23:27:23 +08:00
Zexi Li
4cb9a859bf fix(webconsole): ssh command log with login user (#14113) 2022-04-23 19:21:16 +08:00
Zexi Li
8ebcc6439b feat(webconsole): ssh command log 2022-04-22 14:22:59 +08:00
Zexi Li
a655cd723f fix(webconsole): ISessionData convert to *session.RemoteConsoleInfo 2021-12-22 17:02:21 +08:00
Zexi Li
1b5e9e54bb fix(webconsole): host ssh use cloudroot user error 2021-11-09 18:34:05 +08:00
Qu Xuan
06dc1c1b87 fix(common): split mcclient modules by service 2021-11-05 19:24:50 +08:00
Qu Xuan
5f497f2d6a fix(webconsole): support vnc for openstack 2021-11-04 19:24:52 +08:00
Qiu Jian
ec53154eee fix: webconsole close socket when read on error 2021-10-03 10:50:11 +08:00
Zexi Li
7d0958f530 Merge pull request #11987 from ioito/feat/qx-cloudpods-optimized
feat(region): cloudpods operation
2021-08-27 16:49:42 +08:00
Qu Xuan
d5afe46774 feat(region): cloudpods operation 2021-08-27 15:44:45 +08:00
Zexi Li
46c77129e9 fix(vendor): use creack/pty v1.1.11 to adapt go 1.15 2021-08-26 11:40:50 +08:00
Qu Xuan
c1be18524c fix(webconsole): add jdcloud vnc 2021-08-05 20:39:54 +08:00
Qu Xuan
1498e69e46 fix(webconsole): aliyun vnc windows ctl+alt+del 2021-06-30 19:58:50 +08:00
Qiu Jian
ea6797c606 fix: init cloud shell by apigateway 2021-05-09 01:33:36 +08:00
Qu Xuan
dc673a80d8 fix(region): apsara optimized 2020-12-25 14:20:49 +08:00
Yousong Zhou
c7d099b6fb refactor(webconsole): use structured response 2020-12-23 13:29:06 +08:00
Zexi Li
859e2078a2 fix(webconsole): trim api_server url if end with slashes 2020-12-14 15:46:34 +08:00
TangBin
5129296744 feat(webconsole): add huawei vnc support 2020-12-03 16:00:55 +08:00
Zexi Li
409c67e24b monitor: set default influxdb datasource by endpoint type 2020-10-23 20:07:15 +08:00
Yousong Zhou
aa6e45e4d9 webconsole: ssh: add keyboard-interactive as an option
For ESXi 6.0

  Authentications that can continue: publickey,keyboard-interactive
2020-10-10 14:39:02 +08:00
Yousong Zhou
cce2af5010 webconsole: ssh: each argument on its own line 2020-10-10 14:39:02 +08:00
Yousong Zhou
1c1dcbde45 i18n: move out from httperrors pkg 2020-09-21 10:12:57 +08:00
wanyaoqi
4f8b80fcc1 webconsole: fix defer order to release zombie process 2020-09-14 18:19:30 +08:00
Yousong Zhou
c2bca8ab39 Feature/yousong text (#7487)
* notify: log with context info

* region: guests: log with context info

* region: hosts: log with context info

* region: misc: remove redundant log

* region: skus: use NewInternalServerError instead of NewGeneralError

* appsrv: dispatcher: preserve text id

* appsrv: dispatcher: remove commented-out code

* cloudcommon: db_dispatcher: note errors that won't be translated

* cloudcommon: db: rbac: preserve text id

* cloudcommon: caller: preserve text id

* treewide: fix fmt string

* region: guest_actions: preserve text id

* region: guest_actions: fix fmt string

* region: usages: fix fmt string

* mcclient: hosts: remove redundant return value

* cloudcommon: fetch: preserve text id

* region: guest_template: preserve text id

* cloudcommon: db: db_dispatcher: preserve text id

* region: guest_actions: preserve text id

* httperrors: add funcs for wrap lang tag into context

* vendor: golang.org/x/text

* httperrors: error with context

* httperrors: HTTPError

* treewide: fix typo

* treewide: use en in source code

* locales: initial version
2020-08-25 15:26:31 +08:00
Zexi Li
642d694277 webconsole: fix old session make new session closed 2020-07-16 18:47:27 +08:00
Qu Xuan
dee1283c0f fix: 优化webconsole代码&bugfix 2020-07-14 15:07:50 +08:00
Zexi Li
e56152aa48 webconsole: fix version and others handler not handle 2020-06-10 16:57:28 +08:00
Qiu Jian
7eae94d0c1 fix: decouple climc and webconsole, make climc windows buildable 2020-04-17 01:15:29 +08:00
Qiu Jian
adeda57082 fix: service config changes not effective 2020-04-06 15:43:29 +08:00
Qiu Jian
5e6070d809 feature: make webconsole's api_server option common 2020-03-30 15:29:58 +08:00
Yousong Zhou
1d5d2276d6 webconsole: typo fix accessable -> accessible 2020-03-23 16:35:04 +08:00
Zexi Li
0b3ef91083 webconsole: use base64 encode connect_params 2020-02-12 11:42:52 +08:00
TangBin
8b0f4b6576 ctyun operations 2020-01-16 17:05:20 +08:00
Zexi Li
bb5c542450 webconsole: skip spice access interval check 2019-11-15 15:03:45 +08:00
Zexi Li
534d10486c webconsole: fix baremetal ipmitool sol payload active on another session 2019-11-08 11:35:47 +08:00
Yousong Zhou
6ca7892698 webconsole: always do session close on pty stop 2019-11-05 03:55:34 +00:00
ioito
3f2aa9c55d fix: 避免密码登录时使用秘钥认证 2019-09-10 17:21:07 +08:00
Zexi
20ce44d9b0 webconsole: update aliyun vnc base url and uniq vnc session 2019-08-26 15:39:36 +08:00
Zexi
a1a8525589 add compents docker file 2019-08-09 17:44:29 +08:00
Yousong Zhou
7b6e113874 webconsole: 改正文件权限
- 密钥不需要执行权限
 - 先改权限再写内容
2019-06-12 10:21:17 +00:00
ioito
0d0f9bcb5f 避免频繁连接server 2019-05-28 17:08:19 +08:00
ioito
35ae3694f5 避免ip为空导致创建失败 2019-05-23 12:05:26 +08:00
ioito
ff2cca8611 rebase master 2019-05-21 22:36:52 +08:00