Commit Graph

611 Commits

Author SHA1 Message Date
Usha Mandya
1e8e424f78 Added a new topic 'The Navigation Pane' and updated a few other topics related to Resources Pane 2014-08-15 12:35:41 +01:00
Mihaela Stoica
64970a7d13 CA-107598: Fixed the issue where XenCenter hides the "Licensing Error" popup when running in RDC
The reason for the error dialog appearing behind License Manager dialog was that we used MainWindow as parent of the Licensing Error dialog (in ShowLicensingFailureDialog method in ApplyLicenseEditionCommand)
and there were already 3 other modal dialogs displayed one on top of each other: License Manager, Apply License and Action Progress.
 Fixed by calling the ShowLicensingFailureDialog from the command, on action.Completed event (instead of action.Run) and passing the Parent as a parameter, so that we can use the correct parent when displaying the error dialog.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-08-14 14:40:24 +01:00
Stephen Turner
7e2c969aca Merge pull request #172 from xs-nanjing/CA-142429
CA-142429: The end time does not refresh when running pool audit trail report.
2014-08-14 09:18:24 +01:00
Stephen Turner
9101c4cab6 Merge branch 'xs64bit' into detailedreports 2014-08-13 15:44:24 +01:00
Stephen Turner
daef130560 Merge pull request #167 from xs-nanjing/CA-142313
CA-142313: XenCenter WLB Report "Run Reports" button should be disabled when popup.
2014-08-13 11:43:16 +01:00
Stephen Turner
bda520030d Merge pull request #169 from xs-nanjing/CA-142266
CA-142266: remove Enter at storage to avoid CSV format display problem
2014-08-13 11:42:42 +01:00
Hui Zhang
45f0e648ec CA-142429: The end time does not refresh when running pool audit trail report.
For pool audit trail report, when click "Run Report",
reset "_endTime" so that the end time will be re-retrieved.

Signed-off-by: Hui Zhang <hui.zhang@citrix.com>
2014-08-13 17:35:14 +08:00
Cheng Zhang
653d7fffa3 CA-142266: remove Enter at storage to avoid CSV format display problem
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2014-08-13 17:28:54 +08:00
Hui Zhang
628dfaba33 CA-142313: XenCenter WLB Report "Run Reports" button should be disabled when popup.
Do not enable the "Run Report" button when none of the reports is selected.

Signed-off-by: Hui Zhang <hui.zhang@citrix.com>
2014-08-13 15:10:26 +08:00
Stephen Turner
e4c6bda07a Merge pull request #166 from xs-nanjing/CA-142266
CA-142266: Resource data report feature system test findings that need to be fixed
2014-08-12 15:52:31 +01:00
Cheng Zhang
a8890cd4d2 CA-142266: Resource data report feature system test findings that need to be fixed 2014-08-12 16:22:05 +08:00
Stephen Turner
d23251b007 Merge pull request #164 from MihaelaStoica/CA-141868
CA-141868: Boot options are deleted by New VM Wizard if Installation Media page skipped - Fixed
2014-08-11 16:27:23 +01:00
Stephen Turner
6b745dc11f Merge pull request #153 from xs-nanjing/CP-9370
CP-9370:Add network type and more error message for resource list report feature
2014-08-11 16:24:18 +01:00
Mihaela Stoica
f16b63af23 Merge pull request #163 from stephen-turner/CA-141389
CA-141389 Log all GET and POST calls
2014-08-11 07:02:13 +01:00
Mihaela Stoica
5c0c12a6a5 CA-141868: Boot options are deleted by New VM Wizard if Installation Media page skipped - Fixed
- Show the page and grey out the irrelevant options (i.e. the installation media if the template has no CD drive).
- Only disable the Installation media step if the template has no installation media and we don't show the boot options (because is HVM).

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-08-08 13:24:00 +01:00
Stephen Turner
577363a3a1 CA-141389 Log all GET and POST calls 2014-08-07 16:23:06 +01:00
Gabor Apati-Nagy
66ca98571b Merge pull request #162 from stephen-turner/CA-140266
[CA-140377] [CA-140266] Fix missing and duplicate hotkeys
2014-08-07 14:34:09 +01:00
Gabor Apati-Nagy
0e613409c0 Merge pull request #161 from MihaelaStoica/CA-141870
CA-141870: Hotfix uploads to all connected servers before asking which servers you want - Fixed
2014-08-07 14:10:14 +01:00
Stephen Turner
88e7434e02 CA-140337 Add hotkeys to buttons in the new search UI 2014-08-07 13:54:00 +01:00
Stephen Turner
2834df2507 CA-140266 Changed Dismiss hotkey to &D in alerts and events tabs 2014-08-07 13:42:21 +01:00
Mihaela Stoica
b6a914b644 Merge pull request #160 from GaborApatiNagy/CA-141168-2
CA-141168: EN: Improvement: Textbox lines seem overlap in "Set Maser Pas...
2014-08-07 13:41:18 +01:00
Mihaela Stoica
113453e33d Merge pull request #158 from GaborApatiNagy/alerts
CP-9092: XenCenter work for Dom0 memory usage alert
2014-08-07 13:41:03 +01:00
Gabor Apati-Nagy
04b54b2d15 CP-9092: XenCenter work for Dom0 memory usage alert
-Fixing tab order

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2014-08-07 13:32:54 +01:00
Gabor Apati-Nagy
bf1bf99bdd CP-9092: XenCenter work for Dom0 memory usage alert
-Fixing ALERT_ALARM_DOM0_MEMORY_DEMAND_DESCRIPTION string.Format parameters

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2014-08-07 13:22:45 +01:00
Mihaela Stoica
564b65fbb5 CA-141870: Hotfix uploads to all connected servers before asking which servers you want - Fixed
Updates view: on pressing Download and Install, open the wizard at "Servers" page, select all the servers that the patch applies to, and disable all the others.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-08-07 12:52:14 +01:00
Gabor Apati-Nagy
fd9b88a2f4 CA-141168: EN: Improvement: Textbox lines seem overlap in "Set Maser Password" and "Change Master Password" dialog.
-Modified layout to avoid overlapping and dynamic movement of input fields/buttons when an error message is being displayed.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2014-08-07 12:05:59 +01:00
Cheng Zhang
f718ac0b89 CP-9370: Add network type and change error message
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2014-08-07 14:18:29 +08:00
Stephen Turner
38567ca5e8 Merge pull request #144 from xs-nanjing/CP-8868
CP-8868: Development of WLB Pool Audit Trail Report Enhancement - XenCenter Part
2014-08-06 16:51:57 +01:00
Hui Zhang
f9d9198de2 CP-8868: Development for WLB Audit Report - XenCenter Part.
Update code to address the review comments.

Signed-off-by: Hui Zhang <hui.zhang@citrix.com>
2014-08-06 20:49:09 +08:00
Cheng Zhang
f1c02cdc4e CP-9370:Add network type and more error message for resource list report feature
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2014-08-06 11:31:22 +08:00
Gabor Apati-Nagy
c57800113b CP-9092: XenCenter work for Dom0 memory usage alert
-Adding control domain memory usage alerts

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2014-08-05 21:40:26 +01:00
Mihaela Stoica
9064a5cf61 Merge pull request #154 from GaborApatiNagy/xs64bit-hotfix
CP-9090: Update RPU hotfixes in XenCenter
2014-08-05 17:28:49 +01:00
Stephen Turner
54de058ec0 Merge pull request #150 from MihaelaStoica/CA-141101
CA-141101: XenCenter filters not changeable after dismiss all - FIXED
2014-08-05 16:26:23 +01:00
Cheng Zhang
805e2b07c4 Modify License check flag for export resource data
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2014-08-05 09:45:01 +08:00
Gabor Apati-Nagy
09ea80a06f CP-9090: Update RPU hotfixes in XenCenter
-Adding source code for the following hotfixes: XS60E001, XS62E006.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2014-08-04 13:46:21 +01:00
Cheng Zhang
5eb82ae6de CP-8866:Development for Resource Statistic Feature on XenCenter 2014-08-01 11:34:37 +08:00
Gabor Apati-Nagy
fb40877d2e CA-141163: EN: Fail to show Single-Server Private network.
-Reverted changes of CA-109242 (PR-62 on GitHub)
-Network tab: now to show '<None>' instead of '-' as Link Status (for pools: when the network has no PIFs; for hosts: when the network has no PIF )

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2014-07-31 11:30:22 +01:00
Mihaela Stoica
8faf672959 CA-141101: XenCenter filters not changeable after dismiss all - FIXED
- In the Events view, offer a choice only to dismiss the visible ones instead of all
- Keep the filter buttons always enabled. This applies to all Notification views (Alerts, Updates & Events)
- Also refined the confirmation messages displayed when dismissing events

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-07-31 09:39:16 +01:00
Mihaela Stoica
8212ad6e5a Merge pull request #149 from GaborApatiNagy/xs64bit-CA-141170
CA-141170: EN: Missing Tooltip of "Filter by Location", "Refresh" and "E...
2014-07-30 13:56:57 +01:00
Gabor Apati-Nagy
c83e35802c CA-141170: EN: Missing Tooltip of "Filter by Location", "Refresh" and "Export All" in "Alerts" and "Updates" tab under "Notifications".
-Fixed by removing all the (redundant) tooltips from all the buttons in Alerts, Updates, Events view.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2014-07-30 13:32:55 +01:00
Gabor Apati-Nagy
5647664cc9 CA-141170: EN: Missing Tooltip of "Filter by Location", "Refresh" and "Export All" in "Alerts" and "Updates" tab under "Notifications".
-Fixed by removing all the (redundant) tooltips from all the buttons in Alerts, Updates, Events view.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2014-07-30 11:30:15 +01:00
Hui Zhang
826d594cca CP-8868: Development for WLB Audit Report - XenCenter Part
Enhance WLB pool audit trail report:
1). Update advance settings to control audit trail granularity.
2). Update pool audit trail report to add user and object lists for selection.
3). Display large pool audit trail report with sections.
4). Localization for Chinese version.
5). Compatibility with WLB 6.5 and 6.1 or before.

Signed-off-by: Hui Zhang <hui.zhang@citrix.com>
2014-07-30 17:10:27 +08:00
Mihaela Stoica
d8700df2f4 CA-141102: Filter by location: use checkboxes instead of icons
This applies to all Notification views (Alerts, Updates, Events)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-07-30 09:32:06 +01:00
Gabor Apati-Nagy
cabdb8e0da Merge pull request #147 from ushamandya/xs64bit
Replaced the XC workspace overview image and added a new entry to the ta...
2014-07-29 18:10:05 +01:00
Usha Mandya
4fac1392ce Replaced the XC workspace overview image and added a new entry to the table 2014-07-29 18:06:52 +01:00
Gabor Apati-Nagy
ce48ad4a70 Merge pull request #146 from MihaelaStoica/CA-140335
CA-140335: Fixed the problems with dismissing alerts
2014-07-29 14:43:54 +01:00
Gabor Apati-Nagy
e82ae7afdd Merge pull request #141 from MihaelaStoica/CA-114985
CA-114985: Fixed the issue where an empty summary page was displayed aft...
2014-07-29 13:54:35 +01:00
Gabor Apati-Nagy
d0e3042cc6 Merge pull request #140 from MihaelaStoica/CP-9153
CP-9153: Add confirmation dialog to XenCenter on use of Reclaim freed space feature
2014-07-29 11:08:39 +01:00
Mihaela Stoica
bc4a364f23 CA-140335: Fixed the problems with dismissing alerts
Changes to the DeleteAllAlertsAction:
- when the dismiss operation fails with INVALID_HANDLE we need to remove the alert from our alert list (XenCenterAlerts) and trigger the CollectionChanged event so that the alert count gets updated.
- the action title now says "Removing <n> alerts" when dismissing all/selected alerts and "Removing alert" when dismissing single alert (instead of "Removing all alerts" in all cases)
- move the initialization of Dismissing flag outside the action (see below)

This fix also includes changes so that the Dismissing flag works as intended: to be able to hide the dismissing alerts in the Alerts view immediately, rather than one by one when they were actually deleted, causing a large number of refreshes.
On dismissing alerts we do:
1. set dismissing to true for all alerts
2. rebuild alert list (this will filter out the dismissing alerts)
3. dismiss alerts - run the DismissAllAlerts action

Also, the action buttons on each row should only apply to the clicked row (not multiselect).

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-07-29 10:19:54 +01:00
Usha Mandya
1df8f299a2 Updated XenCenter Eventlog and XenCenter Alerts topics 2014-07-24 16:04:06 +01:00
Mihaela Stoica
2afbffde7a CA-114985: Fixed the issue where an empty summary page was displayed after creating Hardware HBA SR
- The problem was the Summary page was displayed before the lists of succeeded and failed actions have been populated (on the Completed event of each action).
- To fix it, we populate these lists after all the actions are completed, and on the event thread.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-07-24 12:14:40 +01:00
Mihaela Stoica
125d34f355 CP-9153: Add confirmation dialog to XenCenter on use of Reclaim freed space feature
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-07-24 09:59:54 +01:00
Gabor Apati-Nagy
79311b7546 Merge pull request #137 from MihaelaStoica/CA-136173
CA-136173: Getting several notifications for one user-level action
2014-07-22 17:42:52 +01:00
Mihaela Stoica
c58ad08894 Merge pull request #136 from GaborApatiNagy/xs64bit_CA-140636
CA-140636: Creedence XenCenter threw an unexpected error (build 87029)
2014-07-22 17:04:48 +01:00
Gabor Apati-Nagy
a5b0731e8f Merge pull request #139 from MihaelaStoica/xs64bit
PhysicalStoragePage: In the sr_PropertyChanged event handler we need to ...
2014-07-22 17:02:27 +01:00
Gabor Apati-Nagy
41228753dd Merge pull request #138 from MihaelaStoica/CA-140336
CA-140336: Hide the Windows menu item at all times
2014-07-22 16:37:48 +01:00
Mihaela Stoica
9772a4a97b PhysicalStoragePage: In the sr_PropertyChanged event handler we need to invoke the refresh function on the UI thread, to avoid cross thread operation exception.
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-07-22 13:31:35 +01:00
Mihaela Stoica
7ab3243980 CA-140336: Hide the Windows menu item at all times
- cannot remove completely because of the plugin specification, but it is not be visible even if they were plugins trying to use it

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-07-22 13:20:21 +01:00
Mihaela Stoica
c6a7f17ec4 CA-136173: Getting several notifications for one user-level action (e.g. Updating network operation creates 4 entries in the Notifications/Events view)
-  Suppress history for sub-actions in the Edit tags command

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-07-21 11:47:14 +01:00
Mihaela Stoica
cb7dcc81f4 CA-136173: Getting several notifications for one user-level action (e.g. Updating network operation creates 4 entries in the Notifications/Events view)
- Set the pool details in the action to allow proper filtering by location on the Events page
- Also, when possible, set the Host property: when setting the SR in the action, we also set the Host to SR.Home

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-07-21 11:40:26 +01:00
Mihaela Stoica
3c051654d6 CA-136173: Getting several notifications for one user-level action (e.g. Updating network operation creates 4 entries in the Notifications/Events view)
-  Suppress reporting of success and failure for sub-actions:
The suppress history flag is set when the action is created and if is false (by default) the action is added to the history (the Events list).
In order to suppress history for the subactions, we need change all actions used in Edit pages so their constructor can set the SuppressHistory flag and then use these constructors with suppressHistory = true on all the implementations of IEditPage.SaveSettings() where an action is created
(then we need to remember to do the same everytime we introduce a new page and / or "save" action).

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-07-21 11:19:04 +01:00
Gabor Apati-Nagy
f137d19ffe CA-140636: Creedence XenCenter threw an unexpected error (build 87029)
-According to the call stack this is the place where the exception can come.  Although I was not able to reproduce the exception, this fix solves a possible argument (index) out of range exception. With this check, point merging is not going to be done if it would be unnecessary anyway when there were an empty list to be merged (count==0).

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2014-07-17 19:16:56 +01:00
Gabor Apati-Nagy
71d956a40f Merge pull request #135 from MihaelaStoica/xs64bit
CP-8120 Cores-per-socket: When building the topology list ignore the max...
2014-07-17 15:08:59 +01:00
Gabor Apati-Nagy
613bb22809 Merge pull request #134 from MihaelaStoica/CA-138293
CA-138293: Added vCPUs_max to the VM General tab (shown only if is diffe...
2014-07-17 13:01:22 +01:00
Gabor Apati-Nagy
4e9327d1af Merge pull request #130 from MihaelaStoica/CA-138822
CA-138822: Improvements to the Host/Pool Storage tab, following on from ...
2014-07-17 12:47:00 +01:00
Mihaela Stoica
8c6f9eebc1 CP-8120 Cores-per-socket: When building the topology list ignore the maximum number of cores-per-socket (i.e. number of cores per socket on the underlying server) if this is zero, for example because the socket information is not available on 6.1 servers.
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-07-17 12:46:59 +01:00
Gabor Apati-Nagy
ea1b6e0f67 CA-140265: EN: New VM wizard still stay at “Template” with enable Copy host BIOS strings to VM.
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2014-07-16 18:13:18 +01:00
Mihaela Stoica
202f1b8e97 CA-138293: Added vCPUs_max to the VM General tab (shown only if is different than VCPUs_at_startup) 2014-07-16 14:55:22 +01:00
Mihaela Stoica
7d50b22e94 CA-138822: Improvements to the Host/Pool Storage tab, following on from the TRIM work
- Show tooltip on "Reclaim freed space" button on multiselect

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-07-16 14:24:49 +01:00
Gabor Apati-Nagy
46dd32362c Merge pull request #127 from MihaelaStoica/CA-108379
CA-108379: Hotfix prechecks encourage VMs to be suspended unnecessarily ...
2014-07-15 15:06:43 +01:00
Mihaela Stoica
da87dd2fe2 CA-108379: Hotfix prechecks encourage VMs to be suspended unnecessarily if HA is enabled - Fixed
- Added the "host not live" check and warning to the StorageLink status check

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-07-15 15:04:18 +01:00
Gabor Apati-Nagy
64a51020ec Merge pull request #126 from MihaelaStoica/CA-138293
CA-138293: Added CPU information (number of vCPUs and cores-per-socket) ...
2014-07-15 14:49:57 +01:00
Gabor Apati-Nagy
5826395f00 Merge pull request #123 from MihaelaStoica/CA-138822
CA-138822: Improvements to the Host/Pool Storage tab, following on from ...
2014-07-15 14:42:38 +01:00
Gabor Apati-Nagy
fcb40b6c2a Merge pull request #122 from MihaelaStoica/CA-118423
CA-118423: Fix the issue where a non-management bond was shown as discon...
2014-07-15 14:01:49 +01:00
Gabor Apati-Nagy
29fa59e1f9 Merge pull request #119 from MihaelaStoica/CA-139888
CA-139888: Changing window size should not change the number of items mi...
2014-07-15 13:50:54 +01:00
Gabor Apati-Nagy
72e88af867 CA-137047: StorageXenMotion not offering all hosts in drop down menu
+1 change after code review

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2014-07-14 18:02:48 +01:00
Gabor Apati-Nagy
b78cb5d8fe CA-137047: StorageXenMotion not offering all hosts in drop down menu
Some changes after code review

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2014-07-14 17:53:34 +01:00
Gabor Apati-Nagy
134f621db9 CA-137047: StorageXenMotion not offering all hosts in drop down menu
-Fixed Home server's commands to try to use both versions of migration when deciding to enable or disable the menu item

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2014-07-14 17:53:20 +01:00
Mihaela Stoica
80348d854e CA-108379: Hotfix prechecks encourage VMs to be suspended unnecessarily if HA is enabled - Fixed
- Added three Warning classes (HAEnabledWarning, WLBEnabledWarning, HostNotLiveWarning), used in the Pre-checks page of the Install wizard (also in the Rolling Pool Upgrade wizard) to indicate that a check was skipped and the reason why.
- If HA or WLB is on, we show this as an error in the "HA and WLB status" check and the "VM migration status" checks will be skipped (with a warning displayed) for all the hosts in the pool.
- Similarly, if a host if unreachable, we show this as an error in the "Host liveness status" check and the following checks for that host will be skipped (and warning displayed).

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-07-14 16:00:43 +01:00
Mihaela Stoica
963f21b074 CA-138293: Added CPU information (number of vCPUs and cores-per-socket) to the VM General tab
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-07-14 15:17:47 +01:00
Mihaela Stoica
005cb8e709 CA-138822: Improvements to the Host/Pool Storage tab, following on from the TRIM work
- Make "Reclaim freed space" a CommandButton (will appear as disabled if the command cannot execute)
- Add tooltip to "Reclaim freed space" button to show the reason it is disabled
- Hide "Reclaim freed space" button on old servers
- Allow multiselect
- "Reclaim freed space" button enabled if at least one SR can be trimmed

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-07-11 12:24:58 +01:00
Gabor Apati-Nagy
205ffe16d9 CA-116005: validation of the SN mask doesn't appear to be working correctly on the last two values of the mask.
-New IPv4 subnet mask validator added.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2014-07-11 11:41:38 +01:00
Mihaela Stoica
aaa31357fa CA-118423: Fix the issue where a non-management bond was shown as disconnected in XenCenter because the NICs tab was not refreshed when the properties of the new bond changed.
- Register a PIF CollectionChanged event, so the page is refreshed when a bond is added / deleted.
- Register the PIF PropertyChanged event to each PIF when the grid is populated; this ensures that all the PIFs displayed will be refreshed when their properties change.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-07-10 15:41:33 +01:00
Mihaela Stoica
58b240bcde CA-139888: Changing window size should not change the number of items minimized in Outlook-style navigation panel
This fixes the following problem:
When the main window is resized, we set the minimum width of the right side panel (Panel2MinSize) to half the size of the window so that the tab contents are visible. This is fine on most situations, but on a higher screen resolution (e.g. 1920x1080) the following problem occurs:
- starting with the main window at minimum size, when the window is maximized, the Panel2MinSize is set to half window's size (e.g. 960)
- when the main window is restored back to the minimum size, the split container is not resized because there is a conflict between Panel2MinSize and the size of the window itself (Panel1MinSize + Panel2MinSize > window's width)
- therefore the navigation panel is not visible and also the content of the tab control may appear out of scale.

To fix this, we set the Panel2MinSize to half of the window's minimum width. This way the right side panel will always fit in the window, including when it is restored to minimum size.
This also fixes [CA-137956] - Restoring Maximised XenCenter does not resize the main panel properly.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-07-10 12:04:32 +01:00
Mihaela Stoica
eeb86b7956 CA-139588: Try to prevent Index was out of range exception by invoking on the event thread
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-07-09 14:55:19 +01:00
Mihaela Stoica
c51dc67cb0 CA-139888: Changing window size should not change the number of items minimized in Outlook-style navigation panel
When the navigation panel is resized, we need to preserve the height of the bottom panel, by recalculating the splitter distance.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-07-08 12:54:03 +01:00
Gabor Apati-Nagy
c36d8dd645 Merge pull request #110 from MihaelaStoica/CA-138928
CA-138928: Added "reclaim freed space" option to the main menu
2014-07-04 14:11:59 +01:00
Gabor Apati-Nagy
077cf39366 Merge pull request #111 from MihaelaStoica/CA-137470
CA-137470: Fixed unhandled exception raised by pressing space key on gri...
2014-07-04 14:11:36 +01:00
Mihaela Stoica
042f7f2927 CA-138928: Added "reclaim freed space" option to the main menu
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-07-04 13:36:41 +01:00
Mihaela Stoica
8e19193a2a CA-137470: Fixed unhandled exception raised by pressing space key on gridview of License Manager.
- Added a 'refresh grid' parameter to UpdateRow() which indicates if a sort and refresh of the grid is necessary.
- A sort and refresh is not needed when the user selects a server by pressing the space key or by mouse, but it is needed when the information displayed has changed, for example when the license has changed.
- Also solved a possible null reference exception in CheckableDataGridViewController.ReplaceStoredRow(), by returning -1 if the index is not within the rows range.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-07-04 11:10:46 +01:00
Gabor Apati-Nagy
bdf097bc51 Merge pull request #108 from MihaelaStoica/xs64bit
Added HelpID for File System usage alert
2014-07-02 13:19:44 +01:00
Gabor Apati-Nagy
cf0ab55bfd Merge pull request #102 from MihaelaStoica/CA-136783
CA-136783: Fixed the errors in the Updates window, where clicking "Go to Web Page" opens a wrong link
2014-07-02 13:18:29 +01:00
Mihaela Stoica
7d348fca5e CA-136783: Changed the log level from error to debug for some of the logged messages.
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-07-02 13:13:37 +01:00
Mihaela Stoica
b5450f3888 Added HelpID for File System usage alert
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-07-02 12:10:34 +01:00
Gabor Apati-Nagy
f3ce457510 Merge pull request #103 from MihaelaStoica/CA-137308
CA-137308: Checkpoint doesn't disappear follow deletion when switching t...
2014-07-01 16:24:54 +01:00
Stephen Turner
73b38569d5 Merge pull request #101 from MihaelaStoica/CA-108676
CA-108676:  Put the Heartbeat and event.next sessions on their own ConnectionGroups
2014-07-01 11:40:32 +01:00
Stephen Turner
4292169435 Merge pull request #99 from MihaelaStoica/CA-115742
CA-115742: VM name and description change not allowed via XenCenter for ...
2014-07-01 11:35:25 +01:00
Gabor Apati-Nagy
ec35a2519f Merge pull request #104 from ushamandya/xs64bit
CP-5436: Modified the 'Updates' section and removed Licensing topics for...
2014-06-30 17:38:46 +01:00
Usha Mandya
2946d811e5 CP-5436: Modified the 'Updates' section and removed Licensing topics for Tech Preview 2014-06-30 17:24:47 +01:00
Mihaela Stoica
4755200d98 CA-137308: Checkpoint doesn't disappear follow deletion when switching to logs mode - FIXED
Force an update of the selected tab when switching back from Notification view, as some tabs ignore the update events when not visible (e.g. Snapshots, HA)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-06-30 16:38:48 +01:00