Commit Graph

1273 Commits

Author SHA1 Message Date
Gabor Apati-Nagy
f4cd9bd97c CP-13786: GetVirtualisationStatus: Refactoring, bugfixes
Removed PV_DRIVERS_NOT_INSTALLED=0 from the VirtualisationStatus [Flags]enum - 0 will mean the same (to avoid bugs with enum.HasFlag(0) is always true)
Extracted common code to VMLifeCycleCommand.GetCantExecuteNoToolsOrDriversReasonCore() method (instead of defining overridden GetCantExecuteReasonCore() method at this level, because not all child classes need this...)

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-09-18 15:48:59 +01:00
Gabor Apati-Nagy
cb861b0c2a CP-13786: GetVirtualisationStatus: Refactoring
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-09-16 18:22:16 +01:00
Gabor Apati-Nagy
21a74d3d49 CP-13786: GetVirtualisationStatus: More fixes after code review
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-09-16 13:57:32 +01:00
Gabor Apati-Nagy
371f6bdb00 CP-13786: VM.VirtualisationStatus: Changes following the code review
Removed Optimized state and using I/O & Management instead (even for old VMs)
Changed messages to be different for old and new VMs instead of saying Tools or I/O drivers for instance
Removed the extra enum property from the VM class that had been added for search
Fixed code in GroupingTypes class (possible KeyNotFoundException)

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-09-14 17:08:23 +01:00
Gabor Apati-Nagy
6ec748c9b2 CP-13786: Fixed Install Tools link does not appear bug
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-09-09 18:31:28 +01:00
Gabor Apati-Nagy
463d3e79df CP-13786: PV drivers onto Windows update: Check all uses of GetVirtualisationStatus
Extended the enum, aimed for minimal changes, also using Flags on the enum now

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-09-09 13:56:44 +01:00
Mihaela Stoica
e71c40a3ac Merge branch 'master' into CA-181208
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>

Conflicts:
	XenAdmin/Dialogs/HealthCheck/HealthCheckOverviewDialog.cs
2015-09-09 13:26:53 +01:00
Carmen Agimof
cd4281ffab Merge pull request #651 from MihaelaStoica/CP-13077
CP-13077: Changes to the Health Check feature to work properly with RBAC
2015-09-09 13:16:15 +01:00
Mihaela Stoica
8702da52a1 CP-13077: Changes to the Health Check feature to work properly with RBAC
- Changes following code review: only create (and return) the action when needed

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-09 13:10:56 +01:00
Mihaela Stoica
815e67c4d3 Change some wording on the Health Check Overview page
- change "request an upload now" to "request an additional upload now"

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-09 09:41:11 +01:00
Mihaela Stoica
8026d0ee55 CA-181208: Display the status of last failed upload in the Health Check overview dialog
- If an upload is marked as failed, then display it in the UI (but only as long as there is no successful upload done after that)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-09 09:39:45 +01:00
Carmen Agimof
4d625de0a2 CA-181342: Now the user can mount or eject ISO images from Console. 2015-09-08 15:47:44 +01:00
Mihaela Stoica
fb8a6665a6 Merge pull request #664 from agimofcarmen/CP-13984
CP-13984: Changes the wording on Convert SR dialog (replace upgrade with convert).
2015-09-08 15:35:36 +01:00
Carmen Agimof
0dd8fa7f05 CP-13984: Changes the wording on Convert SR dialog (replace upgrade with convert). 2015-09-08 15:32:47 +01:00
Mihaela Stoica
a4d94226a3 Merge pull request #659 from agimofcarmen/CA-181440
CA-181440: Adds text that explains the bounds of the incremental allo…
2015-09-08 15:20:49 +01:00
Mihaela Stoica
0539d837b7 Merge pull request #658 from agimofcarmen/CA-181444
CA-181444: Adds more spacing and indentation on the Select Update Pag…
2015-09-08 15:17:45 +01:00
Carmen Agimof
55f311df9c CA-181444: Adds more spacing and indentation on the Select Update Page in the Updates Wizard. 2015-09-08 15:16:54 +01:00
Carmen Agimof
2a8a80b5fd CA-181445: Changes message and page title on the Upload Page in the Updates Wizard. If we are actually downloading an update, then the message will mention that. Otherwise, it will only mention the upload. 2015-09-08 15:04:50 +01:00
Carmen Agimof
8914cd4e81 CA-181441: Changes warning icon and text in the SR convert dialog. 2015-09-08 14:37:33 +01:00
Mihaela Stoica
d7fa39bb75 Merge pull request #655 from agimofcarmen/CA-181442
CA 181442: Cancelling the wizard while upload is in progress does not cause an unhandled exception anymore.
2015-09-08 12:05:30 +01:00
Carmen Agimof
1bb0fadb48 CA-181440: Changes design of the message about the limits in the Thin Provisioning Parameters Control. 2015-09-08 11:37:02 +01:00
Mihaela Stoica
7fc6def8cb Merge pull request #656 from agimofcarmen/CA-181443
CA-181443: The list in the Select Patch Page in the Updates Wizard is…
2015-09-08 11:03:27 +01:00
Carmen Agimof
78c80a7887 CA-181440: Adds text that explains the bounds of the incremental allocation in the Thin Provisioning Parameters Control. 2015-09-07 17:45:57 +01:00
Carmen Agimof
68750627cc CA-181443: The list in the Select Patch Page in the Updates Wizard is not dancing anymore. Changed the AutoSizeMode from Displayed Cells to None. 2015-09-07 12:24:31 +01:00
Carmen Agimof
22b3450dcd CA-181442: Make the list that contained all NewUploadedPatches a Dictionary that matches the patch with its path. This is helpful when trying to upload to a server where the update it is already uploaded (and therefore we do not do the upload again and we cannot get the patch).
Adds a flag in the UploadPatchAction that is used when checking if the file should be deleted on cancel.
2015-09-07 12:18:01 +01:00
Carmen Agimof
05884ea9be CA-181442: Cancelling the wizard while upload is in progress does not cause an unhandled exception anymore. 2015-09-04 17:18:26 +01:00
Carmen Agimof
9b0f478952 CA-181390: Solved issue related to taking a file from disk that is not in the list of updates taken from the Citrix website. Created a dictionary that contains all the uploaded updates(the patch path) and on which hosts they were applied.
- Not applied updates do not appear anymore in the General Tab of a pool. (Related to CA-180577)
- If we apply a patch that was already applied (happens when we take a file from disk that is not in the updates list taken from the Citrix website -> no metadata), on cancel we are now removing the uploaded patch from the host.
2015-09-04 17:09:22 +01:00
Stephen Turner
2af66b67db Merge pull request #652 from MihaelaStoica/CA-180755
CA-180755: Update RPU hotfixes in XenCenter
2015-09-04 13:59:25 +01:00
Mihaela Stoica
685bda35da Merge pull request #650 from agimofcarmen/CA-180831
CA 180831: The issues with the refresh button are now fixed.
2015-09-04 12:18:39 +01:00
Mihaela Stoica
7d750dd080 Merge pull request #649 from agimofcarmen/CA-181316
CA-181316: Sort by description is now working correctly.
2015-09-04 12:17:52 +01:00
Mihaela Stoica
80d5fe6525 Merge pull request #648 from agimofcarmen/CA-181309_II
CA-181309: Dismiss button in the Updates Tab is now disabled if the l…
2015-09-04 12:17:03 +01:00
Mihaela Stoica
35e3d5b1dd Merge pull request #647 from agimofcarmen/CA-176969
CA-176969: Adds Cheng, Hui and Carmen to XenCenter credits.
2015-09-04 12:16:30 +01:00
Mihaela Stoica
93df357fd5 CA-180755: Update RPU hotfixes in XenCenter 2015-09-04 12:14:48 +01:00
Mihaela Stoica
53b01c425c CP-13077: Changes to the Health Check feature to work properly with RBAC
Changed all the health check actions to perform the necessary role checks
- HealthCheckAuthenticationAction: changed so it does not save the tokens, so no role checks required in this action (all the checks are performed in SaveHealthCheckSettingsAction)
- GetHealthCheckAnalysisActions: added role checks

On the Health Check Overview dialog, a pool is displayed as read-only if connected as a user with roles that don't permit changing the health check settings:
- the following actions are not available: enroll, edit settings, disable health check, request upload, get analysis result
2015-09-03 11:49:53 +01:00
Carmen Agimof
6b27d7efdb CA-180831: The issues with the refresh button in the Updates wizard are now fixed. When the refresh button is clicked, the SelectFromDisk radio button will not be selected. 2015-09-02 18:24:29 +01:00
Carmen Agimof
31924f9888 CA-181316: Sort by description is now working correctly. 2015-09-02 18:21:10 +01:00
Carmen Agimof
945020ea75 CA-181309: Dismiss button in the Updates Tab is now disabled if the list is empty. 2015-09-02 17:54:29 +01:00
Carmen Agimof
b30f049077 Changes special characters in the names to HTML code. 2015-09-02 17:14:01 +01:00
Carmen Agimof
21c1df9456 CP-13902: Removes unused method. 2015-09-02 13:25:53 +01:00
Carmen Agimof
b4c7d60f6d Merge remote-tracking branch 'upstream/master' into CP-13902
Conflicts:
	XenAdmin/Wizards/NewSRWizard_Pages/Frontends/StorageProvisioning.cs
2015-09-02 13:19:49 +01:00
Carmen Agimof
1698de61ce CA-177783: Create SR using ISCSI type in XenCenter cannot go back and choose to format after reattach.
Solves issue related to error message that was not visible in the Location Page for the ISCSI type.
2015-09-01 17:25:44 +01:00
Carmen Agimof
edb16f9efe CA-176969: Adds Cheng, Hui and Carmen to XenCenter credits. 2015-09-01 17:19:51 +01:00
Carmen Agimof
549067f2d0 CP - Refactors Provisioning page in SR wizards to use the new control for allocations.
Adds tab indexing to the control for allocation and changes label names.
Corrects mistake that led to exception being thrown when the Disk Size is decreased in the the New Disk Dialog.
2015-08-28 16:44:22 +01:00
Mihaela Stoica
291d4ceb91 Merge pull request #644 from GaborApatiNagy/CP-13100
CP-13100: Fixed unit tests and fixed a bug in code
2015-08-28 12:11:58 +01:00
Gabor Apati-Nagy
181b16cae6 CP-13100: Fixed unit tests and fixed a bug in code
Fixing the unit tests pointed me at the command's CanExecuteCore where the check for Dundee or higher was missing. Fixed that as well.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-08-28 12:01:46 +01:00
Gabor Apati-Nagy
f772763575 Merge pull request #643 from GaborApatiNagy/CP-13100
CP-13100: Internationalized ThinProvisioningParametersControl
2015-08-27 14:11:22 +01:00
Gabor Apati-Nagy
37b5e23ee5 CP-13100: Internationalized ThinProvisioningParametersControl
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-08-27 14:09:51 +01:00
Mihaela Stoica
2391c8c16c Merge pull request #641 from agimofcarmen/CA-180581
CA-180581: Modified the table columns size in order for the year in t…
2015-08-27 14:09:40 +01:00
Gabor Apati-Nagy
40478b5eca Merge pull request #642 from MihaelaStoica/CP-13149
CP-13149: Policy statement link to the right web page
2015-08-27 14:06:11 +01:00
Gabor Apati-Nagy
402994a7a1 Merge pull request #638 from MihaelaStoica/CP-12156_2
CP-12156: Obtain and display the result of the CIS analysis of the last uploaded report
2015-08-27 14:04:17 +01:00