Commit Graph

446 Commits

Author SHA1 Message Date
Mihaela Stoica
059e0f77b5 CP-12316: Ability for a XenCenter user show whether a guest is HVM or PV
Added this information on the VM's general tab, and it could be one of the following:
- Operating mode: Paravirtualized (PV)
- Operating mode: Fully virtualized (HVM)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-06-09 12:34:13 +01:00
Gabor Apati-Nagy
3cd02c9a0f Merge pull request #469 from MihaelaStoica/CA-170028
CA-170028: [SCTX-2069] Base mirror disk should not be visible in XenCenter
2015-05-19 16:40:59 +01:00
Gabor Apati-Nagy
598356fe86 CA-147164: Filter by status doesn't notice changes of status
Fixed the bug by subscribing to events of all actions and not only to the
ones that are displayed in the grid.
Besides this, the visibility of the row is being used instead of removing and
re-adding rows on status changes.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-05-19 15:36:56 +01:00
Mihaela Stoica
4ae2d67dbe CA-170028: [SCTX-2069] Base mirror disk should not be visible in XenCenter 2015-05-18 15:52:13 +01:00
Gabor Apati-Nagy
aefed11165 Revert "CA-149867: Invoke on MainWindow instead of various controls"
This reverts commit 92f0499911.
2015-04-16 14:17:02 +01:00
Gabor Apati-Nagy
92f0499911 CA-149867: Invoke on MainWindow instead of various controls
We observed that some threads can reach deadlock-ish state after they have Invoked into a control's UI thread. When it happens they are all in a waiting for join or in sleep state for very long time, although there should not be any deadlock situations.
It seems this has something to do with multiple parent controls and with which control we invoked on. This should not make a difference, because we have got one UI thread (for MainWindow) they should wait for, but we have seen it does.

The solution that fixed this issue was to invoke on the MainWindow instead of various controls (see a4fe507adf ).

This changeset is changing all our Invokes to invoke into MainWindow
instead of a control itself. (MainWindow's UI thread is the only UI thread
all Control is using in XenCenter)
This changeset should be in place until we have found the root cause or the exact reason for the above.
2015-04-08 15:16:10 +01:00
Gabor Apati-Nagy
93132ebbaa CA-165712: Show the GPU tab when GPU is licensed, even when there are no supported GPUs
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-03-31 17:26:37 +01:00
Mihaela Stoica
272886b3fc CA-162989: Change section title in VM General tab to "Docker Information"
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-03-19 17:08:50 +00:00
Stephen Turner
a6f6b775fd CA-163782: Read the read-caching reason from the server 2015-03-16 19:54:55 +00:00
Gabor Apati-Nagy
764e4f8ceb fixing typo in a comment, fixing build 2015-03-09 20:02:07 +00:00
Mihaela Stoica
0d20906346 Merge pull request #364 from GaborApatiNagy/CA-162989
CA-162989: Container Management GUI usability/homogeneity fixes
2015-03-09 16:13:11 +00:00
Mihaela Stoica
fd29a1b53c CA-162992: Better display of container network port mapping information on General tab; changes following code review
- do not add the Ports entry if it is empty

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-03-09 15:43:49 +00:00
Mihaela Stoica
5a9560d2a2 CA-162992: Better display of container network port mapping information on General tab
- Show ports as: Address: 0.0.0.0; Public port: 8088; Private port: 8088; Protocol: tcp (multiple lines if more than one set)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-03-06 11:43:47 +00:00
Gabor Apati-Nagy
497afabcef CA-162989: Container Management GUI use-ability/homogeneity fixes
Implemented changes as follows (copied from ticket):
"I'd suggest the following use-ability/homogeneity fixes for the new container management tabs, if they are quick and easy:

    Combine "Docker Version" and "Docker Information" on the VM-General-tab into "Container Management - Docker Status" with the following fields only:
        API version
        Version
        Git Commit
        Driver
        Index Server Address
        Execution Driver
        IPv4 Forwarding
    In the "Processes" tab, change the name from "Docker Processes" to "Container Processes"
    In the "Details" tab, change the name from "Docker Detail" to "Container Details"
    In the "Details" tab, drop the top level element "docker_inspect" (XML requires a single root-node, afaik the Windows form treenode does not), or alternatively open the root node by default and rename it to "Inspect Result"
    In the "Details" tab, add the "Details"-headline in black on white - just like on the "Processes"-tab

Also, on the container's General tab, show Properties button disabled, instead on hiding it (to be consistent to other cases, e.g. disconnected servers)
"

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-03-05 19:10:54 +00:00
Mihaela Stoica
740bbf133e CA-161097: Renamed Container member to Docker container to fix build failures
This fixes the build errors:
- error CS0108: Warning as Error: 'XenAdmin.TabPages.DockerDetailsPage.Container' hides inherited member 'System.ComponentModel.Component.Container'.
- error CS0108: Warning as Error: 'XenAdmin.TabPages.DockerProcessPage.Container' hides inherited member 'System.ComponentModel.Component.Container'.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-26 09:45:43 +00:00
Gabor Apati-Nagy
29b7342597 Merge pull request #339 from MihaelaStoica/CA-161097
CA-161097: Pause the automatic refresh on Container processes page when the page is not visible
2015-02-25 15:15:54 +00:00
Mihaela Stoica
1c562bcb9a CA-161097: Change IXenObject to DockerContainer in container Details and Processes page
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-25 15:08:59 +00:00
Mihaela Stoica
08d4b6e306 CA-161097: Changes following code review
- Disable the Refresh button while a refresh is in progress.
- Introduced ExecuteContainerPluginAction - an action that stores the container it was called for, so that on completion we can decide whether to update the view or not (if the container displayed has changed, then we shouldn't update the view with the results from a previously selected container).

These changes apply to container Processes and Details tabs.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-25 12:44:03 +00:00
Mihaela Stoica
049d899f2d CA-161097: Rename some variables 2015-02-25 12:24:39 +00:00
Mihaela Stoica
5a4f537347 CA-161097: Changed Refresh button caption (removed ellipsis)
- also made Refresh buttons the same size on Details and Processes page and changed Details tab caption from "Detail" to "Details"

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-23 16:58:34 +00:00
Mihaela Stoica
fecde2e3be CP-10772: Display the read caching status in XenCenter
- Show a “Read Caching” section on the General Tab of a VM when the VM is running on a Cream or greater host
- When the Read Caching is enabled, the “Read Caching” section will contain two entries: Status and Disks (list of disks with RC enabled)
- When the Read Caching is disabled, the “Read Caching” section will contain two entries: Status and Reason

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-19 14:09:08 +00:00
Mihaela Stoica
4e29c8dbb8 CA-161097: Pause the automatic refresh on Container processes page when the page is not visible
- Instead of calling the plugin on the UI thread, we call it through an action that we execute asynchronously  and on completion update the UI.
- Pause the refresh timer on leaving the page and resume it when entering the page again.
- We do this for both Processes and Details page.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-18 09:50:55 +00:00
Mihaela Stoica
39abfc1902 Merge branch 'CP-10925' of https://github.com/cheng--zhang/xenadmin into cheng--zhang-CP-10925
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>

Conflicts:
	XenModel/Messages.Designer.cs
2015-02-17 10:27:58 +00:00
Cheng Zhang
d488860045 CP-10925: Add Docker-specific information
1.Add Docker information in General Tab
2.Add Docker version in General Tab

Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-02-17 10:20:07 +08:00
Mihaela Stoica
5707f187bf Merge pull request #332 from huizh/CA-161001
CA-161001: Display Created field as DateTime on Docker General Tab.
2015-02-15 13:36:57 +00:00
Hui Zhang
1e07c96710 CA-161001: Display Created field as DateTime on Docker General Tab.
Signed-off-by: Hui Zhang <hui.zhang@citrix.com>
2015-02-15 09:32:34 +08:00
Cheng Zhang
9c0e2c60de CP-11053: Add per-container "Details"-Tab
- Showing all detailed information from a docker_inspect call
- The information refresh/polls every 20s while it's open
- Button “Refresh” add, so user can refresh the result. Also shows time when the last refresh happens.
- Add TabPageDetails as value 9903 in HelpManager.resx

Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-02-13 10:49:41 +08:00
Gabor Apati-Nagy
03e26c8bde Merge pull request #321 from MihaelaStoica/CP-10929
CP-10929: On the General tab, Update 'Properties' button visibility for ...
2015-02-12 15:10:51 +00:00
Mihaela Stoica
e3494f2d92 Merge pull request #324 from huizh/CP-11052
CP-11052: Add per-container "Processes"-Tab to XC
2015-02-12 10:53:18 +00:00
Hui Zhang
789e45f11c CP-11052: Add per-container "Processes"-Tab to XenCenter
This tab will show docker process id, command and CPU time.

Signed-off-by: Hui Zhang <hui.zhang@citrix.com>
2015-02-12 17:58:17 +08:00
Mihaela Stoica
6b61a19d4f CP-10929: On the General tab, Update 'Properties' button visibility for all object types
This fixes the following issue: when displaying the General tab of a container, the Properties button is hidden, but not made visible again when switching to another object type (e.g. VM)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-10 13:45:44 +00:00
Cheng Zhang
c1403c1a92 CP-10929: Add per-container General-Tab to XC
1.Add ports and command in DockerContainer object
2.All labels in General box are internationalized.
3.Add UUID, command, ports in General box
4.Export DockerContainer in ICache
5.Modify tab title to "Container General Properties"
6.Remove properties button

Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-02-10 11:03:59 +08:00
Gabor Apati-Nagy
fddb5a032b Merge remote-tracking branch 'creedence-docker/master' into docker
Conflicts:
	XenAdmin/Wizards/NewVMWizard/NewVMWizard.cs
	XenModel/Messages.resx
2015-02-04 16:23:20 +00:00
Mihaela Stoica
272585aa1d CP-10825: Supp Pack installation through XenCenter: Display installed supplemental packs on host's General tab
The 'Updates' section on host's General tab displays which packs have been installed onto a host, including the version number

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-01-28 13:17:58 +00:00
Stephen Turner
f756339b0e Merge pull request #293 from MihaelaStoica/CA-157501
CA-157501: Fixing inconsistent GPU dialogs in XS "Standard" when compare...
2015-01-22 17:28:23 +00:00
Mihaela Stoica
88aa3d4bb4 CA-157501: Fixing inconsistent GPU dialogs in XS "Standard" when compared with "Enterprise"
- In the case that there are two hosts in a pool, one with GPU and one without, then the one without will display a text saying "There are no GPUs on this server".

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-01-22 17:25:45 +00:00
Gabor Apati-Nagy
1cc59469a5 CA-156833: Dates in Updates pane should only be days, not times
-Changed date format to Messages.DATEFORMAT_DMY from Messages.DATEFORMAT_DMY_HM

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-01-20 18:05:21 +00:00
Mihaela Stoica
dbdd3cc02c CA-157501: Fixing inconsistent GPU dialogs in XS "Standard" when compared with "Enterprise"
New properties:
- Pool.HasGpu = Pool has at least one PGPU
- Pool.HasVGpu = Pool has at least one PGPU that HasVGpu
- PGPU.HasVGpu = PGPU has at least one supported_VGPU_type that is not pass-through

New or modified helper functions:
- Helpers.GpuCapability = GPU feature not restricted (by licensing) and Pool.HasGpu
- Helpers.VGpuCapability = vGPU feature not restricted (by licensing) and Pool.HasVGpu
- Helpers.ClearwaterSp1OrGreater = API version is 2.1 or greater

The GPU dialogs are displayed as follows:
- GPU page on VM properties dialog: Visible only if VM.CanHaveGpu and the GPU feature not restricted (by licensing)
- GPU page on New VM Wizard: Visible only if VM.CanHaveGpu and the pool has GPU capability (Helpers.GpuCapability)
- GPU page on Pool properties dialog: Visible only if the pool has vGPU capability (Helpers.VGpuCapability)
- GPU tab: Visible only if the pool has GPU capability (Helpers.GpuCapability) and is Clearwater SP1 or greater
- On the GPU tab, the "Placement policy" panel: Visible only if the pool has vGPU capability (Helpers.VGpuCapability)
- On the GPU tab, the "Edit" button on the "vGPU types" panel: Visible only if the PGPU.HasVGpu and vGPU feature not restricted (by licensing)

Also:
- VM.CanHaveVGpu function renamed to CanHaveGpu
- On the GPU tab, renamed "Allowed vGPU types" to "vGPU types
2015-01-19 16:49:47 +00:00
Gabor Apati-Nagy
d50f8a7d94 Merge branch 'master' into master_github
Conflicts:
	XenModel/Messages.resx
	XenModel/XenAPI-Extensions/Host.cs
	mk/xenadmin-build.sh
2015-01-19 15:22:59 +00:00
vetrivelc
5422c39f47 Updated the translations 2015-01-01 15:19:57 +05:30
Mihaela Stoica
1d5f972e3b Merge remote-tracking branch 'github/creedence-ln' 2014-12-16 16:27:17 +00:00
sriharshak
62c24ad2ce CA-154872: Fixed by changing the location of the string and dimensions of the table for JA and ZHCN 2014-12-15 13:08:05 +05:30
sriharshak
795efe0017 Ca-153490: Fixed by changing the size for ZHCN 2014-12-15 11:54:01 +05:30
Mihaela Stoica
13ac717a8d CA-147163: Non-modal hotfix download progress dialog
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-12-12 14:00:02 +00:00
Gabor Apati-Nagy
7ef8fc9b2c Merge branch 'master' of git://hg.uk.xensource.com/carbon/creedence/xenadmin 2014-12-10 14:11:18 +00:00
Mihaela Stoica
4b39b4f7ed CA-153178: Add General tab for Docker containers; Remove Properties command from context menu 2014-12-05 14:16:58 +00:00
sriharshak
e7ad72d997 Translation updates
Signed-off-by: sriharshak <sriharshatagore.karpurapu@citrix.com>
2014-12-02 16:10:45 +05:30
sriharshak
197ba49c2d CA-153088: Fixed by changing the dimensions for ZHCN 2014-11-28 09:57:01 +05:30
sriharshak
7fc466c306 CA-152964: Fixed by changing the size for JA and ZHCN. 2014-11-27 09:38:26 +05:30
sriharshak
cb2e9c9053 CA-149872 and CA-152873 : Fixed by adjusting the padding for ZHCN 2014-11-27 09:09:27 +05:30
Mihaela Stoica
a50451d4a7 Merge branch 'master' of ssh://hg.uk.xensource.com/carbon/cre-l/xenadmin 2014-11-26 09:54:11 +00:00
sriharshak
35c0e5a769 CA-147716: Fixed by changing the Hotkey for ZHCN 2014-11-26 14:20:59 +05:30
Mihaela Stoica
66a3755a57 Merge branch 'xs64bit' of https://github.com/xenserver/xenadmin 2014-11-25 16:56:20 +00:00
sriharshak
5001822ae3 CA-148876 CA-150934 CA-149873 Fixes 2014-11-25 10:00:02 +05:30
sriharshak
7577db460e CA-147663: Issue fixed by changing the dimensions ,location and hotkeys for JA and ZHCN 2014-11-19 12:44:28 +05:30
sriharshak
584fe58ae3 CA-147668: Issue fixed by updating the padding in ZHCN 2014-11-19 10:03:54 +05:30
sriharshak
1eac405cc1 CA-147716: Fixed by updating the HOtKeys for JA and ZHCN 2014-11-18 16:36:25 +05:30
Mihaela Stoica
9d9e7b2f24 CP-10334: XenCenter work for the new changes in licensing
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-11-14 17:29:01 +00:00
sriharshak
4b4dce6cb6 CA-149872: Fixed by adjusting the locations for JA and ZHCN 2014-11-06 15:48:05 +05:30
sriharshak
bd7428969e CA-147719: Issue fixed bu adjusting the location for ZHCN 2014-11-06 13:29:36 +05:30
sriharshak
dcc4471652 CA-147716: Fixed the issue by removing the dedundant keys for JA and ZHCN 2014-11-05 12:11:04 +05:30
sriharshak
403c5c215d CA-149874: Fixed issue by chainging the location of buttons in JA 2014-11-05 10:22:23 +05:30
sriharshak
17762b4b93 CA-147719: fixed by removing the redundant space in ZHCN. 2014-11-03 13:37:02 +05:30
Mihaela Stoica
4ee51e7ed3 CP-10178: Add link to the license server web console on General tab and License Manager
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-10-31 15:06:35 +00:00
vetrivelc
62c2065b91 Fixes: CA-150023,150019,149973,149970
Translation updates & L10N Bug Fixes
2014-10-31 18:03:20 +05:30
Mihaela Stoica
8daa3b5058 CP-10178: Add link to the license server web console on General tab
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-10-31 12:16:45 +00:00
Mihaela Stoica
89a337ee85 CA-150368: Free Clearwater or greater hosts should not display Expiry Date on the General tab
The Free license never expires and is confusing to see "Unlicensed" or "Unsupported" hosts with expiry date "Never".
Added the ability to add "hidden" entries to the General tab sections and to update their visibility when needed without regenerating the whole section.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-10-29 14:51:42 +00:00
Mihaela Stoica
218f2007e3 CP-10079: Implement new licensing requirements in XenCenter
Changes to the License Manager dialog:
- Summary panel: show smaller icons for warning and information messages
- Summary panel: show license entitlements for all Creedence hosts (not eligible for support, eligible for support, enterprise features enabled, etc)
- for free Creedence or Clearwater hosts, the license status is Free (it used to be Expired for ClearwaterOrGreater)
and the text displayed is "Unlicensed" for Creedence and "Unsupported" for Clearwater;
the warning message is "Not eligible for support" (instead of "Your support and maintenance has expired")

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-10-28 17:02:55 +00:00
Gabor Apati-Nagy
6a9dc4278e Merge pull request #248 from vetrivelc/creedence-ln
Iteration_002 translation check-ins
2014-10-14 17:49:31 +01:00
vetrivelc
6e2e1a214d Iteration_002 translation check-ins 2014-10-14 21:41:41 +05:30
Gabor Apati-Nagy
d6b428ec8c Merge pull request #247 from xenserver/xs64bit
Xs64bit
2014-10-10 16:51:44 +01:00
Mihaela Stoica
a4fe507adf CA-147941: Fixed the RPU wizard hang in "Reconnecting Storage" and connecting action stuck in progress state
In some cases calling Control.Invoke() from a background thread causes that thread to go in a "sleep, wait, or join" mode, while waiting for Invoke to happen, although the UI thread is running normally.
If the Control is the MainWindow, it works as expected, but we've seen it happening while connecting or disconnecting from a large pool, on calling Invoke on controls like NavigationView, AlertSummaryPage, HistoryPage, etc.
To fix this, we call the Invoke on the MainWindow in all the places where we've seen the issue.

With this changes, the previous fix for CA-148245 (call RequestRefreshTreeView on CacheClearing event) is not needed anymore, so I removed that call.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-10-10 13:16:50 +01:00
Gabor Apati-Nagy
7ea996f9bd CA-148374: Progress action disappears in Events on Dismiss all
-Also fixed the Dismiss Selected button

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2014-10-10 11:35:21 +01:00
Gabor Apati-Nagy
bc3c2fae15 CA-148374: Progress action disappears in Events on Dismiss all
-Added a where clause to filter out non-completed actions in this case

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2014-10-09 19:24:16 +01:00
Gabor Apati-Nagy
34644d17aa Merge pull request #237 from xenserver/xs64bit
Xs64bit
2014-10-01 17:32:33 +01:00
Stephen Turner
2b62b1c470 Merge pull request #228 from GaborApatiNagy/CA-147165
CA-147165: Filter by "location" is ambiguous
2014-09-30 15:10:55 +01:00
Gabor Apati-Nagy
6810bfaf76 CA-147165: Filter by "location" is ambiguous
-Changed the shortcut key of Filter by Server toolstrip button to "e" from "S".
2014-09-30 15:01:32 +01:00
Gabor Apati-Nagy
d64ff6ea3f Merge pull request #229 from xenserver/xs64bit
Xs64bit
2014-09-29 11:09:06 +01:00
Gabor Apati-Nagy
1fade7f748 CA-147165: Filter by "location" is ambiguous
-Changed Location to Server or Server/Pool in the views contained by the Notifications View

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2014-09-26 19:45:31 +01:00
Gabor Apati-Nagy
dcbb1b8e56 CA-147167: Null reference exception in GeneralTabPage 2014-09-25 17:49:55 +01:00
vetrivelc
2ab95c7899 CreedenceLN: Updated the language resource files
New translation checki-ns and language file additions
2014-09-18 15:03:24 +05:30
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
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
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
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
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
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
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
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
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
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
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
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
4f341aed60 CA-136783: Fixed the errors in the Updates window, where clicking "Go to Web Page" opens a wrong link
- When clicking the action button on the grid, execute the action on the item that has been clicked, instead on using the grid's selected item, which may have not been updated yet.
- On multiselect (if the multiselect is allowed for the action), if the clicked item is in the grid's selection list, then execute the action on the whole list, otherwise on the clicked item only.
- This applies to both Updates and Alerts windows.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-06-30 14:49:16 +01:00
Mihaela Stoica
1f217b9983 CP-8547: Add button in XenCenter to initiate space reclamation on an SR.
The operation applies to an SR. The button is on the Storage tab of the host/pool, and is entitled "Reclaim freed space".
It comes between the New SR and Properties buttons.
If the SR does not support TRIM , the button is invisible and the Properties button moves left to close up the gap.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-06-24 11:32:36 +01:00
Mihaela Stoica
b529869773 Merge pull request #79 from stephen-turner/CA-130368
CA-130368 Update various language and URLs
2014-06-02 11:30:29 +01:00
Stephen Turner
30a6c23379 CA-136771 CA-136767 Improve deprecation messages to be applicable to next version of XenServer 2014-05-30 11:23:35 +01:00
Stephen Turner
ad6318fd5e CA-130368 Changed 'License XenServer' to 'Purchase support' on home page at Tim's suggestion 2014-05-28 16:56:09 +01:00
Stephen Turner
9070a3ba9b CA-130368 Update various language and URLs 2014-05-28 16:22:31 +01:00
Gabor Apati-Nagy
12d1a53c44 Merge pull request #46 from Zhengchai/cp-7527
CP-7527: Restore WLB for Creedence XenCenter changes.
2014-04-30 13:25:39 +01:00
Konstantina Chremmou
8d5bc0920a CA-123737: Do not rebuild the alerts/updates/events pages unless they are visible.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-04-28 15:04:23 +01:00
zheng chai
e10125fbce CP-7527: Restore WLB for Creedence XenCenter changes.
Signed-off-by: zheng chai <zheng.chai@citrix.com>
2014-04-22 19:14:53 +08:00
Konstantina Chremmou
f5bee7102c Refactored MainWindow to derive from IMainWindow rather than implement a field deriving
from this interface.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-01-22 12:39:32 +00:00
Konstantina Chremmou
04bfd89a9d [CA-115418], [CA-123574]: Fixed issue where the Dismiss item on each alert row
was available for non-dismissible alerts. Fixed wrong enabled state of the top
ToolStripSplitbutton Dismiss on the alerts and the events page. Refactored code
calculating dismissability of alerts and dismissing them. Events list should be
multi-selectable.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-01-09 13:57:41 +00:00
Konstantina Chremmou
07e5adc306 Fixed column sizing issues on the Updates page.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-01-03 12:11:07 +00:00
Konstantina Chremmou
e28d3c912b CA-67866: Step 3 - Implemented filtering for the Updates list.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-01-03 11:27:11 +00:00
Konstantina Chremmou
a5c89e429b CA-85971: Removed method selecting control in tab by name. Retained ability only for the Name, Description and Iqn TexBox on the GeneralEditPage; in one of the other cases it didn't make a difference, in another (LogDestinationEditPage) it was causing a bug and in yet another (BootOptionsEditPage) the controls had already been renamed. Also some positioning changes.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-30 13:01:00 +00:00
Konstantina Chremmou
d6c143f875 Added method overload.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-30 10:10:21 +00:00
Konstantina Chremmou
3b25591d71 CA-85971: Removed method selecting tab by name. Made all pages of VerticallyTabbedDialog private.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-22 17:17:04 +00:00
Konstantina Chremmou
d335372575 CA-85971: Removed method selecting tab by index.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-22 15:28:00 +00:00
Konstantina Chremmou
17512a4cb1 Added null check.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-20 11:00:53 +00:00
Konstantina Chremmou
373e4c6851 CP-4960: Notify the users they have a half-upgraded pool: small improvements.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-19 12:41:07 +00:00
Konstantina Chremmou
152b320e36 CP-4960: Notify the users they have a half-upgraded pool.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-13 17:55:39 +00:00
Konstantina Chremmou
4d04ec652c Some code simplifications on the GeneralTabPage and the PDSection.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-13 17:55:24 +00:00
Konstantina Chremmou
aac732c0f0 CA-122431: Correct GPU grouping on mixed K1/K2 pools.
GPUs are now grouped by: card type (K1/K2), supported types and enabled types
# HG changeset patch
# User Mihaela Stoica <Mihaela.Stoica@citrix.com>
# Date 1385649218 0
#      Thu Nov 28 14:33:38 2013 +0000
# Node ID 43dbba1e3d6a3bc17862d13450080d014189281e
# Parent  d64f82660078ba76a4c4ceb92cef257d35759c4a

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-11 10:31:01 +00:00
Konstantina Chremmou
906033af36 PR-1675: On Server's GPU tab don't show the server label and only show the GPUs from this server
# HG changeset patch
# User Mihaela Stoica <Mihaela.Stoica@citrix.com>
# Date 1385646872 0
#      Thu Nov 28 13:54:32 2013 +0000
# Node ID d64f82660078ba76a4c4ceb92cef257d35759c4a
# Parent  a760e46de0aad332bd24db705e329f8f718a6fef

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-11 10:30:06 +00:00
Konstantina Chremmou
968aed7f14 CA-121750: Added more checks to prevent potential NullReferenceException.
# HG changeset patch
# User Mihaela Stoica <Mihaela.Stoica@citrix.com>
# Date 1385033812 0
#      Thu Nov 21 11:36:52 2013 +0000
# Node ID 196102f9e29ba724809d2c6a74b6a9187f17732a
# Parent  47ee07818c23a637d76eb911ef54c0d07825c2dd

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-11 10:25:42 +00:00
Konstantina Chremmou
bae0d9ab8f Added Copy item to the actions drop down on the Events page. Aesthetic: made the
actions split button look more like a button.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-10 11:29:31 +00:00
Konstantina Chremmou
d2cb9298cb Merge branch 'master' of git://hg.uk.xensource.com/carbon/trunk/xenadmin 2013-12-06 05:57:58 +00:00
Gabor Apati-Nagy
b8669eb8e6 Merge branch 'master' of git://hg.uk.xensource.com/carbon/trunk/xenadmin 2013-12-05 13:47:58 +00:00
Gabor Apati-Nagy
fd6d5a3452 Fixed redrawing on MemoryTab (Same problem as CA-122425: Usability - Poor refresh rate when using the scroll-bar on the GPU tab.)
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2013-12-05 13:43:55 +00:00
Konstantina Chremmou
ce20127827 CA-122558: Redesign of the updates page according to CAR-107.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-05 12:46:39 +00:00
Konstantina Chremmou
1669c4250d CP-6093: Further corrections to the enabled state of the top ToolStripButtons.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-05 10:56:11 +00:00
Konstantina Chremmou
58d0599bdc CP-6093: Filter by Location ToolStripDropDownButton: only add ShowAll item if there
are actually items to show. Button enablement on Events page.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-25 08:42:17 +00:00
Konstantina Chremmou
b2e0c858e3 CP-6093: Tidying up: moved property from Alert to XenServerPatchAlert as it only
applies to the latter. Converted methods from AlertSummaryPage to one Alert and
one String extension method so they can be used more widely. Code simplification
on the Updates page.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-23 14:04:15 +00:00
Konstantina Chremmou
649f86bc1d Unregister registered CollectionChanged event on disposal.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-23 12:01:54 +00:00
Konstantina Chremmou
22ec1d9ac5 CP-6093: Redesign of the CloseXenCenterWarningDialog to use the same controls as
the events page. This renders the old custom history controls obsolete, hence
removed them. Moved ActionBase extension methods to XenAdmin.Core namespace.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-23 11:59:49 +00:00
Konstantina Chremmou
9f0a5609ab CP-6093: Remove update alerts from the Alerts page, part 3/3: Do not add updates
to the total Alert list.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-21 15:56:24 +00:00
Konstantina Chremmou
cd0efe825d CP-6093: Remove update alerts from the Alerts page, part 2/3: Merged classes Updates
and ManualCheckForUpdates.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-21 14:27:34 +00:00
Konstantina Chremmou
361b49066c CP-6093: Anyone outside the Alert class should not know anything about the lock
used to access the alerts list. The list itself should be private as there is a
risk to access it and forgetting to use the lock.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-21 12:32:27 +00:00
Konstantina Chremmou
5b0cf92cb3 CP-6093: Removed top label and image from the Updates page. Show this info on the
progress panel instead. Some code simplification.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-21 08:30:24 +00:00
Konstantina Chremmou
ad3cfc7f98 CP-6093: Disable filter buttons on the Alert and Events pages when the lsit is empty.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-21 08:25:02 +00:00
Konstantina Chremmou
c6e58f1c4c CP-6093: Update notifications button with total number of alerts, updates and error
events. Fixed display issue when moving between the notifications and the other views.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-19 15:42:47 +00:00
Konstantina Chremmou
9917801cc3 CP-6093: Implemented "GoTo..." and "Dismiss Selected" actions on the Events page.
Preserve last selected node when switching between views. Added labelling to the
unit tests run post-build. Minor tidy.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-18 14:31:00 +00:00
Konstantina Chremmou
da5408bf21 Missing license headers.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 12:59:08 +00:00
Konstantina Chremmou
0354bd7a85 [CA-121012] Fixed: Offering GPU type with no GPUs available
# HG changeset patch
# User Gabor Apati-Nagy <Gabor.Apati-Nagy@citrix.com>
# Date 1384269857 0
#      Tue Nov 12 15:24:17 2013 +0000
# Node ID 75cc5c584b9670ad16658d459fc069b07c57a433
# Parent  6e77f45144cb01c9eba99be74ad9ffd056eeb110

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 12:34:55 +00:00
Konstantina Chremmou
efc21f74bb [CP-6900]: VGPU, PGPU, VCPU: normalise case of abbreviations
# HG changeset patch
# User Gabor Apati-Nagy <Gabor.Apati-Nagy@citrix.com>
# Date 1383920504 0
#      Fri Nov 08 14:21:44 2013 +0000
# Node ID 857858a59d27d7b1aac2d87246169cd3ffcec5b4
# Parent  1ded37405ccff8e00c2442a780e1027fa1cb87a1

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 11:58:43 +00:00
Konstantina Chremmou
a662268286 [CP-6856]: PR-1675: Visual tweaks and other final changes:
# HG changeset patch
# User Gabor Apati-Nagy <Gabor.Apati-Nagy@citrix.com>
# Date 1383736103 0
#      Wed Nov 06 11:08:23 2013 +0000
# Node ID f79a41a7c73e5555143a1f5cdf7bd3e8f27a8fba
# Parent  04c02de675af090f3171b6fbf3b21b023c645c24
GPU page:
5. put GPU page back at server level
7. Move Edit button of "Placement policy" closer to text and make the box smaller and fixed
8. Put Placement policy box within the scroll bar

VM properties dialog / New VM wizard:
9. gpu types should be shown in order 2-4-8
10. show types that are not allowed as disabled items in the combobox (instead of not showing at all)
11. increase the height of combobox (max no of items) so that all items are seen without scroll

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 11:44:05 +00:00
Konstantina Chremmou
c77fcbbbb6 CP-6085: Per-pool overview of vGPUs (PR-1675)
# HG changeset patch
# User Mihaela Stoica <Mihaela.Stoica@citrix.com>
# Date 1383126969 0
#      Wed Oct 30 09:56:09 2013 +0000
# Node ID dc93a040fbe1e9ca80e39352dc776941fd4c7802
# Parent  8af833de348d090a0126ad2f922ba7679739b654

- update only the row affected when resident_VGPUs change (on VM start / shut down)

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 11:28:43 +00:00
Konstantina Chremmou
8c89f0f04f CP-6085: Per-pool overview of vGPUs (PR-1675)
# HG changeset patch
# User Mihaela Stoica <Mihaela.Stoica@citrix.com>
# Date 1383045574 0
#      Tue Oct 29 11:19:34 2013 +0000
# Node ID 35673b51503006bbbb1e6647b1e0eb1938bd72ef
# Parent  bb05d6e143d7199359da1f555250d3a4ee126a5c

Overview tab completely redesigned and shown only on pool and standalone hosts.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 11:23:35 +00:00
Konstantina Chremmou
5171d35130 CP-6085: Per-pool overview of vGPUs (PR-1675)
# HG changeset patch
# User Mihaela Stoica <Mihaela.Stoica@citrix.com>
# Date 1381928854 -3600
#      Wed Oct 16 14:07:34 2013 +0100
# Node ID d3728527c55c8e615dc2979a4ed412a244c73299
# Parent  500886f75c7f678b98ad5fab5902a0e87d1798ea

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 11:06:50 +00:00
Konstantina Chremmou
dfa26cf0cc CP-6093: Main window control positioning and borders.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-07 15:31:13 +00:00
Konstantina Chremmou
94aa7ac531 CP-6093: Set a lcoation for the connection events. Fixed refresh problem on the
Events page location filter. Added help ids for the Notification views.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-05 14:40:16 +00:00
Konstantina Chremmou
fb74297cbb CP-6093: Updated test to reflect changes in the View menu. Ignore temporarily flaky
test. Fixed broken action cancellability.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-10-09 13:33:06 +01:00
Konstantina Chremmou
fd284e57af CP-6093: Removed mentions of the logs tab and the updates manager from XenCenter.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-10-08 14:51:39 +01:00
Konstantina Chremmou
38f03fcc5c CP-6317: Importing from branch clearwater-ln.
# HG changeset patch
# User Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
# Date 1377081773 -3600
# Node ID 583abe3dc86764b07314ae86d4feb48a89c6a7e1
# Parent  170c7cbbbaefee729774ae21a3c417205708abee
CA-92911: Remove items from right click menu and add those necessary instead of
setting their Available property to true/false because we end up with a lot of
empty space on the drop down on non-EN versions.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-26 14:41:24 +01:00
Konstantina Chremmou
af24a34960 CP-6317: Importing from branch clearwater-ln.
# HG changeset patch
# User vetrivelc <vetrivel.chinnasamy@citrix.com>
# Date 1375784114 -19800
# Node ID 871c9e41b225a3c4e70540c5b3c5cd4101b83a10
# Parent  2b2e4280a62dab1018daea93de8ef444c4753fb0
Bug Fix: 113215,112925,112768,112766

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-26 13:45:09 +01:00
Konstantina Chremmou
50892f4601 CP-6317: Importing from branch clearwater-ln.
# HG changeset patch
# User vetrivelc <vetrivel.chinnasamy@citrix.com>
# Date 1375444497 -19800
# Node ID 2b2e4280a62dab1018daea93de8ef444c4753fb0
# Parent  0bd7c8e13bdbcda6f95dfa4616c9621ee32857d5
Bug Fix: 112927,112924

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-26 13:44:11 +01:00
Konstantina Chremmou
39392e6aec CP-6317: Importing from branch clearwater-ln.
# HG changeset patch
# User vetrivelc <vetrivel.chinnasamy@citrix.com>
# Date 1375369840 -19800
# Node ID 0bd7c8e13bdbcda6f95dfa4616c9621ee32857d5
# Parent  85e97db6b94e3b8b55d1a06747a1f1b63c58277f
SC T9N Changes + Bug Fix :111776,111806,111874,111226,112233,112234

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-26 13:35:33 +01:00
Konstantina Chremmou
c6ae267fff CP-6317: Importing from branch clearwater-ln.
# HG changeset patch
# User vetrivelc <vetrivel.chinnasamy@citrix.com>
# Date 1375289918 -19800
# Node ID 85e97db6b94e3b8b55d1a06747a1f1b63c58277f
# Parent  03b31ee8090131b635555c48605138f2aa0699db
BUg Fix : 111755,111762,111776,111873,111874

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-26 13:33:45 +01:00
Konstantina Chremmou
c6a61fab3e CP-6317: Importing from branch clearwater-ln.
# HG changeset patch
# User vetrivelc <vetrivel.chinnasamy@citrix.com>
# Date 1375282731 -19800
# Node ID 9c2981e0551f4ca1b111380157de6760003b5d41
# Parent  75a7918d6b1d562204ef408b74ee695f30cbfaa1
Bug Fix

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-26 13:32:08 +01:00
Konstantina Chremmou
029b0bf53a CP-6317: Importing from branch clearwater-ln.
# HG changeset patch
# User vetrivelc <vetrivel.chinnasamy@citrix.com>
# Date 1375177700 -19800
# Node ID 75a7918d6b1d562204ef408b74ee695f30cbfaa1
# Parent  a8743cea5fe20ce335abbecb4fb78f3237bed508
Bug Fix

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-26 13:31:24 +01:00
Konstantina Chremmou
cf0ae529ec CP-6317: Importing from branch clearwater-ln.
# HG changeset patch
# User vetrivelc <vetrivel.chinnasamy@citrix.com>
# Date 1374659962 -19800
# Node ID a8743cea5fe20ce335abbecb4fb78f3237bed508
# Parent  7637337aa47ba6eb2b401ce7f7f852d398c19852
Language Build Truncation Bug fixes

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-26 13:27:55 +01:00
Konstantina Chremmou
12a15e8340 CP-6317: Importing from branch clearwater-ln.
# HG changeset patch
# User vetrivelc <vetrivel.chinnasamy@citrix.com>
# Date 1374560870 -19800
# Node ID 7637337aa47ba6eb2b401ce7f7f852d398c19852
# Parent  121eeca3e55142f22cd4b97fc4cd763d30cb3ec2
Fix for Bugs#111806,111782,111776

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-26 13:26:59 +01:00
Konstantina Chremmou
22098bb757 CP-6317: Importing from branch clearwater-ln.
# HG changeset patch
# User vetrivelc <vetrivel.chinnasamy@citrix.com>
# Date 1374503232 -19800
# Node ID 90776ba30a9e56cb3c07d32066c6a0dd0ad638de
# Parent  755b1cdd3b8340b677fd505b439710115697461f
Fix for Bugs#CA-111874,CA-111873

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-26 13:24:48 +01:00
Konstantina Chremmou
040b7b753a CP-6317: Importing from branch clearwater-ln.
# HG changeset patch
# User vetrivelc <vetrivel.chinnasamy@citrix.com>
# Date 1374146320 -19800
# Node ID a1e482150cd280292f10f7ce14666b70066da2fe
# Parent  614c77268e5ff614a7b3bb56f177d2080ffa65ad
Checking in Fix for Bug#CA-111771,CA-111762,CA-111781,CA-111782.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-26 13:18:22 +01:00
Konstantina Chremmou
2c184b3ef1 CP-6317: Importing from branch clearwater-ln.
# HG changeset patch
# User vetrivelc <vetrivel.chinnasamy@citrix.com>
# Date 1373384864 -19800
# Node ID 8604c77f3fcf5215b1ae962220cd75be01f21d4c
# Parent  4f3d46c46536366498a79ace2220051eb89b329c
Checking in Localization Changes

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-26 13:00:28 +01:00
Konstantina Chremmou
2a21608e13 CP-6094: Moved the New Search button outside the Search panel and the Default search
under the saved Searches drop down. Also minor layout tweaks and test update.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-24 15:58:53 +01:00
Konstantina Chremmou
5bd9e0a2bf CP-6094: Renamed "New Search" button to "Edit Search"; grey it out when the panel
is expanded. Removed the title "New Search" from the panel and added a "New Search"
button which blanks the search. Renamed the "Reset" button to "Default Search" as
it wasn't obvious what it was resetting to.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-20 19:21:09 +01:00
Stephen Turner
ca888b4a1f Set default graph width to 10 minutes to fix apparent lack of updates [XOP-420] 2013-09-12 16:12:02 +01:00
Konstantina Chremmou
dbf44fff21 Small modification to the way the treeview is updated when the View settings change.
Fixed some memory leaks in the wizard and dialog tests. Updated broken Searcher tests.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-11 23:12:08 +01:00
Konstantina Chremmou
787fd8cc1e CP-5751: Move logs tab to the notifications view.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-02 14:45:42 +01:00
Konstantina Chremmou
fab452946f CP-5751: Converted the Updates dialog to a user control and added it to the Notifications viw.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-30 15:19:59 +01:00
Konstantina Chremmou
e9c5804b0e CP-5751: Converted the Alerts dialog to a user control and changed slightly the
layout to make it more similar to the logs page.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-30 12:46:28 +01:00
Konstantina Chremmou
b04020dcac CP-5751: Moved the Alerts dialog and the Updates manager to the TabPages folder
(because soon they will become tab pages).

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-29 11:14:12 +01:00
Konstantina Chremmou
60bca4d1df MainWindow code tidy: removed methods constructing ToolStripMenuItems as unecessary.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-22 16:48:16 +01:00
Konstantina Chremmou
620e268a6b CP-5750: Avoid creating new ToolstripMenuItems every time an action is updated,
but choose instead which ones to display.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-19 13:17:33 +01:00
Konstantina Chremmou
7a261bb2ed CP-5750: Aesthetic: added border to the top toolstrip. Also removed unused tooltip.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-16 15:10:42 +01:00
Konstantina Chremmou
b2ddebef49 CP-5750: Updated existing LogTab tests to reflect gui changes.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-16 12:57:39 +01:00
Konstantina Chremmou
f9a9fb122c CP-5750: Separated Cancelled from Failed actions. Fixed control invoke issues.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-13 17:08:04 +01:00
Konstantina Chremmou
2a1d8893ab CP-5750: Added label to indicate when filters are on/off. Changed the order of
the items on the actions split button.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-13 11:04:08 +01:00
Konstantina Chremmou
67d15dcca5 CP-5750: Moved capping of event numbers to a more relevant place and corrected logic
to remove the oldest items first and fire an event when doing so.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-13 10:52:15 +01:00
Konstantina Chremmou
86c6950aeb CP-5750: Implemented event filtering by status, location and date.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-13 10:15:52 +01:00
Konstantina Chremmou
427ecd49ac CP-5750: Implemented ability to sort events. Set vertical scrollbars for the gridview.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-12 14:00:29 +01:00
Konstantina Chremmou
c2333b03b1 CP-5750: Initial implementation of the new Events DataGridView.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-10 12:29:36 +01:00
Konstantina Chremmou
23d10bd513 CP-5750: Do not filter the Log tab entries according to the selection on the treeview.
For the time being show all entries. New filtering according to the entry location
will be implemented in a future commit.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-09 17:20:41 +01:00
Konstantina Chremmou
16ba4699db CP-5750: Removed Clear button. Initial implementation of top ToolStrip and
DismissAll/DismissSelected split button.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-09 17:20:39 +01:00
Konstantina Chremmou
62586ef89c CP-5750: Removed ActionType; the actions should be categorised by status (in progress,
succeeded, failed; cancelled at the moment counts as failed, we may need to distinguish
in future). As a consequence the filter checkboxes from the top of the Log tab
were removed and some temporary changes were made to the drawing of action rows
(the controls will change completely in a subsequent commit).

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-09 17:20:38 +01:00
Konstantina Chremmou
38ab6b8ffa CP-5750: When a License warning is generated, create an alert rather than an Action.
Removed ActionType.Alert. Removed Alerts checkbox from the Log tab.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-09 17:20:36 +01:00
Konstantina Chremmou
077cb17deb CP-5750: Changed the declaration for the ActionBase events Completed, Changed and
NewAction to use the Action<ActionBase> delegate instead of EventHandler. Thus
there is no need to fire them with Empty or null EventArgs and on several occasions
we avoid casting objects in the event handlers.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-09 17:20:33 +01:00
Konstantina Chremmou
f3855500b4 CP-5752: Renamed default search. Use Action delegate instead of EventHandler when
there is no need to pass in parameters when the event is fired. Minor code tidy.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-03 01:04:45 +01:00
Konstantina Chremmou
f8044cde8e CP-5752: Removed the SearchOptions DropDownButton and moved the functionality of its items to separate buttons.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-03 01:04:43 +01:00
Konstantina Chremmou
1ee173d349 CP-5752: Moved ExportSearch method from the MainWindow.cs to the Search tabpage where it belongs.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-03 01:04:42 +01:00
Konstantina Chremmou
8f51089efe CP-5752: Use Action delegate instead of EventHandler when there is no need to
pass in parameters when the event is fired. Moved QueryElement.Dispose method
from the Designer.cs to the main file (it needs visibility since it contains more
code than the autogenerated method).

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-03 01:04:40 +01:00
Konstantina Chremmou
03d5053073 CP-5752: Moved Save Search functionality from the SearchOptions dropdown menu to
a Save button in the Searcher panel. Moved collapse Searcher panel functionality
from the SearchOptions dropdown menu to a Close button in the panel. Use new
Expanded property to query the state of the Searcher panel (instead of Visible).

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-03 01:04:38 +01:00
Konstantina Chremmou
014de807a3 CP-5752: Moved ShowColumns functionality from the SearchOptions dropdown menu to
a button at the top left of the search output panel.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-03 01:04:36 +01:00
Adrian Jachacy
4451d2f3e0 CA-107917: XOP-373: When rolling out a XD desktop group, SR storage tab becomes unusuable in XC.
1. Moved Dispose(bool disposing) method to SrStoragePage.cs (from SrStoragePage.Designer.cs).
2. Added private bool disposed field as suggested in review #1998.

Signed-off-by: Adrian Jachacy <Adrian.Jachacy@citrix.com>
2013-07-23 16:24:01 +01:00
Adrian Jachacy
d89d04a33d CA-76329: SR destroy option is missing from XenCenter (even SR doesn't contains any VDI and SR is detached)
1. Changed definition of IsDetached property in SR.cs: SR is detached when it has no PBDs or when all its PBDs are unplugged.
2. Added bool HasPBDs property in SR.cs (replaced previous IsDetached property definition).
3. Reviewed all usages of sr.IsDetached property.

Signed-off-by: Adrian Jachacy <Adrian.Jachacy@citrix.com>
2013-07-23 13:42:27 +01:00
Adrian Jachacy
e61b74a720 CA-107917: XOP-373: When rolling out a XD desktop group, SR storage tab becomes unusuable in XC.
Added VDIsDataGridViewBuilder class which refreshes the data grid view with new data using background worker thread.

Signed-off-by: Adrian Jachacy <Adrian.Jachacy@citrix.com>
2013-07-23 13:40:12 +01:00
Adrian Jachacy
71eea27965 CA-107917: XOP-373: When rolling out a XD desktop group, SR storage tab becomes unusuable in XC.
The logic to determine which rows have to be added/updated/removed has been moved to a separate thread. This improved the performance as the UI thread is blocked only to refresh rows in the dataGridView.

Signed-off-by: Adrian Jachacy <Adrian.Jachacy@citrix.com>
2013-07-16 15:41:55 +01:00
Adrian Jachacy
0927fd02c8 CA-107917: XOP-373: When rolling out a XD desktop group, SR storage tab becomes unusuable in XC.
Modified BuildList() method to remove and add dataGridViewRows only when needed (previously all rows were cleared and new rows were added every time BuildList method was executed).

Signed-off-by: Adrian Jachacy <Adrian.Jachacy@citrix.com>
2013-07-15 13:27:47 +01:00
Konstantina Chremmou
c65ab4b42c CP-5448: Removed tab page TagCloud.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
2013-07-02 18:31:40 +01:00
Mihaela Stoica
bd36a85bff CP-4816: Initial commit to git repo
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2013-06-24 12:41:48 +01:00