bc4a364f23
Changes to the DeleteAllAlertsAction: - when the dismiss operation fails with INVALID_HANDLE we need to remove the alert from our alert list (XenCenterAlerts) and trigger the CollectionChanged event so that the alert count gets updated. - the action title now says "Removing <n> alerts" when dismissing all/selected alerts and "Removing alert" when dismissing single alert (instead of "Removing all alerts" in all cases) - move the initialization of Dismissing flag outside the action (see below) This fix also includes changes so that the Dismissing flag works as intended: to be able to hide the dismissing alerts in the Alerts view immediately, rather than one by one when they were actually deleted, causing a large number of refreshes. On dismissing alerts we do: 1. set dismissing to true for all alerts 2. rebuild alert list (this will filter out the dismissing alerts) 3. dismiss alerts - run the DismissAllAlerts action Also, the action buttons on each row should only apply to the clicked row (not multiselect). Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com> |
||
---|---|---|
CFUValidator | ||
CommandLib | ||
devtools | ||
dotNetInstaller | ||
mk | ||
splash | ||
VNCControl | ||
WixInstaller | ||
xe | ||
XenAdmin | ||
XenAdminTests | ||
XenCenterLib | ||
XenCenterVNC | ||
XenModel | ||
XenOvfApi | ||
XenOvfTransport | ||
xva_verify | ||
.gitattributes | ||
.gitignore | ||
ChangeLog | ||
CONTRIB | ||
LICENSE | ||
MAINTAINERS | ||
README.md | ||
XenAdmin.sln |
XenCenter
This repository contains the source code for XenCenter.
XenCenter is a Windows-based management tool for XenServer environments which enables users to manage and monitor XenServer hosts 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.md 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 not only need
- the source from xenadmin repository
but also some libraries which we do not store in the source tree:
- CookComputing.XmlRpcV2.dll
- DiscUtils.dll
- ICSharpCode.SharpZipLib.dll
- Ionic.Zip.dll
- log4net.dll You can find the source code of these libraries (along with some patches) in dotnet-packages repository.
You also need NUnit libraries
- nunit.framework.dll
- Moq.dll which can be obtained from http://www.nunit.org/