Commit Graph

2893 Commits

Author SHA1 Message Date
Mihaela Stoica
09f9f69b48 [CA-108676]: Fixed the TCP crossed streams issue in XenCenter that caused XenCenter to disconnect during heavy traffic [XOP-380], [EMX-132]
- setting the ConnectionGroupName causes all the new sessions to be on their own set of TCP streams.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-01-23 10:09:06 +00:00
Mihaela Stoica
e15dc2161a Merge pull request #11 from MihaelaStoica/master
[CA-125859], [SCTX-1588]: Fixed the slow AD logon for users with large group memberships
2014-01-22 05:05:31 -08:00
Mihaela Stoica
39675f4b9b [CA-125859], [SCTX-1588]: Fixed the slow AD logon for users with large group memberships.
- group names are not cached when the other user details are cached (in the constructor), but only when the UserDetails.GroupMembershipNames property is first used.
- also optimized the code for getting user details.
2014-01-22 13:02:21 +00:00
Konstantina Chremmou
f5bee7102c Refactored MainWindow to derive from IMainWindow rather than implement a field deriving
from this interface.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-01-22 12:39:32 +00:00
Konstantina Chremmou
90784954f2 Merge pull request #10 from GaborApatiNagy/master
[CA-114290] Fix: Clear text password seen in XenCenter.log while perform...
2014-01-22 03:25:21 -08:00
Konstantina Chremmou
15545b5765 Merge pull request #9 from MihaelaStoica/master
CA-123779: Fixed unhandled exception in Console Tab View.
2014-01-22 01:29:52 -08:00
Gabor Apati-Nagy
ab7276ea87 [CA-114290] Fix: Clear text password seen in XenCenter.log while performing save and restore master password , other operations (not sure exactly) 2014-01-21 18:06:02 +00:00
Mihaela Stoica
182e5ae8ed Merge branch 'master' of https://github.com/xenserver/xenadmin 2014-01-21 17:05:07 +00:00
Mihaela Stoica
ba5f37997c Merge pull request #8 from GaborApatiNagy/master
[CA-124983] Fix: Issues installing XenCenter with no network
2014-01-21 09:01:04 -08:00
Gabor Apati-Nagy
d38ae1357d [CA-124983] Fix: Issues installing XenCenter with no network
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2014-01-21 16:49:50 +00:00
Mihaela Stoica
8626a6e854 CA-123779: Fixed unhandled exception in Console Tab View.
Moved RDPSetSettings inside try..catch block, so we handle any exception thrown while setting the rdp client properties.
Also did some refactoring, removing redundant variable rdpClient6.
2014-01-21 16:39:23 +00:00
Konstantina Chremmou
bbfa88fd55 Merge pull request #7 from GaborApatiNagy/master
[CA-125535] Fix: Windows xe CLI failing due to .NET error
2014-01-20 05:39:29 -08:00
Gabor Apati-Nagy
5a5013cb91 [CA-125535] Fix: Windows xe CLI failing due to .NET error
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2014-01-20 13:32:06 +00:00
Konstantina Chremmou
a066154f85 Merge pull request #6 from GaborApatiNagy/master
[CA-125183] Fix: XenCenterSetup.exe to install, requires .NET 3.5 rather...
2014-01-14 07:39:12 -08:00
Gabor Apati-Nagy
d70dedc5d4 [CA-125183] Fix: XenCenterSetup.exe to install, requires .NET 3.5 rather than .NET 4 on Windows8 x64, WS 2012, WS 2008 SP2 x32
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2014-01-14 15:28:15 +00:00
Mihaela Stoica
8c7926cb04 Merge pull request #5 from kc284/master
CP-7089: Switched to github workflow, hence updated CONTRIB, MAINTAINERS...
2014-01-13 07:42:25 -08:00
Konstantina Chremmou
59b6bec346 CP-7089: Switched to github workflow, hence updated CONTRIB, MAINTAINERS and README files.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-01-13 15:29:25 +00:00
Gabor Apati-Nagy
a32aa76c52 [CA-121427] MetricUpdater threading/locking model is broken (making plan in CP-6997) -- Optimization
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2014-01-13 13:56:17 +00:00
Gabor Apati-Nagy
48d70c1f45 CA-124979: Fix: XenCenter installer automatically installs .NET without asking 2014-01-10 11:42:39 +00:00
Gabor Apati-Nagy
b23b34e77d Merge branch 'master' of git://hg.uk.xensource.com/carbon/trunk/xenadmin 2014-01-09 17:09:01 +00:00
Gabor Apati-Nagy
8ccd180188 [CA-121427] MetricUpdater threading/locking model is broken (making plan in CP-6997) -- Fixed possible threading issues, improved performance
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2014-01-09 17:08:43 +00:00
Konstantina Chremmou
04bfd89a9d [CA-115418], [CA-123574]: Fixed issue where the Dismiss item on each alert row
was available for non-dismissible alerts. Fixed wrong enabled state of the top
ToolStripSplitbutton Dismiss on the alerts and the events page. Refactored code
calculating dismissability of alerts and dismissing them. Events list should be
multi-selectable.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-01-09 13:57:41 +00:00
Konstantina Chremmou
f8117cd4f5 CA-114482: Changed workflow of retrieving updates: the list of published updates
is downloaded and stored every time an update is performed (if manual all updates
are downloaded, if automatic only as per the user's choices). If there are available
updates, update alerts are generated if there are connected hosts and disappear
when the hosts are disconnected.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-01-08 13:17:02 +00:00
Konstantina Chremmou
b20434ba24 Refactoring: CanIgnore can be a "get" only property. Correction: dismiss new server
version alert from connections rather than ConnectionsManager.XenConnectionsCopy
(in accordance to dismissal of patch alerts).

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-01-08 12:38:51 +00:00
Konstantina Chremmou
0efe8049ff Moved constant "XenCenter.LastSeenServerVersion" from Updates.cs to IgnoreServerAction.cs
as it was only used in the latter class.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-01-08 12:33:32 +00:00
Konstantina Chremmou
d4f9ce53a3 Added tooltip to the item of the "Filter by severity" drop down. Updated image;
adde placeholder image.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-01-06 15:48:14 +00:00
Konstantina Chremmou
b191cf5522 Made XenOvfApi project use log4net for logging (before it was using own logging,
leftover from the time when the OVF wizards were a XenCenter plugin; the latter
has now been removed).

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-01-06 12:31:19 +00:00
Konstantina Chremmou
7e73622570 Moved classes DiskInfo and OvfEventArgs and enums DeviceType and OvfEventType to
a different file to reduce a bit the size of the OVF.cs file.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-01-06 09:08:48 +00:00
Konstantina Chremmou
07e5adc306 Fixed column sizing issues on the Updates page.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-01-03 12:11:07 +00:00
Konstantina Chremmou
c8ff1bee69 CA-122558: Removed FixLinkDelegate. Use System.Action instead.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-01-03 11:58:42 +00:00
Konstantina Chremmou
a762442b70 CA-122558: Removed property DescriptionInvariant; after the logs and alerts rewrite
it was only used when logging and only for the updates; using the Description in
its place should be adequate. Fixed bug in the formatting of XenCenterUpdateAlert.Description
and removed duplicate logging when dismissing an alert.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-01-03 11:27:35 +00:00
Konstantina Chremmou
e0ccc42c11 Removed obsolete class EventArgs<T>.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-01-03 11:27:28 +00:00
Konstantina Chremmou
e28d3c912b CA-67866: Step 3 - Implemented filtering for the Updates list.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-01-03 11:27:11 +00:00
Konstantina Chremmou
cc78711c56 CA-67866: Step 2 - moved code common to XenServerPatchAlert and XenServerVersionAlert
to a base class XenServerUpdateAlert.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-01-03 08:51:14 +00:00
Konstantina Chremmou
0eaf776399 CA-67866: Step 1 - renamed XenServerUpdateAlert to XenServerVersionAlert to avoid
confusion (patch alerts and version alerts are both considered as server update alerts).

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-01-03 08:37:45 +00:00
Konstantina Chremmou
7db2026776 Cleanup main windows leftover from previous tests which failed during setup.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-01-02 14:27:44 +00:00
Konstantina Chremmou
4f450e161f CA-123572: Updated test case.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-01-02 10:00:32 +00:00
Konstantina Chremmou
6e4c39ac96 CA-123576: Also reconstruct the plugin menu items when a plugin is enabled/disabled.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-01-02 09:10:57 +00:00
Konstantina Chremmou
f120ffd496 CA-123572: Fixed regression: restored "New folder" item in the context menu of the Folders root node.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-31 15:47:52 +00:00
Konstantina Chremmou
7f29ebf2e9 CA-123573: Clicking a checked navigation button should not uncheck it.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-31 13:44:35 +00:00
Konstantina Chremmou
a5f83a9bc5 CA-123576: Step 3 - display the Window menu item only when there are plugins using it.
Performance issue - reconstruct the plugin menu items only when the plugins are
loaded/refreshed instead of doing it every time the parent menu is clicked. Workflow
issue - the PluginManager.Enabled gets its value from the registry; we shouldn't
wait unitl the plugins are loaded to set it.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-31 10:34:11 +00:00
Konstantina Chremmou
e8285669b5 CA-123576: Step 2 - stop listing the open forms under the Window menu item. Also
fixed (old) bug where multiple instances of the PatchingWizard were launched.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-31 08:52:21 +00:00
Konstantina Chremmou
b3fc67a4d8 CA-123576: Step 1 - stop toggling the enabled state of the Windows menu item when non-modal forms are launched.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-30 14:47:01 +00:00
Konstantina Chremmou
a5c89e429b CA-85971: Removed method selecting control in tab by name. Retained ability only for the Name, Description and Iqn TexBox on the GeneralEditPage; in one of the other cases it didn't make a difference, in another (LogDestinationEditPage) it was causing a bug and in yet another (BootOptionsEditPage) the controls had already been renamed. Also some positioning changes.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-30 13:01:00 +00:00
Konstantina Chremmou
d6c143f875 Added method overload.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-30 10:10:21 +00:00
Konstantina Chremmou
3b25591d71 CA-85971: Removed method selecting tab by name. Made all pages of VerticallyTabbedDialog private.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-22 17:17:04 +00:00
Konstantina Chremmou
d335372575 CA-85971: Removed method selecting tab by index.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-22 15:28:00 +00:00
Konstantina Chremmou
d1c0da5d54 PlanAction simplification: removed PlanActionStatusChangedEventArgs class; use Action<T>
delegate; renamed event and its event hadler.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-21 12:52:28 +00:00
Konstantina Chremmou
a128847717 AutomaticBackgroundThread and SemiAutomaticBackgroundThread simplification: moved
common code to the base class BackgroundThreadBase; removed classes inheriting from
EventArgs; use Action/Action<T> delegates instead of EventHandler<T>.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-21 11:36:20 +00:00
Konstantina Chremmou
17512a4cb1 Added null check.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-20 11:00:53 +00:00