Commit Graph
133 Commits
Author SHA1 Message Date
wanyaoqi 3f7e134fbf fix(worker): policy and task worker count configurable (#14958) 2023-01-05 22:36:50 +08:00
Jian QiuandQiu Jian 21716cefb5 fix: remove mutual dependency of cloudmux on onecloud (#15621)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-12-27 01:21:26 +08:00
Jian QiuandQiu Jian ec90862764 fix: remove dependency of appctx on i18n (#15615)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-12-23 23:44:52 +08:00
屈轩 bac71bf2a0 fix(cloudmon): add process stats metric (#15392) 2022-11-17 20:40:08 +08:00
Qiu Jian 47b0be0efd fix: allow upload image via apigateway backend proxy 2022-11-02 20:32:18 +08:00
Qiu Jian 7a0a3a47f7 fix: add HSTS (RFC 6797) header if TLS enabled
https://www.tenable.com/plugins/nessus/142960
2022-09-07 07:48:41 +08:00
bqyang 5b92f78518 test(radix_test.go): refactor TestRadixNode func make it more tidy (#14885) 2022-09-01 20:32:34 +08:00
huangzekeng 3230ad06a9 fix(apigateway): edit http redirect code 301 to 302 2022-08-08 13:50:16 +08:00
Zexi Li 757f703879 feat(appsrv): pprof handler with prefix 2022-07-12 21:50:47 +08:00
屈轩 2a0deea6e9 fix(common): data resp (#14264) 2022-05-17 16:36:52 +08:00
zhaoxiangchun f82803f29d fix(region): app replace backgroud ctx 2022-04-11 14:51:36 +08:00
屈轩 9f539a4bce fix(apigateway): export timeout (#13827) 2022-03-31 12:57:06 +08:00
Qiu Jian ead9115b6f fix: add header x-xss-protection 2022-01-19 12:55:51 +08:00
Qiu Jian bb193f7941 fix: system server randomly lose connectivity in vpc network 2021-12-22 02:43:23 +08:00
Qiu Jian 97a3ab12a2 support sqlite 2021-11-17 07:25:00 +08:00
Zexi Li 738aaa7ab8 fix(keystone): appsrv listen multi port failed cause of race condition 2021-08-26 16:52:54 +08:00
Qu Xuan 20b151fbc2 fix(region): remove debug info 2021-07-13 17:25:58 +08:00
rainzm 311d0efb80 feat(notify,region): improvement of news subscription 2021-06-24 10:30:01 +08:00
Qu Xuan 7b845d17c7 fix(common): dump task info when stucking 2021-04-26 10:45:38 +08:00
Qu Xuan 627503cdc1 feat(cloudid): add azure saml 2021-01-18 14:58:19 +08:00
Yousong Zhou 771824d307 feat(appsrv): Application: add Stop method for shutdown behaviour 2020-12-02 18:04:31 +08:00
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