8085 Commits

Author SHA1 Message Date
davidjumani
28e70c0a2a
Add missing labels (#5305) 2021-08-12 12:18:57 -03:00
nicolas
0011d45b22 Merge branch '4.15' into main 2021-08-11 12:36:48 -03:00
Hoang Nguyen
8680f7d9ad
UI: Dark mode toggle button on Management Server (#5052)
* add button toggle dark mode

* switch components corresponding to dark mode

* restructure the style dark mode file

* fix collapse & login page

* fix test failed

* fix dark mode styles by refer antd pro

* fix disabled colors of button, input,... & refactor file dark mode styles

* add setting drawer and save it into local storage

* add an alert for save the setting

* add `cursor: pointer`

* hide drawer when init

* change id name of svg icon

* fix after merged 4.15

* edit active color menu item

* fix plaholder color, project chart color & reset setting

* fix event change color picker & error input focus color

* fix empty data color
2021-08-11 16:32:46 +02:00
Abhishek Kumar
fb0dedc896
ui: fix display host hypervisorversion (#5301) 2021-08-11 16:23:08 +02:00
nicolas
75b335e939 Merge branch '4.15' into main 2021-08-11 08:24:03 -03:00
Hoang Nguyen
1182051961
UI: Add multiple management server support (#4885)
* add multiple management server support

* display the server on the user menu

* remove primary color in server icon

* using `/client` from apiBase

* add a setting that allows users to customize whether to use multiple servers or not

* set default hidden the multiple server config
2021-08-11 08:22:38 -03:00
Hoang Nguyen
55174d5366
add ref=submit missing in button (#5298) 2021-08-11 01:37:19 -03:00
davidjumani
3395a652ee
ui: Prevent sending default false for isdynamicallyscalable, haenable in EditVM (#5299) 2021-08-10 13:57:50 -03:00
Wei Zhou
846efdbfe4
server: Optional destination host when migrate a vm (#4378)
* server: Optional destination host when migrate a vm

* #4378: migrate systemvms/routers with optional host

* #4378: fix mistake

* #4378: fix issue when migrate systemvm

* #4378 add autoselect to migrate api commands

* #4378: more ui change

* #4378: add label label.migrate.auto.select

* #4378: add method chooseVmMigrationDestination

* #4378: fix vm migration wih storageid on vmware

* #4378: add method to collect vm disk/network statistics

* #4378: set autoSelect to default 'true'

* #4378: use BooleanUtils.isNotFalse

Co-authored-by: Wei Zhou <weizhou@apache.org>
2021-08-10 01:25:57 -03:00
davidjumani
d5015d7af1
ui: Prettify ManageInstances.vue (#5295)
* ui: Prettify ManageInstances.vue

* Update en.json

Co-authored-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-08-09 15:51:37 +05:30
davidjumani
cb1078aa20
Merge remote-tracking branch 'apache/4.15' into main 2021-08-09 15:10:51 +05:30
Rakesh
949cf71491
api: Display last updated time for VM (#4685)
Add a field in api response and ui to display last updated time
2021-08-09 14:17:53 +05:30
Hoang Nguyen
d9503f4d76
UI - Zone Wizard - Fixes the IP range form fields are too narrow (#5287)
* resize form input to not cut text

* fix field width on firefox
2021-08-09 13:37:39 +05:30
davidjumani
ee5b01f26a
ui: Show host as unsecure in listview (#5292) 2021-08-09 13:34:56 +05:30
Abhishek Kumar
766fc8031d
ui: fix capitalise filter (#5269)
filters do not provide reference to global context and hence raise error.

Fixes #5268

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2021-08-06 11:49:12 -03:00
Abhishek Kumar
f421a961db
ui: fix handle action response (#5285)
Fixes #5284

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2021-08-06 11:20:20 -03:00
Pearl Dsilva
f9fbd86efe
ui: Fix failure in deletion of templates (#5283) 2021-08-06 09:12:45 +02:00
nicolas
b6350be6ec Merge branch '4.15' into main 2021-08-05 23:46:58 -03:00
davidjumani
d8c407d94a
ui: Add 'on / off' to status icon and make it case insensitive (#5278)
* ui: Add 'on' to success status icon

* Add off state as well

* make it case insensitive
2021-08-05 09:37:11 -03:00
Hoang Nguyen
450de92e6c
ui: Fix failing UI unit test main branch (#5262)
* fix test unit & error lint main branch

* hidden warning log

* hidden warning log & remove comment

* fix test fail

* fix test sort params

* fix test fail

* fix test fail

* Remove redundant comments
2021-08-03 10:53:10 +05:30
Abhishek Kumar
5b20e6f2a8
ui: fix import instance form for recent changes (#5257)
* ui: fix import instance form for recent changes

7123269 and 535761b introduced changes that affecting Import Instance form.
Custom compute selection was not showing properly.
On import error was seen with 'AddAsyncJob'.

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>

* fix

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>

* fix

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>

* revert page refresh

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2021-08-02 16:27:41 -03:00
slavkap
d6a77a72f0
Allow updating the storage/host tags of service offerings (#5043) 2021-08-02 15:48:07 +02:00
davidjumani
66e7bdedac
ui: Fix failing UI (#5263) 2021-07-30 15:48:55 +05:30
Rohit Yadav
db31e67d51 Merge remote-tracking branch 'origin/4.15' into main
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

 Conflicts:
	ui/src/utils/plugins.js
	ui/src/views/AutogenView.vue
	ui/tests/mockData/ActionButton.mock.json
	ui/tests/unit/views/compute/MigrateWizard.spec.js
2021-07-30 15:00:09 +05:30
Hoang Nguyen
1ccd61cb26
[TEST] - Test unit - Fix failing UI unit test 4.15 branch (#5219)
* fix error test unit on MigrateWizard

* fix error test unit on AutogenView, ActionButton

* fix error lint

* fix error pollJob originalPage.starWith undefined

* Update ui/src/utils/plugins.js

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

* Update ui/src/utils/plugins.js

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

* uses a substitution variable if the originalPage is null with queryAsyncJob have jobstatus = 1

* remove argument null

Co-authored-by: davidjumani <dj.davidjumani1994@gmail.com>
2021-07-30 12:58:53 +05:30
Hoang Nguyen
c24aee989f
ui: fix error using value of ip6dns1 for ip6dns2 (#5253) 2021-07-30 10:52:02 +05:30
Abhishek Kumar
5033426057
ui: fix import instance form root disk label (#5252)
Wrong key 'title' was used instead of 'label'

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2021-07-29 14:43:59 +05:30
Sina Kashipazha
490658c5c3
display nics deviceid and order nics by deviceid on Nics tab of instances. (#4768) 2021-07-28 15:11:43 -03:00
Rohit Yadav
c6cb30d1ea Merge remote-tracking branch 'origin/4.15' into main 2021-07-27 17:47:05 +05:30
Abhishek Kumar
6540d9965b
ui: submit form with false boolean params (#5224)
Skip only empty strings while submitting UI form.
Fixes #5223

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2021-07-27 15:03:45 +05:30
Abhishek Kumar
8ed5a4fae6
ui: fix create shared network with multi-zone (#5205)
Fixes create shared network form for multi-zone environments.

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2021-07-27 15:01:54 +05:30
davidjumani
0c6b8fe205
ui: Update header notice if job failed (#5245) 2021-07-27 14:58:59 +05:30
davidjumani
a436869212
ui: Fix comparator for boolean (#5246) 2021-07-27 14:58:18 +05:30
davidjumani
2643854173
ui: Fix current for vmsnapshots (#5247) 2021-07-27 14:57:55 +05:30
Abhishek Kumar
87ee86679e
ui: vmware vm import-unmanage (#5075)
Adds UI for importing and unmanaging VMs.
A new navigation section - Tools has been added in the UI.

Doc PR: apache/cloudstack-documentation#221

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2021-07-27 11:12:37 +05:30
davidjumani
37f3fc30c9 Merge remote-tracking branch 'apache/4.15' into main 2021-07-27 10:23:00 +05:30
Hoang Nguyen
8efc3ea0f5
UI: Submit the form when press CTRL + ENTER (#4766)
* fixes: submit the form when press enter

* add Enter submit for component missing

* add ctrl+enter event key for submitting form

* add directive.js check keyup event

* fix build test failure

* using directive in main.js

* fix warning show in the test unit

* fix multiple submits

* fix travis run test failures

* fix filter button style

* fix the problem of ctrl+enter keyup on firefox browser

* removed computed function not using

* remove space errror

* add ref for ctrl+enter submit

* resolve conflit and fix build

* add missing directive

* add missing directive & ref button

* fixes errors

* fixes errors

* add preventDefault()

* fix ctrl keypress not support on firefox
2021-07-26 08:29:19 -03:00
Wei Zhou
7678bc1293
ui bug fix: scalevm is disabled when vm is Stopped (#5233)
* ui: scalevm is disabled even if vm is Stopped

* ui: update #5233
2021-07-26 08:28:42 -03:00
Michael
29090fe4ab
Only display information, if they are relevant (#5206) 2021-07-26 08:28:07 -03:00
davidjumani
b065e79ae3
ui: Fix refresh issue (#5232) 2021-07-26 09:58:05 +02:00
davidjumani
c4388d78e0
ui: Refresh only on current / parent page (#5214) 2021-07-21 11:35:30 +02:00
davidjumani
84e52c9263
ui: Fix async poll job (#5221) 2021-07-21 10:30:32 +02:00
davidjumani
61de48904c
ui: Replace bulk delete icons (#5222) 2021-07-21 09:51:36 +02:00
davidjumani
908bf980a5 ui: Fix title error 2021-07-20 10:32:39 +05:30
davidjumani
27d674df7d Merge branch '4.15' into main 2021-07-20 10:20:31 +05:30
Hoang Nguyen
535761b2b9
UI: Refactor async job polling codebase-wide (#4782)
* refactor async job polling codebase-wide

* fix multiple call fetchData() when async job completed

* remove unnecessary functions

* remove const not use

* move closeaction out of handleResponse

* call closeAction without waiting for all group actions to complete

* refactor polljob network provider

* removed variable not use

* remove await
2021-07-19 08:50:54 -03:00
Pearl Dsilva
15d3d39cb2
UI: bulk action support for various resources (#5034)
* ui: support bulk action for various resources

* ui: support bulk action for various resources

* Bulk actions support - progress review

* Extract common code + suppress error notification with bulk actions

* cleanup + suppress notification

* add progress view

* Add routes to notification + add async jobs + refactor progress view

* minor tweaks

* fix group action for vpn users

* Refactor code

* Unique row key

* remove redundant cols

* address comments

* Added the following:
1. Make Cancel as default button for bulk actions
2. Add Filter Filter on the Operation status Column - Progress View
3. For Stop and delete bulk operations - add An alert message(in Red) to inform users that it is a destructive operation

* Add dynamism to column filtering
2021-07-16 10:33:04 +02:00
Abhishek Kumar
5ac184edd6 Merge remote-tracking branch 'apache/4.15' into main 2021-07-15 14:02:49 +05:30
Hoang Nguyen
7123269937
ui: deploy VM - FIX missing custom iops field (#5199)
Fixes #5192
2021-07-15 12:53:50 +05:30
Michael
6b5adb7ed5
ui: register vue component Descriptions (#5197) 2021-07-15 12:53:04 +05:30