9211 Commits

Author SHA1 Message Date
Bernardo De Marco Gonçalves
e57a82a4f5
UI: Fixes in the Usage UI (#10000)
* fixes on usage ui

* dont call API when caller does not have access to it

* handle when lastheartbeat is undefined

* hide last collection datetime when lastheartbeat is undefined

* apply Pearl's suggestions

Co-authored-by: Pearl Dsilva <pearl1594@gmail.com>

* apply Pearl's suggestions

Co-authored-by: Pearl Dsilva <pearl1594@gmail.com>

* apply Pearl's suggestions

Co-authored-by: Pearl Dsilva <pearl1594@gmail.com>

* apply Pearl's suggestions

Co-authored-by: Pearl Dsilva <pearl1594@gmail.com>

* apply Pearl's suggestions

Co-authored-by: Pearl Dsilva <pearl1594@gmail.com>

---------

Co-authored-by: Pearl Dsilva <pearl1594@gmail.com>
2024-12-09 14:25:03 -03:00
Rohit Yadav
4876761154
ui: Allow font-awesome icon usage and optimise icon size inconsistency (#9744)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Co-authored-by: dahn <daan@onecht.net>
2024-12-09 10:03:37 +01:00
Lucas Martins
4c801e24f4
Fix Create dropdown menu not changing language (#10023)
Co-authored-by: Lucas Martins <lucas.martins@scclouds.com.br>
2024-12-05 10:05:49 +01:00
Bernardo De Marco Gonçalves
9960e40030
UI: Fix userdata and load balancer selection (#10016) 2024-12-04 13:04:50 +01:00
Henrique Sato
666efc4b97
Simplify validation for creating volume templates via UI (#9828)
Co-authored-by: Henrique Sato <henrique.sato@scclouds.com.br>
2024-12-03 14:44:18 -03:00
Daan Hoogland
da54234585 Merge branch '4.19' into 4.20.merge 2024-12-03 16:32:15 +01:00
João Jandre
f3a474bb9e
UI: make a newly added Network the default one (#9708) (#10022)
* UI: Checkbox to make a newly added Network the default one in the Instance's Network tab

* Fixed an issue that was causing exit from network tab after add-network

Co-authored-by: Abhisar Sinha <63767682+abh1sar@users.noreply.github.com>
2024-12-03 12:14:08 +05:30
Abhisar Sinha
d17de834a5
Disable API Key Access for users, accounts and domains (#9741)
* cli changes to update user/account, list by apikeyaccess, domain level setting

* UI changes for updating user/account and searchfilter in listview

* make the api parameters and setting accessible only to root admin

* revert changes to ui/package-lock.json

* minor changes to description strings

* UT for ApiServer and AccountManagerImpl classes

* fix pre-commit failure

* Added a constant for the string System

* UT for searchForUsers and searchForAccounts

* Fix marvin test error

* Update schema to use idempotent add column

* Fix `updateTemplatePermission` when the UI is set to a language other than English (#9766)

* Fix updateTemplatePermission UI in non-english language

* Improve fix

---------

Co-authored-by: Lucas Martins <lucas.martins@scclouds.com.br>

* Added user name uuid to logging

* Add events when api key access is changed via api or config setting

* fix the userid for api key access update event

* Fix ut failure after event logging

* Convert drop down to radio-button in edit user and account

* Add ApiKeyAccess status in User InfoCard for Users if Api key is generated

* Return apiKeyAccess in user and account response only for Root Admin

* fixed noredist build failure

* Show apikeyaccess on the left panel in the user view for root admins as well

* don't show divider if apiKeyAccess is not shown to user

* Fix events generated to set Username, Account and Domain of the caller correctly

* cli changes to update user/account, list by apikeyaccess, domain level setting

* UI changes for updating user/account and searchfilter in listview

* make the api parameters and setting accessible only to root admin

* revert changes to ui/package-lock.json

* minor changes to description strings

* UT for ApiServer and AccountManagerImpl classes

* fix pre-commit failure

* Added a constant for the string System

* UT for searchForUsers and searchForAccounts

* Fix marvin test error

* Update schema to use idempotent add column

* Added user name uuid to logging

* Add events when api key access is changed via api or config setting

* fix the userid for api key access update event

* Fix ut failure after event logging

* Convert drop down to radio-button in edit user and account

* Add ApiKeyAccess status in User InfoCard for Users if Api key is generated

* Return apiKeyAccess in user and account response only for Root Admin

* fixed noredist build failure

* Show apikeyaccess on the left panel in the user view for root admins as well

* don't show divider if apiKeyAccess is not shown to user

* Fix events generated to set Username, Account and Domain of the caller correctly

* Added DB upgrade path from 42000 to 42010

---------

Co-authored-by: Daan Hoogland <daan@onecht.net>
Co-authored-by: Lucas Martins <56271185+lucas-a-martins@users.noreply.github.com>
Co-authored-by: Lucas Martins <lucas.martins@scclouds.com.br>
2024-12-03 12:10:54 +05:30
Layon
7cfeab1a6b
UI: Tooltip on the host information card to display the CPU speed in MHz and the memory value in MB (to 3 decimal places) (#9971)
Co-authored-by: layon.oliveira <layon.oliveira@scclouds.com.br>
2024-12-02 10:01:57 +01:00
Phsm Qwerty
58138f2da3
fix: remove double <form> element from 2FA form (#9851) 2024-12-02 09:08:26 +01:00
Wei Zhou
8a1da3804c
Resize volume: add pool capacity disablethreshold for resize and allow volume auto migration (#9761)
* server: add global settings for volume resize

* resizeVolume: support automigrate

* Address Suresh's comments

* Update api/src/main/java/org/apache/cloudstack/api/command/user/volume/ResizeVolumeCmd.java

Co-authored-by: Suresh Kumar Anaparti <suresh.anaparti@shapeblue.com>

* address Suresh's comments

* UI: add autoMigrate to resizeVolume

* resizevolume: add unit tests

* resizevolume: add unit test for Allocated volume

---------

Co-authored-by: Suresh Kumar Anaparti <suresh.anaparti@shapeblue.com>
2024-12-02 10:28:14 +05:30
Wei Zhou
34056d956c
Improvement: management server peer states (#9885)
* Improvement: management server peer states

* Update pr9885: consider new mgmt server node which has msId=managementServerNodeId

* Update pr9885: update global config description

* Update pr9885: update label on UI

* framework: Do not update mshost_peer when mgmt server is Up as it will be updated by status update

* mgmt: Update state to Up when mgmt server writes heartbeat to db

* mgmt: change Service IP to Management IP

---------

Co-authored-by: Boris Stoyanov - a.k.a Bobby <bss.stoyanov@gmail.com>
2024-12-02 10:26:20 +05:30
Wei Zhou
22a6604491
Routed mode: minor improvements and fixes (#9697)
* Routed: add global setting to enable/disable routed mode

* Routed: add unit tests

* Routed: add unit tests RoutedIpv4ManagerImplTest

* PR9697: fix end of files lint error

* PR9697: fix unit tests error with JDK17

* Routed: do not show ROUTED mode when create network/vpc offering if routed is disabled

* Routed: check if routed network is enabled when create ipv4 subnet/bgp peer/ASN range/network/vpc

* Routed: UI bug fix and improvements

* Routed: apply available BGP peers when VR is restarted
2024-11-30 08:45:15 +01:00
Layon
a2d5aa997f
displaying info of the labels from form CreateSSHKeyPair (#9970) 2024-11-28 14:41:31 -03:00
Bernardo De Marco Gonçalves
b6937b6a51
UI: Allow accounts of the User type to add other accounts or users to projects through UI (#9927) 2024-11-28 18:33:46 +01:00
Rodrigo D. Lopez
4189bac8e0
enable to create VPC portfowarding rules with source cidr (#7081)
Co-authored-by: Lopez <rodrigo@scclouds.com.br>
Co-authored-by: Fabricio Duarte <fabricio.duarte.jr@gmail.com>
2024-11-28 17:53:07 +01:00
Vishesh
37eec06166
Allow VMWare import via another host (#9787)
Co-authored-by: Suresh Kumar Anaparti <sureshkumar.anaparti@gmail.com>
2024-11-28 17:50:08 +01:00
Bernardo De Marco Gonçalves
c56fc7f81c
fix section divider display on auth page (#9966) 2024-11-28 17:45:20 +01:00
Bernardo De Marco Gonçalves
8a2c0f3f73
UI: Improve filtering of VM and template settings (#9683)
* improve VMs and templates settings filtering

* fix incorrect prop passed in to the `a-auto-complete` component
2024-11-19 08:36:22 -03:00
Lucas Martins
8608f28842
Fix ctrl-enter on vm start dialog (#9743)
Co-authored-by: Lucas Martins <lucas.martins@scclouds.com.br>
2024-11-13 10:16:49 -03:00
Daan Hoogland
f7b7339bcf Merge branch '4.19' 2024-11-07 11:33:50 +01:00
Henrique Sato
a6e9aec769
Fix Kubernetes cluster listing when user is unable to scale (#9867)
Co-authored-by: Henrique Sato <henrique.sato@scclouds.com.br>
2024-11-07 14:42:15 +05:30
João Jandre
8af08ddafb Merge branch '4.19' 2024-11-04 08:58:48 -03:00
Fabricio Duarte
175eed294c
Fix primary storage update form not showing existing values (#9809) 2024-10-18 14:54:50 +05:30
Rohit Yadav
46201ee043 Merge remote-tracking branch 'origin/4.19' 2024-10-16 10:50:23 +05:30
Wei Zhou
96610603ca
UI: fix unit tests (#9798) 2024-10-16 10:44:45 +05:30
Lucas Martins
c0add074ac
Fix updateTemplatePermission when the UI is set to a language other than English (#9766)
* Fix updateTemplatePermission UI in non-english language

* Improve fix

---------

Co-authored-by: Lucas Martins <lucas.martins@scclouds.com.br>
2024-10-15 09:12:10 +02:00
Daan Hoogland
dbfc7f23a7 Merge branch '4.19' 2024-10-11 17:59:46 +02:00
Daniel Augusto Veronezi Salvador
0602f46d82 Fix Vue devServer after CSRF fix 2024-10-11 17:25:32 +02:00
Wei Zhou
5ab0a52d66 util: check JSESSIONID in cookies if user is passed 2024-10-11 17:24:34 +02:00
Daan Hoogland
ee0ab2ac9e Session Token Invalidation on Logout 2024-10-11 17:23:55 +02:00
Felipe
28f425a9f9
Hide UserData field from the EditVM view for VMs that do not offer it (#9731)
* added a v-if directive within the EditVm view to not show the field userdata if the vm's network does not offer the feature

* added the parameter listall:true to the requests made to listNetworks and listVirtualMachines
2024-10-01 17:37:47 -03:00
dahn
00fe5f1471
cleanup validations for VPN connection creation (#9195) 2024-10-01 13:55:31 +05:30
Vishesh
21d107c349
Merge branch '4.19' 2024-09-24 14:04:51 +05:30
Daan Hoogland
00bb9ecc0b Merge branch '4.18' into 4.19 2024-09-23 10:28:58 +02:00
dahn
d15a074425
Revert "list by displayname instead of name (#8503)" (#9720)
This reverts commit 2e9986c6a63af0d07e3c416153ddfdebb9a9a74d.
2024-09-23 10:26:29 +02:00
Rohit Yadav
0a93dcec74
ui: load project list with minimum details (#9711)
This calls listProjects with details=min in the global header menu.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2024-09-20 08:53:28 -03:00
Felipe
ee1cd91e98
fixed an issue where requests to the api createDomain were being sent with the field networkdomain as an empty string whenever the user typed something in the form and cleared it causing an exception (#9637) 2024-09-20 09:59:38 +02:00
Oleg Chuev
727b3b0d5b
Removed deprecated instruction MAINTAINER (#8846)
Co-authored-by: dahn <daan@onecht.net>
Co-authored-by: Wei Zhou <weizhou@apache.org>
2024-09-20 09:28:46 +02:00
João Jandre
41e7a2a689 Merge release branch 4.19 to main 2024-09-19 15:02:29 -03:00
Wei Zhou
50d7ebf5cf
UI: enable project menu on mobile (#9700) 2024-09-19 17:23:53 +05:30
Daan Hoogland
89482a2583 Merge release branch 4.18 to 4.19
* 4.18:
  list by displayname instead of name (#8503)
2024-09-18 17:30:14 +02:00
Abhisar Sinha
7d95952bc1
Enable Backup and Recovery for Shared Filesystems (#9676) 2024-09-18 10:24:21 -03:00
Nicolas Vazquez
a385ff1a21
UI: Fix VPC network offerings listing on VPC tier creation (#9557) 2024-09-18 13:04:12 +02:00
dahn
2e9986c6a6
list by displayname instead of name (#8503) 2024-09-18 12:44:25 +02:00
John Bampton
1d37ff23ac
pre-commit run --all-files; fix end of file with ui/src/style/objects/form.scss (#9696) 2024-09-18 09:17:47 +02:00
Layon
5f8077824a
Implemented the lateral expansion of the area-box in the forms (create/update) of the quota tariff (#9681) 2024-09-17 09:06:50 -03:00
Abhisar Sinha
a88967bf61
Minor naming changes in Shared FileSystems 4.20 Feature (#9675) 2024-09-17 08:53:50 +02:00
dahn
b19c069ade
allow domain suffix update in shared networks (#9585)
* allow domeain suffix update in shared networks

* add network domain edit for shared networks to UI
2024-09-11 09:57:53 -03:00
Vishesh
0655075f51
Feature: Forgot password (#9509)
* Feature: Forgot password

* Address comments

* fixups

* Make forgot password disabled by default

* Apply suggestions from code review

* Address comments
2024-09-10 12:55:28 -03:00