Commit Graph

4708 Commits

Author SHA1 Message Date
Mihaela Stoica
0f31a6f857
Merge pull request #1932 from xenserver/REQ-420
Merge request from REQ-420 into master
2018-02-01 12:24:27 +00:00
Konstantina Chremmou
19de8c54b5 CA-280679: Fixed issue where the TabPage plugin could not handle Ipv6 addresses.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-01-29 10:17:27 +00:00
Konstantina Chremmou
123db499f5 Merge branch 'master' into REQ-420 2018-01-25 13:38:58 +00:00
Konstantina Chremmou
4731d6fb6f Corrections as per code review.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-01-24 15:58:16 +00:00
Konstantina Chremmou
9d2bb0b1ed CA-275566: Do not switch to the JsonRpc backend when using a simulator URL.
Restored API version 2.10 in test database. Private member Session._uuid
has been removed from the SDK.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-01-24 15:58:16 +00:00
Konstantina Chremmou
d83b91a987 Removed unnecessary XenConnection constructor which was there only to be used by the tests; used an object initialiser instead.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-01-24 15:58:16 +00:00
Konstantina Chremmou
c294e6514a Moved method DbProxyIsSimulatorUrl from the dump-all file Helpers.cs to DbProxy.cs where it's more relevant.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-01-24 15:58:16 +00:00
Konstantina Chremmou
3fd3a42f71 Removed method NewSession; it's used once and only to set the credentials to their existing values thus adding unnecessary complexity.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-01-24 15:58:16 +00:00
Konstantina Chremmou
99f9a70189 Connection code simplification/update: removed CachePopulatedEventArgs class and use the newer Action delegate instead.
Also, changed the access modifiers of several members to private, because they don't need to be exposed outside the parent class.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-01-24 15:58:16 +00:00
Konstantina Chremmou
f8e39994a8 Stop throwing JsonParse exceptions in release mode.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-01-24 15:58:16 +00:00
Konstantina Chremmou
1febd6f49a Removed unused variable that broke the build. Expanded command documentation.
Some tidying up.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-01-22 10:28:27 +00:00
auron-muc
6d0c07d5d6 Some Enhancements to input stream handling in xva_verify (#1870)
* Some enhancements to input stream handling

- Open input file in read mode to allow readonly data
- Allow reading from stdin with filename "-"
- test for compressed data, use decompression if needed.

* Fixed missing reset of stream whan not gzipped

* BufferedStream not necessary
2018-01-19 14:08:06 +00:00
Mihaela Stoica
deb953a6ff CA-280287: Fix the null reference exception on the Import wizard (#1918)
* CA-280287: Fix the null reference exception on the Import wizard

- Added a check so that we don't attempting to show the license warning if the wizard is open without a preselected host/pool.
- The license warning is now updated whenever the host selection changes; plus, we are not attempting to show it if the wizard is open without a preselected host/pool.

- Also a minor refactoring in the GlobalSelectHost page to fix this issue: when the wizard is open with a pre-selected host, we pass this to the page by assigning SelectedHost property, which in turn sets the m_selectedHost. The getter for SelectedHost  resets m_selectedHost to the selected item in the host list. If the getter is used before the host list selection is updated, then the desired pre-selection is lost, because m_selectedHost is reset to null.

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

* CA-280287: Corrections following code review

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-01-19 14:05:20 +00:00
Mihaela Stoica
7e648810b8 CP-26618: Log more at INFO level when downloading an update (#1919)
* CP-26618: Log more at INFO level when downloading an update

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-01-19 13:34:20 +00:00
Mihaela Stoica
babf201d2a CA-276678: Add "Buy licenses" link in the patching wizard when the precheck fails with license restriction
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-01-19 13:11:00 +00:00
Mihaela Stoica
6cefd4d202 CA-276976: Add a new precheck in the Update Wizard
- The new "server selection" precheck is added for Inverness or greater pools and checks if all the servers in the pool are selected (if update not already applied) when applying an update that has the "enforce-homogeneity" flag set to true

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-01-12 14:34:50 +00:00
Mihaela Stoica
27979638df CA-276732: Replaced "Buy XenServer online" link
Also replaced another broken link, on GuiOldAlert

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-01-12 12:11:46 +00:00
Mihaela Stoica
01327288f7 CA-250148: Replaced XenCenter plugins link
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-01-12 12:11:46 +00:00
Mihaela Stoica
f62cc5c521 CA-279502: Added check for the server version before calling VM.get_is_default_template
This fixes the error thrown when importing templates with XenCenter 7.3 on servers earlier than 7.2

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-01-12 11:01:09 +00:00
Mihaela Stoica
018dfb8e79 Rename resource string which causes Messages.resx to become unsorted
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-01-11 12:45:37 +00:00
Mihaela Stoica
b7fea09842
Merge pull request #1910 from kc284/master
CP-26469: Added version 2.9 to the API bindings.
2018-01-10 13:05:21 +00:00
Konstantina Chremmou
43079c6e17 CP-26469: Added version 2.9 to the API bindings.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-01-10 12:57:12 +00:00
Mihaela Stoica
65156121c4
Merge pull request #1905 from xenserver/REQ-637
Merge REQ-637 into master
2018-01-08 12:14:12 +00:00
Mihaela Stoica
30ec0fa743
Merge pull request #1904 from MihaelaStoica/REQ-637
Port CP-26290 to master
2018-01-02 12:34:58 +00:00
Mihaela Stoica
13a8b26fc4 Merge release/jura/master into REQ-637
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>

# Conflicts:
#	XenModel/Utils/Helpers.cs
2017-12-19 13:12:39 +00:00
Mihaela Stoica
4d55a1c08b
Merge pull request #1899 from krizex/private/yangqi/CA-178651
CA-178651 FCoE NIC is not prevented from unplugging
2017-12-19 11:00:02 +00:00
Mihaela Stoica
d428bcb4ae
Merge pull request #1901 from MihaelaStoica/release/jura/master
CP-26290: Add new edition
2017-12-19 10:56:44 +00:00
Yang Qian
61b73aa9a8 CA-178651 FCoE NIC is not prevented from unplugging
Add api errors

Signed-off-by: Yang Qian <yang.qian@citrix.com>
2017-12-19 17:46:35 +08:00
Mihaela Stoica
ffa42c086b CP-26290: Add new edition
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-12-18 13:22:17 +00:00
Gabor Apati-Nagy
281c68edb8
Merge pull request #1900 from MihaelaStoica/release/jura/master
Added JuraOrGreater function
2017-12-18 13:15:55 +00:00
Mihaela Stoica
8ab61cf12e Added JuraOrGreater function
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-12-18 11:39:58 +00:00
Michael
035f4c234e CA-272797: Limit user to select 8 SRs at most in DR Configure dialog. (#1896)
* CA-272797: Limit user to select 8 SRs at most in DR Configure dialog.

Signed-off-by: Michael Zhao <michael.zhao@citrix.com>
2017-12-18 09:55:45 +00:00
Gabor Apati-Nagy
3a076e21c6 CP-26048: Improve the fix for CA-271775 (console tab)
Fixed typo

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-12-13 10:48:23 +00:00
Gabor Apati-Nagy
a01a4b9855 CP-26048: Improve the fix for CA-271775 (console tab)
Improved message (when using an outdated RDP client)

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-12-13 10:48:23 +00:00
Gabor Apati-Nagy
9b6806de1b CP-26048: Improve the fix for CA-271775 (console tab)
Reserved space for the warning message that is displayed if the XC machine is running an older version of the RDP control

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-12-13 10:48:23 +00:00
Mihaela Stoica
5b242f0a7d
Merge pull request #1894 from kc284/master
Updated bindings with new API version 2.10.
2017-12-11 14:25:10 +00:00
Konstantina Chremmou
4ce1388077 Updated bindings with new API version 2.10.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-12-11 13:10:03 +00:00
Gabor Apati-Nagy
a1be6bc9e1
Merge pull request #1893 from kc284/REQ-420
Added Json.NET dll in the installer. Updated README.
2017-12-08 13:49:19 +00:00
Konstantina Chremmou
69bf32394b Added Json.NET dll in the installer. Updated README.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-12-08 13:36:58 +00:00
Mihaela Stoica
66b3b5f846
Merge pull request #1892 from kc284/CA-275576
CA-275576: Renamed the zip with the unsigned files.
2017-12-07 16:09:33 +00:00
Konstantina Chremmou
d173dcd771 CA-275576: Renamed the zip with the unsigned files.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-12-07 14:39:32 +00:00
Mihaela Stoica
1e08eb2371
Merge pull request #1890 from jishengx/private/jishengx/CA-272130
CA-272130: modify truncated linklabel and text on the memory settings wizard
2017-12-07 13:53:03 +00:00
Gabor Apati-Nagy
a2a5f4eaeb
Merge pull request #1888 from michael2012z/private/fengyangz/CA-271863
CA-271863: Can not automatically resolve autostart-enabled VM in RPU.
2017-12-07 11:12:31 +00:00
Jisheng Xing
449dfe7f56 CA-272130: modify truncated linklabel and text on the memory settings wizard 2017-12-07 17:28:03 +08:00
Michael Zhao
10afdbc541 CA-271863: Update max waiting time to 5 seconds to handle extreme cases. 2017-12-07 13:03:06 +08:00
Michael
1d0a2b76a0 CA-272769: Enable user to cancel URL testing in rolling upgrade wizard. (#1882)
* CA-272769: Enable user to cancel URL testing in rolling upgrade wizard.

* CA-272769: Sort messages resource file.
2017-12-06 12:06:36 +00:00
Michael Zhao
1cf6b55368 CA-271863: Can not automatically resolve autostart-enabled VM in RPU. 2017-12-06 15:57:07 +08:00
Mihaela Stoica
a2d9993d08 Added KolkataOrGreater function
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-12-04 13:06:13 +00:00
Mihaela Stoica
c413b01feb
Merge pull request #1860 from kc284/master
Tidied up namespaces in XenCenterLib.
2017-12-04 13:01:18 +00:00
Konstantina Chremmou
3d2e4c70cd Lowered temporarily the API version in test database to unblock the build. Use the
restored Session constructor. Fixed threading issue.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-12-03 17:02:42 +00:00