Commit Graph

240 Commits

Author SHA1 Message Date
Mihaela Stoica
c09c2fb044 XOP-461: Trying to fix the Invalid Operation Exception raised in license dialog (most probably a threading issue)
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2013-11-05 16:21:10 +00:00
Gabor Apati-Nagy
431f47ef2b [CA-64748] Fixed Wrong context menu opens if you move the mouse quickly 2013-11-04 12:35:53 +00:00
Gabor Apati-Nagy
07e290d8b3 [CA-72663]: Fixed: Multiple Ctrl or Shift selection using the arrow buttons makes treeview scroll right/left inconsistently
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2013-11-04 12:29:05 +00:00
Mihaela Stoica
95aa99052a CA-115742: On VM properties page, if a VM has no affinity, XenCenter shouldn't automatically select one.
This fix corrects the following behaviour: when you have a VM with no affinity and you go into its Properties dialog,
XenCenter believes that a VM on a standalone host has to have that affinity, and greys out the "no affinity" radio button,
which has the effect of forcibly changing the affinity to the host, which a VM Admin is not allowed to do.

The correct behaviour is that if a VM already has no affinity, we don't grey out the radio button.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2013-10-18 10:02:25 +01:00
Mihaela Stoica
1ea75bc8ad XOP-454: Fix the XenCenter crash with null reference exception when putting a XenServer into full screen mode.
Console tab: When entering full screen mode, make sure the screen is assigned before attempting to display the connection name.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2013-10-17 13:28:33 +01:00
Gabor Apati-Nagy
359d65e983 Merge branch 'master' of git://hg.uk.xensource.com/carbon/trunk/xenadmin 2013-10-10 12:25:24 +01:00
Gabor Apati-Nagy
e7037a49d8 [CA-100736] Improve usability of iSCSI target selection UI in New SR wizard: modified layout and interaction 2013-10-10 12:22:58 +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
247a01e66b CP-6095: Preliminary refatoring and code simplifications.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-10-03 08:55:46 +01:00
Konstantina Chremmou
5acc022f1e CA-82957: Some code tidy and removal of unused method.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-27 16:57:59 +01:00
Konstantina Chremmou
c051f8de94 CA-82957: Refactoring to our custom ComboBoxes with regards to resource management and disposal.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-27 16:57:50 +01:00
Konstantina Chremmou
d81538d43d CA-107915: Fixed radiobutton text truncation on the AffinityPicker by providing
a autowrap-on-resize radiobutton. Also, removed badly aligned label and appended
its text to the radiobutton text.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-27 13:33:57 +01:00
Konstantina Chremmou
11fc4cdc22 CP-6317: Importing from branch clearwater-ln.
# HG changeset patch
# User Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
# Date 1378916844 -3600
# Node ID 0500f0579cb1ac5be16d46b33fb94ec3215afcbc
# Parent  cb7aab1ca88e76ca253a588935fad659ae794600
CA-115250: Corrected string drawing causing truncation on JA version.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-26 15:00:29 +01:00
Konstantina Chremmou
8b65117322 CP-6317: Importing from branch clearwater-ln.
# HG changeset patch
# User vetrivelc <vetrivel.chinnasamy@citrix.com>
# Date 1378311085 -19800
# Node ID 84e0784265b85b45b7052739c814204225d845fa
# Parent  24332b319e417873881b4e262e9ffa01687ea1dc
Bug Fix:CA-111776

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-26 14:47:03 +01:00
Konstantina Chremmou
1a90ae5c90 CP-6317: Importing from branch clearwater-ln.
# HG changeset patch
# User vetrivelc <vetrivel.chinnasamy@citrix.com>
# Date 1378298988 -19800
# Node ID 24332b319e417873881b4e262e9ffa01687ea1dc
# Parent  28eb1719f7f648773bd707c3cb81bb537d8f78d8
Fix:CA-114532,CA-114330

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-26 14:46:38 +01:00
Konstantina Chremmou
fbe4182e39 CP-6317: Importing from branch clearwater-ln.
# HG changeset patch
# User vetrivelc <vetrivel.chinnasamy@citrix.com>
# Date 1377679834 -19800
# Node ID 5de50259a5796a999290798fb61086338db1e847
# Parent  48b8a4b6552228aeda9558d89249b5a30d0f7c9e
Bug Fix:CA-112233

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-26 14:44:47 +01:00
Konstantina Chremmou
1905077b29 CP-6317: Importing from branch clearwater-ln.
# HG changeset patch
# User vetrivelc <vetrivel.chinnasamy@citrix.com>
# Date 1377611382 -19800
# Node ID 48b8a4b6552228aeda9558d89249b5a30d0f7c9e
# Parent  b7339ed67dfc5a8cfba84c6fc2bc9f1c15a14317
Bug Fix:CA-114206,CA-114480,CA-114330,CA-112444

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-26 14:44:14 +01:00
Konstantina Chremmou
9f5eb4fa0e CP-6317: Importing from branch clearwater-ln.
# HG changeset patch
# User Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
# Date 1377245651 -3600
# Node ID b7339ed67dfc5a8cfba84c6fc2bc9f1c15a14317
# Parent  5fac9d755118553023e4284946abd44d611e35c7
CA-112234: Further layout correction.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-26 14:43:48 +01:00
Konstantina Chremmou
82b8c9b2c7 CP-6317: Importing from branch clearwater-ln.
# HG changeset patch
# User vetrivelc <vetrivel.chinnasamy@citrix.com>
# Date 1377176239 -19800
# Node ID 7a067ac0c37be286f06c3091379b33f668d31c62
# Parent  efafac7f89d00524a5787a5a227a4aecec0b34cf
Bug Fix:CA-114326,CA-114330.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-26 14:42:25 +01:00
Konstantina Chremmou
3260c375f2 CP-6317: Importing from branch clearwater-ln.
# HG changeset patch
# User vetrivelc <vetrivel.chinnasamy@citrix.com>
# Date 1377167722 -19800
# Node ID efafac7f89d00524a5787a5a227a4aecec0b34cf
# Parent  583abe3dc86764b07314ae86d4feb48a89c6a7e1
Bug Fix:CA-114276,CA-114332,CA-114330,CA-114266.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-26 14:41:59 +01:00
Konstantina Chremmou
d5486aaa1d CP-6317: Importing from branch clearwater-ln.
# HG changeset patch
# User Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
# Date 1377079306 -3600
# Node ID 170c7cbbbaefee729774ae21a3c417205708abee
# Parent  5bd4ebbd0553c160917192dd4546bb19a2a5a64d
CA-112226: Updated unit tests to reflect the changes in string measurement. Minor code tidy.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-26 14:40:35 +01:00
Konstantina Chremmou
864eeb48ee CP-6317: Importing from branch clearwater-ln.
# HG changeset patch
# User vetrivelc <vetrivel.chinnasamy@citrix.com>
# Date 1377071789 -19800
# Node ID 5bd4ebbd0553c160917192dd4546bb19a2a5a64d
# Parent  e305aa4ddfecb3337cffb43bc711d9b580c79e1f
Bug Fix:CA-114276,CA-114264

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-26 14:40:02 +01:00
Konstantina Chremmou
8217db7a73 CP-6317: Importing from branch clearwater-ln.
# HG changeset patch
# User Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
# Date 1377021015 -3600
# Node ID 0d5b08d2db1b4c8e5d656750e2ee4bcedc3d5579
# Parent  7674677d207c53d4a1207a88d0f1aa82c68b22fe
CA-11234: Layout corrections to the SummaryPanel.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-26 14:39:27 +01:00
Konstantina Chremmou
90847387e1 CP-6317: Importing from branch clearwater-ln.
# HG changeset patch
# User Mihaela Stoica <Mihaela.Stoica@citrix.com>
# Date 1377013845 -3600
# Node ID a47a556a4ebb1abda620cfe1d79bba4292eaff8f
# Parent  cc0505085de1e5f19326e13d74ec5542ce006080
[CA-92517] , [CA-112376] & [CA-112387] : Fixed the truncation in the CustomTreeView control
caused by wrong font being used in the calculation of scrollbar width.

Added a call to recalculate scrollbox width after the font used for description is changed.
This fixes the truncation in the following dialogs: Move VM, Move Virtual Disk, New Pool, Server Status Report.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-26 14:37:47 +01:00
Konstantina Chremmou
36e5225039 CP-6317: Importing from branch clearwater-ln.
# HG changeset patch
# User vetrivelc <vetrivel.chinnasamy@citrix.com>
# Date 1377010279 -19800
# Node ID 8827fad5e2fb3efa68cccb5eafb06262e41007c3
# Parent  f8171c407fc0e9a16b92c1937ff9dd334348c08e
Bug Fix:CA-112444,CA-113425

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-26 14:37:13 +01:00
Konstantina Chremmou
3283ca4737 CP-6317: Importing from branch clearwater-ln.
# HG changeset patch
# User Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
# Date 1377010165 -3600
# Node ID 46350c8ef9df37a0c41d7a7245438948d261504b
# Parent  a1c6bcf2b4d3119cff54d87fb97bd2491c9d8f67
CA-112226: Ellipsization should use TextRenderer.MeasureText (GDI) rather than
Graphics.MeasureString (GDI+) since the controls use the default UseCompatibleTextRendering
value (false).

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-26 14:35:57 +01:00
Konstantina Chremmou
307646d0a9 CP-6317: Importing from branch clearwater-ln.
# HG changeset patch
# User Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
# Date 1377007835 -3600
# Node ID a1c6bcf2b4d3119cff54d87fb97bd2491c9d8f67
# Parent  41c2dfb11187cbc91b4f874b1df8c06524aad3c7
CA-113310: Corrected string measurement which was causing truncation on SC and a
lot of white space on EN and JA versions.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-26 14:33:50 +01:00
Konstantina Chremmou
585908c1d0 CP-6317: Importing from branch clearwater-ln.
# HG changeset patch
# User vetrivelc <vetrivel.chinnasamy@citrix.com>
# Date 1376977735 -19800
# Node ID cc0505085de1e5f19326e13d74ec5542ce006080
# Parent  f358f7080569520d5a984a3a3543130c81c42b8b
Bug Fix:CA-113230,CA-113426,CA-113698

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-26 14:26:39 +01:00
Konstantina Chremmou
708051d399 CP-6317: Importing from branch clearwater-ln.
# HG changeset patch
# User vetrivelc <vetrivel.chinnasamy@citrix.com>
# Date 1376481946 -19800
# Node ID 09d7eccae36185bb28a96903abca52aaa7ae5c26
# Parent  f7a7a388679077777e7086571604863e34654d51
Bug Fix: 113698,113428,113311

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-26 14:20:32 +01:00
Konstantina Chremmou
e7548fe295 CP-6317: Importing from branch clearwater-ln.
# HG changeset patch
# User vetrivelc <vetrivel.chinnasamy@citrix.com>
# Date 1375977452 -19800
# Node ID a4613d9afc3a6008fba2a24f52fd53f2e91745a0
# Parent  d0a3fa6db59fcaea186f0909053866153d15d450
Bug Fix:112928,113311,112305

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-26 14:17:55 +01:00
Konstantina Chremmou
17a2524e26 CP-6317: Importing from branch clearwater-ln.
# HG changeset patch
# User vetrivelc <vetrivel.chinnasamy@citrix.com>
# Date 1375791314 -19800
# Node ID 8a941396ee976c87a2cbe211fe66170e356deeef
# Parent  6c08708f799c879557426b1aba48063b7ee9f877
Bug Fix: 112927,112924

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-26 13:46:15 +01:00
Konstantina Chremmou
50892f4601 CP-6317: Importing from branch clearwater-ln.
# HG changeset patch
# User vetrivelc <vetrivel.chinnasamy@citrix.com>
# Date 1375444497 -19800
# Node ID 2b2e4280a62dab1018daea93de8ef444c4753fb0
# Parent  0bd7c8e13bdbcda6f95dfa4616c9621ee32857d5
Bug Fix: 112927,112924

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-26 13:44:11 +01:00
Konstantina Chremmou
39392e6aec CP-6317: Importing from branch clearwater-ln.
# HG changeset patch
# User vetrivelc <vetrivel.chinnasamy@citrix.com>
# Date 1375369840 -19800
# Node ID 0bd7c8e13bdbcda6f95dfa4616c9621ee32857d5
# Parent  85e97db6b94e3b8b55d1a06747a1f1b63c58277f
SC T9N Changes + Bug Fix :111776,111806,111874,111226,112233,112234

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-26 13:35:33 +01:00
Konstantina Chremmou
c6a61fab3e CP-6317: Importing from branch clearwater-ln.
# HG changeset patch
# User vetrivelc <vetrivel.chinnasamy@citrix.com>
# Date 1375282731 -19800
# Node ID 9c2981e0551f4ca1b111380157de6760003b5d41
# Parent  75a7918d6b1d562204ef408b74ee695f30cbfaa1
Bug Fix

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-26 13:32:08 +01:00
Konstantina Chremmou
cf0ae529ec CP-6317: Importing from branch clearwater-ln.
# HG changeset patch
# User vetrivelc <vetrivel.chinnasamy@citrix.com>
# Date 1374659962 -19800
# Node ID a8743cea5fe20ce335abbecb4fb78f3237bed508
# Parent  7637337aa47ba6eb2b401ce7f7f852d398c19852
Language Build Truncation Bug fixes

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-26 13:27:55 +01:00
Konstantina Chremmou
12a15e8340 CP-6317: Importing from branch clearwater-ln.
# HG changeset patch
# User vetrivelc <vetrivel.chinnasamy@citrix.com>
# Date 1374560870 -19800
# Node ID 7637337aa47ba6eb2b401ce7f7f852d398c19852
# Parent  121eeca3e55142f22cd4b97fc4cd763d30cb3ec2
Fix for Bugs#111806,111782,111776

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-26 13:26:59 +01:00
Konstantina Chremmou
22098bb757 CP-6317: Importing from branch clearwater-ln.
# HG changeset patch
# User vetrivelc <vetrivel.chinnasamy@citrix.com>
# Date 1374503232 -19800
# Node ID 90776ba30a9e56cb3c07d32066c6a0dd0ad638de
# Parent  755b1cdd3b8340b677fd505b439710115697461f
Fix for Bugs#CA-111874,CA-111873

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-26 13:24:48 +01:00
Konstantina Chremmou
a437f4c630 CP-6317: Importing from branch clearwater-ln.
# HG changeset patch
# User vetrivelc <vetrivel.chinnasamy@citrix.com>
# Date 1374488169 -19800
# Node ID 755b1cdd3b8340b677fd505b439710115697461f
# Parent  f600c04441cfccca80a82c2aeca47c220c7428db
Bug fix : CA-111760,CA-111753.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-26 13:23:28 +01:00
Konstantina Chremmou
2c184b3ef1 CP-6317: Importing from branch clearwater-ln.
# HG changeset patch
# User vetrivelc <vetrivel.chinnasamy@citrix.com>
# Date 1373384864 -19800
# Node ID 8604c77f3fcf5215b1ae962220cd75be01f21d4c
# Parent  4f3d46c46536366498a79ace2220051eb89b329c
Checking in Localization Changes

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-26 13:00:28 +01:00
Konstantina Chremmou
ed88db2df0 Fixed two potential null reference exceptions in the XenOvfTransport project and
removed uninitialised streams which we were taking care to close. Solution-wide
style: use string.IsNullOrEmpty method instead of checking separately for null
and zero length.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-26 08:30:34 +01:00
Konstantina Chremmou
edc3f743f8 Unregister events. Dispose of Bitmaps. Removed unnecessary resx files.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-26 08:29:11 +01:00
Konstantina Chremmou
2a21608e13 CP-6094: Moved the New Search button outside the Search panel and the Default search
under the saved Searches drop down. Also minor layout tweaks and test update.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-24 15:58:53 +01:00
Konstantina Chremmou
5bd9e0a2bf CP-6094: Renamed "New Search" button to "Edit Search"; grey it out when the panel
is expanded. Removed the title "New Search" from the panel and added a "New Search"
button which blanks the search. Renamed the "Reset" button to "Default Search" as
it wasn't obvious what it was resetting to.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-20 19:21:09 +01:00
Konstantina Chremmou
cab8dca36b CP-6083: Added vGPUs to the VM's property page.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-18 13:06:47 +01:00
Konstantina Chremmou
355fa30243 CP-6083: Preliminary refactoring: moved common code responsible for skipping non
selectable combobox items from the classes EnableableComboBox and ISODropDownBox
to a base class called NonSelectableComboBox.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-16 10:13:21 +01:00
Konstantina Chremmou
8c15bcc6d9 CP-6083: Preliminary tidy up: moved all custom comboboxes into a subfolder of the Controls folder.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-13 12:43:29 +01:00
Konstantina Chremmou
44aed3cb7b CA-115257: Handle the LinkLabel.LinkClicked event instead of LinkLabel.Click so
the LinkLabelcan be accessible by using both the mouse and the keyboard.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-12 00:06:43 +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
e397d8bee7 CP-5749: Updated tests to reflect GUI changes. Some code corrections after the first run.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-28 14:44:46 +01:00
Konstantina Chremmou
c4011c3086 CP-5749: Split the organization views into tags, folders, vapps and custom fields.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-26 13:08:23 +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
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
4b6871d4af Merge remote-tracking branch 'origin/master' 2013-08-16 17:44:39 +01:00
Konstantina Chremmou
59539af921 CA-95272: Fixed several memory leaks coming from undisposed pens and brushes.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-16 17:43:57 +01:00
Mihaela Stoica
83ff32cbbc CA-108174 Fixed Uncaught exception while creating new SR after the ISO drop down box was created in the New VM Wizard
- added code to deregister event handlers when the ISO drop down box is disposed; plus some code tidy-up

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2013-08-16 13:34:17 +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
d9c7b09e84 Conversion from British to American english.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-13 11:36:21 +01:00
Konstantina Chremmou
86c6950aeb CP-5750: Implemented event filtering by status, location and date.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-13 10:15:52 +01:00
Konstantina Chremmou
c2333b03b1 CP-5750: Initial implementation of the new Events DataGridView.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-10 12:29:36 +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
38ab6b8ffa CP-5750: When a License warning is generated, create an alert rather than an Action.
Removed ActionType.Alert. Removed Alerts checkbox from the Log tab.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-09 17:20:36 +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
20770553c6 CP-5752: Renamed "Add Group" button to "More", changed its image and moved it closer
to the other grouping buttons.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-03 01:04:47 +01:00
Konstantina Chremmou
8f51089efe CP-5752: Use Action delegate instead of EventHandler when there is no need to
pass in parameters when the event is fired. Moved QueryElement.Dispose method
from the Designer.cs to the main file (it needs visibility since it contains more
code than the autogenerated method).

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-03 01:04:40 +01:00
Konstantina Chremmou
03d5053073 CP-5752: Moved Save Search functionality from the SearchOptions dropdown menu to
a Save button in the Searcher panel. Moved collapse Searcher panel functionality
from the SearchOptions dropdown menu to a Close button in the panel. Use new
Expanded property to query the state of the Searcher panel (instead of Visible).

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-03 01:04:38 +01:00
Konstantina Chremmou
014de807a3 CP-5752: Moved ShowColumns functionality from the SearchOptions dropdown menu to
a button at the top left of the search output panel.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-03 01:04:36 +01:00
Adrian Jachacy
d89d04a33d CA-76329: SR destroy option is missing from XenCenter (even SR doesn't contains any VDI and SR is detached)
1. Changed definition of IsDetached property in SR.cs: SR is detached when it has no PBDs or when all its PBDs are unplugged.
2. Added bool HasPBDs property in SR.cs (replaced previous IsDetached property definition).
3. Reviewed all usages of sr.IsDetached property.

Signed-off-by: Adrian Jachacy <Adrian.Jachacy@citrix.com>
2013-07-23 13:42:27 +01:00
Konstantina Chremmou
500fcb9522 CP-5604: Moved right click menu functionality to a separate column on the alerts datagridview.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
2013-07-18 13:56:40 +01:00
Konstantina Chremmou
02270b416d CP-5604: Added menu item "Show all" on the location and severity filter. Renamed the "No filter" item to "Show all" on the dates filter. Reordered top ToolStripMenuItems on the AlertSummaryDialog and changed their access hotkeys. Reordered columns on the alerts DataGridView.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
2013-07-11 17:47:06 +01:00
Konstantina Chremmou
039c3dd6c8 PR-1537: Moved the 'Filter by Severity' ToolStripDropDownButton from the Alerts dialog to a separate class so it can be used elsewhere. Added new 'Filter by Status' ToolStripDropDownButton. Register one more event with the FilterLocationToolStripDropDownButton.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
2013-07-03 13:00:24 +01:00
Konstantina Chremmou
41ac4c6ea2 PR-1537: Added label on the alerts dialog to indicate whether filters are on/off. Removed icons from the toolstrip buttons to reduce clutter.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
2013-07-03 11:10:21 +01:00
Konstantina Chremmou
b2132132cd PR-1537: Moved the 'Filter by Location' ToolStripDropDownButton from the Alerts dialog to a separate class so it can be used elsewhere.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
2013-07-02 19:06:11 +01:00
Konstantina Chremmou
6e01c9a8cd PR-1537: Moved the 'Filter by Date' ToolStripDropDownButton from the Alerts dialog to a separate class so it can be used elsewhere.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
2013-07-02 18:31:48 +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