Commit Graph
112 Commits
Author SHA1 Message Date
Qiu Jian 9073461f99 fix: enforce response charset 2020-10-30 12:50:23 +08:00
wanyaoqi 1cfee7cf6c replace NewFloat by NewFloat64 and NewFloat32 2020-10-14 11:54:30 +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
Qiu Jian 92f05be309 feature: cloudid saml support phase1 -- framework and api 2020-08-18 01:21:56 +08:00
Qiu Jian 0967843896 feature: unified sso login framework 2020-07-21 16:13:18 +08:00
Yousong Zhou 7a3f241450 appsrv: quash low-value debug log lines 2020-06-28 14:49:38 +08:00
Qiu Jian 3b32f0a4d9 sp support 2020-06-22 09:52:58 +08:00
Qiu Jian 3b7a1e9467 feature: support SAML idp 2020-06-22 09:52:58 +08:00
Yousong Zhou 358f5d41af appsrv: rework TestRing 2020-06-17 10:52:14 +08:00
Yousong Zhou e37f15cac2 appsrv: ring: release ring content on pop 2020-06-17 10:52:14 +08:00
wanyaoqi 7bcedd41e8 do not close worker chan
don't close worker chan after put work, will cause dead loop
2020-05-13 18:55:16 +08:00
Qiu Jian c29f4011e6 fix: worker may block by worker_chan 2020-03-30 19:25:00 +08:00
TangBin a93358a932 get spec return jsonclient err 2020-03-18 15:46:58 +08:00
Yousong Zhou f3558f7b91 appsrv: use signalutils.SetDumpStackSignal() 2020-02-26 11:36:48 +08:00
Qiu Jian 097fa6d86b fix: hide worker manager watchdog log 2019-12-25 18:26:53 +08:00
Qiu Jian 6d8f19273c feature: service config update support 2019-12-23 19:09:32 +08:00
Yousong Zhou 8ba5986d83 goimports: first run 2019-10-28 06:22:17 +00:00
Qiu Jian 5a024b7cfe fix: reduce policy sync worker queue size 2019-09-27 23:00:13 +08:00
yunion-ci-robot cc4075c38a Merge pull request #2998 from swordqiu/hotfix/qj-set-process-timeout-to-1minute
fix: adjust default process timeout to 1 minute (previously 15 seconds)
2019-09-19 22:02:29 +08:00
Qiu Jian 50fefac9ef fix: adjust default process timeout to 1 minute (previously 15 seconds) 2019-09-19 21:05:38 +08:00
wanyaoqi c648b823b0 misc fix
- optimize batch create validate
2019-09-17 14:42:39 +08:00
Qiu Jian 783dfbc245 fix: yunionapi nil pointer panic after failed login 2019-09-09 15:38:26 +08:00
TangBin 59461ce097 reformat import 2019-09-07 22:56:47 +08:00
TangBin d2fa217cab mcclient module base 2019-09-07 22:56:47 +08:00
Qiu Jian 3591afee2e feature: keystone support CAS SSO authentication 2019-09-07 18:44:35 +08:00
Qiu Jian 77c4a53059 feature: 1. ak/sk auth support 2. a full feature s3gateway works with
Cyberduck

注意:以下两个文件的修改还未被官方合并,所以下次make
mod的时候会被覆盖,需要注意checkout恢复:

vendor/github.com/Azure/azure-sdk-for-go/storage/blockblob.go
vendor/github.com/tencentyun/cos-go-sdk-v5/object_part.go
2019-08-30 00:12:39 +08:00
Yousong Zhou d8dc6aeb0e appsrv: 反转义path segs
支持"climc network-delete 中文"
2019-08-22 08:42:29 +00:00
Rain 577dce1bc5 snapshotpolicy list create delete apply cancel finish except that disk sync snapshot policy
add copyright

fix some imprefection

fix test file
2019-08-16 14:03:15 +08:00
Qiu Jian 93b8bac5bb s3gateway round 2 2019-07-24 21:28:41 +08:00
Zexi 847f177bfb pprof: integrate pprof into appsrv framework 2019-07-17 14:02:29 +08:00
wanyaoqi 32c2a5d613 fix export data 2019-07-02 22:02:06 +08:00
wanyaoqi 17c886084a fix export data, set no limit; expand timeout 2019-07-02 17:50:08 +08:00
Qiu Jian dd13a991c0 fix: misc bug fixes. add usage and event log API 2019-05-17 13:54:29 +08:00
Qiu Jian 2efc5e641e fix: add keystone initialization procedures 2019-05-17 13:54:29 +08:00
Qiu Jian 5a660987e6 feature: keystone support phase 1 2019-05-17 13:53:45 +08:00
Zexi Li 34ddb8ea4b add https://github.com/stretchr/testify to vendor for unit tests (#367) 2019-04-13 10:59:09 +08:00
Zexi Li 6e67c0a745 region: enhance server clone releated apis (#270) 2019-04-08 22:05:33 +08:00
wanyaoqi a22ad1ebc8 implement hijacker (#226) 2019-04-04 16:04:21 +08:00
Jian Qiu 316335267a improve server-list performance (#193)
* improve server-list performance

FetchCustomizeColumns that fetch extra fields for all rows 3. separate
read and write http request session

* update vendor

* update: optimize multi-column indexes
2019-04-03 20:24:28 +08:00
Qiu Jian 004d9b6f95 update copyright headers of all source 2019-03-29 14:47:48 +08:00
wanyaoqi b67eb79797 fix cpu set 2019-03-15 12:20:30 +08:00
Yousong Zhou 4c82dae39b Merge remote-tracking branch 'origin/release/2.6.0' into bugfix/yousong-goimports-270 2019-03-13 13:33:51 +00:00
Yousong Zhou 8fe4f2ec98 treewide: group imports with goimports
./goimports -w -local yunion.io/x/onecloud/ -corp yunion.io/x/ $GOPATH/src/yunion.io/x/onecloud/{cmd,pkg}
2019-03-13 10:46:12 +00:00
wanyaoqi 314d99d2b4 fix metadata port, appsrv add check quitHandlerRegisted 2019-02-28 21:15:45 +08:00
wanyaoqi c7b29175da fix radix tree 2019-02-27 21:30:04 +08:00
wanyaoqi 485d6fc290 fix radix tree 2019-02-27 21:07:55 +08:00
wanyaoqi 39c0ac797b add host metadat, radix minor fix 2019-02-27 12:17:37 +08:00
wanyaoqi 40dbc8d478 recode radix tree 2019-02-27 12:16:41 +08:00
邱剑 a4ce38c4fe Merge pull request #1013 in YUNIONIO/onecloud from ~QIUJIAN/onecloud:feature/qj-image-p2p-distribution to release/2.6.0
* commit '4c6f196ec541d1b8c8e2d79ea69c7bd7f9fcf1a6':
  temp commit
  minor updates
  torrent recode
2019-02-18 23:03:55 +08:00