XCP-ng Center, the Windows management console for XCP-ng and XenServer. /!\ EOL-Notice /!\ Community-maintained only /!\
Go to file
Danilo Del Busso 6f6bddd755
CP-40842: Remove CIS upload from Server Status Report wizard (#3087)
* Remove credentials controls from `BugToolPageDestination`

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

* Explicitly call dispose in `BugToolPageDestination.cs`

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

* Tidy up code in `BugToolPageDestination.cs`

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

* Move `StatusReportRow` to its own file

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

* Move `ClientSideDataRow` and `HostStatusRow` to own files

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

* CP-40842: Update order of pages in `BugToolWizard`

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

* CP-40842: Update action and create row for packaging status report in BugTool wizard

Instead of creating a new action, this males ZipStatusReportAction inherit StatusReportAction

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

* CP-40842: Allow for pending `StatusReportAction` to be cancelled

This avoids the need for a running action to update the status. i.e. an action that has been registered but hasn't started running can be cancelled, too.

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

* CP-40842: Update content of `ACTION_SYSTEM_STATUS_SUCCESSFUL` message

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

* CP-40842: Add link to `labelBlurb` in `BugToolPageRetrieveData.cs`

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

* CP-40842: Add report packaging logic to `BugToolPageRetrieveData.cs`

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

* CP-40842: Open CIS URL when clicking on `linkLabelBlurb`

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

* CP-40842: Report packaged data amount in `ZipStatusReportAction`

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

* Remove unused `using`s

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

* Minor layout tweaks.

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

* Renamed folder and namespace to match the ones for the other wizards.

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

* Renamed wizard's private fields. Some code efficiency corrections.

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

* Keep the row classes as private within the BugToolPageRetrieveData class.

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

* Removed leftover unused action.

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

* Tidy up status report messages. Use more relevant icon.

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

* Made blurb localisable.

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

* Renamed private fields.

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

* Simplified the stages of the compilation of the status report.

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

* Renamed row classes again to match the action names.

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

* Simplify reporting the progress of the zipping action.

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

* Recursive call is not necessary. Tweaked message.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>

* Sort strings

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>

* Update copyright notices

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

---------

Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
Co-authored-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
Co-authored-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2023-02-13 13:47:21 +00:00
.github Added code owners (default reviewers). 2022-04-25 17:05:37 +01:00
Branding Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
CFUValidator CP-40842: Remove CIS upload from Server Status Report wizard (#3087) 2023-02-13 13:47:21 +00:00
CommandLib Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
packages CP-40748: Upgrade log4net to 2.0.15 2022-10-04 11:00:12 +01:00
scripts Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
WixInstaller Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
xe Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
XenAdmin CP-40842: Remove CIS upload from Server Status Report wizard (#3087) 2023-02-13 13:47:21 +00:00
XenAdminTests CP-40842: Remove CIS upload from Server Status Report wizard (#3087) 2023-02-13 13:47:21 +00:00
XenCenterLib CP-40842: Remove CIS upload from Server Status Report wizard (#3087) 2023-02-13 13:47:21 +00:00
XenModel CP-40842: Remove CIS upload from Server Status Report wizard (#3087) 2023-02-13 13:47:21 +00:00
XenOvfApi CP-40842: Remove CIS upload from Server Status Report wizard (#3087) 2023-02-13 13:47:21 +00:00
XenServerHealthCheck CP-40842: Remove CIS upload from Server Status Report wizard (#3087) 2023-02-13 13:47:21 +00:00
XenServerHealthCheckTests Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
xva_verify Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
.gitattributes Ignore line endings for all files (except shell scripts). 2016-07-05 08:14:47 +01:00
.gitignore Restored branding.sh for local build. 2021-02-17 14:45:36 +00:00
AddManifest.targets Created re-usable project target to add manifest to an assembly. Be specific about the mt executable to use. 2021-02-16 10:07:46 +00:00
ChangeLog CP-4807: Updated ChangeLog with version number; updated Readme file 2013-06-25 09:45:11 +01:00
CommonAssemblyInfo.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
CONTRIB CP-7089: Switched to github workflow, hence updated CONTRIB, MAINTAINERS and README files. 2014-01-13 15:29:25 +00:00
Jenkinsfile Bumped branding pipeline to v4.10. 2023-01-31 17:02:29 +00:00
LICENSE Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
MAINTAINERS Update MAINTAINERS 2022-04-14 11:37:23 +01:00
README.md Removed dependency on IonicZip. Use the corresponding classes of .NET Framework. 2022-11-18 16:53:30 +00:00
XenAdmin.sln CP-41108: Replaced the separate splash screen executable with a form within the application executable. 2022-11-14 09:45:33 +00:00

XenCenter

Checks Lines of Code

This repository contains the source code for XenCenter.

XenCenter is a Windows-based management tool for Citrix Hypervisor environments, which enables users to manage and monitor server and resource pools, and to deploy, monitor, manage, and migrate virtual machines.

XenCenter is written mostly in C#.

Contributions

The preferable way to contribute patches is to fork the repository on Github and then submit a pull request. If for some reason you can't use Github to submit a pull request, then you may send your patch for review to the xs-devel@lists.xenserver.org mailing list, with a link to a public git repository for review. Please see the CONTRIB file for some general guidelines on submitting changes.

License

This code is licensed under the BSD 2-Clause license. Please see the LICENSE file for more information.

How to build XenCenter

To build XenCenter, you need

  • the source from xenadmin repository
  • Visual Studio 2019
  • .NET Framework 4.8

and also some libraries which we do not store in the source tree:

  • CookComputing.XmlRpcV2.dll
  • Newtonsoft.Json.dll
  • DiscUtils.dll
  • ICSharpCode.SharpZipLib.dll
  • log4net.dll

You can find the source code of these libraries (along with some patches) in dotnet-packages repository.

To run the NUnit tests you will need the following libraries:

  • nunit.framework.dll
  • Moq.dll

which can be obtained from http://www.nuget.org/.