Commit Graph

1322 Commits

Author SHA1 Message Date
Mihaela Stoica
38a1633acb CP-14047: Display alerts for SR physical utilisation in XenCenter
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-10 15:18:26 +01:00
Carmen Agimof
4fadf796ad CA-179502: Reviewed all use of MemorySizeStringMB and came to the conclusion that all its usages must be replaced with MemorySizeStringSuitableUnits. 2015-09-10 14:36:46 +01:00
Mihaela Stoica
7098789f6a CP-13149: Updated Policy statement for Health Check
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-10 13:08:49 +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
Mihaela Stoica
5fa790c948 Merge pull request #640 from agimofcarmen/CA-180577
CA-180577: "Not applied" updates list is now removed from the Updates…
2015-08-27 13:57:32 +01:00
Mihaela Stoica
49775987f8 Merge pull request #639 from agimofcarmen/CP-13174
CP-13174: Arranges code and removes unused variables.
2015-08-27 13:55:53 +01:00
Gabor Apati-Nagy
19d9d1589c CP-13100: XenCenter: Convert a thickly provisoned LVM-based SR to a thinly provisioned SR
Some checks following the code review

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-08-27 13:50:56 +01:00
Mihaela Stoica
15e5c94289 CP-13149: Policy statement link to the right web page
- currently linking to CIS general data collection and privacy page

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-08-27 13:50:35 +01:00
Carmen Agimof
7973bd0668 CA-13174: Adds tab Indexing and hotkeys in the NewDiskDialog and the Storage Provisioning Page in the NewSR wizard. 2015-08-27 13:00:45 +01:00
Carmen Agimof
ef5757705e CA-180581: Modified the table columns size in order for the year in the Date column to be visible. 2015-08-27 12:42:53 +01:00
Gabor Apati-Nagy
6b6e7daa4f CP-13100: XenCenter: Convert a thickly provisoned LVM-based SR to a thinly provisioned SR
Created ThinProvisioningParametersControl user control using existing code to have the thin provisioning settings at one place. It needs to be initialized by providing an SR and it will expose its internal state via NewSMConfig property that we need at other places.
This does not include refactoring of existing code or replacing existing code to use this new control, but the new Conversion dialog is using this. Next step would be to remove existing code and start using this new ThinProvisioningParametersControl instead.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-08-27 12:14:27 +01:00
Carmen Agimof
843505e924 CA-180577: "Not applied" updates list is now removed from the Updates section in General Tab. The "Install pending updates" context menu entry is also removed. 2015-08-27 11:02:34 +01:00
Carmen Agimof
189fc17d92 CP-13174: Arranges code and removes unused variables. 2015-08-27 10:23:09 +01:00
Mihaela Stoica
2eba1c705f Merge remote-tracking branch 'upstream/master' into CP-12156_2
Conflicts:
	XenModel/XenAPI-Extensions/Pool.cs
	XenModel/XenModel.csproj
2015-08-27 01:03:58 +01:00
Mihaela Stoica
44e18df03d CP-12156: Obtain and display the result of the CIS analysis of the last uploaded report
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-08-27 00:30:02 +01:00
Gabor Apati-Nagy
f1f036cc71 CP-13100: XenCenter: Convert a thickly provisoned LVM-based SR to a thinly provisioned SR
"dynamic" to "xlvhd" according to XenAPI changes

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-08-26 18:01:41 +01:00
Gabor Apati-Nagy
77beffacf9 Merge remote-tracking branch 'github_xenadmin/master' into CP-13100
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>

Conflicts:
	XenAdmin/TabPages/GeneralTabPage.cs
2015-08-26 17:58:38 +01:00
Gabor Apati-Nagy
cb90872c6c CP-13100: XenCenter: Convert a thickly provisoned LVM-based SR to a thinly provisioned SR
Added new functionality (using percentages yet)

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-08-26 17:54:03 +01:00
Mihaela Stoica
c0d4cb274d Merge pull request #637 from agimofcarmen/CP-13174
CP-13174:  Rename Size Property and Refactors code
2015-08-26 17:43:31 +01:00
Carmen Agimof
0cca0fc125 CP-13174: Rename Size Property and Refactors code 2015-08-26 17:41:59 +01:00
Mihaela Stoica
6af97b2edb Merge pull request #636 from agimofcarmen/CP-13174
CP-13174: Change units used for initial_allocation and allocation_qua…
2015-08-26 17:21:00 +01:00
Carmen Agimof
06b7b66357 CP-13174: Change units used for initial_allocation and allocation_quantum to MB or GB instead of percentages.
Changes allocation type from "dynamic" to "xlvhd".
2015-08-26 17:14:01 +01:00
Mihaela Stoica
bfb471fe64 Merge pull request #632 from huizh/CP-13848
CP-13848: XenCenter transfers proxy settings to HealthCheckService.
2015-08-26 10:15:12 +01:00
Mihaela Stoica
094f346208 Merge pull request #634 from agimofcarmen/CP-13174
CP 13174: Agree and update units used for initial/subsequent allocation
2015-08-25 15:19:13 +01:00
Carmen Agimof
7c53955104 CP:13667: Adds condition that checks if sm_config contains the keys "allocation_quantum" and "initial_allocation" before getting the values. 2015-08-25 15:12:01 +01:00
Hui Zhang
0761aa5be2 CP-13848: XenCenter transfers proxy settings to HealthCheckService.
Signed-off-by: Hui Zhang <hui.zhang@citrix.com>
2015-08-25 20:32:58 +08:00
Gabor Apati-Nagy
f173bc66b7 Fixing build (unreachable code warning as error) 2015-08-24 17:33:29 +01:00
Mihaela Stoica
4b073c0bc3 Renamed and merged some constants in HealthCheckSettings class
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-08-21 15:21:47 +01:00
Mihaela Stoica
ff64416407 Move HealthCheckSettings class to a separate file
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-08-21 15:19:24 +01:00
Carmen Agimof
5acaeb4ac1 CP-13667: [Thin-LVHD] XenCenter shall show the allocation_quantum and initial_allocation in General Tab. 2015-08-21 14:16:40 +01:00
Gabor Apati-Nagy
a12f09beab Disabling showing "able to receive updates" 2015-08-20 17:33:34 +01:00
Mihaela Stoica
0a3deaf526 Merge pull request #624 from agimofcarmen/CA-147944_II
CA-147944: Use GB for VM Memory if large values
2015-08-20 17:17:12 +01:00
Stephen Turner
b16f9c093c Merge pull request #626 from MihaelaStoica/master
Text corrections in the Health Check dialogs
2015-08-20 14:35:18 +01:00
Mihaela Stoica
114e132a2c CP-13374: Added missing I18n resource files
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-08-20 14:06:13 +01:00
Mihaela Stoica
854acff73d Text corrections in the Health Check dialogs
- no “the” is needed in front of “Citrix Insight Services”  (e.g. “…authenticate with Citrix Insight Services…” and not “…authenticate with the Citrix Insight Services…”)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-08-20 13:49:13 +01:00
Stephen Turner
4ba818b705 Merge pull request #625 from MihaelaStoica/master
CP-12679: Upload the report from the Server Status Report wizard
2015-08-20 13:30:38 +01:00
Mihaela Stoica
998c037bd3 CP-12679: Upload the report from the Server Status Report wizard
- fix the error when the upload is attempted even if the checkbox is not ticked
2015-08-20 13:20:35 +01:00
Carmen Agimof
4da67c0590 CA-147944: Use GB for VM Memory if large values
- Memory Tab uses GB units for values greater or equal to 1 GB, otherwise show in MB;
- Search Tab displays values in GB or MB in the same as the Memory Tab (e.g. 512 MB of 1 GB, 256 MB of 512 MB, 2.5 GB of 16 GB).
- The shiny bar present in the Memory Tab and in Memory Settings dialog shows the scaling in the following way: If smaller than 1 GB, then show as before, else show only labels with values multiples of half a GB.
- The units used in Memory Setting Dialog are set depending on the static_max. If it is greater or equal to 1 GB, then the units are GB, else MB. The user does not have the possibility of changing them.
2015-08-20 12:41:39 +01:00
Gabor Apati-Nagy
b123bf8dda Merge pull request #619 from stephen-turner/CP-13374
CP-13374 XenCenter can now turn on and off ssl-legacy
2015-08-19 17:31:42 +01:00
Mihaela Stoica
93610007b7 Re-enable Health Check: Revert "Merge pull request #614 from GaborApatiNagy/master_disable_health_check"
This reverts commit dba1d3e60e, reversing
changes made to 731f968a8e.
2015-08-19 10:04:13 +01:00
Stephen Turner
02aeb0b6d5 CP-13374: SetSslLegacyAction must be last because it will disrupt the connection 2015-08-19 09:35:51 +01:00
Stephen Turner
df182d05c0 CP-13374 XenCenter can now turn on and off ssl-legacy: last check-in was incomplete. 2015-08-19 08:53:15 +01:00
Stephen Turner
227ee84da7 CP-13374 XenCenter can now turn on and off ssl-legacy.
The main functionality is working, but the ExpectDisruption flag isn't fully working yet.
2015-08-18 09:35:55 +01:00
Mihaela Stoica
0edd2e05f9 CP-13165: Make quiescing into a licensed feature
- Add code to check license before offering quiescing on the VM Snapshot dialog
- If the feature is not available, the message displayed is: "This feature is disabled due to license restrictions on the server."

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-08-17 17:32:22 +01:00
Mihaela Stoica
8898f6b69c CP-13287: Add "Tech Preview" warning to Intel GVT-g vGPUs
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-08-17 14:47:55 +01:00
Stephen Turner
bcd881d695 Merge branch 'master' into CP-13374 to get new Host.ssl_legacy field. 2015-08-17 11:44:29 +01:00
Stephen Turner
0c58ad5367 CP-13374 Add new padlock icon
This icon is a slightly modified version of one from http://www.famfamfam.com/lab/icons/mini/ via https://commons.wikimedia.org/wiki/File:Icons-mini-icon_padlock.gif.
It is freely available for any use without conditions.
2015-08-14 17:15:22 +01:00
Stephen Turner
60c1a84e42 Merge pull request #615 from GaborApatiNagy/master_CP_12431
CP-12431: PV drivers onto Windows update: Show virtualisation status in XenCenter
2015-08-14 15:56:43 +01:00
Gabor Apati-Nagy
4cc98be845 CP-12431: PV drivers onto Windows update: Show virtualisation status in XenCenter
Changes following the code review
2015-08-14 14:25:49 +01:00
Gabor Apati-Nagy
8f0a00f8c4 CP-12431: PV drivers onto Windows update: Show virtualisation status in XenCenter
Edited comments
2015-08-14 12:11:02 +01:00
Gabor Apati-Nagy
eaa4c1a93a CP-12431: PV drivers onto Windows update: Show virtualisation status in XenCenter 2015-08-13 17:44:32 +01:00
Gabor Apati-Nagy
4f98c05646 CA-179555: Making CIS-related options invisible in Server Status Report Wizard 2015-08-13 14:11:50 +01:00
Gabor Apati-Nagy
1da2e88674 CA-179555: Disable upload to CIS checkbox in the Server Status Report Wizard 2015-08-13 14:05:46 +01:00
Gabor Apati-Nagy
0595281a55 Merge pull request #610 from agimofcarmen/master
Changes Tab Indexing and disables refresh and restore button while ch…
2015-08-10 11:31:23 +01:00
Carmen Agimof
5f40353d07 Changes Tab Indexing and disables refresh and restore button while check for updates is in progress. 2015-08-10 11:25:11 +01:00