Commit Graph

4175 Commits

Author SHA1 Message Date
Mihaela Stoica
cd71c4fe1c CA-249858: Fix build warning as error
(The member 'CanExecute()' does not hide an inherited member. The new keyword is not required)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-06-15 08:31:47 +01:00
Konstantina Chremmou
062938878d Merge pull request #1602 from GaborApatiNagy/master_CA-220047
CA-220047: Show proper precheck error when a VM cannot be migrated
2017-06-15 08:24:06 +01:00
Gabor Apati-Nagy
42b4076c5d CA-220047: Show proper precheck error when a VM cannot be migrated
Improved wording

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-06-14 15:40:17 +01:00
Letsibogo Ramadi
be6b2ebcb3 Merge pull request #1630 from kc284/master
One more take to CA-231518
2017-06-14 13:37:13 +01:00
Gabor Apati-Nagy
5fe4b8ba09 Merge pull request #1639 from GaborApatiNagy/CA-255547
CA-255547: WLB code in XenCenter: Remove all code targetting <= 6.1 XenServers
2017-06-14 10:02:36 +01:00
Gabor Apati-Nagy
4e8541fb91 Merge pull request #1642 from MihaelaStoica/CA-249858
CA-249858: XenCenter gives different messages for migrate VM at diffe…
2017-06-13 16:53:19 +01:00
Mihaela Stoica
a79e156cf5 CA-249858: Moved the Trim call
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-06-13 16:47:43 +01:00
Mihaela Stoica
1d94fe3a99 Merge pull request #1645 from xenserver/CA-249084
CA-249084: Fixed Debug build Assert
2017-06-13 15:51:59 +01:00
Gabor Apati-Nagy
3a9c733ead CA-249084: Fixed Debug build Assert 2017-06-13 15:51:00 +01:00
Gabor Apati-Nagy
f413f814a7 Merge pull request #1643 from MihaelaStoica/telemetry
CP-22471: Add information on XenCenter help usage to the user settings
2017-06-13 14:14:08 +01:00
Mihaela Stoica
77b73c8d16 CP-22471: Add information on XenCenter help usage to the user settings
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-06-13 13:42:26 +01:00
Mihaela Stoica
f815663376 Merge pull request #1635 from kc284/master2
Removal of obsolete code
2017-06-13 13:20:17 +01:00
Mihaela Stoica
8f6c345c66 CA-249858: XenCenter gives different messages for migrate VM at different screens when pool connected with vm-operator user
Expose the reasons why a cross pool migration command cannot execute.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-06-13 13:12:01 +01:00
Mihaela Stoica
ffe7ff9520 Merge pull request #1632 from xenserver/REQ-378
Feature "REQ-378: Support Chinese Language E-mail Performance Alerts"
2017-06-13 10:51:42 +01:00
Gabor Apati-Nagy
597762b884 CA-255547: WLB code in XenCenter: Remove all code targetting <= 6.1 XenServers
Removed code that is no longer needed. Also removed an obsolete unit test.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-06-12 16:49:37 +01:00
Konstantina Chremmou
a7b9a72b1f Removed unused linked file from project and accidentally added file from source control.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-06-11 12:18:33 +01:00
Konstantina Chremmou
2504779480 CA-23158: Some layout improvements and logic changes.
- Moved the top warning out of the filter toolstrip and into the same tableLayoutPanel
as the dataGridVew to avoid hardcoding the dataGridview location in the code.
- Corrected linkLabel colour for compliance. Changed icon to match the icon
of the bottom information label.
- When checking for updates disable the linklabel instead of hiding the whole
warning to avoid empty space or the dataGridView jumping up and down.
- The check button in the middle should be available when the check link is
available.
- Avoid toggling explicitly the enabled state of controls; it can be taken
care of within the check for updates event handlers.
- Other minor layout improvements (control positioning).

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-06-11 11:11:32 +01:00
Konstantina Chremmou
31b98c51e5 Refactored duplicate method.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-06-11 11:11:31 +01:00
Konstantina Chremmou
9776c1e2c2 CA-23158: On alert dismissal remove single rows instead of rebuilding the datagridview,
thus solving the resizing issue of the Actions column. Also, register an action
before starting running it.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-06-11 11:11:31 +01:00
Konstantina Chremmou
a0fe7f62e1 Removed ApiVersionTool; it is out of date and the info it was meant to provide
can be found at xapi-project.github.io/xen-api/releases

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-06-11 11:10:55 +01:00
Mihaela Stoica
75e7016313 Merge pull request #1634 from GaborApatiNagy/master_CA-147943
CA-147943: Scrollbar for list of hotfixes installed in a pool doesn't have scrollbar the first time it is expanded
2017-06-09 12:17:48 +01:00
Gabor Apati-Nagy
6185b24b37 CA-147943: Scrollbar for list of hotfixes installed in a pool doesn't have scrollbar the first time it is expanded
General tab (Pool): In the list of updates, added a space after each comma
to let the control wrap the text into multiple lines. This way the text is
no longer cut, therefore no additional scrollbar is needed.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-06-08 17:32:34 +01:00
Gabor Apati-Nagy
5f8db75e7c CA-220047: Show proper precheck error when a VM cannot be migrated
Changed the pre-check error message to refer to the absence of the Tools
when that is suspected to be the case.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-06-08 16:12:26 +01:00
Gabor Apati-Nagy
bb5235ca40 Merge pull request #1633 from MihaelaStoica/CP-21130
CP-21130: Move the test for InvernessOrGreater outside the VNCGraphic…
2017-06-08 11:16:12 +01:00
Mihaela Stoica
e5384b850c Merge pull request #1631 from minli1/feature/Linx-YinheKylin-Linux-support/master
cp-21685/cp-22367: Linx/YinheKylin linux guest XenCenter ICON support
2017-06-08 09:42:16 +01:00
Mihaela Stoica
4bf86842ba CP-21130: Move the test for InvernessOrGreater outside the VNCGraphicsClient class
- This is needed because this class is shared with the VNCControl solution which doesn't have access to the Helpers class

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-06-08 09:38:09 +01:00
minl1
2105cbf1a4 cp-21685/cp-22367: Linx/YinheKylin linux XenCenter ICON support 2017-06-07 21:01:01 +08:00
Mihaela Stoica
30b83bc0b1 Merge pull request #1569 from anoobs/vnc_improvements_v2
Add support for EXT_KEY_EVENT encoding in XenCenter VNC
2017-06-06 17:13:22 +01:00
Anoob Soman
add1b5d1ab CP-21130: Restrict support for EXT_KEY_EVENT to Inverness 2017-06-06 16:34:53 +01:00
Anoob Soman
108f3b5aae Merge branch 'master' into vnc_improvements_v2 2017-06-06 16:27:24 +01:00
Mihaela Stoica
44896e945a Merge pull request #1623 from GaborApatiNagy/master_CA-255551-2
CA-255551: [SCTX-2553] Automated Updates - Slaves rebooted before Master - XenCenter 7.1.1
2017-06-05 11:03:26 +01:00
Gabor Apati-Nagy
0311f7dd72 CA-220047: Show proper precheck error when a VM cannot be migrated
A bit of refactoring as requested by the reviewers

I decided not remove the NullReferenceExceptions and throw the Failures
immediately in order to avoid the additional error handling that seems to be unnecessary there. However, the reason I've decided to keep it as is is that it would change what gets logged and the performance gain would not be noticeable anyway. Furthermore, the current implementation (try-catchall) catches any other exceptions providing fallback to the default Failure.
2017-06-05 10:15:18 +01:00
Gabor Apati-Nagy
de97577430 CA-255551: [SCTX-2553] Automated Updates - Slaves rebooted before Master - XenCenter 7.1.1
Due to a regression (introduced by [1]), XenCenter will not run delayed actions in the correct host-order at all times. This can cause the master to be not the first host to be rebooted what may result in connections being lost to slaves should the API change between restarts/updates in a way that it would not be compatible to the previous version. This would make the wizard fail and users would have to restart their master host manually to make it connect to its slaves again.

This commit fixes the order of the hosts when executing the delayed actions.

[1]: 15827512e1

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-06-01 21:20:19 +01:00
Mihaela Stoica
5291c3aa7d Merge pull request #1613 from minli1/feature/Asianux-Turbo-Linux-support/master
req-398/req-440: ICON support for Asianux Linux and Turbo Linux.
2017-06-01 14:30:25 +01:00
Mihaela Stoica
dce68b58c9 CA-242134: Remove Host.IsXCP extension (#1618)
* CA-242134: Remove Host.IsXCP extension

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>

* CA-242134: Remove Host.IsXCP extension

- retain the host.license_params condition

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-31 16:58:52 +01:00
Mihaela Stoica
cf1f630486 Merge pull request #1619 from xenserver/management-on-vlan
REQ-42 feature merge
2017-05-31 15:23:28 +01:00
Gabor Apati-Nagy
f1a20c279e Merge pull request #1603 from MihaelaStoica/CA-253936
CA-253936: Fix proxy authentication in the XenServerHealthCheck service
2017-05-31 14:37:02 +01:00
Mihaela Stoica
bd8ac0d769 Merge pull request #1617 from geosharath/management-on-VLAN-B2B
B2B master to management-on-vlan
2017-05-31 12:02:51 +01:00
Mihaela Stoica
b3d6aefda2 Merge pull request #1615 from geosharath/management-on-vlan
Fixing spell check issues.
2017-05-31 10:21:22 +01:00
Mihaela Stoica
15d251978a Merge pull request #1614 from geosharath/CA-255015
CA-255015: Network Name for newly created vlan needs renaming from XenCenter
2017-05-31 10:08:08 +01:00
Konstantina Chremmou
af647fbf52 Merge pull request #1608 from MihaelaStoica/removeVMPP
Remove vmpp
2017-05-31 08:43:12 +01:00
minl1
c146747798 CP-21662:replace the icon for new vm template(asianux and turbo linux) in Xencenter 2017-05-31 13:19:47 +08:00
Sharath Babu
93f6ae8282 Fixing spell check issues.
Signed-off-by: Sharath Babu <Sharath.Babu@citrix.com>
2017-05-31 09:48:12 +05:30
Sharath Babu
673ccee962 CA-255015: Network Name for newly created vlan needs renaming from XenCenter
Network name will be shown as Network <NIC_ID> on VLAN <VLAN_ID>

Signed-off-by: Sharath Babu <Sharat.Babu@citrix.com>
2017-05-31 09:20:41 +05:30
Mihaela Stoica
2197b40db8 CA-242134: Remove the VMPP code: move actions into the VMSS folder
and rename the CreateVMSS file to match the action's name

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-30 15:17:20 +01:00
Mihaela Stoica
1bae482bc5 CA-242134: Remove the VMPP code: changes following code review
- removed unused methods and properties from the NewPolicyWizard class
- made the wizard pages private in the NewPolicyWizard class
- removed unused constructor from the NewPolicySnapshotTypePage class
- removed unused property from the PolicyHistory class
- removed the public properties TreeView and DataGridView from the SnapshotsPage
- removed the PolicyType from the PolicyAlert class and the constructor that is no longer used
- removed unused property from the VMSS class

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-30 15:08:01 +01:00
Konstantina Chremmou
681d4ab47b Merge pull request #1611 from MihaelaStoica/master
CA-255458: Fix the HealthCheck tests - RequestUploadTaskTests
2017-05-30 14:20:54 +01:00
Mihaela Stoica
209014dd2c Fix the HealthCheck tests - RequestUploadTaskTests
- Now that the credential receiver ignores empty credentials, this test needed to be updated to not send an empty password
- Moved initializing code in TestFixtureSetUp (and similarly tear-down code in TestFixtureTearDown) for both RequestUploadTaskTests and CredentialTests classes
- Also removed unnecessary calls to CreateNewConnection and LoadCache

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-30 13:28:09 +01:00
Gabor Apati-Nagy
96e2e0c57a Merge pull request #1610 from MihaelaStoica/CA-242134
CA-242134: Remove the OpenLicenseFileDialog class and its usage
2017-05-30 10:41:22 +01:00
Konstantina Chremmou
eb2e39a0c7 Merge pull request #1607 from MihaelaStoica/master
Fix the HealthCheck tests
2017-05-26 17:09:56 +01:00