Commit Graph

3960 Commits

Author SHA1 Message Date
Gabor Apati-Nagy
0982e5d285 CA-234638: XenCenter does not retry downloading: Workaround for temporary download problems
Sleep after an error has been seen

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-12-07 14:35:39 +00:00
Gabor Apati-Nagy
5f24a4e084 CA-211363: Replace 'User name' labels with 'Username'
According to the Microsoft style guide XC to use 'username' for UI fields and use 'user name' when it's being referred to.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-12-07 11:12:58 +00:00
Konstantina Chremmou
b68e0bd731 Removed duplicate variable.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-12-07 08:59:27 +00:00
Mihaela Stoica
caf3ce7abf Merge pull request #1332 from taoyongd/master
CA-207610: Alert references license server on  host
2016-12-06 14:38:09 +00:00
Taoyong Ding
3917f9ec98 CA-207610: Alert references license server on host
Signed-off-by: Taoyong Ding <taoyong.ding@citrix.com>
2016-12-06 13:59:42 +00:00
Gabor Apati-Nagy
517b4cc45b CA-207011: Don't allow XC to create more than one SMB ISO SR on the same share
This commit uses the same logic that is used for NFS ISOs.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-12-06 11:27:53 +00:00
Konstantina Chremmou
84a349fc07 Removed branded ref repo and obsolete scripts.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-12-05 13:29:06 +00:00
Gabor Apati-Nagy
5826a87551 Merge pull request #1325 from MihaelaStoica/CA-234827
CA-234827: Destination dropdown menu content is blurred with overlapp…
2016-12-02 16:19:45 +00:00
Mihaela Stoica
1d92986aa7 CA-234827: Added check for ErroDescription.Count
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-12-02 15:47:42 +00:00
Mihaela Stoica
b5c6ded9a4 Merge pull request #1326 from sriharshak/master
L10N:Translations check-ins
2016-12-02 15:42:22 +00:00
sri harsha tagore k
821f42e1f2 L10N:Translations check-ins 2016-12-02 20:13:49 +05:30
Callum McIntyre
603e58ac49 [CP-19888] Add support for code coverage in build jobs
Add support for a new environment variable REPORT_COVERAGE, which causes the tests phase to use the new script tests-checks-cover instead of tests-checks.This new script wraps the tests-checks script, by instrumenting NCover to monitor before it runs, and writing a summary log and generating a HTML report of coverage in the workspace output directory.
2016-12-02 14:36:59 +00:00
Mihaela Stoica
765dee4fe7 CA-234827: Destination dropdown menu content is blurred with overlapping 'Action: vm.assert_can_migrate' text in Migrate VM wizard
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-12-02 13:52:32 +00:00
Konstantina Chremmou
f9997cc663 Removed references to the old build system. Alos, for the time being retrieve the
OVF fix up iso from a fixed location as this component has not changed in a while.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-12-02 11:52:12 +00:00
Konstantina Chremmou
d33832dea6 Change location where the product versions are to be found. Retrieve it from the
source repo instead of the latest build (where it is output within an rpm which
XenCenter does not really need to consume).

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-12-02 11:51:51 +00:00
Konstantina Chremmou
ea3c8be435 Do not retrieve the SDK from the latest main build output. Instead, use source
code found locally in this repo.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-12-02 11:46:57 +00:00
Gabor Apati-Nagy
b56cd8d08a Merge pull request #1321 from MihaelaStoica/CA-234628
CA-234628: Errors with no title in XenCenter
2016-12-02 09:20:40 +00:00
Gabor Apati-Nagy
83f5e3b78b Merge pull request #1322 from MihaelaStoica/CA-231500
CA-231500: XenCenter allows you to open multiple windows from change …
2016-12-02 09:18:31 +00:00
Gabor Apati-Nagy
e2e0c46fe6 CA-234638: XenCenter does not retry downloading: Workaround for temporary download problems
This change implements a lightweight retry logic for downloading updates to protect against temporary network issues.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-12-01 17:50:25 +00:00
Mihaela Stoica
a1d878725d CA-231500: XenCenter allows you to open multiple windows from change role button
Show the "Change role" dialog as modal. This way we avoid other issues, like removing the user while the "Change role" dialog is open.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-12-01 17:08:51 +00:00
Mihaela Stoica
f64923cea0 CA-234628: Errors with no title in XenCenter
Set the suppressHistory flag to true for the parallel action that we run periodically to check the Health Check analysis result

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-12-01 16:23:44 +00:00
mcintyre94
ecbf61f7c1 Merge pull request #1320 from MihaelaStoica/master
CA-233454: Fix the action test
2016-12-01 13:32:11 +00:00
Mihaela Stoica
c395a8ce14 CA-233454: Fix the action test
Added an extra parameter to the CreateVmFastAction constructor, which is used to specify whether to set the VM's property IsBeingCreated. In order to set this property, we need to wait for the newly created VM to appear in the cache. But we cannot do this in the action test, because the cache is not being updated. Therefore the action needs skip this step when running from the tests. The IsBeingCreated property is only used in the UI, to refresh the PVS tab after the VM is created, so the accuracy of the action test (CreateVMFastActionTest) is not affected by this change.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-12-01 12:09:03 +00:00
Mihaela Stoica
235b173ad4 Merge pull request #1319 from kc284/master
CA-145890: switched roaming on for the new settings.
2016-12-01 11:17:14 +00:00
Konstantina Chremmou
3e94c6c5c9 CA-145890: switched roaming on for the new settings.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-12-01 11:14:01 +00:00
Konstantina Chremmou
b5fca9364e Upgraded VNCControl project and XenCenterLib to .NET 4.6.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-12-01 10:55:54 +00:00
Mihaela Stoica
1aaa310c50 Merge pull request #1287 from kc284/master
CA-145890: added new Page to the options dialog where the user can co…
2016-12-01 09:39:22 +00:00
Konstantina Chremmou
68b11022a0 CA-145890: updated test.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-11-30 16:42:44 +00:00
Mihaela Stoica
a4480df442 Merge pull request #1315 from GaborApatiNagy/CA-229365
CA-229365: Install Update Wizard: Fixed commas in the blurb
2016-11-30 12:53:54 +00:00
mcintyre94
7f2ecb6eab [CA-233454] PVS tab doesn't show a new VM when it's created (#1314)
* [CA-233454] PVS tab doesn't show a new VM when it's created

Refined the rules for not adding a VM to the table, if it is a template (thus not_a_real_vm), and it has the __gui__ prefix (thus hidden), we still add it, but hide it.
When its name is changed (to remove the __gui__ prefix), we update its name and re-calculate whether it should be visible (in the case of a new VM this will be true once the __gui__ prefix is gone). Also resort the table if a node changes from hidden to visible, because it appears as an addition to the table.

Signed-off-by: Callum McIntyre <callumiandavid.mcintyre@citrix.com>

* [CA-233454] Update criteria for VM visibility to include is_a_real_vm

is_a_template is changed before the name_label removes the __gui__ prefix, so this works with no other changes to the vm property changed event.

Signed-off-by: Callum McIntyre <callumiandavid.mcintyre@citrix.com>

* [CA-233454] Update when the VMs are shown in the PVS list

New observable property IsBeingCreated for VMs, set to true when they're made a hidden object, and false when they're removed from hidden objects (both in CreateVMAction). In the PVS Page when this is set to false, we re-evaluate whether a VM can be shown. This means that new VMs show here at the same time they're added to the tree (only different is tree refresh time), instead of far earlier (and before their networks were added).

Signed-off-by: Callum McIntyre <callumiandavid.mcintyre@citrix.com>

* [CA-233454] Set IsbeingCreated in the CreateVMFastAction

* [CA-233454] Properly support the VM Fast Create action

Further changes to CreateVMFastAction, to ensure it works with PVS tab - use the __gui__ prefix when the VM is created and then change it back just before showing.

* [CA-233454] Small logic adjustments/tidying up
2016-11-30 12:24:02 +00:00
Konstantina Chremmou
b3c558d246 Stop creating the isos. Restructured output.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-11-30 01:35:52 +00:00
Konstantina Chremmou
3a4191bc34 Removed ref repo.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-11-29 16:04:06 +00:00
Mihaela Stoica
185e9b952b Merge pull request #1318 from kc284/vnc
Removed loose .pdb files. Package the VNCControl.msi as a tar.bz2.
2016-11-29 16:00:58 +00:00
Konstantina Chremmou
57b2a6e7ec Package the VNCControl.msi as a tar.bz2.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-11-29 14:34:45 +00:00
Konstantina Chremmou
039c052e32 Remove loose pdb files from the output as they are now packaged.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-11-29 14:31:43 +00:00
mcintyre94
dea71a0afe Merge pull request #1316 from kc284/remove-ref
Switched repo for xenadmin-branding from hg.uk to bitbucket
2016-11-28 13:02:17 +00:00
Konstantina Chremmou
0f7df22f4d Changed the location of the branding repo.
Corrected code reverting to trunk if this is not an official branch.
2016-11-28 10:57:12 +00:00
Konstantina Chremmou
c0e4babed7 Refactored duplicate check for the SKIP_TESTS variable.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-11-25 18:22:49 +00:00
Gabor Apati-Nagy
9c4628f216 CA-229365: Install Update Wizard: Fixed commas in the blurb
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-11-25 17:40:15 +00:00
Mihaela Stoica
0cdce9dfaf Merge pull request #1311 from GaborApatiNagy/master_CA-232294
CA-232294: Can't connect if an Add Server dialog has been cancelled before
2016-11-25 15:27:24 +00:00
Mihaela Stoica
ba62aa9aa2 Merge pull request #1313 from GaborApatiNagy/CA-232944
CA-232944: Displaying server name as well
2016-11-25 14:22:54 +00:00
Gabor Apati-Nagy
a71e0e9f3d CA-232944: Displaying server name as well
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-11-25 14:18:40 +00:00
Gabor Apati-Nagy
8160066d29 CA-232944: Displaying server name as well
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-11-25 10:47:40 +00:00
Mihaela Stoica
c437d10bc8 Merge pull request #1310 from mcintyre94/CA-232963
[CA-232963] XC hangs after restarting toolstack while viewing PVS tab
2016-11-24 17:17:33 +00:00
Gabor Apati-Nagy
0c07daf42d CA-232294: Can't connect if an Add Server dialog has been cancelled before
This commit is to fix the following: "when right clicking a disconnected pool the context menu gives you the option to connect, this opens a window to enter credentials. if you close this window (either by cancel or the X), next time when you right click and click connect, nothing happens. you have to restart XenCenter to connect to the pool"

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-11-24 17:01:53 +00:00
Stephen Turner
526a8372eb Merge pull request #1309 from MihaelaStoica/CP-17276
CP-17276: Out of Memory exception when XenCenter exceeds the maximum …
2016-11-24 16:59:44 +00:00
Callum McIntyre
1046cf2fb8 [CA-232963] XC hangs after restarting toolstack while viewing PVS tab
Changed the collection handlers to use ProgramInvokeHandler in the same way as other tabs, instead of Program.Invoke which caused the hang.
2016-11-24 16:51:48 +00:00
Mihaela Stoica
6f28a7bfb1 CP-17276: Out of Memory exception when XenCenter exceeds the maximum number of GDI handles
Changed the tree builder so that the tree nodes rely on the TreeView's font. If the nodes have their NodeFont != null, then a tree update causes new fonts to be generated for each node and when fonts are being created faster than they could be cleaned up, we reach the GLI handles limit of 10000 (which causes the Out of Memory exception).

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-11-24 16:35:51 +00:00
Mihaela Stoica
0c05feb8cf Merge pull request #1308 from GaborApatiNagy/master
CA-229009: VDI is not deleted for the updates
2016-11-24 10:50:28 +00:00
Gabor Apati-Nagy
5cd032525c CA-229009: VDI is not deleted for the updates
If batch updating fails in a pool, this code will do the clean up by
running the appropriate (next in the queue) RemoveUpdateFilesFromMaster action. In addition to Pool_update.clean(), Pool_update.destroy() will be called when needed.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-11-24 10:40:06 +00:00