Commit Graph

8421 Commits

Author SHA1 Message Date
TangBin
88838bb538 pex register add optional column mac_access 2020-09-04 15:54:01 +08:00
Zexi Li
723a8a3547 Merge pull request #7751 from ioito/hotfix/qx-cloudid-optimized
Hotfix/qx cloudid optimized
2020-09-04 10:33:15 +08:00
Zexi Li
3f62936a5d Merge pull request #7748 from rainzm/esxi/net
feat(esxi): correctly judge whether inet is nil
2020-09-04 10:32:22 +08:00
Zexi Li
8bf7fd654c Merge pull request #7757 from swordqiu/hotfix/qj-support-VirtualDiskRawDiskMappingVer1BackingInfo
fix: support VirtualDiskRawDiskMappingVer1BackingInfo
2020-09-04 10:31:12 +08:00
Zexi Li
57ceac5dda Merge pull request #7753 from swordqiu/hotfix/qj-remove-sso-redundant-authcookie
fix: remove redundant auth cookie in sso login
2020-09-04 10:30:41 +08:00
Zexi Li
81a8ae288b Merge pull request #7744 from wanyaoqi/bugfix/wyq/check-min-disk-size-on-update
glance: check min disk size on update
2020-09-04 10:29:43 +08:00
Zexi Li
dfa837a3ff Merge pull request #7741 from swordqiu/hotfix/qj-search-project-domain-by-chsname
fix: search by chs projectname or domainname
2020-09-04 10:28:55 +08:00
Zexi Li
7617fd3e52 Merge pull request #7740 from swordqiu/hotfix/qj-find-esxi-host-access-ip
fix: find correct esxi host access ip
2020-09-04 10:28:33 +08:00
Zexi Li
486adf60ae Merge pull request #7735 from rainzm/schedulertask/fix
fix(compute): return InputParameterError while ValidateCreateData
2020-09-04 10:27:34 +08:00
Qiu Jian
a672c6b334 fix: support VirtualDiskRawDiskMappingVer1BackingInfo 2020-09-04 00:14:30 +08:00
yunion-ci-robot
835f60f584 Merge pull request #7730 from swordqiu/feature/qj-support-lenovo-huawei
fix: compatiblity fixes with lenovo RD620 and huawei 2288
2020-09-04 00:03:42 +08:00
Qiu Jian
ef138c05d4 fix: remove redundant auth cookie in sso login 2020-09-03 23:52:12 +08:00
Qiu Jian
053507c3e3 fix: find correct esxi host access ip 2020-09-03 22:17:04 +08:00
rainzm
0a9a73587e feat(notify): Allow use topic to filter notification 2020-09-03 21:15:38 +08:00
Qu Xuan
ce032ecf17 fix: optimzed sync 2020-09-03 21:10:29 +08:00
Qu Xuan
fd318a9cda fix: optimized cloudid 2020-09-03 20:29:37 +08:00
rainzm
3793387b66 feat(esxi): correctly judge whether inet is nil 2020-09-03 20:22:21 +08:00
wanyaoqi
53d0914cd9 glance: check min disk size on update 2020-09-03 19:58:22 +08:00
Qiu Jian
64f5bc748c fix: search by chs projectname or domainname 2020-09-03 18:36:28 +08:00
rainzm
f11a1df3a5 fix(compute): return InputParameterError while ValidateCreateData 2020-09-03 15:20:20 +08:00
rainzm
f57a199cbd feat(notify): Add TNotifyChannel const of robot 2020-09-03 15:08:13 +08:00
rainzm
89ec96567b feat(notify): replace VerifiedContactTypes with VerifiedInfos in ReceiverDetails
VerifiedInfos will provide Note to display.
2020-09-03 15:08:13 +08:00
rainzm
e179191dd3 feat(notify): Support trigger-verify for feishu, dingtalk and workwx 2020-09-03 15:08:13 +08:00
rainzm
3e982ab79a feat(notify): Add VerifiedNote for SSubContact
VerifiedNote will be 'ok' if SSubContact verified successfully.
Otherwise, there will be there value for VerifiedNote:
1. no such mobile: mobile is not exist, change and try again.
2. incomplete config: tell admin to improve the configuration.
3. service exceptions: try again or connect to admin.
2020-09-03 15:08:13 +08:00
rainzm
bf12f5b57c feat(notify): break down error from UseridByMobile 2020-09-03 15:08:13 +08:00
rainzm
9af0fe1fe9 fix(notify): Set default priority 'normal' when creating notification 2020-09-03 15:08:13 +08:00
rainzm
9029e98c2f fix(notify): Mark verified not enabled in MarkContactTypeVerified 2020-09-03 15:08:13 +08:00
rainzm
8a80f96d62 refactor(notify): hide SSunContact webconsole
Every receiver has webconsole type contact that is equal with
receiverid.
Now, make webconsole invisible, and it does exist.
2020-09-03 15:08:13 +08:00
rainzm
2ea4138f3a fix(notify): Allow user list receivers 2020-09-03 15:08:13 +08:00
rainzm
9978f19542 fix(notify): use AfterSend for contact with succuessful sending 2020-09-03 15:08:13 +08:00
Qiu Jian
f6eb9fc195 fix: compatiblity fixes with lenovo RD620 and huawei 2288 2020-09-03 11:55:22 +08:00
yunion-ci-robot
7a0eb06df9 Merge pull request #7725 from tb365/bugfix/tb-create-classic-vpc-fix
create classic vpc fix
2020-09-03 10:32:41 +08:00
yunion-ci-robot
bb68d7f2c2 Merge pull request #7587 from ioito/feature/qx-dns-interface
feature: add dns interface
2020-09-02 18:01:08 +08:00
TangBin
6a22bf0e7b create classic vpc fix 2020-09-02 18:00:18 +08:00
Qu Xuan
5b3bfd1b3b fix: avoid nil panic 2020-09-02 17:26:38 +08:00
Qu Xuan
0cc0a19910 fix: avoid policy value not save 2020-09-02 17:08:13 +08:00
Qu Xuan
5eaece5516 fix: climc params 2020-09-02 16:57:07 +08:00
yunion-ci-robot
df37b58320 Merge pull request #7716 from zhaoxiangchun/bugfix/zxc-monitor-alert
alertrecords bugfix
2020-09-02 16:33:42 +08:00
yunion-ci-robot
2674f6a8ed Merge pull request #7718 from wanyaoqi/feature/wyq/vmware-support-lvm
feature: vmware disk support deploy lvm partition
2020-09-02 16:31:46 +08:00
Qu Xuan
f251559c39 feature: add dns interface 2020-09-02 16:30:05 +08:00
yunion-ci-robot
3608b58064 Merge pull request #7722 from wanyaoqi/bugfix/wyq/update-host-status-on-host-offline
hosts: update host status to unknown on host offline
2020-09-02 16:27:38 +08:00
Rain Zheng
1ed65ddd1a Feature & Fix for Notify (#7714)
* feat(notify): Add 'get-types' action for ConfigManager

The List interface is only open to administrators,
because we don't want anyone other than administrators
to see the details of the notify configuration.
To let general user to kown available notification channels,
add 'get-types' actions of ConfigManager.

* feat(notify): Check the availability of contact type before creating notification

Creating notification with unconfigured contact type will fail at
sending message. Now, prevent creation in advance.

* feat(notify): Add workwx for NotifyNormal/Important/Critical

* feat(notify): Add Notify about robot in notifyclient

* fix(notify): Init ParentContactType for SSubContact

1. ParentContactType of SSubContact with webconsole type is empty.
2. ParentContactType of others SSubContact is mobile.

* fix(notify): Unverify SSubContact when ParentContactType match

* fix(notify): When no data is initialized, exit directly
2020-09-02 16:10:06 +08:00
wanyaoqi
4a00c22297 update host status to unknown on host offline 2020-09-02 13:07:27 +08:00
zhaoxiangchun
138a161195 listfilter by alert_id 2020-09-01 20:46:16 +08:00
zhaoxiangchun
bb22fba257 alert record bugfix
1.return details fix
2020-09-01 20:46:15 +08:00
wanyaoqi
7dcb240940 vmware disk support deploy lvm partition 2020-09-01 20:43:55 +08:00
wanyaoqi
74c8c6bfe2 hostinfo: try create network add is_on_premise (#7706) 2020-09-01 20:09:48 +08:00
屈轩
416afb686a fix: add details for account delete (#7702)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-09-01 20:08:37 +08:00
Yousong Zhou
b314b66b71 Bugfix/yousong i18n (#7712)
* httperrors: support setting lang with X-Yunion-Lang

* mcclient: session: set lang
2020-09-01 19:11:41 +08:00
Yousong Zhou
da64e4a267 httperrors: use existing details if id is not present (#7710) 2020-09-01 18:32:37 +08:00