Commit Graph

156 Commits

Author SHA1 Message Date
Carmen Agimof
4d625de0a2 CA-181342: Now the user can mount or eject ISO images from Console. 2015-09-08 15:47:44 +01:00
Mihaela Stoica
cc2d6ce2fd Merge pull request #500 from GaborApatiNagy/master_CA-172444
CA-172444: Consistency should be followed for behavior of all buttons in same page
2015-06-10 18:06:54 +03:00
Gabor Apati-Nagy
165b1e96de CA-172444: Consistency should be followed for behavior of all buttons in same page
Making the "Open SSH Console" button visible but disabled instead of hiding it in the following cases:
-VM is suspended
-VM is running, but we do not know any IP address (eg no Tools installed on it)

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-06-10 16:03:57 +01:00
Gabor Apati-Nagy
f6c5c3bd31 CA-172441: Wrong message shown when hover mouse on 'Open SSH Console'
button

Removed tooltip from the "Open SSH Console" button

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-06-10 10:20:38 +01:00
Gabor Apati-Nagy
547dced854 CA-169167: Screen resolution is less than the default value after switch to remote desktop
Fixing unused field as warning as error build issue
2015-06-04 11:49:09 +01:00
Mihaela Stoica
d2dedaec40 Merge pull request #458 from cheng--zhang/CA-169170
CA-169167: Screen resolution is less than the default value after switch to remote desktop
2015-06-04 13:19:57 +03:00
Cheng Zhang
554d5a6483 CA-169167: auto-implemented for AutoSwitchRDPLater
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-06-04 18:13:58 +08:00
Gabor Apati-Nagy
fd7407c127 CA-153347: Send Ctrl-Alt-Del is available for non-running VMs (title edited)
Reverted previous fix 7608caafd7, because
managed to find the root cause of this issue: commit ce3bec1231.
Instead of reverting the latter completely, this commit fixes the regression by removing unnecessary calling of UpdateButtons().

Note: The button will still be enabled for dom0 console.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-06-02 15:10:24 +01:00
Gabor Apati-Nagy
87c3811b45 Revert "CA-153347: Send Ctrl-Alt-Del is available for dom0 console and for non-running VMs"
This reverts commit 7608caafd7.
2015-06-01 15:33:17 +01:00
Cheng Zhang
239486c598 CA-169167: Screen resolution is less than the default value after switch to remote desktop
Auto switch to RDP should be taken after VNC connection got the correct screen resolution.
Also not enable “enable RDP button” before VNC connection get the correct screen resolution.

Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-05-20 15:31:02 +08:00
Mihaela Stoica
3bae352e33 Merge pull request #465 from GaborApatiNagy/CA-153347
CA-153347: Send Ctrl-Alt-Del is available for dom0 console and for non-running VMs
2015-05-15 16:12:23 +01:00
Mihaela Stoica
e470cf01f5 Merge pull request #459 from GaborApatiNagy/master_CP-11957
CP-11957: ssh console: Add UI elements to launch ssh
2015-05-15 16:11:54 +01:00
Gabor Apati-Nagy
de6f92f39f CP-11957: ssh console: Add UI elements to launch ssh
-changed exception logging format
2015-05-15 15:52:57 +01:00
Gabor Apati-Nagy
7608caafd7 CA-153347: Send Ctrl-Alt-Del is available for dom0 console and for non-running VMs 2015-05-15 14:18:01 +01:00
Gabor Apati-Nagy
4ea97fb162 Merge pull request #450 from MihaelaStoica/CA-68578
CA-68578: Shutting down a Linux guest with VNC console causes password d...
2015-05-14 10:45:51 +01:00
Gabor Apati-Nagy
1463279c00 CP-11957: ssh console: Add UI elements to launch ssh
Added logging for ERROR_PUTTY_LAUNCHINGERROR_PUTTY_LAUNCHING
2015-05-08 13:56:22 +01:00
Gabor Apati-Nagy
90a16d005e CP-11957: ssh console: Add UI elements to launch ssh
Fixes following the code review
2015-05-08 13:50:14 +01:00
Gabor Apati-Nagy
e53be2d67b CP-11957: ssh console: Add UI elements to launch ssh
If there is at least one IPv4 address, we use that even if it is not the first we have seen (by looking at the VIFs)
2015-05-07 12:11:17 +01:00
Gabor Apati-Nagy
af38c2fdf0 CP-11957: ssh console: Add UI elements to launch ssh 2015-05-07 11:42:31 +01:00
Cheng Zhang
1862120117 CA-169170: “Switch to Remote desktop” button should not be disabled in Cream when Windows VM installed with latest PV tools.
Check current XenServer Version, if current version is greater than Cream and PV tool installed, do not disable control button.

Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-05-06 10:53:23 +08:00
Mihaela Stoica
7ff4bb9138 CA-68578: Shutting down a Linux guest with VNC console causes password dialog to pop up
- store the empty vnc password after a successful login, to avoid displaying the login dialog box on a subsequent reconnection attempt
- abort the vnc connection attempt if we notice that vncIP is null and switch back to the default console

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-04-30 11:37:39 +01:00
Mihaela Stoica
abf1342d2c CA-167309: When clipboard sharing is turned off in the options, should not be possible to copy-and-paste from the guest to the XenCenter machine 2015-04-22 09:52:35 +01:00
Gabor Apati-Nagy
aefed11165 Revert "CA-149867: Invoke on MainWindow instead of various controls"
This reverts commit 92f0499911.
2015-04-16 14:17:02 +01:00
Gabor Apati-Nagy
92f0499911 CA-149867: Invoke on MainWindow instead of various controls
We observed that some threads can reach deadlock-ish state after they have Invoked into a control's UI thread. When it happens they are all in a waiting for join or in sleep state for very long time, although there should not be any deadlock situations.
It seems this has something to do with multiple parent controls and with which control we invoked on. This should not make a difference, because we have got one UI thread (for MainWindow) they should wait for, but we have seen it does.

The solution that fixed this issue was to invoke on the MainWindow instead of various controls (see a4fe507adf ).

This changeset is changing all our Invokes to invoke into MainWindow
instead of a control itself. (MainWindow's UI thread is the only UI thread
all Control is using in XenCenter)
This changeset should be in place until we have found the root cause or the exact reason for the above.
2015-04-08 15:16:10 +01:00
Stephen Turner
dfab7f9b96 CA-165096: Add null reference check 2015-03-27 16:30:36 +00:00
Cheng Zhang
8519fab118 CA-165096: solve XenCenter slow to find RDP interface
To solve this long latency issue, we will only scan IPs whose PIF link status is connected.

Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-03-27 14:02:48 +08:00
Cheng Zhang
0adbf80b1c CA-165464: Switch to RDP connection on VM with RDP enable if automatically switch selected
This code change is to set “switchOnTabOpened” in below condition:
1.	XenCenter have “Automatically switch to the Remote Desktop console when it becomes available" selected
2.	VM have RDP enabled.
3.	XenServer Version is Cream or greater.

Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-03-24 13:40:28 +08:00
Cheng Zhang
4486dca281 CA-164678: Got incorrect guest screen resolution with user's first switch to Remote Desktop from XenCenter Console
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-03-16 15:02:32 +08:00
Cheng Zhang
ce3bec1231 A-160189: Change RDP button display on Console tab
Remove “Remote access is not enabled on this guest” in cream in below condition:
1.RDP status is on
2.PV driver is cream or greater

Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-02-13 14:18:36 +08:00
Cheng Zhang
c6ccae79d3 CP-10955: rework comments
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-01-28 10:02:19 +08:00
Cheng Zhang
2238b0ac1f CP-10955: XenCenter: use "feature-ts2" to detect Windows RDP feature
1.Add xapi version check in cream since Cream and Creedence have the same platform version
2.Check feature-ts2 to see if turn on RDP feature can use on specific VM PV tool

Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-01-27 14:27:42 +08:00
Cheng Zhang
540338f709 CP-10204: Connect RDP directly if click “Switch to Remote Desktop” since RDP polling removed in Cream
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-01-22 14:56:36 +08:00
Cheng Zhang
961edb3752 CP-10204: Rework comments - part 2
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-01-14 11:46:56 +08:00
Cheng Zhang
98992d3bd2 CP-10204: Rework comments
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-01-12 17:27:31 +08:00
Cheng Zhang
6b6b515fe7 CP-10204: XenCenter: guest RDP control
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-01-09 11:33:53 +08:00
Gabor Apati-Nagy
be0fb37df7 Merge pull request #244 from xenserver/xs64bit
Xs64bit
2014-10-09 16:19:23 +01:00
Gabor Apati-Nagy
d942f9e7f1 CA-148332: Right click on a Windows VM brought up the PV linux copy/paste context menu
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2014-10-08 11:24:41 +01:00
vetrivelc
2ab95c7899 CreedenceLN: Updated the language resource files
New translation checki-ns and language file additions
2014-09-18 15:03:24 +05:30
Gabor Apati-Nagy
c64485adfd CP-9365: XenCenter work for HVM linux support
-Fixing issue found by the reviewer: null reference exception when the VM restarts
2014-09-09 15:46:26 +01:00
Gabor Apati-Nagy
6d652ac135 CP-9365: XenCenter work for HVM linux support
-Unsubscribing from guest_metrics changed event in UnregisterEventListeners()
2014-09-08 12:04:57 +01:00
Gabor Apati-Nagy
c928fd71ec CP-9365: XenCenter work for HVM linux support
-changes following the code review

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2014-09-08 10:38:22 +01:00
Gabor Apati-Nagy
c458d16f7f CP-9365: XenCenter work for HVM linux support
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2014-09-05 16:50:50 +01:00
Stephen Turner
577363a3a1 CA-141389 Log all GET and POST calls 2014-08-07 16:23:06 +01:00
Mihaela Stoica
05880fdaa2 RDP client control: Changed Connected property type to boolean.
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-06-12 15:06:09 +01:00
Mihaela Stoica
8aadc063d4 CA-137236: Fix XenCenter Console crash when switching to remote desktop on Windows Server 2003 SP2
- Reverted "CP-4951: CAR-100: Remove Rdp2 console" because Rdpclient 6.0 is not included in Windows Server 2003 SP2;
- Redone the fix for CA-123779 (Unhandled exception in Console Tab View), by moving RDPSetSettings() call inside a try..catch block, so we handle any exception thrown while setting the rdp client properties.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-06-10 17:12:16 +01:00
Konstantina Chremmou
6d6421265e Merge branch 'master' of github.com:xenserver/xenadmin 2014-01-27 14:20:32 +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
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
Gabor Apati-Nagy
5764b2a1c9 CP-4951: CAR-100: Remove Rdp2 console
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2013-11-26 13:55:54 +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
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
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
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
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
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
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