Commit Graph

2827 Commits

Author SHA1 Message Date
Konstantina Chremmou
f320dd7881 Renamed control because Resharper was complaining about ambiguous references in
the resx files between this and homonymous control in two derived classes. Removed
reference of non-existent file from XenAdmin.csproj.
2016-07-03 19:45:40 +01:00
Konstantina Chremmou
975fe4f303 While researching the places where we use is_control_domain, I refactored some issues I noticed and were quick to fix:
- removed unnecessary casts
- no need to catch exception only to rethrow it; do not interrupt the call stack by using "throw ex"
- redundant check and value setting
2016-06-30 12:23:49 +01:00
Mihaela Stoica
20cb3b4df1 Merge pull request #1042 from kc284/master
Latest API bindings, including definition of dundee-plus release...
2016-06-28 13:09:36 +01:00
Konstantina Chremmou
db79326ab1 Merge pull request #1025 from MihaelaStoica/CA-212147
CA-212147: RPU failing with insufficient license error when host lice…
2016-06-27 11:37:46 +01:00
Konstantina Chremmou
6012af79bd Copied over the latest XenCenter bindings (which also define the dundee plus release). 2016-06-27 11:30:33 +01:00
Konstantina Chremmou
fd3393049c Code simplification: use Action delegate instead of EventHandler since the event is not sending any objects when triggered. 2016-06-27 10:20:23 +01:00
Gabor Apati-Nagy
d18a70f6f1 Merge pull request #1040 from MihaelaStoica/CA-213414
CA-213414: Check feature-flag for ssl-legacy control switch
2016-06-27 10:13:46 +01:00
Mihaela Stoica
05059c6f52 CA-213414: Check feature-flag for ssl-legacy control switch
- For Dundee and newer hosts: the feature is restricted only if the "restrict_ssl_legacy_switch" flag exists and it is set to true
- For pre-Dundee hosts: the feature is restricted if the "restrict_ssl_legacy_switch" is absent or it is present and set to true

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-06-24 13:16:40 +01:00
Konstantina Chremmou
7e926f64a3 Rebooted myself. 2016-06-23 21:27:41 +01:00
Frezzle
7faf4fad1d Merge pull request #1032 from MihaelaStoica/CP-17161
CP-17161: Add 'using' statement around dialogs to ensure garbage collection
2016-06-23 15:52:32 +01:00
Mihaela Stoica
e87505e13d CP-17161: Add 'using' statement around dialogs to ensure garbage collection
- fix a dialog return check changed by accident

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-06-23 15:47:15 +01:00
Frezzle
07a62a703d CA-211369: focus of the machine/console switching back to the vm post snapshot with disk and memory is performed incorrectly/misleading (#1019)
[CA-211369] Console switching when snapshot completes

ConsolePanel.setCurrentSource() being called in ConsolePanel.Snapshot() was causing the console view to switch to the target snapshotted VM's console, but only if the user is already on a console tab. The screenshot now happens before the snapshot begins, instead of after; this way, the screenshot always occurs when not on the console tab.

Signed-off-by: Frederico Mazzone <fredericom@citrite.net>
2016-06-22 16:27:14 +01:00
Mihaela Stoica
57f359561a Merge pull request #1023 from Frezzle/CA-207306
[CA-207306] Select box is not in line with pGPU bar on GPU tab of host
2016-06-20 16:37:43 +01:00
Mihaela Stoica
62870544c6 CP-17161: Add 'using' statement around dialogs to ensure garbage collection
- fix UpsellDialog usages

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-06-20 13:26:52 +01:00
Mihaela Stoica
da9e99b1cb CP-17161: Add 'using' statement around dialogs to ensure garbage collection
- fix ActionProgressDialog usages

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-06-20 13:17:42 +01:00
Mihaela Stoica
3f25c5868f CP-17161: Add 'using' statement around dialogs to ensure garbage collection
- fix all ThreeButtonDialog usages (and some other dialogs that I've came across)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-06-20 10:49:12 +01:00
Gabor Apati-Nagy
f3adede2a7 Merge pull request #1024 from MihaelaStoica/CA-213236
CA-213236: Wrong license edition reported at pool level
2016-06-14 15:39:32 +01:00
Mihaela Stoica
5fb71ad2c2 Merge pull request #1022 from GaborApatiNagy/master_CA-213232
CA-213232: Helpers.OEMName(Host host) can throw NullReferenceException
2016-06-14 13:50:32 +01:00
Mihaela Stoica
72cffa03e3 CA-212147: RPU failing with insufficient license error when host license removed
If the license does not allow VM migration, then cause the VMs to be shut down / suspended on the pre-checks page

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-06-14 13:38:12 +01:00
Mihaela Stoica
9d3dd539af CA-213236: Wrong license edition reported at pool level
Fix the order in the Edition enumeration

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-06-14 13:27:43 +01:00
Frederico Mazzone
acf39533fe [CA-207306] Select box is not in line with pGPU bar on GPU tab of host
The last pGPU's row was stretching to the bottom, causing the lowest select box to fill its space and go down too much.
Changed the select boxs' dock style and margin.

Signed-off-by: Frederico Mazzone <fredericom@citrite.net>
2016-06-13 15:16:31 +01:00
Gabor Apati-Nagy
e5146db172 CA-213232: Helpers.OEMName(Host host) can throw NullReferenceException
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-06-13 13:12:19 +01:00
Gabor Apati-Nagy
d04cccea85 Merge pull request #1017 from MihaelaStoica/CA-212905
CA-212905: Fix dialog size
2016-06-13 11:14:26 +01:00
Gabor Apati-Nagy
6d45497d62 Merge pull request #1018 from MihaelaStoica/CA-213034
CA-213034: Replace word "XenMotion" in the New SR wizard
2016-06-13 11:13:45 +01:00
Mihaela Stoica
a31a0b8f0a CA-213034: Replace word "XenMotion" in the New SR wizard
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-06-10 14:37:49 +01:00
Mihaela Stoica
996f84c97f CA-212905: Fix dialog size
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-06-10 11:25:38 +01:00
Mihaela Stoica
a89ba4a91e Merge pull request #1013 from kc284/master
CA-212078: Do not check for CPU compatibility feature when the VM's r…
2016-06-08 12:59:26 +01:00
Mihaela Stoica
fcee4d8876 CA-77990: Report required actions for all VMs at once in the hotfix wizard / RPUW (#951)
* CA-77990: Report required actions for all VMs at once in the hotfix wizard / RPUW

* CA-77990: Resolve precheck problems in parallel in the Patching wizard

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

* CA-77990: Resolve precheck problems in parallel in the Patching wizard

Changes following code review: Made the ParallelAction work across connections and removed CrossConnectionParallelAction

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

* CA-77990: Modified ParallelAction to create queue on RunSubActions only, with the correct queue size

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-06-07 17:40:59 +01:00
Konstantina Chremmou
42f76bfa23 CA-212078: Correction as per code review to guard against the case when the VM is not resident on any host. 2016-06-07 12:27:54 +01:00
Konstantina Chremmou
5b19081d61 CA-212078: Do not check for CPU compatibility feature when the VM's resident host is not dundee or greater. 2016-06-07 09:30:37 +01:00
Mihaela Stoica
41f749e941 Merge pull request #1011 from fillzero/master
CA-150197: Improvement: No confirmation message before delete wlb scheduler
2016-06-06 13:38:29 +01:00
Liang Dai
2a874bbf40 CA-150197:EN: Improvement: No confirmation message to ask if certain to delete Scheduler
Signed-off-by: Liang Dai <liang.dai1@citrix.com>
2016-06-06 15:55:40 +08:00
Mihaela Stoica
f449d4e583 Merge pull request #1010 from GaborApatiNagy/master_CA-187187
CA-187187: Enable AD on pool failing when one of the hosts have failed
2016-06-03 10:55:16 +01:00
Liang Dai
fd5c7773f5 CA-150197:EN: Improvement: No confirmation message to ask if certain to delete Scheduler
Signed-off-by: Liang Dai <liang.dai1@citrix.com>
2016-06-03 14:19:59 +08:00
Gabor Apati-Nagy
5b37c036d8 CA-187187: Enable AD on pool failing when one of the hosts have failed
Calling disable as best effort. (We always call disable AD before enabling AD -  CA-48122)

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-06-02 15:09:01 +01:00
Mihaela Stoica
00a57808cc Merge pull request #1009 from GaborApatiNagy/master_CA-209290
CA-209290: "Virtualization state" label displayed twice on General Tab of newly created VM
2016-06-02 13:46:17 +01:00
Gabor Apati-Nagy
725beacd4b CA-209290: "Virtualization state" label displayed twice on General Tab of newly created VM
Fixed duplicated headers.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-06-02 12:03:26 +01:00
Gabor Apati-Nagy
81ec2af86b Merge pull request #1003 from MihaelaStoica/CA-208829
CA-208829: Unexpected error if connection lost while health check dia…
2016-06-01 14:01:47 +01:00
Mihaela Stoica
82a274571b Merge pull request #1002 from GaborApatiNagy/master_CA-208707
CA-208707: [SCTX-2316] XenCenter Incorrect pop-up error message displayed if SSL secure channel cannot be created
2016-06-01 14:00:50 +01:00
Mihaela Stoica
2b993a4a9c Merge pull request #1007 from Frezzle/vdi-attach-exception
CA-211418: Exception in XenCenter while attaching vdi to a VM on a p…
2016-06-01 13:46:58 +01:00
Frederico Mazzone
b21d87e6e6 [CA-211418] Exception in XenCenter while attaching vdi to a VM on a pool with an SR with 20,000 VDIs
Added back the event handler removal in BuildList function, as it can run more than once.

Signed-off-by: Frederico Mazzone <fredericom@citrite.net>
2016-05-31 11:23:31 +01:00
Frederico Mazzone
b401a11e76 [CA-211418] Exception in XenCenter while attaching vdi to a VM on a pool with an SR with 20,000 VDIs
All event handlers are now unsubscribed when AttachDiskDialog is closed, allowing its memory to be garbage collected.
Image for each VDI now references an existing image instead of creating a new object.

Signed-off-by: Frederico Mazzone <fredericom@citrite.net>
2016-05-25 16:37:31 +01:00
Gabor Apati-Nagy
76a709b11c Merge pull request #1001 from MihaelaStoica/CA-211417
CA-211417: Remove WLB.chm
2016-05-24 11:01:07 +01:00
Mihaela Stoica
67e4e2113f CA-208829: Unexpected error if connection lost while health check dialog open
- Invoke on the main thread

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-05-23 14:11:03 +01:00
Gabor Apati-Nagy
9d2a204bb7 CA-208707: [SCTX-2316] XenCenter Incorrect pop-up error message displayed if SSL secure channel cannot be created
My commit fixes the error message so the dialog will show "Could not create SSL/TLS secure channel." instead of "An unknown error occurred". This text is localised.
Unfortunately we see only a WebException with Status=SecureChannelFailure with no other details - couldn't provide an improved error message

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-05-23 12:48:01 +01:00
Mihaela Stoica
0527164425 CA-211417: Remove WLB.chm
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-05-23 11:42:33 +01:00
Mihaela Stoica
f2e1f166ec Merge pull request #1000 from Frezzle/ad-awareness
CP-17415: XC: Add awareness of new AD feature flag
2016-05-23 11:30:52 +01:00
Frederico Mazzone
797f9e1283 [CP-17415] XC: Add awareness of new AD feature flag
Added Chinese tranlations to AD upsell tab.

Signed-off-by: Frederico Mazzone <fredericom@citrite.net>
2016-05-23 10:36:33 +01:00
Mihaela Stoica
6919a50c95 Merge pull request #999 from Frezzle/ad-awareness
CP-17415: XC: Add awareness of new AD feature flag
2016-05-20 14:53:08 +01:00
Frederico Mazzone
8954c2e038 [CP-17415] XC: Add awareness of new AD feature flag
Added AD-related strings to japanese and chinese resource files; still need translation.
Changed F1/Help mapping of the AD upsell tab to go to the 'Managing Users' help page.

Signed-off-by: Frederico Mazzone <fredericom@citrite.net>
2016-05-20 14:30:39 +01:00