Commit Graph

20 Commits

Author SHA1 Message Date
Jingwei.Zhang
832cce176c refactor: remove the basic role display from the overview page
1. remove the basic role display from the overview page: because the api removed the base role information[1]
2. fix the title i18n

[1] I461ae3f8979377ae22ec851bf3315e509b22cfbd

Change-Id: Ib0e1ed51010c68dac64159a6154e65399f46a14d
2022-08-18 09:50:15 +08:00
xusongfu
e16951bde0 feat: support trove quota
1. support trove quota in manage project quota
2. support trove quota in overview page

Change-Id: Iac2ea282744239fc043df2bdc456b7daba05de9b
2022-08-08 17:57:26 +08:00
Jingwei.Zhang
4643795bcb fix: fix lang local storage after logout
1. Retain the lang value in LocalStorage when logging out
2. Add clearLocalStorage func && add unit test

Change-Id: I84cf361bfcaa40d2a6d80f687d02f43665cef3d3
2022-08-02 16:16:43 +08:00
Jingwei.Zhang
f172cb2164 fix: update user's scope system role check
For all user, check system role by keystone system role api, remove the special username admin check

Change-Id: I46b58b1061bd2914933f5eb2950f3e34ee34c437
2022-07-18 14:13:00 +08:00
Jingwei.Zhang
7f65bf6bfc fix: remove license check
Remove useless license check

Change-Id: I96b4ebcf00ce621a30d17895034f68701243b6ac
2022-07-08 10:05:46 +08:00
Jingwei.Zhang
e47fa9e742 refactor: Refactor user
1. Refactor user store
2. Refactor user list
3. Refactor edit user system role
4. Update system-admin role check in rootStore
5. Refactor user detail page
6. Update forbidden user action to danger style
7. Refactor create user: add domain select && support multi role select for projects
8. Update project manager user e2e
9. Update create user e2e
10. Update user edit system role e2e
11. Remove create user in domain detail page

Closes-Bug: #1942285
Change-Id: Ieba70b002420e20ad7c3f04f5e4f6fb4b6fb1e76
2022-06-08 15:30:21 +08:00
yangao
395084d022 fix: Optimize the directory structure of the resources folder
Optimize the directory structure of the resources folder

Change-Id: If33e899550823a66b4784dc6fd23f06d9f5cff11
2022-05-13 17:39:01 +08:00
yangao
1da0258d7e fix: Optimize the directory structure of the resources folder
Optimize the directory structure of the resources folder

Change-Id: I34893e2c622254df8d4b94ef11352ef7e97f9418
2022-05-13 11:54:12 +08:00
Jingwei.Zhang
3091c21e6e fix: fix token storage after login
Save keystone_token after login, earlier than profile api

Change-Id: Ia65a2c386f3f04ebf61b030c28d9efab17d6558d
2022-04-22 11:19:47 +08:00
Jingwei.Zhang
792c530928 fix: fix token storage after switch project
1. Remove useless code in switch project
2. Fix token change for requests after switch project

Change-Id: Ib8757fc918c3068be0a6b9a0d08921f2dc8817fd
2022-04-20 11:36:23 +08:00
Jingwei.Zhang
82df36b307 fix: Clear local storage when logout
Clear local storage which storage keystone_token and other info

Change-Id: Ife904f05918a3b107c55a4db2244b84a01a2dde0
2022-03-25 16:04:15 +08:00
zhangke
29a0435392 fix: set default expires day of keystone_token
1. set default expires day of keystone_token
2. add tips when keystone_token is expired

Change-Id: Ib5bb97c3c790d9f5c239fc19bb76a95a231ca838
2022-03-03 12:13:48 +08:00
Jingwei.Zhang
f81ac5651a fix: Fix word spell
1. Add eslint plugin spellcheck to check word spell
2. Fix word spell

Change-Id: I73d39cf797ef5bdf993b0154816134a1e93f2ed4
2022-01-18 11:25:58 +08:00
zhuyue
8241ff8be7 fix: Fix environment with no pfw
fix environment with no pfw

Change-Id: I5f836eb028e5d2a3376575fad7e02545c5b513f7
2021-11-30 06:54:00 +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
Jingwei.Zhang
535badf92e fix: Fix import circle
Fix import circle

Change-Id: I3588254da48ade79c31c99a6f03bd48c82350116
2021-09-07 12:57:18 +08:00
Jingwei.Zhang
c960f06c1a feat: Support client module
1. Add client module to request openstack api
2. Remove window.request, stores use client to request api
3. Remove window.globals, use globalRootStore to deal with user info

Change-Id: I5657cfd8cf142dbacce8716991f805bbbb4a9222
2021-08-24 15:58:45 +08:00
xusongfu
42a5e8331d fix: Fix white screen problem
Change layouts stack to avoid the white screen problem when route change

Change-Id: Ie14b4cde7f0e4ac347b1fc108c648fef91b8e0c9
2021-08-23 17:09:38 +08:00
Jingwei.Zhang
34c13a2dcb fix: Fix system_reader role operation permission bug
1. Fix system_reader role has operation permissions on administrator page
2. Mark TODO of supported system scope roles

Change-Id: Icd697e0b5238a25307c3d24fc6742600f892b547
2021-08-20 14:34:33 +08:00
Hanxiang Gao
4eb68e7fb2 feat: Add initial code of skyline-console
Add initial code of skyline-console

Change-Id: Icba2152a014761f53789357b5085d0779cd0e2a4
2021-06-01 23:29:30 +08:00