Commit Graph
17 Commits
Author SHA1 Message Date
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
rainzm c793746f0d fix: handler param.convert's error in caller.go 2020-06-08 10:44:26 +08:00
wanyaoqi b05d22834f host fix cmt bound, minor fix 2020-04-26 20:52:42 +08:00
wanyaoqi 9a7c7623cd misc bugfix:
- fix get details hosts
- save image enable generate_name
- network auto set dns
- fix servers filter by disk
2020-04-26 18:31:55 +08:00
Qiu Jian 732dcdcb61 feature: system resource domainize 2020-03-27 01:20:29 +08:00
Qu Xuan 4f5d78b392 fix: 避免dbinstance_sku.get 异常 2020-03-17 16:22:59 +08:00
Qiu Jian 3c9b368c43 feature: fix region list filters round 3 2020-03-12 20:55:22 +08:00
Qiu Jian cf5498ac24 feature: recode structuralized GetExtraDetails and ListItemFilter 2020-03-04 14:01:25 +08:00
Qu Xuan 366cbd4e36 统一 details -> isList 2020-02-07 17:54:48 +08:00
Qu Xuan 76d974f6d8 feature: api -> response struct 2020-02-03 10:22:44 +08:00
Qiu Jian 110c6bc611 mergeInputOutputJson for ValidateCreateData and ValidateUpdateData 2019-12-12 11:31:47 +08:00
Qiu Jian 9d6d28b36a clean usages when resource deleted 2019-12-12 11:31:47 +08:00
Qiu Jian 3dba5360d7 quota recode 2019-12-12 11:31:41 +08:00
Zexi Li 80e88ca6aa fix caller input nil panic 2019-11-27 15:06:33 +08:00
Zexi Li 84c43c6086 fix caller parameters missing 2019-11-27 14:07:27 +08:00
Qu Xuan 42b6351dc6 fix: stack overflow 2019-11-27 13:43:57 +08:00
Zexi Li d149d84ccc support generate 2019-11-27 10:20:28 +08:00