Commit Graph

2885 Commits

Author SHA1 Message Date
Mihaela Stoica
5157b1f933 Merge pull request #1085 from Frezzle/CP-16936_new
CP-16936: Implement GUI for viewing the PVS farms and PVS servers (read-only)
2016-07-26 21:37:22 +01:00
Frezzle
4a20405ef5 [CP-16936] Implement GUI for viewing the PVS farms and PVS servers (read-only)
Actually use new string resource to set the pvs farm dialog's title!

Signed-off-by: Frezzle <frederico.mazzone@citrix.com>
2016-07-26 17:21:29 +01:00
Frezzle
d0a4f9cb81 [CP-16936] Implement GUI for viewing the PVS farms and PVS servers (read-only)
Removed unused properties.
Added new string resource to set the pvs farm dialog's title.
Extended XenAPI's PVS_farm class to override Name property to allow for simpler sorting code.
Removed embedded icon in resource file; dialog now inherits the application's icon.

Signed-off-by: Frezzle <frederico.mazzone@citrix.com>
2016-07-26 15:19:18 +01:00
Frezzle
e6dfddb98c [CP-16936] Implement GUI for viewing the PVS farms and PVS servers (read-only)
Added event handlers for changes made to PVS server; it may end up calling Rebuild() twice but that's not a problem.

Signed-off-by: Frezzle <frederico.mazzone@citrix.com>
2016-07-26 11:31:00 +01:00
Frezzle
6c7df810f3 [CP-16936] Implement GUI for viewing the PVS farms and PVS servers (read-only)
Added new dialog for viewing PVS farms and servers.

Signed-off-by: Frezzle <frederico.mazzone@citrix.com>
2016-07-25 15:26:08 +01:00
Frezzle
a39564e97b Merge pull request #1068 from MihaelaStoica/CAR-2184
CP-16921: Add new PVS tab
2016-07-21 13:46:22 +01:00
Mihaela Stoica
5d6867dab0 CP-16921: Add new PVS tab
- Changes following code review
- Made PVS tab localizable and added Chinese and Japanese resources

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-07-21 11:47:42 +01:00
Mihaela Stoica
f2b21975aa CP-16921: Add new PVS tab
- tab visible on pool or standalone server if the feature is not restricted and the pools has at least one farm

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-07-13 13:36:49 +01:00
Mihaela Stoica
9b7e413d1c Merge pull request #1067 from xenserver/master
Merge master into CAR-2184
2016-07-11 17:06:36 +01:00
Konstantina Chremmou
ea60eaa24e Merge pull request #1065 from xenserver/CAR-2217
Request to merge CAR-2217 into master
2016-07-11 14:11:00 +01:00
Konstantina Chremmou
1ac350164c Merge pull request #1064 from MihaelaStoica/CP-16921
CP-16921: Update XenCenter bindings
2016-07-11 14:10:20 +01:00
Mihaela Stoica
9521c73bfc CP-16921: Update XenCenter bindings
Reverted the changes to the XenObjectDownloader class

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-07-11 13:49:59 +01:00
Frezzle
84b587235e Merge pull request #1053 from kc284/master
Some refactoring and small issues fixed.
2016-07-11 11:43:57 +01:00
Mihaela Stoica
783b3b5ff1 CP-16921: Update XenCenter bindings
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-07-11 10:17:17 +01:00
Frezzle
35f8c3ec2f CA-214953: Multiple connection dialogs while attempting to connect (#1060)
* [CA-214953] Multiple connection dialogs while attempting to connect

ConnectingToServerDialog now keeps track of the dialogs for each connection and focuses on them if they already exist, instead of creating new ones.

Signed-off-by: Frezzle <frederico.mazzone@citrix.com>

* [CA-214953] Multiple connection dialogs while attempting to connect

Moved code to handle open connection dialogs to XenConnectionUI, instead of being done inside ConnectingToServerDialog.
Only one error message appears now upon connection failure.
If connection dialog was minimized, and user double-clicks again to connect, it now returns to normal state on the screen as well as taking focus.

Signed-off-by: Frezzle <frederico.mazzone@citrix.com>
2016-07-08 16:24:19 +01:00
Mihaela Stoica
21fe02922f Merge pull request #1048 from cheng-z/CA-213045
CA-213045: Make server backup file name rebrandable
2016-07-08 16:16:46 +01:00
Mihaela Stoica
4ea4ea8d0b Merge pull request #1061 from kc284/car-2217
Do not show the CVM's own name on its console, but rather a description including the host's name.
2016-07-08 13:36:08 +01:00
Konstantina Chremmou
f63ca812f3 When the host name changes, the teal label of the docked CVM console should change too.
Also, fixed bug where the title of the server's undocked console was truncated to
the server's name when the latter changed.
2016-07-08 13:15:15 +01:00
Mihaela Stoica
28c8ee7565 Merge pull request #1058 from Frezzle/CA-107357
CA-107357: Migrate VM Wizard allows selection of broken SRs
2016-07-08 10:34:40 +01:00
Konstantina Chremmou
7528cefce4 Do not show the CVM's own name on its console, but rather a description including the host's name. 2016-07-08 09:19:39 +01:00
Frezzle
54a2ba7ac4 [CA-107357] Migrate VM Wizard allows selection of broken SRs
Detached SRs are no longer selectable.

Signed-off-by: Frezzle <frederico.mazzone@citrix.com>
2016-07-07 14:57:20 +01:00
Mihaela Stoica
605511908c Merge pull request #1054 from kc284/car-2217
CP-17756: use new field Host.control_domain to find dom0
2016-07-06 11:48:42 +01:00
Konstantina Chremmou
336681fc6a Fixed regression introduced in previous commit. Also, the MultipleDvdIsoList on the
VMstorage page uses the default colours of the controls, hence we only need to set
them on the VNCTabView and the linklabel does not need to be public.
2016-07-06 08:55:28 +01:00
Konstantina Chremmou
e1462e34db Ignore line endings for all files (except shell scripts). 2016-07-05 08:14:47 +01:00
Konstantina Chremmou
094e4c4c4f CP-18028: For hosts with more than one control domain (dom0 and cvm at the moment) add an extra tab to display the console of the cvm. 2016-07-05 08:14:13 +01:00
Konstantina Chremmou
8991a257d2 Removed some unnecessary methods; changed visibility for controls that don't need to be public. 2016-07-04 23:05:51 +01:00
Konstantina Chremmou
8de55cb90c Merge pull request #1051 from kallisti5/master
Case sensitivity fixes
2016-07-04 13:30:30 +01:00
Konstantina Chremmou
04ffdbadc5 CP-17756: Do not use the field VM.is_control_domain to find the console for the
host as it applies to other control domains too. Use the new Host.control_domain
field instead. Minor refactoring.
2016-07-04 13:22:08 +01:00
Konstantina Chremmou
56265bbfd6 CP-17756: The dom0 VM is found now using the new field Host.control_domain as
there can be more than one control domains. For older hosts return the control
domain with domid 0. Renamed property.
2016-07-04 13:21:52 +01:00
Konstantina Chremmou
94df31b878 Removed call of virtual member in the constructors. 2016-07-04 08:22:35 +01:00
Cheng Zhang
a682811ed5 CA-213045: Rework on comments to change string format
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-07-04 09:11:10 +08:00
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
f1b7aadc88 Fixed issue where the error message was not displayed if connection to the host console was not possible.
Refactored to hide/show error controls instead of adding/removing them. Removed duplicate null check.
Do not use a second list to track active VM consoles.
2016-07-03 17:45:49 +01:00
Konstantina Chremmou
8a8bdc21e6 Tidied up the ConsolePanel; moved designer code to the corresponding file and removed setting of virtual field from the constructor. 2016-07-01 17:47:41 +01:00
Konstantina Chremmou
7d618d9e79 Merge pull request #1049 from MihaelaStoica/CA-116547
CA-116547: During Installation of Hotfix requiring restart of PV gues…
2016-07-01 09:16:29 +01:00
Konstantina Chremmou
051afb48c2 Merge pull request #1012 from MihaelaStoica/CA-209502
CA-209502: Exception while deleting multiple folders
2016-07-01 09:04:48 +01:00
Alexander von Gluck IV
47c65d4bcc XenAdmin/Resources: More image path case fixes 2016-06-30 23:01:52 -05:00
Alexander von Gluck IV
4d0097ce9c XenAdmin/TabPages: Case fix on WlbPage files 2016-06-30 22:51:27 -05:00
Alexander von Gluck IV
4cf4c4c33f XenAdmin/Resources: Fix case of images paths 2016-06-30 22:42:58 -05:00
Mihaela Stoica
bcc120f0b2 CA-209502: FolderAction refactoring
- created subclasses for each folder action type (create, rename, delete, move)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-06-30 15:41:46 +01:00
Mihaela Stoica
60c298d9e3 CA-116547: During Installation of Hotfix requiring restart of PV guests displays Dom0 in the list of VMs to be rebooted in XenCenter.
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-06-30 12:32:41 +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
1370508f45 Merge pull request #1045 from kc284/car-2217
CP-17689: Restrict maximum host failures to tolerate to the number sp…
2016-06-30 11:41:26 +01:00
Cheng Zhang
76f7946ec4 CA-213045: Make server backup file name rebrandable
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-06-30 10:31:10 +08:00
Konstantina Chremmou
d35c162e76 CP-17689: Restrict maximum host failures to tolerate to the number specified by the other-config:hci-limit-fault-tolerance field. 2016-06-29 12:57:29 +01:00
Mihaela Stoica
97feb30fbf Merge pull request #1041 from kc284/CAR-2217-other
CP-17866: Grey out the "Move" button on the VM storage tab if the storage does not allow mirroring.
2016-06-28 13:22:30 +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
Mihaela Stoica
3c23840603 Merge pull request #1038 from kc284/car-2217
CP-17470: Warn users if they attempt rebooting or shutting down a host running a...
2016-06-27 11:05:56 +01:00