Commit Graph

1413 Commits

Author SHA1 Message Date
Mihaela Stoica
9506a0152c CP-21178: Fix the IsVersionAvailableAsAnUpdate property
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-03-20 09:56:14 +00:00
Gabor Apati-Nagy
e97fbc8f2e CP-21178: Extend metadata on XenServerVersion
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-03-17 10:57:43 +00:00
Gabor Apati-Nagy
b24aafc58a CP-21176: Showing XC version in the new version alert
keeping consistent to the server version's text

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-03-14 17:31:32 +00:00
Gabor Apati-Nagy
d469d92357 CP-21176: Showing XC version in the new version alert
This way XC will display the name attribute of the XC-version which is expected to contain the LTSR string for LTSR version.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-03-14 17:27:04 +00:00
Gabor Apati-Nagy
04455b561b CP-21172: Support alerts for LTSR and CR XS versions at the same time
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-03-14 16:38:10 +00:00
Mihaela Stoica
802a90847a CP-21173: Show two latest XenCenter versions
- Add "latestcr" field to the XenCenterVersion class
- Change the Updates class to cope with multiple latest XenCenter versions

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-03-14 15:50:49 +00:00
Mihaela Stoica
31fc77fc3e Merge pull request #1482 from stephen-turner/CA-236692
CA-236692: XenCenter does not allow host with suspended Vms to join pool
2017-03-12 12:35:42 +00:00
Stephen Turner
24a9655988 CA-236692: XenCenter does not allow host with suspended Vms to join pool 2017-03-10 17:05:10 +00:00
Mihaela Stoica
174eb6c67f CA-230621: Disk space calculation is logged incorrectly in the XenCenter log
Only log the cleanup message if the available space is less than the required space

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-03-10 16:33:50 +00:00
Gabor Apati-Nagy
5f3d49e9da Merge pull request #1473 from letsboogey/gpu
CP-21120 - XenCenter shows MxGPU as 'passthrough' rather than model
2017-03-07 18:53:20 +00:00
Stephen Turner
e6ae98dd52 CA-137253: Make the error message more generic, because it can have various causes 2017-03-07 16:42:41 +00:00
Letsibogo Ramadi
34780b1e0a CP-21120 - XenCenter shows MxGPU as 'passthrough' rather than model 2017-03-07 16:13:53 +00:00
Gabor Apati-Nagy
c96bb94583 CA-245545: The proxy server is no longer bypassed by the check-for-updates when it shouldn't be
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-03-02 10:15:41 +00:00
Gabor Apati-Nagy
48ce1f5229 Merge pull request #1458 from MihaelaStoica/CAR-2214-to-master
Merge CAR-2214 to master
2017-02-28 15:28:22 +00:00
Mihaela Stoica
7a04e5186e Merge remote-tracking branch 'upstream/CAR-2214' into master
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>

Conflicts:
	Jenkinsfile
	XenModel/Actions/Updates/DownloadAndUnzipXenServerPatchAction.cs
	XenModel/Actions/Updates/DownloadUpdatesXmlAction.cs
2017-02-28 10:30:02 +00:00
Mihaela Stoica
33979bb1f2 CA-236104: Do not allow pre and post Ely servers to be selected at the same time when the user browsed for an iso update or supplemental pack.
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-02-27 16:45:34 +00:00
Frederico Mazzone
39c1169933 CA-244661: Improve dialog message for 407 proxy authentication error
Signed-off-by: Frederico Mazzone <frederico.mazzone@citrix.com>
2017-02-21 16:33:00 +00:00
Gabor Apati-Nagy
2de8f55e30 Merge pull request #1439 from letsboogey/funnylabelfix
CA-236150 - Funny label on status report wizard
2017-02-15 14:05:14 +00:00
Letsibogo Ramadi
10bb65d2f2 CA-236150 - Funny label on status report wizard
Changed label to a LinkLabel instead of RichTextBox. Also fixed similar bug on the healthcheck enrollment dialog.
2017-02-15 13:51:19 +00:00
Gabor Apati-Nagy
dbebd7de74 Merge pull request #1435 from kc284/master
Collect all 3rd party components in one place.
2017-02-14 12:34:44 +00:00
Stephen Turner
f3a64fc54b Merge pull request #1433 from geosharath/feature_merge
Scheduled Snapshots feature merge
2017-02-14 10:09:17 +00:00
vetrivelc
6d9273f304 L10N: Translation Changes & VMSS updates CP-20708 2017-02-14 03:27:38 +00:00
Mihaela Stoica
0ad2e19458 CA-242397: Fix format exception caused by incorrect chunk reading
Improved the ReadHttpHeaders function, by making sure that a chunk is read fully from the stream (the number of bytes read by the Stream.Read function can be less than the number of bytes requested, so we need to continue reading until the required number of bytes is read)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-02-10 12:21:59 +00:00
Mihaela Stoica
a9785f0efc Bring latest Http.cs from bindings 2017-02-10 12:19:56 +00:00
Konstantina Chremmou
a04b039870 Collected all third party libraries in one place so it's easier for developers to setup their system.
Added a help script to that purpose.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-02-09 20:27:03 +00:00
Gabor Apati-Nagy
88bc2a6367 CA-242309: Friendly names for the PVS-Accelerator status report
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-02-09 17:55:14 +00:00
Mihaela Stoica
ce48a73e6d Merge pull request #1430 from MihaelaStoica/CA-241725
CA-241725: Better FriendlyErrorName for UPDATE_APPLY_FAILED
2017-02-08 14:03:19 +00:00
Mihaela Stoica
335bffefaa Merge pull request #1431 from geosharath/CP-20545
CP-20545: [XC] Validate the usage of "scheduled snapshots" and "snapshot schedules"
2017-02-08 13:53:24 +00:00
Mihaela Stoica
58a2f6ded5 CA-241725: Better FriendlyErrorName for UPDATE_APPLY_FAILED
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-02-08 12:08:59 +00:00
Gabor Apati-Nagy
6693570b11 Merge pull request #1428 from MihaelaStoica/CA-238265
CA-238265: Add the action title to the error message displayed on the…
2017-02-08 11:47:38 +00:00
Mihaela Stoica
20dff51109 Merge pull request #1424 from GaborApatiNagy/CA-241431
CA-241431: Using standard .net WebClient to download updates.xml
2017-02-08 11:31:28 +00:00
Mihaela Stoica
21c2296410 CP-19605: Improve the performance of the CreateNewRootNode function (#1429)
* CP-19605: Improve the performance of the CreateNewRootNode function

Make GroupKey a class and override GetHashCode and Equals

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

* CP-19605: Remove debugging lines

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-02-08 09:56:13 +00:00
Sharath Babu
087be4a776 CP-20545: [XC] Validate the usage of "scheduled snapshots" and "snapshot schedules"
Signed-Off-By: Sharath Babu <sharath.babu@citrix.com>
2017-02-08 14:00:47 +05:30
Mihaela Stoica
ef331986c7 CA-238265: Add the action title to the error message displayed on the Install Update page of the patching wizard.
Also changed  ApplyPatchAction and ApplyUpdateAction to install a single update to a single host, so that the appropriate action title can be displayed if an action fails. And replaced 2 hardcoded strings with resource strings.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-02-06 13:04:07 +00:00
Mihaela Stoica
41adff4ea4 Merge pull request #1426 from geosharath/VMSS-B2B
B2B merge from master to VMSS
2017-02-06 09:26:32 +00:00
Sharath Babu
0800e361c6 Merge branch 'master' of https://github.com/xenserver/xenadmin into VMSS 2017-02-04 13:59:58 +05:30
Stephen Turner
d1b4b75258 Fix for NRE in fix for CA-214653 2017-02-03 14:57:42 +00:00
geosharath
ffc23c102e CP-20712: Add support for FalconOrGreater function in XC (#1418)
Signed-Off-by: Sharath Babu <sharath.babu@citrix.com>
2017-02-03 12:12:24 +00:00
Mihaela Stoica
f2f6afe52a Merge pull request #1422 from geosharath/CA-241847
CA-241847: [VMSS] VM Protection policies pop-up from Pool -> VM Protection policies raises XenCenter error on XS 6.1
2017-02-03 10:35:42 +00:00
Sharath Babu
5595019d47 CA-241847: [VMSS] VM Protection policies pop-up from Pool -> VM Protection policies
raises XenCenter error on XS 6.1

When Text is null error is raised by split() function, we
need to handle that case.

Signed-Off-By: Sharath Babu <sharath.babu@citrix.com>
2017-02-03 10:41:19 +05:30
Gabor Apati-Nagy
bab50d9fe9 CA-241431: Using standard .net WebClient to download updates.xml
A bit of improvement to prevent leaks

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-02-02 18:35:02 +00:00
Gabor Apati-Nagy
266197ba01 CA-241431: Fixed DownloadAndUnzipXenServerPatchAction to use proxy settings
When working on this ticket (see previous commit), I noticed that the WebClient object used in DownloadAndUnzipXenServerPatchAction did not use XenCenter's proxy settings. This commit fixes this issue. By default (with no proxy being set) the proxy variable will be null as expected.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-02-02 18:29:19 +00:00
Gabor Apati-Nagy
28fe0de0c6 CA-241431: Using standard .net WebClient to download updates.xml
Using standard .NET Framework functionality instead of the custom implementation of the HTTP stack. (To download a single file.)
Note that this .net class WebClient is already being used to download hotfixes. However, in that code the proxy is not set, I am fixing that in a new commit on the same ticket.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-02-02 18:18:54 +00:00
Sharath Babu
b984c56661 CA-241883: [VMSS] Pool Operator/Pool Admin - VMSS Policy creation raises an assertion error in XC
A wrong api was being tested against the RBAC roles. Removed
vmss.protect_now and added vmss.snapshot_now.

Signed-Of-By: Sharath Babu <sharath.babu@citrix.com>
2017-02-02 08:04:03 +05:30
Mihaela Stoica
9c77b65f24 CA-240544: Copied over the latest XenCenter bindings (#1420)
Including the friendly name for the new xapi error UPDATE_PRECHECK_FAILED_GPGKEY_NOT_IMPORTED
2017-02-01 13:37:17 +00:00
Mihaela Stoica
73293c7e4b Merge pull request #1401 from letsboogey/master
CA-239951 - Patching wizard allows selection of unreachable hosts
2017-01-30 11:02:38 +00:00
Letsibogo Ramadi
2aae7ab0f2 CA-239890 - EN: The update for PVS-Accelerator is displayed as “pvsaccelerator” on the “General” page.
Changes all update names to friendly names which are usually identical to the Name Description.
2017-01-26 10:39:06 +00:00
Sharath Babu
786b1cabcf Fixing build issues in Messages.Designer.cs
Signed-Off-by: Sharath Babu <sharath.babu@citrix.com>
2017-01-25 16:02:11 +05:30
Letsibogo Ramadi
045c405f92 CA-239951 - Patching wizard allows selection of unreachable hosts
Disabled the ability to select unreachable hosts and in addition
added a try/catch block to hide error message resulting from trying
to clean up an unreachable host.

Signed-off-by: Letsibogo Ramadi <letsibogo.ramadi@citrix.com>
2017-01-25 10:28:11 +00:00
Sharath Babu
4833565ec6 Fixing copyright check failures at build time
Signed-Off-by: Sharath Babu <sharath.babu@citrix.com>
2017-01-25 14:11:24 +05:30