xenadmin/XenAdmin/TabPages
Danilo Del Busso 77bd034e8d
CA-359965: Consider physical_utilisation value when checking for free space in thinly provisioned SRs (#3028)
* CA-359965: Consider `physical_utilisation` value when checking for free space in thinly provisioned SRs

* CA-359965: Fix miscellaneous formatting issues

* Made SrPickerItem show the SR by default. Removed virtual method that was never overriden.

* Use slightly more intuitive name for property; also inverted its logic.

* Renamed VdiCreationCanProceed to the more specific CanFitDisks since it only deals with sizes.

* Re-arranged classes in file.

* Refactored SrPickerItem:

- Merged CanBeEnabled and DisabledReason properties to method CanBeEnabled(out disabledREason)
  to avoid running the same checks twice.
- Pass the disk instead of the size into extension method SR.CanFitDisks
  so that the correct size can be used for each storage (thin vs. non-thin provision).

* Correction as per code review and some tweaks to make the checks clearer and more efficient.

Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>
Co-authored-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2022-10-11 09:26:54 +01:00
..
AdPage.cs Renamed fields. 2022-04-14 11:45:21 +01:00
AdPage.Designer.cs
AdPage.ja.resx L10N : Resx resync and Translation Updates 2022-01-05 11:38:40 +00:00
AdPage.resx Replace negative term with log(ging) out user 2021-12-17 11:06:56 +00:00
AdPage.zh-CN.resx L10N : Resx resync and Translation Updates 2022-01-05 11:38:40 +00:00
AlertSummaryPage.cs Show the status of the DownloadUpdatesXmlAction on the Events tab (previously it was shown on the Updates tab). 2022-06-16 11:47:54 +01:00
AlertSummaryPage.Designer.cs
AlertSummaryPage.ja.resx
AlertSummaryPage.resx
AlertSummaryPage.zh-CN.resx
BallooningPage.cs Renamed methods so they describe better what they do. 2022-03-03 14:36:06 +00:00
BallooningPage.Designer.cs
BallooningPage.ja.resx
BallooningPage.resx
BallooningPage.zh-CN.resx
BaseTabPage.cs Removed colour settings for unsupported windows versions. 2021-05-18 11:12:11 +01:00
BaseTabPage.Designer.cs CP-36908: Remove support for xscontainer supp-pack from stockholm. 2021-09-23 10:44:43 +01:00
BaseTabPage.ja.resx L10N : Resx resync and Translation Updates 2022-01-05 11:38:40 +00:00
BaseTabPage.resx CP-35345: Adjust DeprecationBanner width 2021-03-17 10:32:17 +00:00
BaseTabPage.zh-CN.resx L10N : Resx resync and Translation Updates 2022-01-05 11:38:40 +00:00
DockerDetailsPage.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
DockerDetailsPage.Designer.cs
DockerDetailsPage.ja.resx
DockerDetailsPage.resx
DockerDetailsPage.zh-CN.resx
DockerProcessPage.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
DockerProcessPage.Designer.cs
DockerProcessPage.ja.resx
DockerProcessPage.resx
DockerProcessPage.zh-CN.resx
GeneralTabLicenseStatusStringifier.cs
GeneralTabPage.cs CA-359965: Consider physical_utilisation value when checking for free space in thinly provisioned SRs (#3028) 2022-10-11 09:26:54 +01:00
GeneralTabPage.Designer.cs CP-38529: Remove method calling PuTTY in GeneralTabPage 2022-01-06 10:50:13 +00:00
GeneralTabPage.ja.resx L10N : Resx Sync 2022-02-24 11:53:31 +00:00
GeneralTabPage.resx CP-38529: Remove method calling PuTTY in GeneralTabPage 2022-01-06 10:50:13 +00:00
GeneralTabPage.zh-CN.resx L10N : Resx Sync 2022-02-24 11:53:31 +00:00
GpuPage.cs
GpuPage.Designer.cs
GpuPage.ja.resx
GpuPage.resx
GpuPage.zh-CN.resx
HAPage.cs Configuring HA on the TabPage should offer the same UX as when using the Menu Items. 2020-10-06 11:27:32 +01:00
HAPage.Designer.cs Configuring HA on the TabPage should offer the same UX as when using the Menu Items. 2020-10-06 11:27:32 +01:00
HAPage.ja.resx L10N : Translation Update and RESX resync 2020-10-13 13:56:55 +01:00
HAPage.resx Configuring HA on the TabPage should offer the same UX as when using the Menu Items. 2020-10-06 11:27:32 +01:00
HAPage.zh-CN.resx L10N : Translation Update and RESX resync 2020-10-13 13:56:55 +01:00
HistoryPage.cs
HistoryPage.Designer.cs
HistoryPage.ja.resx L10N : Resx Sync 2022-02-24 11:53:31 +00:00
HistoryPage.resx
HistoryPage.zh-CN.resx L10N : Resx Sync 2022-02-24 11:53:31 +00:00
HomePage.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
HomePage.Designer.cs
HomePage.ja.resx
HomePage.resx
HomePage.zh-CN.resx
NetworkPage.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
NetworkPage.Designer.cs
NetworkPage.ja.resx
NetworkPage.resx
NetworkPage.zh-CN.resx
NICPage.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
NICPage.Designer.cs
NICPage.ja.resx
NICPage.resx
NICPage.zh-CN.resx
NotificationsBasePage.cs
PerformancePage.cs Corrected calculation of datasource units (CA-359068). New/Edit Graph dialog enhancements. 2021-10-12 12:28:42 +01:00
PerformancePage.Designer.cs
PerformancePage.ja.resx
PerformancePage.resx
PerformancePage.zh-CN.resx
PhysicalStoragePage.cs CP-36392 pt.1: Removed unused using directives. 2021-04-07 10:04:47 +01:00
PhysicalStoragePage.Designer.cs CA-343956: Fixed issues on the VM storage TabPage: 2020-10-02 11:59:55 +01:00
PhysicalStoragePage.ja.resx
PhysicalStoragePage.resx
PhysicalStoragePage.zh-CN.resx
PvsPage.cs CP-36392: Refactor conditions that result in unreachable code blocks 2021-10-04 15:42:04 +01:00
PvsPage.Designer.cs
PvsPage.ja.resx
PvsPage.resx
PvsPage.zh-CN.resx
SearchPage.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
SearchPage.Designer.cs
SearchPage.ja.resx
SearchPage.resx
SearchPage.zh-CN.resx
SnapshotsPage.cs CP-34231: Remove language with negative connotations (#2860) 2021-08-31 11:31:16 +01:00
SnapshotsPage.designer.cs
SnapshotsPage.ja.resx
SnapshotsPage.resx
SnapshotsPage.zh-CN.resx
SrStoragePage.cs Disable the Rescan button on the SR storage page when the SR is detached because the operation fails anyway. 2022-10-07 09:19:10 +01:00
SrStoragePage.Designer.cs Refactored the Command Enabled|Disabled Tooltip to avoid multiple calculation of whether the command can be executed. 2021-02-10 23:44:21 +00:00
SrStoragePage.ja.resx L10n: Translations updated & Resx sync 2022-08-12 10:31:53 +01:00
SrStoragePage.resx
SrStoragePage.zh-CN.resx
UpsellTabPage.cs The message Messages.UPSELL_BLURB_TRIAL was displayed twice on the AD, HA, and Users tabpage for unlicensed pool. 2021-10-26 00:47:08 +01:00
UpsellTabPage.Designer.cs CP-35350 preliminary work: Removed images that are not displayed anywhere on the UI. 2020-12-02 12:34:09 +00:00
UpsellTabPage.ja.resx
UpsellTabPage.resx
UpsellTabPage.zh-CN.resx
UsbPage.cs
UsbPage.Designer.cs
UsbPage.ja.resx
UsbPage.resx
UsbPage.zh-CN.resx
VMStoragePage.cs CP-36392 pt.1: Removed unused using directives. 2021-04-07 10:04:47 +01:00
VMStoragePage.Designer.cs CP-36392: Remove duplicate field in MultipleDvdIsoList.cs 2021-09-20 09:35:19 +01:00
VMStoragePage.ja.resx
VMStoragePage.resx CA-343956: Fixed issues on the VM storage TabPage: 2020-10-02 11:59:55 +01:00
VMStoragePage.zh-CN.resx
WlbPage.cs Refactoring: compacted Role.ValidRoleList() and Role.CanPerform() overloads. 2022-02-03 11:59:17 +00:00
WlbPage.Designer.cs
WlbPage.ja.resx
WlbPage.resx
WlbPage.zh-CN.resx