Commit Graph

446 Commits

Author SHA1 Message Date
Frederico Mazzone
049e0f100d CA-209496: EN: Duplicate hotkey appeared on the “Updates” page of “Notifications” windows.
Changed hotkey for 'Check for Updates Now' button from Alt+U to Alt+C.

Signed-off-by: Frederico Mazzone <frederico.mazzone@citrix.com>
2016-05-03 18:09:59 +01:00
CITRITE\sriharshak
8c0623b8f2 L10N:Dundee:Translation check-ins 2016-04-20 19:16:33 +05:30
CITRITE\sriharshak
ed7c0a3b82 L10N:CA-205516 fix 2016-04-14 20:15:46 +05:30
Mihaela Stoica
cc28388726 CP-16756: Change how XenCenter decides whether to display "I/O is optimized"
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-04-08 17:10:08 +01:00
Gabor Apati-Nagy
7477c1080d Merge pull request #926 from MihaelaStoica/CA-202269
CA-202269: Hide "Subscription advantage" link on the Updates page bas…
2016-04-07 09:57:48 +01:00
Mihaela Stoica
93c22c04b0 CA-202269: Hide "Subscription advantage" link on the Updates page based on the registry key
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-04-06 07:33:18 +01:00
Mihaela Stoica
a0940ebeec CA-205181: The error message for check update truncated when the screen resolution is 1024x768
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-04-05 08:21:14 +01:00
CITRITE\sriharshak
ef8628ff92 L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
Gabor Apati-Nagy
347efe3305 Merge pull request #898 from MihaelaStoica/CA-203434
CA-203434: License Status displayed as "Not Found" on General tab
2016-03-15 15:53:58 +00:00
Mihaela Stoica
c4b7ca3514 CA-203434: License Status displayed as "Not Found" on General tab
Signed-off-by: Mihaela Stoica <Mihaela.Stoica@citrix.com>
2016-03-11 14:17:58 +00:00
Mihaela Stoica
a63fe3fd66 CA-202483: Change the Search tab title to "New Search" when a new search is created
Signed-off-by: Mihaela Stoica <Mihaela.Stoica@citrix.com>
2016-03-11 13:57:21 +00:00
Mihaela Stoica
a62726254a CA-202476: Hide Scheduled snapshots option on the Snapshots page for hosts version 6.2.0 and higher
Signed-off-by: Mihaela Stoica <Mihaela.Stoica@citrix.com>
2016-03-08 15:35:19 +00:00
Koushik Chakravarty
e13b2b7beb CAR-2146: Changed the SDK API naming terminology
Signed-off-by: Koushik Chakravarty <Koushik.Chakravarty@citrix.com>
2016-02-18 16:27:17 +05:30
Koushik Chakravarty
e11974d864 CAR-2146: Integrated new SDK changes, re-using existing VMPP Dialog
Signed-off-by: Koushik Chakravarty <Koushik.Chakravarty@citrix.com>
2016-02-18 16:27:17 +05:30
Koushik Chakravarty
cf5040e9a9 CAR-2146: SDK Integration for VMSS and Testing
Signed-off-by: Koushik Chakravarty <Koushik.Chakravarty@citrix.com>
2016-02-18 16:27:17 +05:30
Stephen Turner
6949349830 Merge pull request #845 from GaborApatiNagy/master_CP-16097
CP-16097: Hide Thin Provosioning in XenCenter
2016-02-17 13:58:20 +00:00
Gabor Apati-Nagy
0f20df0f4b CP-16097: Hide Thin Provosioning in XenCenter
Added the same comment to all the changes

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-02-17 13:14:42 +00:00
Gabor Apati-Nagy
6cf7776795 CP-16097: Hide Thin Provosioning in XenCenter
Commented code out only for easier reverting.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-02-17 11:42:19 +00:00
Stephen Turner
5a6283c5ec Merge pull request #843 from GaborApatiNagy/homepage2
CP-15402: Improvements to the new HomePage
2016-02-17 09:31:52 +00:00
Gabor Apati-Nagy
f5e833b230 CP-15402: New Home Page (html based)
Localized the url of the Home Page. Globalization team can now reference different files per localization in InvisibleMessages.resx. (Eg. HomePage.ja.mht) The file then has to be added to XenAdmin.csproj, similarly to HomePage.mht.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-02-16 15:09:06 +00:00
Gabor Apati-Nagy
977d4c0c76 Merge pull request #810 from huizh/CP-13123
CP-13123: Add two buttons on General Tab of docker container.
2016-02-16 11:25:33 +00:00
Gabor Apati-Nagy
8d7bff1b45 CP-15402: New Home Page (html based)
Changes following the code review

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-02-15 16:25:17 +00:00
Gabor Apati-Nagy
5e8c3b4f62 CP-15402: Replaced existing to a new, html-based Home Page
* Changed the installer to use the (yet) manually generated MHT file that encapsulates all the source files of the HomePage, so we don't have to have the installer to deploy every single file, so have changed the installer as well. This also makes branding easier.
* Added the license to the LegalNoticesDialog

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-02-15 15:37:21 +00:00
Gabor Apati-Nagy
8a0f4512d7 CP-15402: Replaced existing to a new, html-based Home Page
Tried to keep changes at one place while not abstracting things too much as we have don't need any complex functionality yet.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-02-15 14:01:37 +00:00
Hui Zhang
c5d9445684 CP-13124: Use SSH private key for docker guest VM authentication.
1. Specify the key file location and name.
2. Update of the file name of docker command.

Signed-off-by: Hui Zhang <hui.zhang@citrix.com>
2016-02-15 18:24:37 +08:00
Hui Zhang
784804c8d8 CP-13124: Invoke Putty, SSH to VM and run docker command.
1. Run 'docker attach' if user clicks 'View Console' button.
2. Run 'docker logs' if user clicks 'View Log' button.
3. Make IPAddressForSSH a property of VM for common usage.

Signed-off-by: Hui Zhang <hui.zhang@citrix.com>
2016-02-14 15:14:44 +08:00
Mihaela Stoica
9f99c37f83 CP-16012: Rename branding variables
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-02-10 11:52:30 +00:00
Hui Zhang
73c8bf4604 CP-13123: Add two buttons on General Tab of docker container.
1. Add "View Console" and "View Log" on general tab of docker container.
2. Grey the two buttons if the container is on Windows (Server 2016) VM.
3. Enable the two buttons when the container is running on Linux VM.

Signed-off-by: Hui Zhang <hui.zhang@citrix.com>
2016-02-06 15:34:09 +08:00
Mihaela Stoica
86ec959e26 CP-15399: Improvements to the way we handle rebranding of saved searches
- InvisibleMessages.resx contains the default value for the saved search (xensearch), which can be overwritten in Branding.cs

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-02-04 12:04:33 +00:00
Mihaela Stoica
fc5ebd2d40 CP-15401: Move HiddenFeatures to a new class
Signed-off-by: Mihaela Stoica <Mihaela.Stoica@citrix.com>
2016-01-28 21:43:15 +00:00
Gabor Apati-Nagy
249489220b Merge pull request #786 from MihaelaStoica/CP-15407
CP-15407: Add license editions
2016-01-26 11:32:54 +00:00
Mihaela Stoica
3416707fd2 Merge pull request #785 from cheng--zhang/CP-15401
CP-15401: Show/Hide rdpPolling, upsell and optimize for XenApp depend…
2016-01-26 09:31:24 +00:00
Cheng Zhang
5c399ab4ba CP-15401: Avoid have null in URL constructor
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-26 11:16:39 +08:00
Cheng Zhang
04d3b81d92 CP-15401: Changed WarningWithInformationUrl and ProblemWithInformationUrl to cope with empty URL string
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-25 11:15:30 +08:00
Mihaela Stoica
3ccfcc7e3a Merge pull request #782 from cheng--zhang/CP-15398
CP-15398: Make version, xsupdate and xensearch rebrandable
2016-01-22 13:16:03 +00:00
Cheng Zhang
88d881b126 CP-15401: Show/Hide rdpPolling, upsell and optimize for XenApp depending on XenCenter registry keys
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-22 13:31:22 +08:00
Mihaela Stoica
6feab75fb4 CP-15407: Add license editions
Cherry-picked from cream-indigo:
CP-14857: Add "premium" license edition
CP-14857: Add premium license edition for CN version
CA-190342: Add friendly name for "basic" edition
- also hide the Status field from the License Details section if the license is basic

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-01-21 12:31:33 +00:00
Mihaela Stoica
9aee7a4f9b Merge pull request #773 from GaborApatiNagy/CA-187681
CA-187681: xs-tools ISO doesn't get mounted on dlvm xva(Centos 7 HVM)
2016-01-20 12:27:29 +00:00
Cheng Zhang
992ee9e62f CP-15400: Make xensearch rebrandable
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-20 11:33:54 +08:00
Cheng Zhang
08741a1fa0 CP-15398: Make texture company name rebrandable
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-19 18:40:54 +08:00
Cheng Zhang
4f0270d049 CP-15398: Make texture XenServer Host rebrandable
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-19 18:40:52 +08:00
Cheng Zhang
010ff919c1 CP-15398: Make texture XenServer product rebrandable
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-19 18:36:21 +08:00
Cheng Zhang
a33d10bade CP-15398: Make texture XenCenter rebrandable
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-14 18:52:53 +08:00
Gabor Apati-Nagy
69cbb9445d CA-187681: xs-tools ISO doesn't get mounted on dlvm xva(Centos 7 HVM)
There were times when "HasUpgradeSupportInManagementAgent" was needed, but not anymore, so this commit is changing code to use only VirtualisationStatus.MANAGEMENT_INSTALLED again.
2016-01-13 13:26:37 +00:00
Gabor Apati-Nagy
82cf229d88 CP-14469: UI: General tab: show G1/G2 VM-related data
Removed unused variable

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-12-18 11:25:29 +00:00
Gabor Apati-Nagy
bb1f155347 CP-14469: UI: General tab: show G1/G2 VM-related data
Show "Able to receive Updates via Windows Update" or "Able to receive Updates via Windows Update" for Windows VMs

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-12-15 14:32:11 +00:00
Gabor Apati-Nagy
400e82406f CA-191832: Move DBV field out of License details section on the General tab
Moved DBV field from the License section to the Version section.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-12-07 18:03:20 +00:00
Stephen Turner
ac71c2c454 CA-190904: Remove obsolete SR.upgrade and SR.share menu items 2015-11-30 11:53:54 +00:00
Gabor Apati-Nagy
729b69382e CA-188554: XenCenter Error Uncaught exception System.NullReferenceException
changes following code review

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-11-25 12:32:04 +00:00
Gabor Apati-Nagy
2e8e7afb7e CA-188554: XenCenter Error Uncaught exception System.NullReferenceException
Fixed the exception that was caused by a missing null reference check and also the fact that the license status had to be watched only for pools and hosts, so added a check before starting watching the license status of the IXenObject (on GeneralTabPage)

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-11-23 14:35:20 +00:00
Stephen Turner
3e7fda871a CP-14647: Remove four unused variables 2015-11-09 14:54:11 +00:00
Stephen Turner
8ea7e73b55 CP-14647: Intermediate check-in #5
This should cover everything except updating the tests to use more recent
servers.
2015-11-08 11:28:02 +00:00
Stephen Turner
ce609e31ff CP-14647: Intermediate check-in #4 2015-11-08 11:28:01 +00:00
Stephen Turner
c667e51fd2 CP-14647: Intermediate check-in #3 2015-11-08 11:27:59 +00:00
Stephen Turner
cf6534275e CP-14647: Intermediate check-in #2 2015-11-08 11:27:57 +00:00
Stephen Turner
b587ab832e CP-14647: Intermediate check-in #1 2015-11-08 11:27:56 +00:00
Gabor Apati-Nagy
5f5930faf4 CP-14470: UI: Implement to show Management Agent not installed if not Upgraded (when no or older management agent is present)
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-11-04 10:44:28 +00:00
Mihaela Stoica
cd4466e9f2 CA-184563: Do not show Provisioning method for SRs other than iSCSI and LVM
- display the Provisioning entries in the General Tab only for iSCSI and LVM SRs
- also changed the checks in the ConvertToThinSRCommand to use SR.IsThinProvisioned property instead of SR.Provisioning

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-10-13 16:24:51 +01:00
Mihaela Stoica
260e36ec4e Revert "Temporarily hide "Convert SR""
This reverts commit 127b60871c.
2015-09-29 14:44:13 +01:00
Carmen Agimof
e44c7b20e2 Merge pull request #679 from MihaelaStoica/CA-183321
CA-183321 and more thin-lvhd-related fixes
2015-09-23 14:19:12 +01:00
Stephen Turner
0bf66a113c Merge pull request #666 from GaborApatiNagy/master_CP-13786-4
CP-13786: PV drivers onto Windows update: Check all uses of GetVirtualisationStatus
2015-09-23 11:51:19 +01:00
Gabor Apati-Nagy
ff4da8b45e CP-14248: VM General Tab: fixing context menu on the Install Management agent link 2015-09-22 17:19:03 +01:00
Mihaela Stoica
13d933ec22 Display overcommitted percentage for thinly provisioned SRs
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-18 16:57:31 +01:00
Gabor Apati-Nagy
f4cd9bd97c CP-13786: GetVirtualisationStatus: Refactoring, bugfixes
Removed PV_DRIVERS_NOT_INSTALLED=0 from the VirtualisationStatus [Flags]enum - 0 will mean the same (to avoid bugs with enum.HasFlag(0) is always true)
Extracted common code to VMLifeCycleCommand.GetCantExecuteNoToolsOrDriversReasonCore() method (instead of defining overridden GetCantExecuteReasonCore() method at this level, because not all child classes need this...)

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-09-18 15:48:59 +01:00
Mihaela Stoica
127b60871c Temporarily hide "Convert SR"
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-17 15:08:21 +01:00
Gabor Apati-Nagy
463d3e79df CP-13786: PV drivers onto Windows update: Check all uses of GetVirtualisationStatus
Extended the enum, aimed for minimal changes, also using Flags on the enum now

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-09-09 13:56:44 +01:00
Carmen Agimof
9b0f478952 CA-181390: Solved issue related to taking a file from disk that is not in the list of updates taken from the Citrix website. Created a dictionary that contains all the uploaded updates(the patch path) and on which hosts they were applied.
- Not applied updates do not appear anymore in the General Tab of a pool. (Related to CA-180577)
- If we apply a patch that was already applied (happens when we take a file from disk that is not in the updates list taken from the Citrix website -> no metadata), on cancel we are now removing the uploaded patch from the host.
2015-09-04 17:09:22 +01:00
Carmen Agimof
945020ea75 CA-181309: Dismiss button in the Updates Tab is now disabled if the list is empty. 2015-09-02 17:54:29 +01:00
Mihaela Stoica
5fa790c948 Merge pull request #640 from agimofcarmen/CA-180577
CA-180577: "Not applied" updates list is now removed from the Updates…
2015-08-27 13:57:32 +01:00
Carmen Agimof
843505e924 CA-180577: "Not applied" updates list is now removed from the Updates section in General Tab. The "Install pending updates" context menu entry is also removed. 2015-08-27 11:02:34 +01:00
Gabor Apati-Nagy
77beffacf9 Merge remote-tracking branch 'github_xenadmin/master' into CP-13100
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>

Conflicts:
	XenAdmin/TabPages/GeneralTabPage.cs
2015-08-26 17:58:38 +01:00
Gabor Apati-Nagy
cb90872c6c CP-13100: XenCenter: Convert a thickly provisoned LVM-based SR to a thinly provisioned SR
Added new functionality (using percentages yet)

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-08-26 17:54:03 +01:00
Mihaela Stoica
094f346208 Merge pull request #634 from agimofcarmen/CP-13174
CP 13174: Agree and update units used for initial/subsequent allocation
2015-08-25 15:19:13 +01:00
Carmen Agimof
7c53955104 CP:13667: Adds condition that checks if sm_config contains the keys "allocation_quantum" and "initial_allocation" before getting the values. 2015-08-25 15:12:01 +01:00
Gabor Apati-Nagy
f173bc66b7 Fixing build (unreachable code warning as error) 2015-08-24 17:33:29 +01:00
Carmen Agimof
5acaeb4ac1 CP-13667: [Thin-LVHD] XenCenter shall show the allocation_quantum and initial_allocation in General Tab. 2015-08-21 14:16:40 +01:00
Gabor Apati-Nagy
a12f09beab Disabling showing "able to receive updates" 2015-08-20 17:33:34 +01:00
Mihaela Stoica
0a3deaf526 Merge pull request #624 from agimofcarmen/CA-147944_II
CA-147944: Use GB for VM Memory if large values
2015-08-20 17:17:12 +01:00
Carmen Agimof
4da67c0590 CA-147944: Use GB for VM Memory if large values
- Memory Tab uses GB units for values greater or equal to 1 GB, otherwise show in MB;
- Search Tab displays values in GB or MB in the same as the Memory Tab (e.g. 512 MB of 1 GB, 256 MB of 512 MB, 2.5 GB of 16 GB).
- The shiny bar present in the Memory Tab and in Memory Settings dialog shows the scaling in the following way: If smaller than 1 GB, then show as before, else show only labels with values multiples of half a GB.
- The units used in Memory Setting Dialog are set depending on the static_max. If it is greater or equal to 1 GB, then the units are GB, else MB. The user does not have the possibility of changing them.
2015-08-20 12:41:39 +01:00
Gabor Apati-Nagy
4cc98be845 CP-12431: PV drivers onto Windows update: Show virtualisation status in XenCenter
Changes following the code review
2015-08-14 14:25:49 +01:00
Gabor Apati-Nagy
8f0a00f8c4 CP-12431: PV drivers onto Windows update: Show virtualisation status in XenCenter
Edited comments
2015-08-14 12:11:02 +01:00
Gabor Apati-Nagy
eaa4c1a93a CP-12431: PV drivers onto Windows update: Show virtualisation status in XenCenter 2015-08-13 17:44:32 +01:00
Carmen Agimof
5f40353d07 Changes Tab Indexing and disables refresh and restore button while check for updates is in progress. 2015-08-10 11:25:11 +01:00
Carmen Agimof
5f95c9b6a0 Changes name of function, from someOrAllUpdatesAllowed to someOrAllUpdatesDisabled. The same change was applied for someButNotAllUpdatesAllowed. 2015-07-31 14:43:14 +01:00
Carmen Agimof
b2c4133e9e Improves design of the Updates Tab. 2015-07-30 18:00:06 +01:00
Carmen Agimof
b7a010b5f0 CA-178243: The Refresh button was not working correctly because of the restore button. Automatic check for updates works now when certain boxes are checked, showing the updates when the user opens XenCenter, but, the list has duplicates.
Improves the centering of the warning messages in the Updates Tab, making the picture align with the text.
Corrects bug related to the visibility of the warning about automatic checks for updates.
2015-07-30 14:58:23 +01:00
Carmen Agimof
bb5c2078dc CP-13518: Centered correctly the warning message in the Updates Tab. 2015-07-29 19:11:13 +01:00
Carmen Agimof
ceca902b9f Changes dialog text that appears on the screen when the Dismiss All/Dismiss Selected button is clicked. 2015-07-29 17:52:46 +01:00
Carmen Agimof
9d4b6b2516 Changes the design of the buttons and the picture of the warning in the Updates Tab. 2015-07-29 16:43:44 +01:00
Carmen Agimof
32461b38b9 CP-13028: Corrects the Dismiss function and provides Dismiss All/ Dismiss Selected button on the Updates Tab. 2015-07-29 13:43:47 +01:00
Carmen Agimof
aef3bef6b6 CP-13031: Make Updates Tab clearer if automatic check-for-updates is disabled. 2015-07-29 11:34:39 +01:00
Carmen Agimof
182307963f CP-13030: Provide button on the Updates tab to restore dismissed updates. 2015-07-23 13:50:32 +01:00
Carmen Agimof
b1a2b49559 CP-13026: Changes code style and removes commented out code. 2015-07-23 13:48:30 +01:00
Carmen Agimof
f79199752a CP-13026: Provide Dismiss option on the Updates Tab. 2015-07-23 11:48:14 +01:00
Mihaela Stoica
85e5308e51 Merge pull request #561 from agimofcarmen/CP-13040
Cp 13040
2015-07-21 11:42:24 +01:00
Gabor Apati-Nagy
aef08eb8ab CP-13101: XenCenter: Display provisioning method for existing SRs (thin / thick) 2015-07-20 20:40:28 +01:00
Carmen Agimof
4c93dbe92e CP-13245: Check if the update is applicable to the servers on the Select Servers Page.
CA-157785: Hotfix wizard forgets which servers should be greyed out.
When clicking Download and Install update in the Updates Tab, instead of opening a new dialog, it opens the Updates Wizard on the Select Servers Page and download the file in the Upload Page.
Fixes issue regarding the upload of the update every time that the user gets to Upload Page. Now it only uploads it if it has not been uploaded before.
Fixes issue regarding the download of the update every time the user goes back to the Select Patch Page. If the user goes back, but does not change the choice of the update, the download will not be done again.
2015-07-20 14:28:44 +01:00
Mihaela Stoica
4bc942117d Revert "Temporarily disable FCoE feature for all hosts"
This reverts commit 0dd6ebdb7f.
2015-07-13 09:57:10 +01:00
Mihaela Stoica
0dd6ebdb7f Temporarily disable FCoE feature for all hosts 2015-07-03 12:38:41 +01:00
Mihaela Stoica
25c0a061b6 CP-12777: FCoE status in NICs tab
- Added "FCoE Capable" column, showing FCoE capability as Yes/No values in the NICs grid
- This column is only visible for Dundee or higher hosts

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-06-25 12:17:49 +01:00
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