Commit Graph

475 Commits

Author SHA1 Message Date
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
Gabor Apati-Nagy
4800ff8929 Merge branch 'master' of git://hg.uk.xensource.com/carbon/trunk/xenadmin 2013-12-19 15:02:55 +00:00
Mihaela Stoica
e74ee1fa38 CA-110160: Cross Pool Migrate wizard: Showing an error message (instead of warning) when the selected VMs are no longer available for migration. Also added full stop at the end of message.
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2013-12-19 14:30:38 +00:00
Gabor Apati-Nagy
a5cba2ae69 CAR-100: Upgrade to .NET 4.0 instead of 3.5 -- Disable push in archive-push.sh
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2013-12-19 13:44:36 +00:00
Gabor Apati-Nagy
7480148626 Merge branch 'car-100', removed car-100 from declarations.sh at the same time
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2013-12-19 13:39:42 +00:00
Konstantina Chremmou
373e4c6851 CP-4960: Notify the users they have a half-upgraded pool: small improvements.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-19 12:41:07 +00:00
Gabor Apati-Nagy
369cd68bda fixing missing character in xenadmin-build.sh script
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2013-12-17 19:02:32 +00:00
Gabor Apati-Nagy
21b4dbca1a Fixing implicit hidings that break the release build
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2013-12-17 18:09:54 +00:00
Gabor Apati-Nagy
55e65bb810 [CP-6475] CAR-100: Include .NET installer in the XenCenter installer -- xenadmin build to push to ref repo (in car-100 branch)
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2013-12-17 16:55:44 +00:00
Gabor Apati-Nagy
a86866d305 Merge commit '1504b184c78df141de91d732daa38bdc8a1a8636' into car-100 2013-12-17 13:30:01 +00:00
Gabor Apati-Nagy
60cd994a71 [CA-123967] Ignore test attribute set (TabsAndMenus.TabsAndMenusTampa.ContextMenu_VMWithTools unit test needs a fix )
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2013-12-17 11:49:51 +00:00
Konstantina Chremmou
4ae226ae91 Merge branch 'master' of git://hg.uk.xensource.com/carbon/trunk/xenadmin 2013-12-17 11:44:54 +00:00
Gabor Apati-Nagy
74b6569a4d CAR-100: Upgrade to .NET 4.0 instead of 3.5 -- Setting back JENKINS_SERVER to tocco
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2013-12-16 17:24:59 +00:00
Konstantina Chremmou
b676b5232f Restored repo name in the manifest files so we can trace in which build a change first appears.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-13 18:59:26 +00:00
Konstantina Chremmou
81a41f5a22 CP-4957: Added logging for the Rolling Pool Upgrade process.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-13 17:57:20 +00:00
Konstantina Chremmou
152b320e36 CP-4960: Notify the users they have a half-upgraded pool.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-13 17:55:39 +00:00
Konstantina Chremmou
4d04ec652c Some code simplifications on the GeneralTabPage and the PDSection.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-13 17:55:24 +00:00
Konstantina Chremmou
c411df3426 Converted British spelling to American.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-13 13:51:16 +00:00
Konstantina Chremmou
81885b9dad XenServer Tools should be spellt with a capital T.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-13 13:29:00 +00:00