Commit Graph

6707 Commits

Author SHA1 Message Date
Konstantina Chremmou
bffe739b86 It was not possible to load a xapi database from the CLI.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-05-31 12:14:07 +01:00
Konstantina Chremmou
801125f448
Merge pull request #3137 from danilo-delbusso/dev/snapshot-crash-CA-375803
CA-375803: Catch exceptions when creating a new template from snapshot
2023-05-05 14:56:46 +01:00
Konstantina Chremmou
255571496a CA-376512: The Destroy item was not available for multiple selection of powered down hosts.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-05-05 14:54:56 +01:00
Danilo Del Busso
1914a45869 Add missing reads/s unit mapping
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-05-05 14:53:58 +01:00
Konstantina Chremmou
09611a806e Removed DMC deprecation banner and RPU precheck when upgrading a system with DMC VMs.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-05-05 14:43:12 +01:00
Konstantina Chremmou
0e0160645c CA-376894: The allowed_operations are not refreshed after vTPM removal in xapi 23.10.0.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-05-05 14:43:12 +01:00
Danilo Del Busso
f16b0fed35
Revert IsCompleted checks
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-05-02 09:00:54 +01:00
Danilo Del Busso
113a427e6a
Collapse type checks in WlbOptimizePool
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-04-28 15:34:02 +01:00
Danilo Del Busso
59ff422d9d
Add missing article to new template message
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-04-28 15:30:17 +01:00
Konstantina Chremmou
d148956a1b CA-376686: There is no API call "live_migrate".
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-04-28 10:12:04 +01:00
Danilo Del Busso
4a1c13c6b2
Suppress history when running user authorization action in RoleElevationDialog
RBAC check sometimes runs after the action that is being checked. This results in the status bar being cleared if the RBAC check passes.

Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-04-28 10:11:31 +01:00
Danilo Del Busso
d221ae7d61
Add missing article to new template message
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-04-28 10:07:35 +01:00
Danilo Del Busso
30291cc3bd
CA-375803: Check if actions have succeeded before accessing action result
Also add check to non-relevant actions

Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-04-28 10:06:18 +01:00
Chris Lancaster
7a3e0e4b07 CP-42928 bumps version
Signed-off-by: Chris Lancaster <Christopher.Lancaste1@citrix.com>
2023-04-27 15:56:48 +01:00
Konstantina Chremmou
d24409d132
Merge pull request #3139 from kc284/vtpm-CP-42691
CP-39687+CP-42691: XVA export for VMs with vTPMs is now supported; use allowed_operations for enabling vTPM add/remove
2023-04-25 17:06:49 +01:00
Konstantina Chremmou
240fa78333 CP-39687: Exporting VMs with vTPMs to XVA package is now supported.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-04-25 13:39:54 +01:00
Konstantina Chremmou
947f938016 Corrected typo in filename.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-04-25 13:39:54 +01:00
Konstantina Chremmou
6a06d5b8d9 CP-42691: Use allowed operations to enable/disable vTPM create/destroy.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-04-25 13:39:54 +01:00
Danilo Del Busso
99ea8bcf68
Tidy up NewTemplateFromSnapshotCommand
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-04-24 11:06:17 +01:00
Danilo Del Busso
f2c967968d
CA-375803: Catch exceptions when creating a new template from snapshot
Both when user cancels and when action fails

Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-04-24 11:05:09 +01:00
Konstantina Chremmou
b93a61673d Updated SDK to v23.10.0.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-04-14 11:33:02 +01:00
Konstantina Chremmou
93d538c831 XSI-1419: Fixed regression whereby the application could not be used in multi-user mode
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-04-13 21:11:58 +01:00
Konstantina Chremmou
8e756dbe5f
Merge pull request #3124 from danilo-delbusso/dev/internal-stage-token
Do not prepend key to `InternalStageAuthToken` query parameters
2023-04-13 21:11:37 +01:00
Danilo Del Busso
44d4482513
Specify caching policy for XML/MSI downloads
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-04-13 11:44:23 +01:00
Danilo Del Busso
bfd99e1869
Encode query parameters in AddAuthTokenToQueryString
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-04-13 11:43:44 +01:00
Danilo Del Busso
dc1e001a8a
Use full URL when downloading updates XML
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-04-13 09:58:23 +01:00
Konstantina Chremmou
4ead4a8bfe CA-376334: Do not show UEFI secure boot mode if UEFI is disabled.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-04-12 09:54:35 +01:00
Konstantina Chremmou
f8ab0a1414
Merge pull request #3127 from kc284/proxy_removal
CP-40407: Removal of IXmlRpcProxy related classes and simulation infrastructure
2023-04-12 09:54:17 +01:00
Danilo Del Busso
61ff54ba44
Remove unused calls
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-04-12 08:43:50 +01:00
Danilo Del Busso
7b18b3b105
Update DownloadAndUpdateClientAction to not prepend param name when downloading
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-04-12 08:43:42 +01:00
Danilo Del Busso
1b3b4b218d
Move AddAuthTokenToQueryString to Helpers
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-04-12 08:31:05 +01:00
Konstantina Chremmou
2c28824594 CA-294901: Reworded (again) so that we don't give the impression that the VMs' affinity will be set.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-04-11 22:15:02 +01:00
Konstantina Chremmou
efce18eff9 CA-376330: If the boot mode radios are invisible do not check them or show the warning if they are disabled.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-04-11 13:26:19 +01:00
Konstantina Chremmou
601d615f52
Merge pull request #3126 from kc284/obsolete
Stop using reflection for the creation of context menu builders; and some smaller corrections.
2023-04-11 13:26:00 +01:00
Konstantina Chremmou
7859d12e34 Use our own info icon instead of the system's because it does not scale.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-04-03 13:55:02 +01:00
Konstantina Chremmou
9d6d1a185d Simplified SrAction by splitting it to four different actions. Fixed RBAC permissions when detaching SR and destroying PBDs.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-04-03 13:55:02 +01:00
Konstantina Chremmou
a4df1eed61 New logic for connection to a xapi database and some connection tidy up:
- Removed event that had no subscribers.
- The xml docs are more useful on the properties and not their supporting private fields.
- Stop silencing cache errors as they may reveal other issues.
- Adding server to history was called twice.
- Connection null checks and refactoring of ConnectionExists exceptions.
- Added some logging.

Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-03-31 14:17:56 +01:00
Konstantina Chremmou
8375754a5b CP-40407: Removed fakeAPI and usage of XmlRpcProxy classes in the application.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-03-31 14:17:55 +01:00
Konstantina Chremmou
b543fbeedb Corrections in the context menu builder:
- Stop using reflection for the creation of context menu builders. It's error prone.
- MultipleDockerContainers was not constructed because it was abstract.
- Do not reconstruct the selectionList for each builder.
- Unused variables.

Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-03-31 11:07:17 +01:00
Konstantina Chremmou
6838b76132 Unused code.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-03-31 11:07:12 +01:00
Konstantina Chremmou
a01264233d Updated the SDK to 23.3.0.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-03-30 16:40:34 +01:00
Konstantina Chremmou
dfeb347485 Removed integrated storage link code. The feature was removed long ago.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-03-30 16:38:56 +01:00
Danilo Del Busso
16ce163e7f
Remove whitespace only keys from query string
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-03-30 13:31:58 +01:00
Danilo Del Busso
a888ed9274
Only add InternalStageAuthToken if URI isn't pointing to a file
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-03-30 13:31:06 +01:00
Konstantina Chremmou
6cd1393161 Bumped branding to v4.15. Removed leftover references of branded components.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-03-30 10:22:12 +01:00
Konstantina Chremmou
392efff62d
Merge pull request #3120 from kc284/addserver
Dead/obsolete code removal and some issues on the AddServerDialog
2023-03-29 22:52:31 +01:00
Danilo Del Busso
dd571056ae CP-42286: Add friendly name for pool_session_creation_rate
Also adds new unit to `DataSet.cs`

Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-03-29 22:52:01 +01:00
Danilo Del Busso
732d1f4a30
Do not pre-pend key to InternalStageAuthToken query parameters
Use of `InternalStageAuthToken=foo` is not needed anymore. Furthermore, we can now provide any token format.

Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-03-27 09:28:21 +01:00
Danilo Del Busso
65da63755f
[master] CA-375556: Pass non-compressed file stream to HTTP.CopyStream (#3115)
* CA-375556: Pass non-compressed file stream to `HTTP.CopyStream`

Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>

* CA-375556: Use `sourcefile` instead of `filePath`

Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>

---------

Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-03-24 10:24:10 +00:00
Konstantina Chremmou
1a2e934e6f Corrected alignment of error message.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-03-24 00:45:12 +00:00