Commit Graph

4319 Commits

Author SHA1 Message Date
Mihaela Stoica
c31703df3c Merge pull request #1761 from kc284/REQ-420
CP-24196: Initial implementation of switching XenCenter to use the JsonRpc backend
2017-09-19 12:55:51 +01:00
Konstantina Chremmou
673846924b Do not set API object properties that have a default value of "OpaqueRef:NULL" to null.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-14 12:48:05 +01:00
Konstantina Chremmou
915059d099 The Proxy_xxx classes should not be used outside the API bindings (in reality
these classes should have been internal).

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-14 11:52:15 +01:00
Konstantina Chremmou
4c033a6b44 CP-24196: Initial implementation of switching XenCenter to use the JsonRpc backend.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-13 17:15:11 +01:00
Konstantina Chremmou
d134317463 Simplified logging of xml-rpc requests and responses.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-13 17:15:10 +01:00
Mihaela Stoica
9ccbf35224 Merge pull request #1759 from kc284/tests
Updated tests to reflect conversion of xenobject properties to methods.
2017-09-13 17:13:24 +01:00
Konstantina Chremmou
32fd3914da Updated tests to reflect conversion of xenobject properties to methods.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-13 14:46:58 +01:00
Mihaela Stoica
cb3da7eb07 Merge pull request #1749 from kc284/methods
REQ-420 Preliminary refactoring Pt2
2017-09-11 17:05:53 +01:00
Konstantina Chremmou
37e3810d73 Removed the background worker and added an async action to retrieve the local
server time (previously on the UI  thread) and also update the message list
for each snapshot schedule. Preserve column sorting and multiple selection
when the list is rebuilt. Do not enforce minimum size on the form since it
is not resizable.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-11 13:22:12 +01:00
Konstantina Chremmou
4fba904d06 CA-265044: Moved the chevron button immediately below the info icon, so it
does not jump to the bottom of the page when the run history panel is expanded.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-07 13:10:37 +01:00
Konstantina Chremmou
d9aeeb15e5 Rewriting of the Snapshot Schedule dialog for performance optimisation.
Merged the PolicyHistory control into the dialog; removed legacy column from
the policies datagridview; put retrieval of messages on a background thread
to avoid UI freezing if there is a huge number of messages; retrieve messages
only when the VMSS collection changes and not every time the run history grid
is repopulated; sorted out button enabled state.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-07 11:02:07 +01:00
Konstantina Chremmou
1f2b550f4d Renamed controls and moved about methods in view of merging the run history controls into this dialog.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-06 13:22:29 +01:00
Konstantina Chremmou
9ce11ddf55 Renamed controls and placed them on a panel in view of merging them into the ScheduledSnapshotsDialog.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-06 13:15:47 +01:00
Konstantina Chremmou
514c33140b Converted remaining extension get and set properties of the API classes to methods
in order to prevent them from being serialised alongside the API properties.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-05 02:15:38 +01:00
Konstantina Chremmou
71301eb332 Removed the extension Properties from the VMSS class. Removed the GetVMSSAlertsAction;
it's not needed as it does not make server calls. Some more refactoring and corrections
here and there.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-04 23:07:22 +01:00
Mihaela Stoica
1425509c25 Merge pull request #1748 from kc284/methods
REQ-420: Preliminary refactoring
2017-09-04 15:45:12 +01:00
Konstantina Chremmou
ae22560ce8 Converted all extension get properties of the API classes to methods in order to
prevent them from being serialised alongside the API properties. This will also
be useful for moving the API bindings out of XenModel.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-03 03:35:30 +01:00
Konstantina Chremmou
89c14d7176 Moved multiple copies of method setting other_config keys to the parent class.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-03 03:35:23 +01:00
Konstantina Chremmou
da3cd070ee Removed VIF.RateLimited property because usage on the VIFDialog shows it is
occasionally preferable to access the qos_algorithm_type directly.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-03 03:35:23 +01:00
Konstantina Chremmou
4825b60a60 Moved UI logic from the VM extensions to the SnapshotsPage.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-03 03:35:23 +01:00
Konstantina Chremmou
85d398d067 Moved the SR.GetIcon() method to XenAdmin where it belongs.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-03 03:35:23 +01:00
Konstantina Chremmou
880d56b30f Renamed method so it's more obvious what it does.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-03 03:35:23 +01:00
Ji Jiang
d478115ec6 CA-248292: Fix btn truncation in VM storage page
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2017-08-30 13:38:53 +01:00
Stephen Turner
89f51e90a1 CA-258782 Remove thin provisioning code (#1728)
* CA-258782 Remove thin provisioning code

* Revert file that shouldn't have been touched

* Remove line that was only present for debugging
2017-08-22 16:40:08 +01:00
Mihaela Stoica
8089617eaf CP-24087: Parse the error parameters of the UPDATE_PRECHECK_FAILED_UNKNOWN_ERROR precheck failure (#1740)
When the update precheck fails with UPDATE_PRECHECK_FAILED_UNKNOWN_ERROR, we try to find the actual error in the failure's parameters (in the form of an xml string containing the error code) and display that error instead of the "unknown error".

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-08-22 16:09:47 +01:00
Mihaela Stoica
c15aa7b83c Merge pull request #1736 from kc284/master2
Moved sign script to the xenadmin repo since it is only used to sign …
2017-08-22 13:08:33 +01:00
Mihaela Stoica
67b18665f5 Merge pull request #1737 from vetrivelc/master
L10N:CA-261954,CA-261973 & CA-261977
2017-08-21 12:16:16 +01:00
Vetrivel Chinnasamy
21eff4d819 L10N:CA-261954,CA-261973 & CA-261977 2017-08-21 16:19:39 +05:30
Konstantina Chremmou
7d47742637 Moved sign script to the xenadmin repo since it is only used to sign the XenCenter dlls.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-08-20 06:05:55 +01:00
Gabor Apati-Nagy
8ff3b6c2f2 CA-260366: Adding description when signing 2017-08-18 14:15:55 +01:00
Gabor Apati-Nagy
8514ddf21e CA-261107: Metadata file osVersion is showing same value for XenCenter on different windows versions
Added app manifest to explicitly target XC to all windows versions from Vista to Windows 10 so that the Environment variables will reflect the correct Windows versions. Note that "Manifesting the .exe for Windows 8.1 or Windows 10 will not have any impact when run on previous operating systems." [1]

[1] https://msdn.microsoft.com/en-gb/library/windows/desktop/dn481241.aspx

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-08-18 13:40:36 +01:00
Gabor Apati-Nagy
8ec718d8dc Merge pull request #1732 from xenserver/GaborApatiNagy-patch-1
CA-260366: Adding description when signing
2017-08-16 17:17:50 +01:00
Gabor Apati-Nagy
d375f3a164 CA-260366: Adding description when signing
Updated dotnet-packages location
2017-08-16 17:17:40 +01:00
Gabor Apati-Nagy
5a7e6651cd CA-260304: WLB Configuration parameters can not be reset in XenCenter 7.2
Fixed the regression

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-08-15 12:20:25 +01:00
Gabor Apati-Nagy
48134dfd14 Merge pull request #1723 from xenserver/REQ-473
Merge from REQ-473
2017-08-09 10:47:01 +01:00
Ji Jiang
6bfbbc7aa8 CA-141166: Fix truncation issue on HA wizard
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2017-07-31 09:09:54 +01:00
Gabor Apati-Nagy
f4ce4fe398 Merge pull request #1715 from MihaelaStoica/CA-260365
CA-260365: Hide the build number from the General Tab for Ely and new…
2017-07-28 17:15:44 +01:00
Mihaela Stoica
5b75b5f25d CA-260365: Hide the build number from the General Tab for Ely and newer hosts (to cover the Honolulu case)
Also restrict the use of build number as an integer to pre-Ely hosts (because a Honolulu host has a non-numeric build number and XenCenter doesn't know the difference between Ely and Honolulu)
And a small update to the pool join rule to match what we have in Honolulu XenCenter (check the database schema regardless of the version)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-07-27 14:47:12 +01:00
Mihaela Stoica
2a4335231e Merge pull request #1697 from kc284/CA-257927
CA-257927: Fixed scalability issue where XenCenter froze momentarily when disconnecting from a host with a big number of alerts
2017-07-26 08:43:22 +01:00
Konstantina Chremmou
6debb9de4c CA-257927: If the list of items to be removed contains only 1 item, keep
firing the CollectionChangedEvent for a single item.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-07-26 08:11:47 +01:00
Mihaela Stoica
b783bff444 CA-260364: Pool join in XenCenter: Use homogeneity flag from other_config for Ely/Honolulu hosts (#1710)
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-07-24 15:05:14 +01:00
Konstantina Chremmou
ad7e2fa6a6 CA-257927: Changed ChangeableList.RemoveAll method to fire the CollectionChangedEvent
once for all the items to be removed, passing in their list as argument. This method,
and the method Clear calling it, are used for alerts, updates, events and connections,
hence changed the handling of the CollectionChanged event in these cases to expect
either a single item or a collection. In the case of alerts, updates and events
this means that we can rebuild the whole list instead of removing single rows which
causes the application to hang for big numbers of items.
2017-07-24 14:48:02 +01:00
Konstantina Chremmou
bfcdfd982f The event registered on the HistoryPage is ConnectionsManager.History.CollectionChanged,
not ConnectionsManager.XenConnections.CollectionChanged.
2017-07-24 14:48:02 +01:00
Letsibogo Ramadi
2fb35c8faa CA-235459 - G11n:SC: The numeric tag for “Disks” and “Network” is ove… (#1693)
* CA-235459 - G11n:SC: The numeric tag for “Disks” and “Network” is overlap on the search window.

* CA-235459 - G11n:SC: The numeric tag for “Disks” and “Network” is overlap on the search window.

- use col widths from resource file instead of hardcoded values

* CA-235459 - G11n:SC: The numeric tag for “Disks” and “Network” is overlap on the search window.

- safer implementation

Signed-off-by: Letsibogo Ramadi <letsibogo.ramadi@citrix.com>
2017-07-21 16:15:29 +01:00
Letsibogo Ramadi
c44f89bf05 CA-249823 - Accept zip files in Updates Wizard (#1667)
* CA-249823 - Accept zip files in Updates Wizard
* CA-258326 - Improve implementation of CA-248823(Accept zip files in Updates Wizard)
* Small unrelated bugfix: Stop selectFromDiskRadioButton being checked when
restoring dismissed updates.

Signed-off-by: Letsibogo Ramadi <letsibogo.ramadi@citrix.com>
2017-07-21 15:56:27 +01:00
Mihaela Stoica
c9932a49a1 Move PRODUCT_MICRO_VERSION_OVERRIDE to branding (#1706)
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-07-20 14:40:04 +01:00
Mihaela Stoica
5e2fe55771 CA-260214: Update the uuid of the RPU hotfix (#1704)
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-07-20 12:32:03 +01:00
Mihaela Stoica
2e653d7ac9 Merge pull request #1678 from vetrivelc/master
[updated with honolulu fixes in master] Translation Checkins
2017-07-20 10:37:11 +01:00
Letsibogo Ramadi
b0f5b8ebc4 CA-258021 - Change updates retrieval url (#1702)
* CA-258021 - Change updates retrieval url

Signed-off-by: Letsibogo Ramadi <letsibogo.ramadi@citrix.com>

* CA-258021 - Change updates retrieval url

- Update url in Branding.sh

Signed-off-by: Letsibogo Ramadi <letsibogo.ramadi@citrix.com>
2017-07-19 19:07:42 +01:00
vetrivelc
a9e5198c7e L10N : Translation updates and bug fixes 2017-07-19 15:09:10 +05:30