Commit Graph

60 Commits

Author SHA1 Message Date
CITRITE\sriharshak
ef8628ff92 L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
Hui Zhang
784804c8d8 CP-13124: Invoke Putty, SSH to VM and run docker command.
1. Run 'docker attach' if user clicks 'View Console' button.
2. Run 'docker logs' if user clicks 'View Log' button.
3. Make IPAddressForSSH a property of VM for common usage.

Signed-off-by: Hui Zhang <hui.zhang@citrix.com>
2016-02-14 15:14:44 +08:00
Mihaela Stoica
3c956f28ac CP-14780: Revert Windows Update changes (part2)
Revert "Merge pull request #708 from GaborApatiNagy/master_windows_update"

This reverts commit fe03f1382f, reversing
changes made to 423065a2c8.

Conflicts:
	XenAdminTests/TabsAndMenus/MainMenuGeorge.cs
2015-11-10 13:13:23 +00:00
Gabor Apati-Nagy
7b7bcb0aa5 CP-14379, CP-14461, CP-14462, CP-14463, CP-14464, CP-14465, CP-14467:
Implementing Upgrading VMs to Windows Update

New screen features:
-Create skeleton of the Upgrade VM dialog
-Implement a Go To Console link (just a link that opens a vm console)
-Implement logic to show the right status for a VM (includes rules to
get the states). Includes updating the dialog whenever the status changes.
-Add status texts to Messages, proper text on the UI
-Add stub methods to VM class in XenAPI-Extensions to r/w states from
Guest Agent
-UI: Implement rules what vms to display, checkbox rules, read only vms,
and when to enable the Upgrade button
-Implement Upgrade button (writes state for GA, mounts ISO) + maximum
parallel executions/actions

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-10-16 12:47:00 +01:00
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