35114 Commits

Author SHA1 Message Date
Hoang Nguyen
56bf418185
fixes form.getFieldValue is not a function (#6110) 2022-03-15 08:14:55 -03:00
Rohit Yadav
b2965462ea
ui: update npm dependencies to latest (#6091)
Update npm dependencies to latest and have audit fix;

Run commands to update dependencies:

    npm outdated
    npm update
    npm audit fix

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2022-03-15 15:12:39 +05:30
David Jumani
a4c6b12b26
ui: Fix CreateKubernetesCluster for ha (#6106) 2022-03-14 22:59:02 -03:00
Hoang Nguyen
594c2c1b07
UI: Fixes the style/css of deploy VM with stay on-page button. (#6108)
* fixes style of deploy VM with stay on page

* fixes translation
2022-03-14 14:19:26 -03:00
David Jumani
704a939c65
cks: Fix missing .service files when bootstraping in cks (#6076)
* cks: Run 'systemctl daemon-reload' before setting up k8s

* add wait till service files exists
2022-03-14 14:07:34 -03:00
Pearl Dsilva
f84d63dd0e
UI: Fix alignement of message (#6109) 2022-03-14 13:55:02 -03:00
Nicolas Vazquez
1119a22d74
UI: Show protocol on zone wide storage (#6117) 2022-03-14 13:46:20 -03:00
Bryan Lima
afdc73f911
Update VM priority (cpu_shares) when live scaling it (#6031)
* Update VM priority (cpu_chares) when live scaling it

* Apply suggestions from code review

Co-authored-by: dahn <daan.hoogland@gmail.com>
Co-authored-by: Daniel Augusto Veronezi Salvador <38945620+GutoVeronezi@users.noreply.github.com>

* Addressing javadoc review

* Addressing review typo

Co-authored-by: dahn <daan.hoogland@gmail.com>
Co-authored-by: Daniel Augusto Veronezi Salvador <38945620+GutoVeronezi@users.noreply.github.com>
2022-03-14 11:34:10 -03:00
nvazquez
3354f817eb
Merge branch '4.16' 2022-03-14 11:27:08 -03:00
Wei Zhou
6ff378f6a3
travis: run nosetests-2.7 (#6113) 2022-03-14 11:19:12 -03:00
Abhishek Kumar
d828fd247f
ui: fix physical network guest traffix type tab (#6096)
Fixes icon
Fixes object change

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2022-03-14 14:42:38 +01:00
Abhishek Kumar
59f0d558ec
ui: fix mac learning warning visibility in add network offering (#6095)
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2022-03-12 00:32:08 -03:00
Bryan Lima
603f88a9e5
[UI] Dont show project view menu when user doesn't have permission (#6081)
* Dont show project menu when user doesnt have permission

* Update ui/src/components/header/ProjectMenu.vue

Co-authored-by: Hoang Nguyen <hoangnm@unitech.vn>

* Removing unnecessary var

Co-authored-by: Hoang Nguyen <hoangnm@unitech.vn>
2022-03-12 00:11:03 -03:00
Hoang Nguyen
4c3dbd541c
fix navigation back error (#6093) 2022-03-11 12:41:25 -03:00
Abhishek Kumar
401a89cf56
ui: fix bulk destroy vm with expunge (#6098)
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2022-03-11 10:56:55 -03:00
Abhishek Kumar
7e6339753d
ui: fix deploy vm stay on page (#6099)
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2022-03-11 10:53:06 -03:00
David Jumani
71056191f2
Honour isrecursive above listall (#6045)
* Honour isrecursive above listall

* Revert "Honour isrecursive above listall"

This reverts commit 12bc26ae1c58ff5a51937026c5be8d7cfa8bf141.

* Being smart about it

* Cleanup

* fixing npe
2022-03-10 23:59:42 -03:00
Nicolas Vazquez
9ad5d346c4
ui: Fix storage pool label for protocol (#6089)
* UI: Fix storage pool label for protocol

* Fix tooltip
2022-03-11 00:35:43 +05:30
nvazquez
8dc5db137f
Merge branch '4.16' 2022-03-10 09:34:49 -03:00
Nicolas Vazquez
067c1de080
Fix get upload params NPE (#6079) 2022-03-10 09:33:50 -03:00
nvazquez
e3132af64e
Merge branch '4.16' 2022-03-10 08:49:43 -03:00
Wei Zhou
3a456f1b31
server: mark volume snapshots as Destroyed if it does not exist on primary and secondary storage when delete a volume (#6057)
* server: mark volume snapshots as Destroyed in some cases when delete a volume in QCOW2 format

when delete a volume in QCOW2 format, if volume snapshot does not exist on primary and secondary storage, mark the snapshot as Destroyed.

* Update #6057: remove check on volume format
2022-03-10 08:49:03 -03:00
David Jumani
0a4cf5b0b9
ui: Fix dashboard links (#6083)
* ui: Fix dashboard links

* Fix event links
2022-03-10 08:24:13 -03:00
Pearl Dsilva
07d1ffc4e7
UI: Fix route to domain details (#6086) 2022-03-10 08:09:36 -03:00
Pearl Dsilva
b1e01a89a9
UI: Fix Dedicating resource to a domain (#6085) 2022-03-10 07:33:18 -03:00
nvazquez
36c11d1d1f
Merge branch '4.16' 2022-03-09 13:31:51 -03:00
Pearl Dsilva
00c1bdb365
UI: Reload page on closing Bulk Action modal (#6077) 2022-03-09 13:31:04 -03:00
JoaoJandre
5f07ddaca9
Refactor account type (#6048)
* Refactor account type

* Added license.

* Address reviews

* Address review.

Co-authored-by: João Paraquetti <joao@scclouds.com.br>
Co-authored-by: Joao <JoaoJandre@gitlab.com>
2022-03-09 11:14:19 -03:00
Hoang Nguyen
d258da5524
UI: Upgrade to Vue3 library (#5151)
* add new vue 3 library & and 2.x (beta)

* edit config files, settings, utils, store,... corresponding to Vue 3

* edit layout and config to suit the new library

* fix header & side menu

* components, autogenview

* fix dashboard & compute

* compute: fix form errors

* storage: fix form & template by vue3

* networks: fix form & template by vue3

* image: fix form & template by vue3

* project: fix by vue3 library

* user: fix by vue3

* iam: fix by vue3

* fix zoneWizard & tooltip click event

* fix infra > physicalnetwork & visible modal

* fix infra by vue3 & antdv 2x

* fix offerings by vue3

* fix plugin by vue3

* fix form & action form

* update the ant-design latest version

* fix icon, style dark mode, menu

* fix unittest

* fix babel plugins not found

* add name,ref missing & callback i18n not found

* fix slot & info icon

* fix unit test

* fix tooltip label of form item

* fix lint errors

* using global app, globalProperties

* add focus directive & edit the position of ctrl+Enter

* upgrage Vue 3 version

* fix main UT

* fix build failed

* using `optionFilterProp="label"' & fix build fail

* fix UT with new code

* fix icons of undefined

* fix error run app

* fix selectbox options

* add vue version for clear storage

* fix template

* fix template of iprange form

* fix warning test UT

* fix conflit

* fix build failed

* fix error run app the first time after upgrade

* fix auto-complete & watch object/array

* fix error run application

* fix error build

* fix form, icon, template & locales

* fix conflit & form

* remove slot errors

* fix error build & test UT

* fix error template

* Add licenses for missing files

* add scroll to first errors

* add scroll to first errors

* fix select filter, tag event

* add shallowRef async component are missing

* fix css, upgrade vue-cropper version

* fix css

* fix vue 3 coding for new components

* Remove unused components

* fixes `this` not found in @/roles

* fix redirect after login again when session expired error

* fix openKeys menu & watch router

* fixes

* fix build failed

* fixes

* fixes ut

* fixes

* fixes eslint

* fixes

* fixes

* fixes css

* fix menu sidebar css

* fix some css icon, images

* fix build fail

* fixes

* fixes

* fixes

* fixes

* fix publicip resource

* fixes ut

* fixes

* fixes

* fixes layout mode

* fixes dropdown filter columns

* fixes dashboard & hidden setting for normal user

* fixes

* fixes layout

* fixes avatar

* fixes

* Add missing else

* Fix query in routable paths

Co-authored-by: davidjumani <dj.davidjumani1994@gmail.com>
2022-03-09 09:47:09 -03:00
nvazquez
7439581c77
Merge branch '4.16' 2022-03-09 07:00:28 -03:00
David Jumani
c2bcad8571
ui: Set icon to osdisplayname to avoid multiple api calls (#6075) 2022-03-09 07:00:09 -03:00
nvazquez
67601b5a78
Merge branch '4.16' 2022-03-09 06:55:49 -03:00
Nicolas Vazquez
7fbfd4c6ea
UI: Fix navigation to domains (#6072) 2022-03-09 06:54:55 -03:00
Pearl Dsilva
8f427f601a
Adapt script to bash version 3 (#6069)
This PR fixes: #6060
Bash version 3 does not have support for associative arrays. Hence during the packaging phase the metadata.ini file created (on osx) isn't in proper format as the script used to generate it i.e., templateConfig.sh made use of associative arrays - which is supported from bash v4 onward. This eventually leads failure to deploy DB on OSX.

This PR modifies the script to work on systems using bash v3.
2022-03-09 01:45:47 +05:30
David Jumani
5534b7afda
api: Warn if query parameters have multiple values (#5009)
* api: Ensure single query parameter value

* change error to warn

* Address comments
2022-03-08 14:22:39 -03:00
John Bampton
6401c850b7
Fix spelling (#6064)
* Fix spelling

- `interupted` to `interrupted`
- `paramter` to `parameter`

* Fix more typos
2022-03-08 13:02:35 -03:00
nvazquez
7facd49d33
Merge branch '4.16' 2022-03-08 12:55:50 -03:00
David Jumani
6b913a76cf
ui: Add user initials as avatar if no icon present (#6070)
* ui: Add user avatar if no icon

* set initials to uppercase
2022-03-08 12:55:00 -03:00
David Jumani
92d831c6f1
ui: Add link to account role in listview (#6065)
* ui: Add link to account role in listview

* Ensure route exists
2022-03-08 08:11:00 -03:00
Nicolas Vazquez
3b7166ea99
Upgrade netty version (#6059) 2022-03-08 07:55:39 -03:00
nvazquez
7631dede8a
Merge branch '4.16' 2022-03-08 07:54:09 -03:00
Nicolas Vazquez
e4d70d4214
UI: Fix Autogenview cleared resource (#6066) 2022-03-08 07:53:22 -03:00
dahn
b014617416
no axis (#5993)
* no axis

* remove f5 from ui

Co-authored-by: Daan Hoogland <dahn@onecht.net>
2022-03-07 22:46:29 -03:00
nvazquez
c7c982f642
Merge branch '4.16' 2022-03-07 10:51:41 -03:00
Wei Zhou
84f19d8f36
UI: update vm with userdata (#6051)
* UI: update vm with userdata

* Update ui/src/views/compute/EditVM.vue

Co-authored-by: David Jumani <dj.davidjumani1994@gmail.com>

* Update #6051: small fixes

Co-authored-by: David Jumani <dj.davidjumani1994@gmail.com>
2022-03-07 07:59:52 -03:00
John Bampton
08bb4ad9fe
spelling: Fix spelling Occured to Occurred (#6061)
Fix typos
2022-03-07 15:07:02 +05:30
Rohit Yadav
2f6fc56e74
maven: Fix build on osx (#6056)
kvm: don't read /proc/meminfo on non-Linux environments as part of constructor

Co-authored-by: Nicolas Vazquez <nicovazquez90@gmail.com>
2022-03-07 14:55:42 +05:30
nvazquez
cb872ab6bd
Merge branch '4.16' 2022-03-06 10:08:35 -03:00
Suresh Kumar Anaparti
2820a36f86
Check the network access when deploying VM in Advanced Security Group. (#6050)
* Check the network access when deploying VM in Advanced Security Group.

* Removed comment

* Removed redundant network access check, owner access check already exists
2022-03-06 10:07:57 -03:00
Pearl Dsilva
4d54e8e84c
Allow specifying disk size, min/max iops for offering linked with custom disk offering (#6018) 2022-03-05 00:11:25 -03:00