Commit Graph

3746 Commits

Author SHA1 Message Date
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
Mihaela Stoica
4f70a0a2c8 Merge pull request #1437 from GaborApatiNagy/CA-227631
CA-227631: License Manager doesn't respond immediately to disconnected host
2017-02-10 16:43:33 +00:00
Gabor Apati-Nagy
b8b8e846f5 CA-227631: License Manager doesn't respond immediately to disconnected host
Fixed the bug that caused a disconnected host to appear as if it was still connected in the License Manager. After this commit, if a host get disconnected in the background its row will be disabled and will be unselectable.

(Note that when the connection resumes, the user will still have to click on a different row to have the disabled state (and the buttons) fixed, but that is a Won't fix bug (CA-115261) that I couldn't fix right now.)

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-02-10 15:55:09 +00:00
Mihaela Stoica
83cdffc226 Merge pull request #1434 from GaborApatiNagy/CA-242309
CA-242309: Friendly names for the PVS-Accelerator status report
2017-02-10 10:18:52 +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
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
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
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
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
Gabor Apati-Nagy
01cebc9166 Merge pull request #1404 from MihaelaStoica/CP-19607
CP-19607: Make sure that event handlers are unregistered when controls are not visible
2017-02-01 13:53:14 +00:00
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
ce8cdce0a4 CA-236844: XenCenter throws "Assertion failed" error when toggling be… (#1419)
* CA-236844: XenCenter throws "Assertion failed" error when toggling between the RDP and VNC consoles

Couldn't reproduce it, but it looks like the assertion is hit because the console view still holds a subscription to an event from an old vnc stream (maybe not garbage collected yet).
Added code to deregister event handlers when the vcnStream is disconnected and also replaced the the assertion with an if statement, ignoring the case that might have caused the assertion failure.

* CA-236844: XenCenter throws "Assertion failed" error when toggling between the RDP and VNC consoles

Added a Debug assert and a null check.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-02-01 12:55:00 +00:00
Mihaela Stoica
430b9e87ed CP-19607: More event handlers that needed to be deregistered 2017-01-31 14:35:59 +00:00
Konstantina Chremmou
dbd60f1365 Merge pull request #1413 from rasebo/master
Jenkinsfile: add authentication and fix GString readFile issue.
2017-01-30 11:30:55 +00:00
Razvan Botez
e7d631a8fb Jenkinsfile: add authentication and fix GString readFile issue. 2017-01-30 11:24:21 +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
Mihaela Stoica
8d4913aa0d Merge pull request #1412 from kc284/master
Moved checking out of branding specifics to the Jenkinsfile. Removed …
2017-01-30 10:58:52 +00:00
Konstantina Chremmou
b7a35b9778 Moved checking out of branding specifics to the Jenkinsfile. Removed non applicable switch.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-01-30 09:54:19 +00:00
Mihaela Stoica
e008fc95dd Merge pull request #1410 from ushamandya/master
Fixed a tag issue
2017-01-27 12:39:02 +00:00
Usha Mandya
2bcf798678 Fixed a tag issue 2017-01-27 12:34:54 +00:00
Letsibogo Ramadi
3a4e3e8235 CA-237968 - Unfriendly error 'method name that you used is host.call_extension' while applying Ely hotfix on partially upgraded pool 2017-01-26 17:03:23 +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
Konstantina Chremmou
c4a9bf8c47 Merge pull request #1408 from xenserver/CAR-2205
Merging CAR-2205 into master
2017-01-25 23:45:50 +00:00
Mihaela Stoica
88fb405465 Merge pull request #1403 from kc284/CAR-2205
Testing code for alternative brandings; optional script for setting u…
2017-01-25 13:14:31 +00:00
Mihaela Stoica
c35eae23be CP-19607: Unregister event handlers when the tab pages are hidden
Implemented a generic mechanism to allow tab pages to unregister their event handlers when they are hidden (when a tab page gets deselected)
Also changed VMStoragePage to derive from BaseTabPage, so it could use the same mechanism.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-01-25 12:38:33 +00:00
Mihaela Stoica
80e60abf7c CP-19607: Make sure that event handlers are unregistered when the SrPicker control is disposed
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-01-25 12:15:59 +00:00
Konstantina Chremmou
d28b384b75 Testing code for alternative brandings; optional script for setting up environment.
Remove hardcoded repo location.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-01-25 11:42:22 +00:00
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
Mihaela Stoica
36a146a2c8 Merge pull request #1399 from kc284/CAR-2205
Merging master into CAR-2205
2017-01-24 14:16:22 +00:00
Konstantina Chremmou
83d92aa573 Merge remote-tracking branch 'upstream/master' into CAR-2205
# Conflicts:
#	Branding/branding.sh
#	mk/archive-unsigned.sh
#	mk/build.sh
#	mk/bumpBuildNumber.sh
#	mk/copy-build-output.sh
#	mk/declarations.sh
#	mk/tests-checks-cover.sh
#	mk/tests-checks.sh
2017-01-24 13:54:42 +00:00
Gabor Apati-Nagy
a6502acb8f Merge pull request #1393 from MihaelaStoica/CA-238901
CA-238901: PVS proxy not setup for imported VM
2017-01-24 12:16:21 +00:00
Mihaela Stoica
02c228ca85 Merge pull request #1390 from GaborApatiNagy/master_CA-238993
CA-238993: Fixed: forever growing updates list while new or updated metadata was not shown
2017-01-24 09:54:25 +00:00
Mihaela Stoica
8f4cebb70e Merge pull request #1395 from kc284/CAR-2205
Pass the Jenkins node as a parameter. Corrected the upload path. Rena…
2017-01-24 09:32:43 +00:00
Mihaela Stoica
b14cc05968 Merge pull request #1397 from letsboogey/master
CA-236114 - Wrong update is installed when two different updates are …
2017-01-23 12:51:03 +00:00
Letsibogo Ramadi
cdfdacd88f CA-236114 - Wrong update is installed when two different updates are uploaded in the same instance of the wizard
Signed-off-by: Letsibogo Ramadi <letsibogo.ramadi@citrix.com>
2017-01-23 12:36:47 +00:00
Mihaela Stoica
c20cf1b34f Merge pull request #1396 from ushamandya/master
CP-20468: XC Help for Revised Management Agent updates
2017-01-23 12:14:02 +00:00
Usha Mandya
7859badc54 CP-20468: XC Help for Revised Management Agent updates 2017-01-23 12:02:14 +00:00
Konstantina Chremmou
f81648da63 Pass the Jenkins node as a parameter. Corrected the upload path. Renamed parameter.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-01-23 08:54:31 +00:00
Gabor Apati-Nagy
d85cc824b5 Merge pull request #1392 from letsboogey/master
Ca-238273 - Install Update Wizard: Update still shows up in the grid …
2017-01-20 17:01:26 +00:00
Mihaela Stoica
74885674c3 CA-238901: PVS proxy not setup for imported VM
For ElyOrGreater hosts, we try move the existing VIFs to the desired networks. We will only destroy and create new ones for older hosts or when a corresponding VIF cannot be found in the network mapping.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-01-20 12:54:13 +00:00
Letsibogo Ramadi
8f48c99b2d Ca-238273 - Install Update Wizard: Update still shows up in the grid after it's been installed
Signed-off-by: Letsibogo Ramadi <letsibogo.ramadi@citrix.com>
2017-01-20 11:35:25 +00:00
Gabor Apati-Nagy
974aa0293c CA-238993: Fixed the issue of forever growing updates list while new or updated metadata was not shown
These lists were continuously growing on each refresh, because the Where
clauses returned all items as the predicate was always evaluated to
true. The reason is: A. Even IEquatable<XenServerPatch> is
implemented on XenServerPatch, it only compares uuids. B. XenServerVersion
(also XenCenterversion) does not implement Equals (always different as the
Action returns new objects).

The two bugs these caused are: A] forever growing list of versions causing
obsolete data to be kept while everything is added to the end of the list
additionally. B] Any previously added Patch will not be updated unless the uuid has been changed (this never changes).

Fix in this commit: On each refresh, taking the new lists as they are
(from the Action) and not trying to keep or modify existing items. GC will do the rest with the old list (and objects)

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-01-19 18:33:30 +00:00
Mihaela Stoica
4fd1d0877c Merge pull request #1386 from kc284/CAR-2205
Build overhaul: build XenCenter using a Jenkinsfile.
2017-01-19 15:51:49 +00:00
Konstantina Chremmou
67f5b78c15 CP-20149: Reverted removal of lines as per code review.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-01-19 15:26:27 +00:00