1961 Commits

Author SHA1 Message Date
Nicolas Vazquez
dcd595d41e compute: Add missing internationalization on instance groups view (#515)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:20 +05:30
davidjumani
456c9e06e9 compute: Changing VM Snapshots and Backups to their own tabs if allowed (#501)
Fixes #487

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:20 +05:30
Abhishek Kumar
179d57bd1e views: add form element info tooltips (#483)
Added info tooltips for some custom forms

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:20 +05:30
Rohit Yadav
847f48609b autogenview: store API parameters as router query for history (#454)
This would store pagination, filter and search context in route query
which would allow for browser history navigation in list views.

Fixes #451

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:20 +05:30
Rohit Yadav
beb3372c6c component: override projectid in case tags are in project
Fixes #500

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:20 +05:30
Rohit Yadav
0baf511519 github: issues template table to checklist (#508)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:20 +05:30
Pearl Dsilva
f00d3f9623 bugfix: usability issue fixes (#506)
Fixes #502

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:20 +05:30
davidjumani
d734983913 image: Fixing permission issues (#472)
Fixes #463

Co-authored-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:20 +05:30
Rohit Yadav
a984fd9b28 iam: limit showing and router-link for accounts and domain for User
The API response leaks account and domain information which for templates
and isos may appear leakage of information. This would at least limit
that in the list views for templates, isos and few other views for
account of role type User.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:20 +05:30
Nicolas Vazquez
008097f0cc state: Internationalize VM state output (#493)
CloudStack API methods return resources states in English, switching Primate to a different language should also translate these states.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:20 +05:30
Nicolas Vazquez
df50082ddc locales: Add internationalization for the login, projects top bar, documentation and report errors (#494)
* Translate portal login
* Footer and header and more
* Internationalize header projects view
* Revert instance groups changes from this PR

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:20 +05:30
Hoang Nguyen
77bbfc3292 views: custom search framework for list views (#235)
This adds a new search view component that will allow users to do
custom search using a popover component for vm, storage, network,
image, event, project and routers.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Co-authored-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:20 +05:30
Rohit Yadav
1b548b38dc component: refactor and improve resource count usage
Fixes and improves work started in #459

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:20 +05:30
Rohit Yadav
bd00148741 autogenview: use pagesize 20 for desktop users, 10 otherwise
Fixes #489

Set default page size based on screentype, for FHD/4K displays if device
type is desktop use pagesize 20; otherwise use default pagesize of 10.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:20 +05:30
Rohit Yadav
37049622dc compute: allow delete VM group action
Fixes #486

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:20 +05:30
Rohit Yadav
d78fc60d73 image: fix register and edit template and iso cases
Fixes #492

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:20 +05:30
davidjumani
56ca7331d6 component: Adding contextual info for resource status (#482)
Fixes #466

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:20 +05:30
Pearl Dsilva
84cba65c0e image: Hide status column for users other than Root admin (#480)
Fixes #476

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:20 +05:30
Rakesh
fc5bb9f123 component: reusable resource count component for domain, account and projects (#459)
Currenlty "Domain Admins" cannot see how much resources
they are consuming for their domain.
So display a "Resource Count" tab which displays the
current usage and the total allocated resoures

Co-authored-by: Rakesh Venkatesh <r.venkatesh@global.leaseweb.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:20 +05:30
Hoang Nguyen
b61c4ae35d plugin: Quota plugin (#298)
Fixes #295

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:20 +05:30
davidjumani
30c4e3fae0 compute: Creating custom form to delete vm (#478)
Fixes #477

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:20 +05:30
Pearl Dsilva
5124467010 config: Hide order column for non-admins in templates view (#474)
Fixes  #473

Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:20 +05:30
davidjumani
4fa8c37183 src: Diabling actions for readonly admin (#469)
Fixes #467

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:20 +05:30
sureshanaparti
ec056cd280 iam: UI changes for Dynamic roles improvements (#353)
This PR addresses the below UI improvements for current Dynamic roles functionality.

Export rules of a role to a CSV file, with name: .csv_
Import a role with its rules using a CSV file.
Create a role from any of the existing role.

Co-authored-by: davidjumani <dj.davidjumani1994@gmail.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:20 +05:30
Hoang Nguyen
7e7dbaf65c compute: VM deployment form group template/iso (#470)
Fixes #468

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:20 +05:30
Hoang Nguyen
360bc5f050 infra: Add support to manage network service providers (#252)
Fixes #250

 - Add support for all the network service providers which are not already supported
 - Each NSP must be implemented in its separate component
 - For each NSP component, add buttons and their forms in a modal and display a list of such NSP devices/resources in a table with pagination

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:20 +05:30
Rohit Yadav
fdfa38ac78 auth: wait for auto-discovery before showing view
This partially reverts change from
b194ad205b558803b7a1c0c8cc177e5b14e80835 which introduces loading of
dashboard while auto-discovery takes place in background. The cons is
that user will feel that login is taking time, but he'll be allowed to
redirect to a page before session timeout/logout. In #456 a similar
usability issue was added. However, a tab refresh will be faster
because in b194ad205b558803b7a1c0c8cc177e5b14e80835 we've added support
for using cached discovered APIs.

Fixes #456

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:20 +05:30
Rohit Yadav
5c066bf96c network: fix network related issues
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:20 +05:30
Rohit Yadav
1edb992710 src: router-link fixes
Fixes router-link issues for user role

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:20 +05:30
Rohit Yadav
0420ddb6a2 config: remove redundant information for VM
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:20 +05:30
Rohit Yadav
c3658eacdd config: implement group actions for vm, event and alerts
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:20 +05:30
Pearl Dsilva
2af61a2ddf iam: account form with saml option (#170)
- New accounts form with option to enable SAML when applicable
- LDAP import form with saml support
- SAML authorisation action form for users

Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com>
Co-authored-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
Co-authored-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Co-authored-by: davidjumani <dj.davidjumani1994@gmail.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:19 +05:30
davidjumani
a8c9f2a339 listview: Fixing change order available to read only admin (#461)
Fixes #457

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:19 +05:30
Rohit Yadav
538e87652a src: fix translation key usage
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:19 +05:30
davidjumani
af87c93e7d compute: Adding custom Vue to change the vm service offering (#413)
Fixes #381

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:19 +05:30
davidjumani
0e933a2a84 iam: Fixing ldap form (#444)
Fixes #112

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:19 +05:30
Rohit Yadav
68989bd939 infocard: show project for resources having a projectid
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:19 +05:30
Rohit Yadav
039f4429a7 views: show doclink icon for custom action forms
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:19 +05:30
Rohit Yadav
7c4c21f489 config: fix column label to say VM name for backups in listview
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 9d3f040c16087ec2e511098a03a28407f8267bdb)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:19 +05:30
davidjumani
4dc6f84c62 auth: Removing setting a cookie for sessionkey (#453)
Primate should not set sessionkey cookie

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:19 +05:30
Rohit Yadav
c38a1e4bf5 autogenview: switch project if a valid UUID projectid query is passed
Fixes #450

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:19 +05:30
Rohit Yadav
d6f6487813 config: allow admins to configure global footer html
Fixes #452

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:19 +05:30
Abhishek Kumar
1a3e659958 autogenview: fix fill edit/update forms (#441)
Fix update host form issue (update forms in general)
Fixes #417

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:19 +05:30
davidjumani
28b1b9dbe8 compute: Adding custom change affinity view (#419)
Fixes #386

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:19 +05:30
Abhishek Kumar
10e6d59bc1 infra: vr healthcheck (#428)
Fixes #362

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:19 +05:30
Hoang Nguyen
029e13c37d network: Add support for tiers in PF, LB rules for a VPC (#379)
Fixes #333
Fixes #438

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Co-authored-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:19 +05:30
davidjumani
d0d71c2c03 network: Adding pvlan option for l2 and fixing passing none for no pvlan type (#373)
This adds the option to create PVLAN for L2 networks, as well as fixes the issue caused by passing 'none' as the PVLAN type when no secondary VLAN type is selected.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:19 +05:30
Rakesh
bcdb8f4067 iam: Allow creating Compute/Disk offering as Domain admin (#446)
Currently only "ROOT" admin can create compute and
disk offering. If we login as domain admin then we
cant create a compute and disk offering as domain
id's is not passed to the api. If we login as
domain admin we need to set "isPublic" to false
so that domain id list will be displayed

Co-authored-by: Rakesh Venkatesh <r.venkatesh@global.leaseweb.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:19 +05:30
Hoang Nguyen
ac0e5daabd config: support custom color for @link-color (#445)
Fixes #442

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:19 +05:30
davidjumani
f70fc408be sections: add doc links (#435)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:19 +05:30