Commit Graph

278 Commits

Author SHA1 Message Date
Jingwei.Zhang
cc7222106f feat: Refactor admin overview codes
Refactor overview admin codes

Change-Id: I33dfd8a96ff17b9dac33d53e60dc19a498af4a91
2021-09-18 10:32:56 +08:00
Jingwei.Zhang
6118976855 feat: Refactor rebuild instance
Refactor rebuild instance

Change-Id: Idd8367d66a2c6363a3f24870f2e0eb2730375d06
2021-09-18 09:42:22 +08:00
Jingwei.Zhang
07b381395c feat: Refactor network list page
Refactor network list page

Change-Id: Idd5e972e7c63dbc9e7fdd3c2f2e22cfa60fd67c3
2021-09-17 17:52:09 +08:00
Jingwei.Zhang
62234626f5 fix: Fix delete shelved instance
Fix delete shelved instance

Change-Id: I696be27bcb25b765c1f57ca10be51404cddc1722
2021-09-17 15:46:00 +08:00
Zuul
8622cb97eb Merge "fix: Fix for credential download & show" 2021-09-17 07:06:44 +00:00
zhuyue
20c47ece8a fix: Fix for credential download & show
1. fix credential role show
2. fix credential download

Change-Id: Ib460a507d65395963db0445ca40a3d2a4d5eb83f
2021-09-17 11:33:13 +08:00
Jingwei.Zhang
b59b9304d7 fix: Remove useless actions
Remove useless actions: attach/detach iso volume

Change-Id: Ie8cb684649261cf04c6df7ce72d37c0d1304cf58
2021-09-17 09:18:44 +08:00
Jingwei.Zhang
9c678927d5 fix: Refactor create instance
1. Refactor create instance base step codes
2. Fix fetch all data with sort params

Change-Id: I835c2c29c96dc6fada1c6982539a448363ac684e
2021-09-17 09:17:55 +08:00
zhuyue
6e96e18809 refactor: Refactor QoS Policy code
refactor qos policy code

Change-Id: I22b3655cf879b280a1a30a5516daed1c26a44b32
2021-09-16 17:49:31 +08:00
Zuul
438bc2e6fa Merge "fix: remove port_security_enabled in edit port" 2021-09-16 08:08:49 +00:00
zhuyue
0177308add fix: remove port_security_enabled in edit port
remove port_security_enabled in edit port

Change-Id: Ia3aa005fc1dbafc7f87b415cccd59aa34d30ee1a
2021-09-16 15:30:35 +08:00
Jingwei.Zhang
e1b0db5705 fix: Fix volume restore tip
Fix volume restore tip

Change-Id: I06e42222ef33add2af294a8b9c03852958d48429
2021-09-16 14:38:06 +08:00
Jingwei.Zhang
6f5816efe9 fix: Update instance check for attach/detach volume
Update instance check for attach/detach volume

Change-Id: Ie6396b2b9c42d424d0396f9c840fb6182ebd45e5
2021-09-16 11:18:05 +08:00
Jingwei.Zhang
f50df3da8d feat: Refactor project list page
1. Refactor project list page
2. Remove useless func

Change-Id: I65ae489bf29e61e9745a987c0a42d9aeafc97014
2021-09-15 16:10:52 +08:00
Jingwei.Zhang
318f7b195d fix: Remove useless component && update path && update image
1. Remove useless component: NotFound, EmptyTable
2. Update asset path according to alias in webpack
3. Update page path according to alias in webpack
4. Remove useless image
5. Update image name

Change-Id: I0c8fc48733d0a0f9df80e8cc37db63fdebaa166b
2021-09-15 11:56:56 +08:00
Zuul
21e6a0f80f Merge "fix: Fix for phone number validate" 2021-09-14 10:04:13 +00:00
zhuyue
096e6db691 fix: Fix for phone number validate
use `phone` to validate phone number with different countries

Change-Id: I4f716f9df31af5f0d9643a0a48a64a13a15d2d02
2021-09-14 17:30:40 +08:00
Jingwei.Zhang
5acb43f7ee feat: Update user avatar
1. Update user avatar
2. Update module export

Change-Id: Icd270c2ff153ec51a9c382b372c87fc61da429ab
2021-09-14 15:35:12 +08:00
Zuul
c1b971fbc0 Merge "feat: Add administrator link in header in user center page" 2021-09-14 04:04:42 +00:00
Jingwei.Zhang
a647053b40 feat: Add administrator link in header in user center page
1. Add administrator link in header in user center page
2. Refactor overview component in user center
3. Refactor HeaderRightContent component
4. Add isUserCenterPage prop in containers

Change-Id: I03357e70d4fbe860740c3663f35aef63457835bb
2021-09-14 11:12:11 +08:00
xusongfu
3069f72333 fix: Hide vCPUs & ram in hypervisor
vCPUs and ram are not used for bare metal scheduling

Change-Id: I7272aad91429828f2fae4d44e3bf9552fe63741c
2021-09-14 10:19:06 +08:00
Jingwei.Zhang
5d69f66eac feat: Update download file name in detail page
Add detail resource name and detail id in download file name, such as ,`instance-fd3ec1bb-9423-4537-b74e-8f967ed011c7-volumes-all-2021-09-13 16_15_20.csv` means downlaod all the volumes in instance fd3ec1bb-9423-4537-b74e-8f967ed011c7 detail page

Change-Id: Ied8e9ae5104b821866d44137679cccafc0f69656
2021-09-13 16:56:05 +08:00
zhangjingwei
61f21da7e6 feat: Update datas to data
1. Update datas to data
2. Update metadatas to metadata
3. Update data intro && codes in docs

Change-Id: I2041b69c6d9a9e9ec61c3861ad8860af5ac5cc0b
2021-09-13 14:34:25 +08:00
Jingwei.Zhang
fd69957fcf fix: Fix loading for ConfirmAction component
Fix loading status after click submit button in confirm modal

Change-Id: I27499a5ee0e568bef202cf6367c7ed22344e6c37
2021-09-13 13:22:06 +08:00
Jingwei.Zhang
30210e33c6 fix: Fix redirect to pre page after login
1. Fix redirect to pre page after login when visit page first
2. Fix gotoLogin in client request
3. Refactor functions in create instance
4. Refactor functions in instance detail
5. Update module export

Change-Id: If7b166afc70e807c753ebf5901434166d4a7b602
2021-09-10 15:55:19 +08:00
zhangjingwei
1aaff3bab3 fix: Fix volume type quota of project in administrator
1. Fix volume type quota in project detail page
2. Fix volume type quota in manage quota action
3. Update module export

Change-Id: I17795422508e5a61e6f12903808586e1f940030b
2021-09-10 11:42:22 +08:00
Jingwei.Zhang
d9b940f5ae fix: Update instance delete
1. Update instance delete in order to be compatible with the recycling instance interval
2. Add getSubmitData for form to better change the submit data
3. Update create instance/iroinc to use getSubmitData
4. Update module export

Change-Id: I102cb7f097556586673fb0f40c8c71dd5e028516
2021-09-10 11:01:37 +08:00
Jingwei.Zhang
299efc2ee1 fix: Update Table component && update stack codes
1. Update Table component
2. Remove useless action: extend root volume
3. Update export of stack codes
4. Remove useless func of stack codes

Change-Id: I47b9aaa92d0cc8fa6cf8d00ebc185e6b15bd2568
2021-09-09 11:01:53 +08:00
Zuul
936f598932 Merge "fix: Show the image which has no usage_type" 2021-09-09 02:31:21 +00:00
Zuul
543d3fbfd5 Merge "fix: Fix column in volume backup" 2021-09-09 02:12:47 +00:00
xusongfu
afffef2ace fix: Show the image which has no usage_type
Show the image which has no usage_type in the image list when create instace or ironic

Change-Id: I3d9cc0578eddb10942e039e507c63bf3ec6662c5
2021-09-09 09:40:53 +08:00
xusongfu
dcbfa1b2f2 fix: Fix column in volume backup
Show volumes id & name in volume backup

Change-Id: I655e6345bc52c5a07ffe9ebc86b061eb0e6ddf89
2021-09-09 09:39:08 +08:00
xusongfu
1491201580 fix: Fix action log popup with debounce
Fix action log popup with debounce

Change-Id: I412bb4091b987755c1be12b6eec353119de3c3e2
2021-09-09 09:35:27 +08:00
Zuul
f15ea203a2 Merge "fix: Fix extend volume with large volume size" 2021-09-08 10:40:10 +00:00
zhuyue
8bbb0e1f28 fix: Fix extend volume with large volume size
fix extend volume with large volume size limited by quota

Change-Id: I57402313acca715d22e9ec8794fe6b66a40f0544
2021-09-08 18:11:48 +08:00
Jingwei.Zhang
2b68f2a3d7 fix: Update component && validate
1. Add 'ready' status to State component
2. Add price render in table
3. Support children column in table
4. Fix image/instance name validate
5. Support loading in Label component
6. Fix MagicInput component style
7. Fix role check in layout
8. Update class export
9. Remove useless component

Change-Id: I0e5d7e4a23fb0a68e17ae57eba83608be3a3df0e
2021-09-08 15:49:11 +08:00
zhuyue
a6f387d67e feat: Add application credential
add application credential

Change-Id: Id07525e3bc8709aa4226dabd8084d9a09821c397
2021-09-08 15:24:46 +08:00
Jingwei.Zhang
360f387aa8 fix: Remove useless api codes
1. Remove useless api codes
2. Remove useless endpoints in client
3. Update arrow func in overview admin to normal func for better inheritance
4. Remove useless libs codes
5. Remove useless variables in overview codes

Change-Id: Iffecb73fe0a4a23c57303f67965d9528688da87a
2021-09-08 10:27:57 +08:00
Zuul
dbcf276094 Merge "fix: Remove price codes && update stores" 2021-09-07 12:07:35 +00:00
Zuul
f86b7a3207 Merge "feat: Add error card for instance with 'fault'" 2021-09-07 10:44:25 +00:00
Jingwei.Zhang
49b07a6f70 fix: Remove price codes && update stores
1. Remove useless codes related to prices
2. Update client usage in stores

Change-Id: I1c717842b4f9918ab7e1665c99847aa6960b9e44
2021-09-07 17:56:23 +08:00
zhuyue
f24eda0de3 feat: Add error card for instance with 'fault'
add error card for instance with 'fault' in detail page

Change-Id: I781f9ea4f726c1b175c424d1b3f1cdd40e747eb8
2021-09-07 17:41:51 +08:00
Jingwei.Zhang
535badf92e fix: Fix import circle
Fix import circle

Change-Id: I3588254da48ade79c31c99a6f03bd48c82350116
2021-09-07 12:57:18 +08:00
Jingwei.Zhang
f21c5a6daa fix: Update link generate for security group rule
1. Update link generate for security group rule
2. Update export

Change-Id: I12ea81aab8ff697e1b0764ae9592d0de4ee00bc4
2021-09-06 16:24:57 +08:00
Zuul
ca4f999c7f Merge "fix: Fix unit test case" 2021-09-06 07:57:00 +00:00
zhuyue
4297fa2d34 fix: Fix unit test case
fix unit test case

Change-Id: Id08e37e603a897e9da895e229fa2b82a460718d5
2021-09-06 15:14:09 +08:00
zhuyue
b6a9ece014 fix: Fix locked instance extend volume notify twice time
fix locked instance extend volume notify twice time

Change-Id: I056cc1770467c85541fe22f08f464316c3b9d76f
2021-09-06 15:11:26 +08:00
Zuul
6bbfce1586 Merge "fix: Fix stack template && filter" 2021-09-06 04:44:47 +00:00
Zuul
5227597e34 Merge "fix: Fix cannot create network with ipv6 and other issues" 2021-09-06 03:10:18 +00:00
Zuul
2aef4e897c Merge "fix: remove interface number check of detach action" 2021-09-06 02:58:50 +00:00
xusongfu
22bd292634 fix: Fix cannot create network with ipv6 and other issues
1. Fix the gateway_ip form item to prevent wrong verification
2. Fix checkCidr function to make sure correct verification of empty values
3. Fix rule message to match form label with empty value
4. Add `maskClosable = false` to prevent closing the modal by mistake when filling in the form, causing all inputs to be cleared

Change-Id: I55f504b6a457de7ff0dd1017453a1cd800f4610a
2021-09-06 10:42:28 +08:00
zhuyue
504dd24da4 fix: remove interface number check of detach action
remove interface number check of detach action

Change-Id: I86e904f9d59ef67a0aff6c78f598aa2344bd56a4
2021-09-06 02:14:04 +00:00
zhuyue
e379fe4d53 fix: Fix for vpn resource download
fix for vpn resource download

Change-Id: I38243981aefd7238973ace7fb6e9c1fd30e46fcc
2021-09-06 02:14:02 +00:00
zhangjingwei
b1805a9869 fix: Fix stack template && filter
1. Fix stack template in detail page
2. Fix stack search filter

Change-Id: I37d53a700e63e19b57f2965ccbd1ca200720638e
2021-09-06 09:50:04 +08:00
Zuul
a33636340d Merge "fix: Fix edit subnet params" 2021-09-03 09:59:38 +00:00
Zuul
239274fa5b Merge "fix: Close batch action modal when error" 2021-09-03 09:55:16 +00:00
Zuul
c5a1321e77 Merge "fix: Fix lb download" 2021-09-03 07:59:45 +00:00
zhuyue
31575ba70c fix: Close batch action modal when error
close batch action modal when error

Change-Id: I0c1e6a4e9f961b32dd171caae9be83fe8ec6ffaf
2021-09-03 15:43:17 +08:00
Zuul
d4300f113e Merge "fix: Fix manage port security group" 2021-09-03 07:24:05 +00:00
Zuul
117426b132 Merge "fix: Fix port download column" 2021-09-03 07:20:07 +00:00
zhuyue
1d504c7645 fix: Fix lb download
fix lb download

Change-Id: Ibe33b212d8b5097c9ea33074f6e51fcf746bc0a7
2021-09-03 15:06:36 +08:00
zhuyue
54b4106d5c fix: Fix manage port security group
fix manage port security group

Change-Id: Id8a79ef642cb5f81183c080b2288e4224c24109c
2021-09-03 14:54:40 +08:00
zhuyue
63e97657d5 fix: Fix port download column
fix port download column

Change-Id: Icc4b287311a39eb36ae9f21950b795d8c79722e6
2021-09-03 13:42:06 +08:00
Zuul
63915c881b Merge "fix: Fix create user in domain detail page" 2021-09-03 04:51:30 +00:00
Zuul
07a34abd9b Merge "fix: Fix volume columns" 2021-09-03 04:38:36 +00:00
zhuyue
2984fba525 fix: Fix edit subnet params
fix edit subnet params

Change-Id: Id8473c12f272c0b082bb9c9f5629ea965cd9a10b
2021-09-03 11:59:33 +08:00
zhuyue
efe6ff81cd fix: Fix volume columns
fix volume columns

Change-Id: I261fefdab1bfe3dd12445710be59278fbc4204cb
2021-09-03 11:55:44 +08:00
zhuyue
7a11c3e279 fix: Fix create user in domain detail page
fix error name when creating user in domain detail page successfully

Change-Id: I123d158d9398469cc26b879c795b0944f9978c4c
2021-09-03 11:50:59 +08:00
zhuyue
40a7831e79 fix: Fix magic input css
fix magic input css

Change-Id: Ifcbedbb46102fa217794c573bb6d4eba2956aaa2
2021-09-03 11:33:29 +08:00
Zuul
73300c38d8 Merge "fix: Fix table height with hint" 2021-09-03 02:39:16 +00:00
Zuul
672c8d0f9b Merge "fix: Fix spelling & remove link" 2021-09-03 02:35:07 +00:00
Zuul
4eca73c6fd Merge "fix: Fix for select table init & LB listener download" 2021-09-03 02:35:05 +00:00
Zuul
9dd11c8296 Merge "fix: Fix for magic input with boolean option show & etc." 2021-09-03 02:28:08 +00:00
Zuul
88ac78a8db Merge "feature: Add allocation pools validate rules" 2021-09-02 10:39:47 +00:00
Zuul
70ff7bd7d6 Merge "fix: Fix project detail policy" 2021-09-02 10:39:46 +00:00
zhuyue
e9d2152e32 fix: Fix spelling & remove link
1. fix spelling
2. remove link at login page

Change-Id: I9210891c3d00ca23a67cf300ab4d44cbe1176505
2021-09-02 18:24:51 +08:00
zhuyue
d7d78a1be5 fix: Fix for select table init & LB listener download
1. fix for select table init
2. fix for lb listener download

Change-Id: Idb6840bfbc9c4dc48414f3cfdd57a86f112a9126
2021-09-02 18:18:51 +08:00
Zuul
1d675b4362 Merge "fix: Fix floating ip detail when router is not private" 2021-09-02 10:06:45 +00:00
zhuyue
fab8cf703a fix: Fix for magic input with boolean option show & etc.
1. fix for magic input with boolean option show
2. add filter params for security group rule

Change-Id: Ibc278779487a3678193749b741f090d2b55e2be9
2021-09-02 18:01:31 +08:00
zhuyue
2a3018a52d feature: Add allocation pools validate rules
add allocation pools validate rules

Change-Id: I285c8f2a4f0ec8581e88425306744f1f3a53572c
2021-09-02 17:50:03 +08:00
zhuyue
376aa6b05c fix: Fix project detail policy
fix project detail policy

Change-Id: I593439ad902fe06904271e0c946910cf075083a2
2021-09-02 17:40:44 +08:00
zhuyue
938d432479 fix: Fix floating ip detail when router is not private
fix floating ip detail when router is not private

Change-Id: I8554a3c1cc9f2f25616875b24601f8e329edfc19
2021-09-02 09:11:24 +00:00
zhuyue
101025eaac fix: Fix extend volume when instance is locked
fix extend volume when instance is locked

Change-Id: Ib5333ee118cf95d46790ed8548a172845d2b4a23
2021-09-02 09:11:05 +00:00
Zuul
fd6340c84d Merge "feat: Add tree select form item" 2021-09-02 08:58:05 +00:00
Zuul
9c2be5b8a0 Merge "fix: Fix TimeFilter style" 2021-09-02 08:55:08 +00:00
zhangjingwei
bc9b43e08c fix: Fix table height with hint
Fix table height with hint

Change-Id: I89f9db8d93590922ab02f6ad025c9a253bc56034
2021-09-02 16:42:37 +08:00
Zuul
923fdf003b Merge "fix: Fix ip-distributer initial value" 2021-09-02 08:32:36 +00:00
Zuul
2c24992e5d Merge "fix: Fix for port manage security groups & delete" 2021-09-02 08:32:35 +00:00
Zuul
39d3d56dfe Merge "fix: Fix models & eslint" 2021-09-02 08:30:02 +00:00
Zuul
1e4ebf9a04 Merge "feat: Add user-center page" 2021-09-02 08:28:21 +00:00
Zuul
c94c6be516 Merge "fix: Fix i18n of ip_address when create allowed address pair" 2021-09-02 08:03:57 +00:00
Zuul
e52903cd33 Merge "fix: Fix port download" 2021-09-02 08:03:56 +00:00
zhuyue
b62093e25a fix: Fix TimeFilter style
fix TimeFilter style

Change-Id: Ia1ae76e8d942738534bbb37cf2416052184274c8
2021-09-02 15:47:22 +08:00
zhuyue
2ac761eec3 feat: Add tree select form item
add tree select form item

Change-Id: I203e63f6e11608ff7cffcb5f5e09518e880303f6
2021-09-02 15:44:48 +08:00
xusongfu
d74c640adc fix: Fix models & eslint
1. The response of models has been changed from array to map, we should make it compatible with old data

2. Change level to `off` for import/prefer-default-export to remove annoying unnecessary warnings

Change-Id: I6feac90b3db36b2c0929b27bb82dee8536951bb3
2021-09-02 15:38:23 +08:00
zhuyue
79c3fa5d8f fix: Fix ip-distributer initial value
fix ip-distributer initial value

Change-Id: I3c605ae0f4d4a69ad9beb6cf45680b18cd556703
2021-09-02 15:36:12 +08:00
zhuyue
a24a4bc4a9 feat: Add user-center page
add user-center page

Change-Id: Ic973390c74ede418426e101fc71a01a67e3bee42
2021-09-02 15:32:30 +08:00
zhuyue
74e1006ced fix: Fix for port manage security groups & delete
1. fix for port manage security groups
2. fix port delete allowed address pair

Change-Id: Ifbff7d6de779227b53880dd70dc811693be9b0ab
2021-09-02 15:24:58 +08:00
Zuul
af6a745eea Merge "fix: Update List component to support init filter" 2021-09-02 07:02:46 +00:00
zhuyue
6c99d92d69 fix: Fix i18n of ip_address when create allowed address pair
fix i18n of ip_address when create allowed address pair

Change-Id: Ie9a1e90d7fb68fe8bfa99497b9aaa580f69122a1
2021-09-02 14:58:34 +08:00