Commit Graph

3074 Commits

Author SHA1 Message Date
Mihaela Stoica
3ce6e782ff Merge branch 'master' of git://hg.uk.xensource.com/carbon/trunk/xenadmin 2013-11-26 12:40:36 +00:00
Konstantina Chremmou
4362f30fa9 Merge branch 'master' of git://hg.uk.xensource.com/carbon/trunk/xenadmin 2013-11-26 11:48:03 +00:00
Konstantina Chremmou
2bdbf6a5e1 CP-6093: Custom drawing for the main window navigation buttons.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-26 11:36:45 +00:00
Gabor Apati-Nagy
c344e74b95 Revert "CP-4951: CAR-100: Remove Rdp2 console"
This reverts commit df9345d2c4.
2013-11-26 11:19:34 +00:00
Gabor Apati-Nagy
a31c053b5f Merge branch 'master' of git://hg.uk.xensource.com/carbon/trunk/xenadmin 2013-11-25 18:29:35 +00:00
Gabor Apati-Nagy
df9345d2c4 CP-4951: CAR-100: Remove Rdp2 console
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2013-11-25 18:28:57 +00:00
Konstantina Chremmou
58d0599bdc CP-6093: Filter by Location ToolStripDropDownButton: only add ShowAll item if there
are actually items to show. Button enablement on Events page.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-25 08:42:17 +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
406a555a1c Clear selected nodes at the beginning of each of the MainWindowTreeTests to prevent
test failures due to artifacts leftover from a previous test.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-23 14:34:49 +00:00
Konstantina Chremmou
b2e0c858e3 CP-6093: Tidying up: moved property from Alert to XenServerPatchAlert as it only
applies to the latter. Converted methods from AlertSummaryPage to one Alert and
one String extension method so they can be used more widely. Code simplification
on the Updates page.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-23 14:04:15 +00:00
Konstantina Chremmou
649f86bc1d Unregister registered CollectionChanged event on disposal.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-23 12:01:54 +00:00
Konstantina Chremmou
22ec1d9ac5 CP-6093: Redesign of the CloseXenCenterWarningDialog to use the same controls as
the events page. This renders the old custom history controls obsolete, hence
removed them. Moved ActionBase extension methods to XenAdmin.Core namespace.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-23 11:59:49 +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
cd0efe825d CP-6093: Remove update alerts from the Alerts page, part 2/3: Merged classes Updates
and ManualCheckForUpdates.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-21 14:27:34 +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
Mihaela Stoica
1504b184c7 CA-121750: Added more checks to prevent potential NullReferenceException. 2013-11-21 11:43:49 +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
ad3cfc7f98 CP-6093: Disable filter buttons on the Alert and Events pages when the lsit is empty.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-21 08:25:02 +00:00
Mihaela Stoica
0c90ddccc4 Merge branch 'master' of git://hg.uk.xensource.com/carbon/trunk/xenadmin 2013-11-20 13:52:00 +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
4f5c2baf77 CA-121753: Fixed issue where the GPU edit page was not showing any GPU groups for
pre-vgpu servers.
# HG changeset patch
# User Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
# Date 1384946656 0
#      Wed Nov 20 11:24:16 2013 +0000
# Node ID 845e9425e39d05a31692ca2d222fae22b2931b21
# Parent  370811ffe245c8ea57ebd6f406711f8e1fee5a05

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-20 11:30:51 +00:00
Konstantina Chremmou
49ea5a0d62 CP-6093: Set the text of the minimized outlook style buttons.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-20 08:45:11 +00:00
Konstantina Chremmou
54accf8708 CA-107358: Corrected "Force Shut Down" button and tooltip text.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-20 08:29:11 +00:00
Mihaela Stoica
58d1e40b52 CA-115430: Fixed fatal exception while accessing VM context 'Migrate to Server' menu
- create a copy of the DropDownItems collection and use this copy to iterate through items (on the background thread)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2013-11-19 17:22:38 +00:00
Mihaela Stoica
739c3d4837 CA-110160: Fixed uncaught exception in VM migrate wizard observed while concurrent migrate operation is triggered on same VM
- before leaving each page of the wizard, check if all selected VMs are still available for migration

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2013-11-19 17:02:02 +00:00
Gabor Apati-Nagy
8c9502e4ba Merge branch 'master' of git://hg.uk.xensource.com/carbon/trunk/xenadmin 2013-11-19 15:52:12 +00:00
Gabor Apati-Nagy
b40714bf6c [CA-121672] Fixed: The host's "edit placement policy" button does not work in a pool.
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2013-11-19 15:50:58 +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
4289972b1b Corrected test code selecting a node on the main treeview.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-15 15:37:01 +00:00
Konstantina Chremmou
09e8b8ee5c CA-105092: Set XenCenter's MinimumSize to 1024x768.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 13:20:42 +00:00
Konstantina Chremmou
da5408bf21 Missing license headers.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 12:59:08 +00:00
Konstantina Chremmou
0d7c6eb5f4 CP-6215: Do not allow HA for vGPU VMs.
# HG changeset patch
# User Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
# Date 1384333341 0
#      Wed Nov 13 09:02:21 2013 +0000
# Node ID 8f10c3e041ebb2295f0692fcc6d733e7654906d0
# Parent  2f55fef6f39ab916f2ab8604926621aeb6dfc41c

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 12:38:00 +00:00
Konstantina Chremmou
0354bd7a85 [CA-121012] Fixed: Offering GPU type with no GPUs available
# HG changeset patch
# User Gabor Apati-Nagy <Gabor.Apati-Nagy@citrix.com>
# Date 1384269857 0
#      Tue Nov 12 15:24:17 2013 +0000
# Node ID 75cc5c584b9670ad16658d459fc069b07c57a433
# Parent  6e77f45144cb01c9eba99be74ad9ffd056eeb110

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 12:34:55 +00:00
Konstantina Chremmou
d269e6f1f2 CP-6511: Updated test.
# HG changeset patch
# User Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
# Date 1384262163 0
#      Tue Nov 12 13:16:03 2013 +0000
# Node ID 1622e7d2ba0130dbf61a9c7bb230cfd8852582d7
# Parent  6a09fea2d90b8e8aadbd2ec61da22ab029eddca1

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 12:33:54 +00:00
Konstantina Chremmou
e9b6c0699b CP-6137: Work in Console tab for vGPU (PR-1675)
# HG changeset patch
# User Mihaela Stoica <Mihaela.Stoica@citrix.com>
# Date 1384254998 0
#      Tue Nov 12 11:16:38 2013 +0000
# Node ID 6b3fc3d7a54e58e92ecfe714d19c8dc26b7a0565
# Parent  2cc90cb50e7ff2566f9d0833ad17735922d3f0c9

- Only close the inactive VNC consoles (not RDP) after an interval

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 12:33:02 +00:00
Konstantina Chremmou
c843f5b867 CP-6511: Ovf import/export for vGPU enabled VMs.
# HG changeset patch
# User Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
# Date 1384181202 0
#      Mon Nov 11 14:46:42 2013 +0000
# Node ID 6810ba763a896bcf7dd4295f30c6d5f42b02e9de
# Parent  37666849a54470e0da04b8d14c17940f8b580636

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 12:29:30 +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
9b26c85814 CP-6137: Work in Console tab for vGPU (PR-1675)
# HG changeset patch
# User Mihaela Stoica <Mihaela.Stoica@citrix.com>
# Date 1384179531 0
#      Mon Nov 11 14:18:51 2013 +0000
# Node ID c845562d67f5216b2e3d52d68dcc54d78ff49ce1
# Parent  4c0609731471aec95b153843469b00811c123c0b

- added code to deregister event handlers when the MultipleDvdIsoList is disposed;

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 12:16:35 +00:00
Konstantina Chremmou
ac35aa22bd CP-6137: Work in Console tab for vGPU (PR-1675)
# HG changeset patch
# User Mihaela Stoica <Mihaela.Stoica@citrix.com>
# Date 1384179387 0
#      Mon Nov 11 14:16:27 2013 +0000
# Node ID 4c0609731471aec95b153843469b00811c123c0b
# Parent  6e77f45144cb01c9eba99be74ad9ffd056eeb110

- show the message about connecting with RDP only if is pass-through
- changed the current message to say "pass-through GPU" instead of "dedicated GPU"

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 11:59:42 +00:00
Konstantina Chremmou
efc21f74bb [CP-6900]: VGPU, PGPU, VCPU: normalise case of abbreviations
# HG changeset patch
# User Gabor Apati-Nagy <Gabor.Apati-Nagy@citrix.com>
# Date 1383920504 0
#      Fri Nov 08 14:21:44 2013 +0000
# Node ID 857858a59d27d7b1aac2d87246169cd3ffcec5b4
# Parent  1ded37405ccff8e00c2442a780e1027fa1cb87a1

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 11:58:43 +00:00
Konstantina Chremmou
626fa9198d CP-6215: Do not allow HA for vGPU VMs.
# HG changeset patch
# User Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
# Date 1383906034 0
#      Fri Nov 08 10:20:34 2013 +0000
# Node ID 157e4adf37647301d87428e5cd0532c5ce1d380d
# Parent  1ded37405ccff8e00c2442a780e1027fa1cb87a1

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 11:57:28 +00:00
Konstantina Chremmou
e2e5417352 [CP-6856]: PR-1675: Visual tweaks and other final changes
# HG changeset patch
# User Gabor Apati-Nagy <Gabor.Apati-Nagy@citrix.com>
# Date 1383835696 0
#      Thu Nov 07 14:48:16 2013 +0000
# Node ID 69c0367f37e92c2bdc6033719850d94cc48fc706
# Parent  2efbf098103b9be3763ead2ff516cbe1d0cc0754

12. add max resolution to vGPU Configuration screen and VM properties

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 11:52:27 +00:00
Konstantina Chremmou
09a1edcefe [CP-6856]: PR-1675: Visual tweaks and other final changes
Set minimum size for Placement Policy box
# HG changeset patch
# User Gabor Apati-Nagy <Gabor.Apati-Nagy@citrix.com>
# Date 1383749286 0
#      Wed Nov 06 14:48:06 2013 +0000
# Node ID 87d6c91cde91e2125ed877f2581c645139500003
# Parent  f79a41a7c73e5555143a1f5cdf7bd3e8f27a8fba

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 11:45:51 +00:00
Konstantina Chremmou
90c5deb741 CP-6856: Updated the model with the latest API bindings containing max_resolution fields for vGPU (PR-1675)
# HG changeset patch
# User Mihaela Stoica <Mihaela.Stoica@citrix.com>
# Date 1383822148 0
#      Thu Nov 07 11:02:28 2013 +0000
# Node ID 2efbf098103b9be3763ead2ff516cbe1d0cc0754
# Parent  f79a41a7c73e5555143a1f5cdf7bd3e8f27a8fba

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 11:44:56 +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
d4dadc0bb9 CP-6856: Visual tweaks and other final changes (PR-1675)
# HG changeset patch
# User Mihaela Stoica <Mihaela.Stoica@citrix.com>
# Date 1383650378 0
#      Tue Nov 05 11:19:38 2013 +0000
# Node ID 04c02de675af090f3171b6fbf3b21b023c645c24
# Parent  3db3c618115569e1b5bda10f2bf0c75ec387d9d4

- Added text for "Edit Selected GPUs..." button to the resource file

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 11:41:05 +00:00
Konstantina Chremmou
9aa03cd8c4 CP-6856: Visual tweaks and other final changes (PR-1675)
# HG changeset patch
# User Mihaela Stoica <Mihaela.Stoica@citrix.com>
# Date 1383649813 0
#      Tue Nov 05 11:10:13 2013 +0000
# Node ID 3db3c618115569e1b5bda10f2bf0c75ec387d9d4
# Parent  e95bbc4697c45471e1732ae577249379dccdeb4e

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 11:39:31 +00:00
Konstantina Chremmou
e7d951353a [CP-6864] PR-1675: Help IDs for vGPU pages/dialogs
# HG changeset patch
# User Gabor Apati-Nagy <Gabor.Apati-Nagy@citrix.com>
# Date 1383647195 0
#      Tue Nov 05 10:26:35 2013 +0000
# Node ID e95bbc4697c45471e1732ae577249379dccdeb4e
# Parent  c79bb15743ea6c299e3a7b2dac8ca3b45cb456d4

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 11:38:46 +00:00