Commit Graph

24 Commits

Author SHA1 Message Date
Qiu Jian
9025a56617 fix: webconsole close socket when read on error 2021-10-03 10:52:34 +08:00
Zexi Li
f0862574db fix(vendor): use creack/pty v1.1.11 to adapt go 1.15 2021-08-26 11:46:50 +08:00
Yousong Zhou
1c1dcbde45 i18n: move out from httperrors pkg 2020-09-21 10:12:57 +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
Qu Xuan
dee1283c0f fix: 优化webconsole代码&bugfix 2020-07-14 15:07:50 +08:00
Zexi
20ce44d9b0 webconsole: update aliyun vnc base url and uniq vnc session 2019-08-26 15:39:36 +08:00
ioito
0d0f9bcb5f 避免频繁连接server 2019-05-28 17:08:19 +08:00
Qiu Jian
004d9b6f95 update copyright headers of all source 2019-03-29 14:47:48 +08:00
Zexi Li
d41df56a82 webconsole: support websocket proxy 2019-02-19 15:32:07 +08:00
邱剑
f60937d42a Automatic merge from release/2.3.0 -> release/2.4.0
* commit '10b6e55453338bc282f7c3979f6d176e5c38c93e':
  关机后断开webconsole连接
2018-12-25 15:42:20 +08:00
屈轩
5f9cc3296a 关机后断开webconsole连接 2018-12-24 22:12:55 +08:00
Qiu Jian
965e84ea36 update 2018-12-07 02:57:58 +08:00
Yousong Zhou
3213cf047a webconsole: 修正httperrors.GeneralServerError调用 2018-11-30 03:07:01 +00:00
Yousong Zhou
72761eb3ac webconsole: 改进protocol检查 2018-11-30 03:07:01 +00:00
Yousong Zhou
5d2ef3ab41 treewide: httperrors: 使用http.ResposneWriter时保留msg fmt 2018-11-28 07:39:55 +00:00
邱剑
5f9bd7faf8 Automatic merge from release/2.2.0 -> release/2.3.0
* commit '609d0a997590c192151d85346c6a1a849c571cd9':
  替换使用xterm-256color
2018-11-15 20:15:17 +08:00
屈轩
7c15b8d2fb 替换使用xterm-256color 2018-11-15 20:10:59 +08:00
邱剑
36adeccbb7 Automatic merge from release/2.2.0 -> release/2.3.0
* commit '39dbc8830d69b5e61f82f731227d8ab8f6d9917a':
2018-10-29 22:38:43 +08:00
邱剑
46dc114e76 Merge pull request #376 in YUNIONIO/onecloud from ~QUXUAN/onecloud:release/2.2.0 to release/2.2.0
* commit 'd525cea91689fcd47e68d836c1900bab1563a7bf':
  避免instance 缓存disk数据
2018-10-29 22:37:29 +08:00
Zexi Li
cb11950f4f webconsole: websockify support base64 subprotocol 2018-10-20 17:07:20 +08:00
Zexi Li
948a1895c7 webconsole: websockify adapt graphic protocol like vnc protocol 2018-10-20 15:58:12 +08:00
屈轩
28d59c5ebd 添加超时处理 2018-09-29 16:50:08 +08:00
Zexi Li
2c28b22f67 - remove unused code
- add rpm build files
2018-09-04 19:21:52 +08:00
Zexi Li
a6736da35e webterm init 2018-09-04 18:44:52 +08:00