Commit Graph

108 Commits

Author SHA1 Message Date
Konstantina Chremmou
6212c62061 CP-6093: When the folders view is selected the Search panel should show the same
things as the main treeview.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-02 15:26:46 +00:00
Konstantina Chremmou
5d04edae99 CP-6093: The Window menu item on the top MainWindow menu should be disabled when
no forms are open. Since there is no event notifying about the Application.OpenForms
changing, created a new base class for all XenCenter dialogs and wizards with a
static event to which the main windw can subscribe.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-23 16:03:21 +00:00
Konstantina Chremmou
9f0a5609ab CP-6093: Remove update alerts from the Alerts page, part 3/3: Do not add updates
to the total Alert list.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-21 15:56:24 +00:00
Konstantina Chremmou
fcc627113d CP-6093: Remove update alerts from the Alerts page, part 1/3: some code simplification
and efficiency improvements.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-21 14:11:29 +00:00
Konstantina Chremmou
361b49066c CP-6093: Anyone outside the Alert class should not know anything about the lock
used to access the alerts list. The list itself should be private as there is a
risk to access it and forgetting to use the lock.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-21 12:32:27 +00:00
Konstantina Chremmou
5b0cf92cb3 CP-6093: Removed top label and image from the Updates page. Show this info on the
progress panel instead. Some code simplification.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-21 08:30:24 +00:00
Konstantina Chremmou
ccdf0fe7ce CA-107358: Updated tests to reflect button text change. Also, request refreshing
the main treeview from within a Program.Invoke.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-20 13:09:17 +00:00
Konstantina Chremmou
c6e58f1c4c CP-6093: Update notifications button with total number of alerts, updates and error
events. Fixed display issue when moving between the notifications and the other views.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-19 15:42:47 +00:00
Konstantina Chremmou
9917801cc3 CP-6093: Implemented "GoTo..." and "Dismiss Selected" actions on the Events page.
Preserve last selected node when switching between views. Added labelling to the
unit tests run post-build. Minor tidy.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-18 14:31:00 +00:00
Konstantina Chremmou
3ad946f20e CP-6137: Work in Console tab for vGPU (PR-1675)
# HG changeset patch
# User Mihaela Stoica <Mihaela.Stoica@citrix.com>
# Date 1384179685 0
#      Mon Nov 11 14:21:25 2013 +0000
# Node ID 37666849a54470e0da04b8d14c17940f8b580636
# Parent  c845562d67f5216b2e3d52d68dcc54d78ff49ce1

- Add timers for closing the inactive VNC connections after an interval

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 12:24:57 +00:00
Konstantina Chremmou
a662268286 [CP-6856]: PR-1675: Visual tweaks and other final changes:
# HG changeset patch
# User Gabor Apati-Nagy <Gabor.Apati-Nagy@citrix.com>
# Date 1383736103 0
#      Wed Nov 06 11:08:23 2013 +0000
# Node ID f79a41a7c73e5555143a1f5cdf7bd3e8f27a8fba
# Parent  04c02de675af090f3171b6fbf3b21b023c645c24
GPU page:
5. put GPU page back at server level
7. Move Edit button of "Placement policy" closer to text and make the box smaller and fixed
8. Put Placement policy box within the scroll bar

VM properties dialog / New VM wizard:
9. gpu types should be shown in order 2-4-8
10. show types that are not allowed as disabled items in the combobox (instead of not showing at all)
11. increase the height of combobox (max no of items) so that all items are seen without scroll

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 11:44:05 +00:00
Konstantina Chremmou
8c89f0f04f CP-6085: Per-pool overview of vGPUs (PR-1675)
# HG changeset patch
# User Mihaela Stoica <Mihaela.Stoica@citrix.com>
# Date 1383045574 0
#      Tue Oct 29 11:19:34 2013 +0000
# Node ID 35673b51503006bbbb1e6647b1e0eb1938bd72ef
# Parent  bb05d6e143d7199359da1f555250d3a4ee126a5c

Overview tab completely redesigned and shown only on pool and standalone hosts.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 11:23:35 +00:00
Konstantina Chremmou
64bfe07e78 CP-6085: Per-pool overview of vGPUs (PR-1675): Only show the GPU tab for live hosts
# HG changeset patch
# User Mihaela Stoica <Mihaela.Stoica@citrix.com>
# Date 1382997294 0
#      Mon Oct 28 21:54:54 2013 +0000
# Node ID bb05d6e143d7199359da1f555250d3a4ee126a5c
# Parent  c82052cb3e73d23ce4d1f14cb9f771b7e43f1cdd

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 11:18:50 +00:00
Konstantina Chremmou
5171d35130 CP-6085: Per-pool overview of vGPUs (PR-1675)
# HG changeset patch
# User Mihaela Stoica <Mihaela.Stoica@citrix.com>
# Date 1381928854 -3600
#      Wed Oct 16 14:07:34 2013 +0100
# Node ID d3728527c55c8e615dc2979a4ed412a244c73299
# Parent  500886f75c7f678b98ad5fab5902a0e87d1798ea

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 11:06:50 +00:00
Konstantina Chremmou
9de85b8772 CP-6267: Restored status strip on the main window.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-12 12:44:19 +00:00
Konstantina Chremmou
0d1b7b2b74 CP-6093: Removed uses of the enum value Tab.History.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-12 11:59:46 +00:00
Konstantina Chremmou
15f9d34181 CP-6093: Update the header bar with the name of the notifications view currently selected.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-07 10:00:53 +00:00
Konstantina Chremmou
94aa7ac531 CP-6093: Set a lcoation for the connection events. Fixed refresh problem on the
Events page location filter. Added help ids for the Notification views.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-05 14:40:16 +00:00
Mihaela Stoica
466f18b81a CA-114990: XenCenter should not pop up the license expiry warning for Clearwater and later hosts
- The License Manager dialog is no longer shown when connecting to unlicensed Clearwater and later hosts; same rule applies for periodic checks;
- Minor refactoring: combined two functions that did the same thing (CheckActiveServerLicense and periodicCheck) into one.
2013-10-15 17:15:21 +01:00
Konstantina Chremmou
fb74297cbb CP-6093: Updated test to reflect changes in the View menu. Ignore temporarily flaky
test. Fixed broken action cancellability.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-10-09 13:33:06 +01:00
Konstantina Chremmou
bbe13a192d CP-6093: Implemented changes to the View menu. Disabled again flaky tests that had
been enabled in a previous commit.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-10-09 09:13:47 +01:00
Konstantina Chremmou
64e14bbc63 CP-6267: Stop jumping to the Events window when an action has started.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-10-08 11:03:29 +01:00
Konstantina Chremmou
aa8ccd0bfb CP-6095: Ensure the different views have a single root node with the appropriate
icon. Moved class OrganizationalView from XenModel back to XenAdmin as it is more
relevant to the latter.  Updated relevant tests. Some code tidy.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-10-08 10:17:57 +01:00
Konstantina Chremmou
1fb7fd5694 CP-6095: Moved Search tab to the end of the tab list and made it always visible.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-10-01 15:35:57 +01:00
Konstantina Chremmou
e06d2610ba CP-6317: Importing from branch clearwater-ln.
# HG changeset patch
# User Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
# Date 1375792166 -3600
# Node ID 2f3f7203b7a8c8c8d470534c0cf6554b9bf75a39
# Parent  6c08708f799c879557426b1aba48063b7ee9f877
CA-112444: Removed the ability to have link areas in the label of the ThreeButton
dialog because it's not always working for languages other than English. It was
used only in one place anyway, therefore I provided a dedicated dialog.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-26 14:12:26 +01:00
Konstantina Chremmou
dbf44fff21 Small modification to the way the treeview is updated when the View settings change.
Fixed some memory leaks in the wizard and dialog tests. Updated broken Searcher tests.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-11 23:12:08 +01:00
Mihaela Stoica
702d65e586 Ensure that the tree is updated when the "View" options change in the main window
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2013-09-05 12:30:57 +01:00
Konstantina Chremmou
787fd8cc1e CP-5751: Move logs tab to the notifications view.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-02 14:45:42 +01:00
Konstantina Chremmou
fab452946f CP-5751: Converted the Updates dialog to a user control and added it to the Notifications viw.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-30 15:19:59 +01:00
Konstantina Chremmou
2edefb840e CP-5751: First drop of the new NotificationsView (currently only the Alerts are available).
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-30 13:35:32 +01:00
Konstantina Chremmou
e9c5804b0e CP-5751: Converted the Alerts dialog to a user control and changed slightly the
layout to make it more similar to the logs page.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-30 12:46:28 +01:00
Konstantina Chremmou
a3dbc137d9 CP-5749: First drop of new outlook style buttons.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-26 11:42:32 +01:00
Konstantina Chremmou
31b29d615d CP-5749: Moved treeviewUpdateManager closer to the treeview.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-25 14:06:03 +01:00
Konstantina Chremmou
b602195a1c CP-5749: Moved methods related to suspending/resuming treeview refresh closer to
the treeview and compacted them.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-25 12:42:38 +01:00
Konstantina Chremmou
b163a6c715 CP-5749: Moved the main treeview from the MainWindow to the NavigationView control.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-24 17:00:32 +01:00
Konstantina Chremmou
e2c4811aa8 Moved some object/node selection methods from the MainWindow to the FlickerFreeTreView class.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-23 16:26:05 +01:00
Konstantina Chremmou
964ee7d1d1 CP-5749: Renamed the TreeSearchBoxMode to NavigationMode and moved it to the NavigationView control.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-23 12:32:14 +01:00
Konstantina Chremmou
d128abe4f9 CP-5749: Created new NavigationView control and moved the search box from the main window into there.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-23 12:23:35 +01:00
Konstantina Chremmou
e5b8bc6cf1 No need for a specific method to check whther an object is null. Use linq where possible.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-23 11:32:27 +01:00
Konstantina Chremmou
f12bb5a15e Code tidy: the TreeSearchBox should be notifying the MainWindow via an event when
the search mode has changed; the latter should not be accessible from outside the
class.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-22 17:56:34 +01:00
Konstantina Chremmou
f2e4f61732 MainWindow code tidy: Use the property SelectionManager where possible instead of
the private field selectionManager.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-22 17:25:12 +01:00
Konstantina Chremmou
60bca4d1df MainWindow code tidy: removed methods constructing ToolStripMenuItems as unecessary.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-22 16:48:16 +01:00
Konstantina Chremmou
a516796006 Main window code tidy: separated calls refreshing the header and tab pages from
the call refreshing the treeview.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-22 10:55:32 +01:00
Konstantina Chremmou
6a9d87c6f1 MainWindow tidy up: use existing method to launch the AboutBox rather than reimplementing
the same code. Use a CommandToolStripItem to launch the BugToolWizard like we do
for other wizards. Added overload for the MainWindowCommandInterface.ShowForm
method which allows to pass arguments to a wizard constructor.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-21 17:13:23 +01:00
Konstantina Chremmou
f9a9fb122c CP-5750: Separated Cancelled from Failed actions. Fixed control invoke issues.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-13 17:08:04 +01:00
Konstantina Chremmou
6950123da0 Code efficiency: compacted methods retrieving IXenObjects from VirtualTreeNodes
because certain checks were run more than once.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-10 13:25:35 +01:00
Konstantina Chremmou
4dac13b768 Removed unused methods.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-10 13:17:14 +01:00
Konstantina Chremmou
23d10bd513 CP-5750: Do not filter the Log tab entries according to the selection on the treeview.
For the time being show all entries. New filtering according to the entry location
will be implemented in a future commit.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-09 17:20:41 +01:00
Konstantina Chremmou
62586ef89c CP-5750: Removed ActionType; the actions should be categorised by status (in progress,
succeeded, failed; cancelled at the moment counts as failed, we may need to distinguish
in future). As a consequence the filter checkboxes from the top of the Log tab
were removed and some temporary changes were made to the drawing of action rows
(the controls will change completely in a subsequent commit).

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-09 17:20:38 +01:00
Konstantina Chremmou
077cb17deb CP-5750: Changed the declaration for the ActionBase events Completed, Changed and
NewAction to use the Action<ActionBase> delegate instead of EventHandler. Thus
there is no need to fire them with Empty or null EventArgs and on several occasions
we avoid casting objects in the event handlers.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-09 17:20:33 +01:00
Konstantina Chremmou
f3855500b4 CP-5752: Renamed default search. Use Action delegate instead of EventHandler when
there is no need to pass in parameters when the event is fired. Minor code tidy.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-03 01:04:45 +01:00
Konstantina Chremmou
1ee173d349 CP-5752: Moved ExportSearch method from the MainWindow.cs to the Search tabpage where it belongs.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-03 01:04:42 +01:00
Konstantina Chremmou
36149a611e CP-5449: Removed Log window.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
2013-07-02 18:31:44 +01:00
Konstantina Chremmou
c65ab4b42c CP-5448: Removed tab page TagCloud.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
2013-07-02 18:31:40 +01:00
Konstantina Chremmou
ce56d4e337 PR-1537: Separated Objects View (Types) from Organization Views (Tags, Folders, Custom Fields and vApps). Updated tests to reflect change.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
2013-07-02 18:31:36 +01:00
Konstantina Chremmou
37be1cdb58 PR-1537: Separated the Search textbox from the Searches dropdown button on the main window. Updated tests to reflect change.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
2013-07-02 18:31:32 +01:00
Konstantina Chremmou
42cea39799 CP-5434: Removed status bar from XenCenter's MainWindow.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
2013-07-02 18:14:26 +01:00
Mihaela Stoica
bd36a85bff CP-4816: Initial commit to git repo
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2013-06-24 12:41:48 +01:00