Commit Graph

896 Commits

Author SHA1 Message Date
Jingwei.Zhang
78cb485068 feat: support backup quota info when volume create backup
1. Add backups and backup gigabytes quota when volume create backup
2. Disable click submit button when left backups quota is zero or left backup gigabytes quota is not enough
3. Refactor create backup, extract common function
4. Update Form right extra info span size, support small span for large
modal, also support custom span size

Change-Id: Ib76e6de287f8f84eecc36471dee3b8cce456b17b
2022-06-29 10:12:09 +08:00
Jingwei.Zhang
2431e5a5d5 fix: fix multi role select in transfer component
1. Update Transfer component to support custom table onRow func
2. Fix the trigger to select the row when click select in project manage user form
3. Fix the trigger to select the row when click select in project manage user group form
4. Fix the trigger to select the project when click select in create user page
5. Fix multi select filter the inputed role name in project manage user form
6. Fix multi select filter the inputed role name in project manage user group form
7. Fix multi select filter the inputed role name in create user page

Change-Id: I0ee4a3db3e923384cf62c44e1801cabfca887217
2022-06-28 16:27:53 +08:00
Jingwei.Zhang
e7a225635c feat: support backup quota info when create backup
1. Update backup mode in list page: Incremental Backup / Full Backup
2. Add size column in backup list page
3. Add backups and backup gigabytes quota when create backup
4. Disable click submit button when left backups quota is zero or left backup gigabytes quota is not enough
5. Disable to select volume when the volume size is bigger then the left backup gigabytes quota
6. Disable to select volume when left backups quota is zero

Change-Id: Ib8b0689674e3e96616a97fe55480f789569e6ef1
2022-06-28 14:42:07 +08:00
Jingwei.Zhang
444daccac7 fix: fix cinder snapshot quota in overview page
Fix cinder snapshot quota info in overview page && project detail page: it was replaced by the quota of the same name of share

Change-Id: I2cb72c229f110396a40c1ce8b52e5c588c3f4999
2022-06-28 14:42:06 +08:00
Jingwei.Zhang
e760b2ebee feat: support quota info when volume create snapshot
1. Add snapshot && type quota info when create snapshot
2. Disable click submit button when snapshot && type snapshot left quota is zero

Change-Id: Iebc222fc995df6fdb5bd67bf3b48594451ffd535
2022-06-28 14:42:06 +08:00
Zuul
07b4b2e0c3 Merge "perf: optimize cold start speed, fix hot module reload" 2022-06-28 05:58:07 +00:00
kanyifei
d43d568ef4 perf: optimize cold start speed, fix hot module reload
Change-Id: I9780c873026e54a8e1ff677236760dd6ec68dd97
2022-06-28 10:15:37 +08:00
xusongfu
7d890f64a6 fix: fix cluster
1. Fix the params when create cluster
2. Fix kepair and template to select-table
3. Add status i18n
4. Ignore some params when edit cluster template

Change-Id: I32cd968336c4e6119d08f32429cc15738431f170
2022-06-25 07:40:19 +08:00
Jingwei.Zhang
b22a959e49 feat: support quota info when create key pair
1. Support quota info when create key pair
2. Disable click submit button when user's key pairs exceed project key pair quota
3. Update Ring component to add tooltip when quota is unlimit, better impression quantity information
4. Update Ring component to support left quota < 0 situation
5. Add quota tip in create key pair form for better understander the
quota of key pair

Change-Id: I31282db5a9a3c35c4e3f904df96689b52149b2ec
2022-06-24 17:25:56 +08:00
Jingwei.Zhang
55e0abab85 fix: fix key pair used count in console overview page
1. Fix key pair used count in console overview page: use the key pair count of current user
2. Add tip to key pair quota title
3. Optimize tooltip when hover progress bar instead of title

Change-Id: I66aed4a6a10685be41fb3d7ef282ca02b4b2f831
2022-06-24 15:37:53 +08:00
Jingwei.Zhang
b693d4360d feat: support quota info when create fip
1. Add fip quota info when create fip
2. Disable click submit button when fip left quota is zero
3. Optimize batch allcate input min and max value
4. Support fetch project fip quota when project change
5. Support update batch count value when project change
6. Update batch count input to input int type, avoid decimal

Change-Id: I6df00fc606472f5cf5b7dbe31181cd864a278ab7
2022-06-24 14:04:26 +08:00
Jingwei.Zhang
81f77b555d feat: support quota info when create virtual adapter
1. Add virtual adapter tip in create form
2. Support port quota info in create form
3. Disable click submit button when port left quota is zero
4. Remove useless projects fetch

Change-Id: I6e135930ac2fd1429621dcc3528cea172da2b828
2022-06-24 11:20:27 +08:00
Jingwei.Zhang
31876de016 feat: support quota info when create subnet
1. Support subnet quota info when create subnet
2. Disable create subnet when left quota is zero
3. Optimize the action disabled check by hasAdminRole in rootStore, not policy
4. Support fetch project subnet quota when project change
5. Optimize project select tip
6. Optimize the project id of current network

Change-Id: Ic7b7b528dcc2e2e3ec23cd8be039a10afa3f197a
2022-06-24 11:02:23 +08:00
Zuul
0ce38d730a Merge "fix: fix cluster template" 2022-06-24 02:50:12 +00:00
xusongfu
ec4bcb3c93 fix: fix cluster template
1. Fix the params when create or update cluster template
2. Show search for all select items
3. Fix the route path for update cluster template

Change-Id: Ic3435abb340f6e129815fde368b5b12bcabcdcb5
2022-06-23 18:27:54 +08:00
Jingwei.Zhang
d6b9098645 feat: support show quota info when create network
1. Support show network and subnet quota info when create network
2. Support network left quota and subnet left quota check when create network
3. When change project, fetch project quota and update quota check
4. Update project select disable clear to better quota check

Change-Id: Id5c3919e91b49ecac072bafd1c2ca4c39853c681
2022-06-23 16:35:44 +08:00
Jingwei.Zhang
0a7c3a3f36 feat: support quota info when create security group rule
1. Show quota info when create security group rule
2. Add left quota check when create security group rule

Change-Id: Iab21d57e4e2fd5c3973281256d0aa79d438a2e8c
2022-06-23 15:30:05 +08:00
Jingwei.Zhang
919840a1e0 feat: support quota info when create security group
1. Add security group quota and security group rule quota when create security group
2. Check security group left quota and security group rule left quota to determine if a security group can be created: one security need 2 new rules
3. Add rule tip
4. Update form tip position

Change-Id: I8d7565763c8c325cf89630039e479ed00a70e7c3
2022-06-23 15:29:50 +08:00
Jingwei.Zhang
bf6c765fb1 feat: support show quota info when create router
1. Support show quota info when create router
2. Disable click submit button when lef quota is zero
3. Update size of large modal with quota info

Change-Id: I8f651d58af0b3d7a5915116ea488bc70a3ed902d
2022-06-23 13:00:44 +08:00
Zuul
b8caadf202 Merge "feat: Show quota info when create server group" 2022-06-22 15:35:29 +00:00
Zuul
3f7475e9be Merge "feat: update role detail page" 2022-06-22 14:47:59 +00:00
Jingwei.Zhang
514b213ca7 feat: Show quota info when create server group
1. Update Form/ModalAction/ActionButton to support right extra info display in modal
2. Add quota info when create server group
3. Support disable click submit button in modalAction / formAction

Change-Id: I511c383f0ffa256b76c1a8fd123c6326e7a43ed3
2022-06-22 17:49:33 +08:00
Jingwei.Zhang
e86bff5f0f feat: update role detail page
1. Update TabDetail to support fetch api when router change
2. Update role detail page: show implied roles in detail page

Change-Id: I99cf7510c30d3924a7f7281f3d5fb3f6db67bd4d
2022-06-22 16:56:52 +08:00
xusongfu
a20c01660c fix: fix less-loader options and styles
1. Fix the options of less-loader to match customized themes
2. Fix some color to variable style in tab detail to get better extension

Change-Id: I9cfaf09a72ede2e3db36176c256bbe307f4e5d0b
2022-06-22 14:55:07 +08:00
Jingwei.Zhang
b1591a9a56 feat: update quota display
1. Update quota display: from one row two resources to onw row only one resource
2. Update quota card style

Change-Id: If978a54c53eaad442bc165832cf3fd6e90719080
2022-06-22 09:36:51 +08:00
Jingwei.Zhang
32cb739fd6 fix: fix overview page style when no-cinder
1. Fix cards styles in no-cinder overview page
2. Fix resource card style in no-cinder administra overview page
3. Fix overview cards border-radius, shadow, margin

Change-Id: Ifc44a923300074c07c6ff2eff449b1cfe0d003b1
2022-06-21 11:15:14 +08:00
xusongfu
2e0d504594 fix: Fix the root disk in flavor
Allow set root disk size in flavor creating when no-cinder

Change-Id: Ia68f1c804c2aa359893ffba8344fa5990d368210
2022-06-20 17:34:56 +08:00
Jingwei.Zhang
549e75d011 fix: fix application credential api fetch
1. Fix application credential api fetch
2. Update role display to role name, not i18n name

Change-Id: Iead1af8b8f867c3a8ecd8b3ab8d249b220e8b930
2022-06-17 11:40:39 +08:00
xusongfu
3be608547c feat: Support compute hosts for zun
Support compute hosts for zun

Change-Id: Ie6b3964b46382d167482f01c491de923a85843f7
2022-06-16 16:09:11 +08:00
Zuul
7741b99e1f Merge "fix: Fix certificate and magnum" 2022-06-16 07:15:22 +00:00
Zuul
1cebcc97bc Merge "fix: fix project manage user group" 2022-06-16 06:15:30 +00:00
Zuul
2058063cc4 Merge "fix: Fix user group list in project detail page" 2022-06-16 06:15:29 +00:00
xusongfu
82c138494d fix: Fix certificate and magnum
1. Fix listener value when download
2. Fix type to input-int in magnum
3. Fix route path of create template in magnum
4. Fix network-select-table

Change-Id: Idca75afa46531626b2a0ce1df7af0003e201e89b
2022-06-16 11:32:04 +08:00
Jingwei.Zhang
dadb2f8170 fix: Fix user group list in project detail page
Fix user group list in project detail page: fix request params

Change-Id: I97b097437bb5997a0d1985e4eb99e33293bdd18f
2022-06-16 11:27:40 +08:00
Jingwei.Zhang
5ca7528ef2 fix: fix project manage user group
Fix project remove user group

Change-Id: I4f80998c859d1ee10978fc19c6dd42fcf25a69a6
2022-06-16 11:21:03 +08:00
Jingwei.Zhang
3dc776b68c fix: fix user api fetch in user center overview page
1. Fix user api fetch in user center overview page
2. Remove pureFetchDetail to baseStore to support the method for all store

Change-Id: I59b6f0a8f5b2f844a718f121708f724787d047f0
2022-06-16 10:51:39 +08:00
Zuul
0896ebc917 Merge "feat: add user group info for domain page" 2022-06-15 07:37:27 +00:00
Jingwei.Zhang
ec2e85a551 feat: add user group info for domain page
1. Add user group column in domain list page
2. Add user group tab in domain detail page
3. Update detail path check in list page
4. Remove domain column for user/group list in domain detail page

Change-Id: Ib81db9cac0d213c47c5f45fb8457728d0b96aa76
2022-06-15 12:06:21 +08:00
xusongfu
3c24d74ba2 feat: Support more functions for zun containers
1. Add some operations of zun containers
2. Support zun containers in administrator paltform

Change-Id: Ia8a7a483e72176d595f6e527979485bf322ed279
2022-06-15 11:15:24 +08:00
Zuul
e15dc5f0d6 Merge "fix: fix listener info in certificate" 2022-06-10 10:52:25 +00:00
xusongfu
243f459ecd fix: fix listener info in certificate
Support multiple listeners for one certificate

Change-Id: I2f1f476236fe90293f92cf980c7e1f799b271fb1
2022-06-10 15:46:13 +08:00
Jingwei.Zhang
5c3ea06aba fix: Update user create form style
1. Update style in user create form
2. Refactor pathname check in list page
3. Fix project role when remove project in user create form && project manage user form
4. Add loading style to Transfer component

Change-Id: I6eddf27a096aa35236430595d8329782ae5b6ed1
2022-06-10 15:11:46 +08:00
Zuul
8ed4795ece Merge "fix: certificate expired change" 2022-06-09 14:14:22 +00:00
Jingwei.Zhang
f942c48352 feat: Add quota info when create volume
1. Add quota info display when create volume
2. Add volume type quota check when create volume
3. Update quota ring/line chart to support infinity value

Change-Id: I0f300beb16bcf50008126afab9dac529c1749d09
2022-06-09 17:12:37 +08:00
xusongfu
efaeac8453 fix: certificate expired change
1. Use metadata to instead of actual expired time
2. Delete disabled if the certificate was used for a listener

Change-Id: I8a16c4c1cc6f104c85835906405aba7ae9a3bf02
2022-06-09 16:18:34 +08:00
Zuul
d133705f6f Merge "refactor: Refactor user" 2022-06-09 04:00:57 +00:00
Zuul
902491651e Merge "fix: i18n and validator for zun" 2022-06-09 03:42:02 +00:00
Zuul
f191787999 Merge "test: Add zun e2e test" 2022-06-09 03:42:00 +00:00
xusongfu
3b2144c39d test: Add zun e2e test
1. create zun container test
2. start zun container test
3. pause zun container test
4. unpause zun container test
5. reboot zun container test
6. stop zun container test
7. delete zun container test
8. create zun capsule test
9. delete zun capsule test

Change-Id: If291bbfd1dde4a73b5e14c171e3bb885d687f480
2022-06-08 18:48:07 +08:00
Jingwei.Zhang
992233ab7d feat: Support auto close/expend quota info when create instance
1. Update InfoButton component to support auto close/expend
2. Support auto close/expend quota info when count/size value change in the create instance form

Change-Id: Ida13abe3463af7dc949c51ade267c64029770c93
2022-06-08 17:20:28 +08:00