Commit Graph

4533 Commits

Author SHA1 Message Date
Konstantina Chremmou
139186d604 Parse unit "percent" (used by pvsaccelerator_space_utilization). Minor tidy.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-09-08 20:10:14 +01:00
Konstantina Chremmou
78073c7123 Missing null check.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-09-07 15:24:20 +01:00
Danilo Del Busso
bba9f43c31
CA-376887: Refactor thread management for ArchiveMaintainer (#3148)
* Tidy up `ArchiveMaintainer`: use naming conventions
* Tidy up `ArchiveMaintainer`: use `var` when possible
* Tidy up `ArchiveMaintainer`: fix typos
* Tidy up `ArchiveMaintainer`: move action methods in own region
* Tidy up `ArchiveMaintainer`: apply code formatting
* Tidy up `ArchiveMaintainer`: remove unused constant/using
* Tidy up `ArchiveMaintainer`: group methods into regions
* Tidy up `ArchiveMaintainer`: remove xmldocs
* Tidy up `ArchiveMaintainer`: miscellaneous changes
* Tidy up `ArchiveMaintainer`: move `NextArchiveDown` to correct `region`
* CA-376887: Use multiple threads to load performance tab data
This commit removes the ad-hoc use of `Thread` and instead relies on `ThreadPool` and `CancellationToken`s to handle multi-threading. To achieve this, `ArchiveMaintainer` instances are now tied to only one `XenObject`. If a user navigates to another Performance tab, a new instance of `ArchiveMaintainer` is used. This enables XenCenter to quietly cancel ongoing data fetching operations, and start a new one without affecting the UI. UI elements are simply updated to point to the new `ArchiveMaintainer` while the old one is being  closed.
Please note that follow up commits to clean up `ArchiveMaintiner` and this implementation are coming. They have been separated to make reviews easier
* CA-376887: Move initial load logic to separate method in `ArchiveMaintainer`
* CA-376887: Rename `Update` to `StartUpdateLoop` in `ArchiveMaintainer`
* CA-376887: Fix use of `Dispose` in `PerformancePage` and collapse `Stop`/`Pause` into one method
* CA-376887: Remove unused `FirstTime` variable
* Tidy up `ArchiveMaintainer`: use `switch` when possible and improve logging
* Tidy up `ArchiveMaintainer`: Move variables inline
* Tidy up `ArchiveMaintainer`: Standardize fields/properties
* Tidy up `ArchiveMaintainer`: Normalize whitespace
* CA-376887: Ensure only one thread is spawned for each `ArchiveMaintainer`
- Ensures resources are disposed of
- Fixes issues whereby quickly starting and stopping threads for the same `XenObject` `ArchiveMantainer` would cause threads from not exiting
* Improve formatting and whitespace in `ArchiveMaintainer`
* Improve logging of exceptions in `ArchiveMaintainer:Get`
* Fix `ServerNow` calls in `ArchiveMaintainer`
* Deregister `ArchiveMaintainer` events when a new one is reassigned.
Also rename methods
* Apply code review suggestions

Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-09-07 10:03:43 +01:00
Konstantina Chremmou
dd98fe6732
CP-45071: Convert XenCenter build scripts to PowerShell. (#3219)
* CP-45071: Convert XenCenter build scripts to PowerShell.
* Removed obsolete variable.
* Pass the timestamp server and the certificate thumbprint as parameters to the build and sign scripts.
* Added further logging and made the verbose output of cmdlets optional.
* Updated README.
* Improved script readability.

Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-09-06 15:48:12 +01:00
Konstantina Chremmou
98c3814ce0
Merge pull request #3212 from kc284/oil
Refactored retrieval of values from Messages.resx.
2023-09-04 10:32:46 +01:00
Konstantina Chremmou
89fd16b903 CP-45097: Show product brand alongside the version on the General and Search tabPage.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-09-04 10:32:18 +01:00
Konstantina Chremmou
9c37834bd0 Stop retrieving values from Messages.resx by passing hardcoded strings to the Messages.ResourceManager.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-29 20:57:21 +01:00
Konstantina Chremmou
54c2fbb3f1 Manifest updates:
- Removed target to add manifest using mt.exe. The manifest is already in the project and embedded in the executable after the build.
- Removed Windows Vista and Windows 8 as .NET Framework 4.8 is not installable there.

Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-24 14:19:07 +01:00
Konstantina Chremmou
adec15e2ac CP-40739: Build with VS 2022.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-24 14:19:07 +01:00
Konstantina Chremmou
de1120f18b
More fixes including CA-381728, CA-381618, CA-381225 (#3205)
* CA-381728: If no post-update tasks exist, XenCenter should explicitly state so.

Also, livepatches should be shown if other guidance is absent.

Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>

* Missing placeholders for building locally without applying branding.

Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>

* Missing help links.

Also removed scripts that are not used any more.

Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>

* CA-381618: The HA/WLB off check is a pool, not a host check.

Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>

* CA-381225: Corrected order of running update guidance (also uses input from CA-381718).

Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>

* UPDATES_URL has been renamed to XC_UPDATES_URL.

Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>

---------

Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-21 13:35:49 +01:00
Konstantina Chremmou
776dfc1a13 Updated introductory info for the HA configuration wizard.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-18 14:06:38 +01:00
Konstantina Chremmou
fe8a28e970 CA-381212, CA-381664: Corrections when fetching list of available updates:
- Try waiting on get_updates if it is not immediately available.
- Log instead of failing when a known (404/500) BadServerResponseException occurs.
- Ensure the UI is refreshed after fetching the list of updates.

Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-18 14:06:38 +01:00
Konstantina Chremmou
e4b2b67cf5
Merge pull request #3198 from kc284/master
UX improvements: CA-381442, XSI-1476, CA-375740
2023-08-18 10:35:05 +01:00
Konstantina Chremmou
fdd5ca775a
Merge pull request #3202 from kc284/supp-pack
Wording change; corrections for supp-pack installation.
2023-08-17 18:45:26 +01:00
Konstantina Chremmou
351c652813
Merge pull request #3200 from kc284/CA-381502-reason
CA-381502: Show the disabled reason in a new column. Extended the messages shown.
2023-08-17 18:45:02 +01:00
Danilo Del Busso
fbdcf5f5de CA-381678: Fix misc wording issues in ManageCdnUpdatesPage export file
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-08-17 18:44:39 +01:00
Konstantina Chremmou
113c19f9bd
Merge pull request #3199 from danilo-delbusso/bug/CA-381500_unlicensed
CA-381500: Fix `misc` instances of Unlicensed wording showing for post Nile host/pools
2023-08-17 18:44:16 +01:00
Konstantina Chremmou
6cfba9fe5a
Merge pull request #3169 from danilo-delbusso/bug/rdp-crash_CA-379640_XSI-1454
CA-379640, CA-356178, CA-370866: Do not reset remote consoles if they're still attempting connection to a VM
2023-08-17 15:50:22 +01:00
Danilo Del Busso
c1bb907a77
Remove useless lock around RemoteConsole calls
If a different thread accesses this code, the assertion will throw a Fatal error before hitting the content of the `lock`.

Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-08-17 15:42:52 +01:00
Danilo Del Busso
212543f4c0
Improve readability of ConnectToRemoteConsole in XSVNCScreen
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-08-17 15:24:57 +01:00
Konstantina Chremmou
a98a1353c4 Applied supp-packs were not shown at pool level for new servers.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-17 12:50:57 +01:00
Konstantina Chremmou
6e175a4280 Corrected prechecks and calculation of post-update tasks for supp-packs installed on new servers.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-17 12:50:50 +01:00
Danilo Del Busso
d9885d342b CA-381593: Remove CIS privacy policy link from Server Status Report
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-08-16 19:09:28 +01:00
Danilo Del Busso
b9f2779c7e
CA-381500: Use custom wording for post-Nile license status in the General Tab
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-08-16 15:34:45 +01:00
Danilo Del Busso
1f7fbc017c
CA-381500: Revert renaming of Status to Expiry status
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-08-16 15:34:43 +01:00
Konstantina Chremmou
0d103e9af6 CA-381502: Improved the disabled reason for new servers.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-15 21:09:25 +01:00
Konstantina Chremmou
143974e93d CA-381502: Show the disabled reason in a new column because the tooltips are obscure.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-15 21:09:25 +01:00
Konstantina Chremmou
218d910b0a Typo.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-15 21:09:25 +01:00
Konstantina Chremmou
78396156ea CA-375740: VMSS has no other_config, hence no custom fields can be set.
Also, allow for a longer field label before ellipsization takes over.

Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-15 10:55:14 +01:00
Danilo Del Busso
81bf424013
CA-381500: Remove "(Unlicensed)" for post Nile hosts in MainWindow
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-08-15 09:23:36 +01:00
Danilo Del Busso
0680d9cba0
CA-381500: Ensure unlicensed hosts post Nile do not show as such in General Tab Page
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-08-15 09:23:35 +01:00
Konstantina Chremmou
2a81e63eba Use different image for the RPM packages to distinguish them from the updates.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-15 02:07:35 +01:00
Konstantina Chremmou
046476cd6e Show a different alert message if the user has never synchronized.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-15 01:20:31 +01:00
Konstantina Chremmou
cda79820b3 XSI-1476: No need to disable the post-update tasks textbox.
Also, prevent OnPageUpdated being called twice.

Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-14 23:25:13 +01:00
Konstantina Chremmou
fd1c08218a CA-381442: Disable the textboxes instead of making them readonly as it causes confusion to the user.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-14 22:58:05 +01:00
Konstantina Chremmou
b32168d8d8 Further work on CA-380738: After updates are applied retrieve the new metadata from the host in order to refresh the server status.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-11 11:02:24 +01:00
Konstantina Chremmou
81841c2a2b Fixed issue where supp-packs could be installed only on LCM servers.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-11 11:02:24 +01:00
Konstantina Chremmou
5e860b03f7 CA-381102 and other update process corrections.
- Put the servers in maintenance mode before applying the updates.
- Updated host do not disappear completely from the metadata hence we need to skip them from the update plan.

Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-11 11:02:24 +01:00
Konstantina Chremmou
7fb1bd4eb6 Corrected timespan shown on the out of sync alerts and precheck.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-11 11:02:24 +01:00
Konstantina Chremmou
4b64b3a261 Show the product brand alongside the version. Minor code smells.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-11 11:02:24 +01:00
Konstantina Chremmou
c7411c0bb2 The Specify Client ID link was launching the wrong dialog.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-11 11:02:24 +01:00
Konstantina Chremmou
e4012a7bd5
Merge pull request #3194 from xenserver/master
Master->feature/cdn-updates
2023-08-09 14:20:55 +01:00
Konstantina Chremmou
2af72aae25 Separate client updates from lcm server updates so they don't appear on the Notifications tab page.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-09 13:54:15 +01:00
Konstantina Chremmou
9d8805f060 Improved exported updates output and manual post-update instructions.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-09 13:54:15 +01:00
Konstantina Chremmou
c5534c8adf Fixed typo.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-09 13:54:15 +01:00
Konstantina Chremmou
4fb70e011c CA-380800: Check getting updates is allowed before running the operation. Extended precheck to check sync is in progress.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-09 13:54:15 +01:00
Konstantina Chremmou
6eaff6dc54 Rewrote the update application sequence to fix various issues:
- CA-380799: Host evacuation is not needed when the guidance is toolstack restart.
- CA-380796: Sometimes the guidance was applied before the update installation.
- Livepatch notice should be shown only if guidance is not reboot host.

Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-09 13:54:15 +01:00
Konstantina Chremmou
a231ca0876 Added context menu option to configure updates and synchronize.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-09 13:54:15 +01:00
Konstantina Chremmou
f3874a85f8 Checking how long ago the pool was last synced should be done in relation to the server time.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-09 13:54:15 +01:00
Konstantina Chremmou
03eb2f08d1 Various corrections:
- Added pool name in the action descriptions.
- Fixed host order on the updates list.
- Synchronize selected was not working for standalone hosts.
- Removed stray call to save settings.
- Null check.

Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-09 13:53:21 +01:00
Konstantina Chremmou
0045ca9d0b Added a column on the Updates TabPage to show the configured updated channel.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-09 13:53:21 +01:00
Konstantina Chremmou
9e25970850 CP-44368 workaround: do not CFU on connection if the users are less privileged than pool operator.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-09 13:53:21 +01:00
Konstantina Chremmou
f5e535cc2b CA-380738 and other icon fixes:
- The pool/host unpatched icons should be shown only when the pool is not fully updated.
- Repo config dialog: added icon on the list to differentiate pools from standalone hosts.
- Use different icons for client and LCM server updates.
- Added icons to the Config Updates dialog.

Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-09 13:53:21 +01:00
Konstantina Chremmou
4d0d232b19
Merge pull request #3192 from danilo-delbusso/dev/update-invisible-messages
Update `InvisibleMessages`
2023-08-08 14:47:57 +01:00
Danilo Del Busso
533c313600 CA-381017: Pass OriginalString when fetching EUA
The `Uri` constructor removes `:` after the IP/Host name for NFS storage

Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-08-08 14:47:26 +01:00
Konstantina Chremmou
af07cb5f0c Repo selection should not be editable.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-07 15:15:38 +01:00
Konstantina Chremmou
9a006f3fbf CA-380723: Do not allow sync if an update repo is not configured.
Also, corrections to the sync button/link enabled state.

Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-07 15:15:38 +01:00
Konstantina Chremmou
d609514469 Minor code improvements.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-07 15:15:38 +01:00
Konstantina Chremmou
b5e843c53d Added link label at the top of the LCM updates list to make it easy to re-enable any disabled automatic update checks.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-07 15:15:38 +01:00
Konstantina Chremmou
ca3ed31136 Updated the text and URL for the license server link.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-07 12:26:13 +01:00
Konstantina Chremmou
538dc61c94 The users TabPage should not appear for hosts in a pool, only standalone hosts or pool. Corrected message.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-07 12:26:13 +01:00
Danilo Del Busso
f92de90548
Replace usages of FCOE deprecation URL with generic deprecation URL
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-08-07 12:18:25 +01:00
Danilo Del Busso
fc868f5a5f CA-380718: Ensure language code is passed when running PerfmonOptionsDefinitionAction
`SelectedValue` is always `null` because of the use of `ToStringWrapper`

Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-08-03 13:48:33 +01:00
Konstantina Chremmou
c822c87af2 Renamed method to match C# conventions.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-03 13:46:52 +01:00
Konstantina Chremmou
ae81d5738a CP-43267: Apply updates from CDN
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-01 13:56:54 +01:00
Konstantina Chremmou
87f1fa3e81 CP-43266: Account for live patches in the update list.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-01 13:56:54 +01:00
Konstantina Chremmou
98165b9f02 CP-44285: Added new hotfix type Foundational.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-07-31 23:18:04 +01:00
Konstantina Chremmou
c4892897dd Several corrections:
- Last sync date was not shown for standalone hosts.
- Unlocalised string and incomplete release info.
- Converted Synchronise button to a split button to synchronize all/selected pools.
- Update the label above the updates from CDN page when filters are on.

Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-07-31 23:18:04 +01:00
Konstantina Chremmou
60284077e3 CP-43266: Added new notifications page to list updates from CDN.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-07-31 11:33:25 +01:00
Konstantina Chremmou
a557d83397 Alert the user if they haven't synced in a long time. Also:
- Alert sorting was not correct.
- A dismissal request was sent to the server even if there were no server side messages to dismiss.

Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-07-31 11:33:25 +01:00
Konstantina Chremmou
2774ea5c7f Show update status for pools and hosts on the General tabPage:
- Show sync status for the pool in its Updates section.
- Moved update date for the host from the Version to the Updates section.

Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-07-31 11:33:25 +01:00
Konstantina Chremmou
b0c23a2c36 Merge remote-tracking branch 'upstream/master' into feature/cdn-updates
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>

# Conflicts:
#	XenAdmin/Properties/Resources.resx
2023-07-31 11:03:23 +01:00
Konstantina Chremmou
3afaff18f8
Merge pull request #3163 from danilo-delbusso/dev/trial-edition-CP-43000
CP-43000: Add edition and CSS upsell messages
2023-07-31 11:00:17 +01:00
Danilo Del Busso
707705a08a
CP-43000: Rename elements of Status enum
Information -> Warning
Warning -> Error
Trial -> Passable
Mixed -> Warning

Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-07-31 08:24:43 +01:00
Chris
172d87889b
CP-43070 adds leaf coalesce alert (#3164)
Signed-off-by: Chris Lancaster <Christopher.Lancaste1@citrix.com>
2023-07-28 13:55:05 +01:00
Konstantina Chremmou
9473452657 Restored icons showing updated state of pools and hosts.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-07-28 09:36:54 +01:00
Konstantina Chremmou
8f18678acc Retrieve the list of available updates for a synchronised pool.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-07-28 09:36:54 +01:00
Konstantina Chremmou
385130fef6 CP-43265: Added new dialog to configure updates for servers.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-07-28 09:36:54 +01:00
Konstantina Chremmou
44d11b64f9 CP-42066: Splash screen size and label transparency tweaks.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-07-28 09:36:54 +01:00
Danilo Del Busso
23391e7293
Improve variable naming in RdpClient.cs
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-07-27 13:43:29 +01:00
Danilo Del Busso
4447321e2e
CP-43000: Use yellow tick for post trial edition versions
Also ensure there is a warning icon in the status column when hosts has trial with expired css in post preview

Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-07-27 13:19:29 +01:00
Danilo Del Busso
91e14b1235
CP-43000: Use warning icon for non preview hosts with mixed css and licensing statuses
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-07-26 15:12:19 +01:00
Danilo Del Busso
1819a46ae8
CP-43000: Add custom icon for trial edition hosts in preview
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-07-26 14:11:20 +01:00
Danilo Del Busso
8065bdaec4
CP-43000: Do not show support warning link if the license link needs to be shown
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-07-26 13:41:31 +01:00
Konstantina Chremmou
fcc51a0c2d CP-43264: Handle new alert for CSS agreement expiry. Also:
For alerts that have an action link show this before the dismiss item.

Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-07-24 21:21:48 +01:00
Konstantina Chremmou
291199182e Minor refactoring.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-07-24 21:21:48 +01:00
Danilo Del Busso
461b6c97b5
CP-43000: Fix Post82X call in Host extension
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-07-24 15:52:21 +01:00
Danilo Del Busso
6fa8cfa10b
CP-43000: Update link and text shown in the hosts' general tabs
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-07-19 15:55:37 +01:00
Danilo Del Busso
75faf093a9
CP-43000: Rename IsummaryPanelView to ISummaryPanelView
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-07-19 15:54:25 +01:00
Danilo Del Busso
b7a9716bb8
CP-43000: Show both support and license statuses in License Manager
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-07-19 15:54:22 +01:00
Danilo Del Busso
184bf9831a
CP-43000: Separate support and license warnings in License Manager
Contains placeholder values

Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-07-19 15:54:19 +01:00
Konstantina Chremmou
a422eb9986
CP-43000: Moved the Buy Licenses link to a different column.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-07-19 15:54:16 +01:00
Konstantina Chremmou
f9198e477d
Added option for three columns on the GeneralTabPage panels. Refactored methods adding entries.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-07-19 15:54:13 +01:00
Konstantina Chremmou
1e89de1c7c
Layout tweaks.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-07-19 15:54:11 +01:00
Danilo Del Busso
cd920531c8
Apply code review suggestions
- Use `Nullable.HasValue` and `Nullable.Value` to handle `DateTime?` type returned by `LicenseCssExpiry`
- Check UTC time when checking CSS license expiry

Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-07-19 15:54:06 +01:00
Danilo Del Busso
b8a3a7cdeb
CP-43000: Add trial edition and CSS expiry warnings to GeneralTabPage
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-07-19 15:54:04 +01:00
Danilo Del Busso
ceaa9abd66
CP-43000: Add trial edition and CSS expiry warnings to LicenseManager
Also:
- Increase size of `LicenseManager` to accommodate larger text
- Add upsell URL to existing warning for pool size restrictions

Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-07-19 15:54:01 +01:00
Danilo Del Busso
a086ac30ed
CP-43000: Add new license purchase URL to InvisibleMessages
Also merge duplicate strings into unique `LICENSE_BUY_URL` string

Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-07-19 15:53:57 +01:00
Konstantina Chremmou
c439f3de41
Merge pull request #3175 from xenserver/feature/merge
Merge branch 'feature/merge' -> master
2023-07-19 15:32:22 +01:00
Danilo Del Busso
d3a811d566 CA-378758: Ensure all hosts in pool hit HOST_NOT_ENOUGH_FREE_MEMORY before preventing migration
If pool any of the hosts in a pool hit the `HOST_NOT_ENOUGH_FREE_MEMORY` when calling `VM.assert_can_migrate`, XenCenter would prevent migration even if other hosts had enough memory to accommodate the VM.

Likely a result of the fact that other `VM.assert_can_migrate` failures are a consequence of pool-wide configurations. This is an exception.

Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-07-19 13:42:15 +01:00