Commit Graph

583 Commits

Author SHA1 Message Date
Mihaela Stoica
da9e99b1cb CP-17161: Add 'using' statement around dialogs to ensure garbage collection
- fix ActionProgressDialog usages

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-06-20 13:17:42 +01:00
Mihaela Stoica
3f25c5868f CP-17161: Add 'using' statement around dialogs to ensure garbage collection
- fix all ThreeButtonDialog usages (and some other dialogs that I've came across)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-06-20 10:49:12 +01:00
Sharath Babu
32d5c15329 CP-17704: Adding support for help document
Signed-off-by: Sharath Babu <Sharath.Babu@citrix.com>
2016-06-13 09:11:05 +00:00
Mihaela Stoica
996f84c97f CA-212905: Fix dialog size
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-06-10 11:25:38 +01:00
Gabor Apati-Nagy
81ec2af86b Merge pull request #1003 from MihaelaStoica/CA-208829
CA-208829: Unexpected error if connection lost while health check dia…
2016-06-01 14:01:47 +01:00
Frederico Mazzone
b21d87e6e6 [CA-211418] Exception in XenCenter while attaching vdi to a VM on a pool with an SR with 20,000 VDIs
Added back the event handler removal in BuildList function, as it can run more than once.

Signed-off-by: Frederico Mazzone <fredericom@citrite.net>
2016-05-31 11:23:31 +01:00
Frederico Mazzone
b401a11e76 [CA-211418] Exception in XenCenter while attaching vdi to a VM on a pool with an SR with 20,000 VDIs
All event handlers are now unsubscribed when AttachDiskDialog is closed, allowing its memory to be garbage collected.
Image for each VDI now references an existing image instead of creating a new object.

Signed-off-by: Frederico Mazzone <fredericom@citrite.net>
2016-05-25 16:37:31 +01:00
Mihaela Stoica
67e4e2113f CA-208829: Unexpected error if connection lost while health check dialog open
- Invoke on the main thread

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-05-23 14:11:03 +01:00
Frederico Mazzone
781fcba141 [CA-208810]: I18n:JA/SC: Lost Scrollbar for the long strings...
Made textbox bigger in health check policy dialog.
Made textbox bigger in the 'Authentication with Citrix Insight Services'
section of the health check enrollment dialog.
Adjusted some control properties to correct the position of OK/Cancel
buttons.
Changed 'User name:' labels to 'Username:' in health check enrollment
dialog.
Changed Chinese and Japanese resource files to match English changes.

Signed-off-by: Frederico Mazzone <fredericom@citrite.net>
2016-05-16 14:29:21 +01:00
CITRITE\sriharshak
c4e5528920 L10N:CA-209394 partial fix 2016-04-28 11:29:23 +05:30
Mihaela Stoica
aeb64f04e0 Merge pull request #948 from stephen-turner/CA-137301
CA-137301: Double-click should choose item in Move VM/VDI dialogs
2016-04-27 14:47:23 +01:00
Mihaela Stoica
afb60dcb0f CA-208808: The items of “Day of the week” drop-down list are not localized
- added HelpersGUI.DayOfWeekToString function

Signed-off-by: Mihaela Stoica <Mihaela.Stoica@citrix.com>
2016-04-27 14:22:50 +01:00
Mihaela Stoica
394320679f CA-208808: The items of “Day of the week” drop-down list are not localized
Signed-off-by: Mihaela Stoica <Mihaela.Stoica@citrix.com>
2016-04-26 11:17:09 +01:00
CITRITE\sriharshak
56b5ccbda5 L10N: CA-205187 fix(partial) 2016-04-21 23:45:24 +05:30
CITRITE\sriharshak
240546795c L10N: CA-208682 fix 2016-04-21 18:23:22 +05:30
CITRITE\sriharshak
baf05cc194 L10N:CA-205650 fix 2016-04-21 17:54:35 +05:30
CITRITE\sriharshak
8c0623b8f2 L10N:Dundee:Translation check-ins 2016-04-20 19:16:33 +05:30
Stephen Turner
953ea412df CA-137301: Double-click should choose item in Move VM/VDI dialogs 2016-04-18 16:17:01 +01:00
CITRITE\sriharshak
8137124c8e L10N: Dundee:CA-168861 fix 2016-04-14 18:13:44 +05:30
Sharath Babu
07128eb9b4 Incorporating review comments.
Signed-off-by: Sharath Babu <Sharath.Babu@citrix.com>
2016-04-07 03:20:14 +00:00
Sharath Babu
18289192b7 Incorporating review comments.
Signed-off-by: Sharath Babu <Sharath.Babu@citrix.com>
2016-04-06 05:05:56 +00:00
Sharath Babu
81563c65b8 CA-204328: VMSS policy wizard not filtering out messages accordingly
Added filter functionality for filtering messages in policy wizard.

Signed-off-by: Sharath Babu <Sharath.Babu@citrix.com>
2016-03-29 07:52:48 +00:00
Sharath Babu
74c6242d56 CP-16192: [Performance] xapi vmss object should have recentAlerts, like vmpp
Significant improvements has been done in "schedule snapshot" policy wizard
for loading messages, hence we do not require recentAlerts field.

Signed-off-by: Sharath Babu <Sharath.Babu@citrix.com>
2016-03-29 05:58:05 +00:00
CITRITE\sriharshak
cf2fbe88e3 L10N:Dundee:Xencenter:ITR002 transltion check-ins 2016-03-23 23:58:30 +05:30
Gabor Apati-Nagy
d9f5733c78 Merge pull request #910 from MihaelaStoica/CA-204212
CA-204212: XenCenter doesn't warn on creating a vif with duplicate ma…
2016-03-23 14:11:19 +00:00
Mihaela Stoica
c846524df8 CA-204212: XenCenter doesn't warn on creating a vif with duplicate mac address on a different network
Signed-off-by: Mihaela Stoica <Mihaela.Stoica@citrix.com>
2016-03-21 12:41:32 +00:00
CITRITE\sriharshak
ef8628ff92 L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
Gabor Apati-Nagy
438eb59009 Merge pull request #899 from MihaelaStoica/CA-204172
CA-204172: Switch Health Check URLs to the production site
2016-03-16 14:01:19 +00:00
Mihaela Stoica
9c9312c113 CA-204172: Switch Health Check URLs to the production site
Also use 0 (never expire) for the diagnostic token.

Signed-off-by: Mihaela Stoica <Mihaela.Stoica@citrix.com>
2016-03-16 10:00:23 +00:00
Mihaela Stoica
ac4378a45d CA-202477: XenCenter enables the Enter Maintenance mode button for a host even when the VM suspend is in progress 2016-03-11 13:53:12 +00:00
Rob Hoes
bf9fdb2a85 Add Standard license edition
Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
2016-03-09 16:14:05 +00:00
Gabor Apati-Nagy
09819b2a02 CA-202068: License Manager wizard showing "Activate Free XenServer" button even no host selected for editing license
Fixed, now the button is only shown when needed

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-03-08 13:51:39 +00:00
Mihaela Stoica
aac3b75214 Merge pull request #873 from GaborApatiNagy/master_CA-202295
CA-202295: Hotkeys should not be part of the branding tag
2016-03-02 14:16:53 +00:00
Gabor Apati-Nagy
9571322b7b CA-202295: Hotkeys should not be part of the branding tag
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-03-02 14:00:18 +00:00
Gabor Apati-Nagy
bcc607ef4d Merge pull request #872 from MihaelaStoica/CA-201414
CA-201414: Remove the background worker, which seemed to cause the He…
2016-03-02 13:35:43 +00:00
Mihaela Stoica
a91b17d125 CA-201414: Remove the background worker, which seemed to cause the Health Check dialog to be shown blank at startup.
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-03-01 21:52:15 +00:00
Mihaela Stoica
a7b5c52e1c CP-16205: Add AdditionalFeatures branding variable
We now have two branding variables, one for hidden features and one for additional features (empty by default)
2016-02-29 14:54:26 +00:00
Koushik Chakravarty
d261001130 CAR-2146: Fixed a minor bug in Alert generation
Signed-off-by: Koushik Chakravarty <Koushik.Chakravarty@citrix.com>
2016-02-19 17:58:07 +05:30
Stephen Turner
32d69adbd5 Merge pull request #850 from koushikcgit/VMSSv2
Scheduled Snapshots Feature
2016-02-19 12:30:19 +00:00
Koushik Chakravarty
556229c0a1 CAR-2146: Removed enum typecast, fixed some texts in UI
Signed-off-by: Koushik Chakravarty <Koushik.Chakravarty@citrix.com>
2016-02-19 17:32:18 +05:30
Gabor Apati-Nagy
6cde7d9c3f CP-15830: Add Help IDs for new dialogs in Dundee 2016-02-18 13:09:53 +00:00
Koushik Chakravarty
025e263a4c CAR-2146: Reworked and removed some more redundant code
Signed-off-by: Koushik Chakravarty <Koushik.Chakravarty@citrix.com>
2016-02-18 16:27:17 +05:30
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
6889e15872 CAR-2146: Isolated type specific checks in VMGroup helper class
Signed-off-by: Koushik Chakravarty <Koushik.Chakravarty@citrix.com>
2016-02-18 16:27:17 +05:30
Koushik Chakravarty
d5db0335db CAR-2146: Initial Review comments incorporated
1. Changed the Messages to remove ambiguity between scheduled snapshots and
snapshot schedules
2. Made some functions as properties in IVMPolicy
3. Removed some redundant code

Signed-off-by: Koushik Chakravarty <Koushik.Chakravarty@citrix.com>
2016-02-18 16:27:17 +05:30
Koushik Chakravarty
b9791f9588 CAR-2146: Removed VMSS specific Dialog and fixed some merge issues
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
e838a49814 CAR-2146: Removing Email page and some code review comment resolutions
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
Koushik Chakravarty
2a3c62a931 CAR-2146: Added new VMSS Dialog, made text modifications in existing
wizard

Signed-off-by: Koushik Chakravarty <Koushik.Chakravarty@citrix.com>
2016-02-18 16:27:17 +05:30
Koushik Chakravarty
b3fe4aa2a3 CAR-2146: VMSS - Wizard modifications - framework ready
Signed-off-by: Koushik Chakravarty <Koushik.Chakravarty@citrix.com>
2016-02-18 16:27:17 +05:30
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
efe9c807b3 Merge pull request #827 from MihaelaStoica/rename
CP-16012: Rename branding variables
2016-02-10 15:19:29 +00:00
Gabor Apati-Nagy
b211ab4a09 Merge pull request #821 from MihaelaStoica/CA-197388
CA-197388: Fix error where License Manager displays "Standard feature…
2016-02-10 15:18:23 +00: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
Mihaela Stoica
acd2a52823 Fix null reference exception that can occur when running the tests
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-02-10 10:48:08 +00:00
Mihaela Stoica
7b2a0c6922 CA-197388: Fix error where License Manager displays "Standard features only" for Premium edition
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-02-08 10:10:01 +00:00
Stephen Turner
9906cf561f CA-194025: Variable $date-of-software replaced with actual year.
I used the year the code was added to XenCenter: it may be older than that,
but I couldn't easily find out the exact date.

I also made the LegalNoticesDialog resizable, because it's silly trying to
read the legal notices in a teeny tiny window.
2016-02-05 16:01:25 +00:00
Gabor Apati-Nagy
77bbb67bf8 CA-153143: [SCTX-1925] Workflow bug in adding a VIF
Fixed bug: "Depending on your workflow you can add a VIF to a VM with a duplicate MAC address without warning."

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-02-03 16:40:41 +00:00
Mihaela Stoica
b555781f8d Merge pull request #805 from cheng--zhang/CP-15162
CP-15162: Make installer rebrandable
2016-02-02 10:58:29 +00:00
Cheng Zhang
7e88a4a16a CP-15951: Remove enbeded bmps in WLB credential dialog
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-02-02 09:45:29 +08:00
Mihaela Stoica
fb64d19853 CP-15825: Show About dialog at startup detailing company names that the connected hosts have been licensed to
Signed-off-by: Mihaela Stoica <Mihaela.Stoica@citrix.com>
2016-01-29 14:38:58 +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
Mihaela Stoica
f12b4765b6 CP-15409: Add read-only mode to License manager
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-01-26 14:49:02 +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
26d9e0a3f9 CP-15401: Rearrange the legal notice dialog
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-01-22 14:02:14 +00:00
Cheng Zhang
d4ec1289c2 CP-15401: Move hidden check out of designer
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-22 17:02:59 +08:00
Cheng Zhang
7793f8547e CP-15401: Make legal notice change by reg key
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-22 16:51:37 +08: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
Gabor Apati-Nagy
e5545b3011 Merge pull request #781 from MihaelaStoica/CP-15408
CP-15408: Add license restrictions
2016-01-20 14:04:08 +00:00
Mihaela Stoica
e3f5490a03 Merge pull request #783 from robhoes/master
CA-186237: Add links to citrix.com
2016-01-20 12:26:48 +00:00
Gabor Apati-Nagy
04e5820db2 Merge pull request #776 from MihaelaStoica/CP-14472
CP-14472: Remove the lock in the License Manager and ensure that all the updates are done on the main thread.
2016-01-20 12:19:07 +00:00
Rob Hoes
7e31b484ed CA-186237: Add link to citrix.com to HealthCheck settings dialog
Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
2016-01-20 12:03:12 +00:00
Cheng Zhang
75ebed8831 CP-15398: Add missed @
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-19 18:42:50 +08:00
Cheng Zhang
dc0b468cbc CP-15398: Change the messages in legal notices
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-19 18:42:49 +08:00
Cheng Zhang
98f638027f CP-15398: Rework on comments
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-19 18:42:49 +08:00
Cheng Zhang
31b7337026 CP-15398: Remove enbedded icons
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-19 18:40:56 +08:00
Cheng Zhang
07c9301637 CP-15398: Change the about dialog texture
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-19 18:40: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
d71a20706b CP-15398: Make textue with control key rebrandable
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-19 18:40:53 +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
a57a610b08 CP-15408: Add license restriction for VSS snapshots
- The license restriction for vss snapshots already exists in trunk. This commit just amends the message displayed when the feature is not available.

Cherry picked from cream-indigo:
CA-190395: Replace the usage of FEATURE_NOT_AVAILABLE_NEED_ENTERPRISE_OR_PLATINUM_PLURAL
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-18 15:48:32 +00:00
Mihaela Stoica
11362f22d2 CP-14472: Remove the lock in the License Manager and ensure that all the updates are done on the main thread.
- changed the licenseStatus_ItemUpdated event handler to invoke on the main thread, as this is the only case when a background thread needs to update the storedRows list..All the other reads and writes are taken place on the main (UI) thread
- removed the storedRowsLock as it is not needed since we do all the updates to storedRows on one thread.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-01-14 16:22:13 +00: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
Hui Zhang
c53e25d2d3 CA-194940: WLB - Hide host disk IO settings for XenServer previous to Dundee.
1. Check the Xenserver platform version and display the host disk read/write
threshold and metric weighting for Dundee or later XenServer.
2. Update the metric weighting page to make it autosize-able.

Signed-off-by: Hui Zhang <hui.zhang@citrix.com>
2016-01-06 15:02:44 +08:00
Gabor Apati-Nagy
54aa8ae239 Merge pull request #739 from MihaelaStoica/CA-188017
CA-188017: When checking credentials on the Health Check dialog, disp…
2015-11-11 13:04:32 +00:00
Gabor Apati-Nagy
5970721ca1 Merge pull request #740 from MihaelaStoica/CP-14780
CP-14780: Revert Windows Update changes
2015-11-11 13:03:47 +00:00
Stephen Turner
b8dd9f7374 Merge pull request #738 from MihaelaStoica/CA-188150
CA-188150: Fixed the issue where some of  the VIF parameters were not…
2015-11-11 11:50:26 +00:00
Mihaela Stoica
3c956f28ac CP-14780: Revert Windows Update changes (part2)
Revert "Merge pull request #708 from GaborApatiNagy/master_windows_update"

This reverts commit fe03f1382f, reversing
changes made to 423065a2c8.

Conflicts:
	XenAdminTests/TabsAndMenus/MainMenuGeorge.cs
2015-11-10 13:13:23 +00:00
Mihaela Stoica
da718b4af6 CP-14780: Revert Windows Update changes
Revert "Merge pull request #710 from GaborApatiNagy/master_windows_update"

This reverts commit f36c30362f, reversing
changes made to fe03f1382f.
2015-11-10 13:06:52 +00:00
Mihaela Stoica
9ca480a5cd CA-188017: When checking credentials on the Health Check dialog, display a better error message when the user is not authorised to connect to the server
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-11-09 22:34:32 +00:00
Mihaela Stoica
5e96cbf9c2 CA-188150: Removed unneeded call
- removed the call that assigns vif.VM property, as this property is already assigned in ToProxy()

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-11-09 22:19:27 +00:00
Mihaela Stoica
bc12d8c92c CA-188150: Fixed the issue where some of the VIF parameters were not preserved when editing VIF properties
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-11-09 16:00:47 +00:00
Stephen Turner
3e7fda871a CP-14647: Remove four unused variables 2015-11-09 14:54:11 +00:00
Stephen Turner
f2f590e3e7 CP-14647: More changes after read-through, including getting rid of OEM edition 2015-11-08 16:31:48 +00:00
Stephen Turner
448ee7fa4e CP-14647: Intermediate check-in #6
Fix two warnings-as-errors, and update sample dbs to newer API
2015-11-08 11:28:03 +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
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
ffaced4b86 Merge pull request #724 from MihaelaStoica/CA-186232
CA-186232: Fix the "Test credentials" button in the Health Check dialog
2015-11-04 20:00:21 +00:00
Mihaela Stoica
02b4a8fbb7 CA-186232: Trim the username before using it
- Add Trim() to the instances where we check if the username is null or empty and also where we use it for authentication
- This applies to both XenServer username and Citrix username

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-11-04 12:06:52 +00:00
Mihaela Stoica
2358af543a CA-186232: Fix the "Test credentials" button in the Health Check dialog
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-11-02 16:44:06 +00:00
Mihaela Stoica
d650befbdc CP-14641: Add warnings on pool join if the pool and the joining host have different CPU features
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-10-30 15:52:24 +00:00
Mihaela Stoica
dfeb841e5a Merge pull request #709 from GaborApatiNagy/master_CP-12617
CP-12617: Port CP-12191 to trunk
2015-10-28 13:26:36 +00:00
Stephen Turner
f36c30362f Merge pull request #710 from GaborApatiNagy/master_windows_update
CP-14573: UI: Improvements on Upgrade VM UI
2015-10-19 18:06:22 +01:00
Gabor Apati-Nagy
ecdadf7798 CP-14573: UI: Improvements on Upgrade VM UI
Fixed build - warning as error errors...

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-10-19 17:59:52 +01:00
Gabor Apati-Nagy
6168c1bab8 CP-12617: Port CP-12191 to trunk
Add a XenCenter option to enable the old behaviour for the default search for servers

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-10-19 17:13:15 +01:00
Gabor Apati-Nagy
617ad06f1f CP-12617: Port CP-12191 to trunk
Add a XenCenter option to enable the old behaviour for the default search for servers

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-10-19 17:12:27 +01:00
Mihaela Stoica
fe03f1382f Merge pull request #708 from GaborApatiNagy/master_windows_update
Upgrade VMs
2015-10-19 16:29:52 +01:00
Gabor Apati-Nagy
fdfbe1daa0 CP-14573: UI: Improvements on Upgrade VM UI
Removed unneeded code following the code review

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-10-19 16:28:27 +01:00
Gabor Apati-Nagy
f264fffe0c CP-14573: UI: Improvements on Upgrade VM UI
Fixed the checkbox logic - selected state is now preserved on search or update/refresh. All rows (that can be selected) are selected by default.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-10-19 14:23:54 +01:00
Gabor Apati-Nagy
a73a91c1a7 CP-14573: UI: Improvements on Upgrade VM UI
Fixed when to enable the Command, the screen uses the connection (works for standalone hosts)
Using CollectionChanged instead of BatchCollectionChanged
Removed unnecessary Invoke
Removed values from the VmUpgradeState enum

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-10-19 12:13:26 +01:00
Gabor Apati-Nagy
7b7bcb0aa5 CP-14379, CP-14461, CP-14462, CP-14463, CP-14464, CP-14465, CP-14467:
Implementing Upgrading VMs to Windows Update

New screen features:
-Create skeleton of the Upgrade VM dialog
-Implement a Go To Console link (just a link that opens a vm console)
-Implement logic to show the right status for a VM (includes rules to
get the states). Includes updating the dialog whenever the status changes.
-Add status texts to Messages, proper text on the UI
-Add stub methods to VM class in XenAPI-Extensions to r/w states from
Guest Agent
-UI: Implement rules what vms to display, checkbox rules, read only vms,
and when to enable the Upgrade button
-Implement Upgrade button (writes state for GA, mounts ISO) + maximum
parallel executions/actions

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-10-16 12:47:00 +01:00
Mihaela Stoica
b756c353f3 Merge pull request #694 from GaborApatiNagy/master_CA-173102
CA-173102: Validation issues with address field in connection proxy settings
2015-10-06 15:52:48 +01:00
Gabor Apati-Nagy
92bde85d25 CA-173102: Validation issues with address field in connection proxy settings
Improved validation for the proxy address

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-10-02 13:13:01 +01:00
Carmen Agimof
8415fbd2b9 CA-184544: Change wording in SR Convert Dialog. 2015-09-30 17:16:04 +01:00
Gabor Apati-Nagy
659dd4778d Merge pull request #675 from MihaelaStoica/CP-13985
CP-13985: Add "Test credentials" button on the Health Check dialog
2015-09-29 14:48:56 +01:00
Mihaela Stoica
12895f7774 CP-13985: "Test Credentails" button on Health Check dialog - changes following code review
- Button enabled only when "New XS credentials" radio button is ticked and username and password textboxes are not empty
- Button and the textboxes are disabled while the test is in progress
- When test credentials fails, log userName, not UserDisplayName

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-23 15:07:05 +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
Mihaela Stoica
c48c28968d Improvements to the Storage page of New VM Wizard - changes following code review
- renamed srSpace and srInitialSpace variables
- removed unnecessary checks for thin provisioned sr
- fixed some error on NewDiskDialog.SMConfig property (smconfig was wrongly populated based on controls enablement; the conversion to long was made before converting to bytes

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-23 14:15:40 +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
3eb796d13e CP-13786: GetVirtualisationStatus
Moving GetVirtualisationWarningMessages back to VM
Also added EVACUATE_HOST_INSTALL_MGMNT_PROMPT what is shown on the EvacuateHostDialog when a 'new' VM is given and Management Agent can be installed

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-09-21 16:59:43 +01:00
Gabor Apati-Nagy
acbc21597a CP-13786: GetVirtualisationStatus
More small fixes

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-09-21 16:09:12 +01:00
Mihaela Stoica
7df999c532 Improved behavior of the SR picker in the New Disk dialog
- when the user changes the disk size (or initial allocation), the selection in the SR list should not change and the list should not be automatically resorted
- users should not be allowed to create disks larger than the SR size (the SR is disabled and an explicit reason is displayed)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-18 16:45:05 +01:00
Mihaela Stoica
687df9179e Hide the allocation fields in the New disk dialog if the SR is not thin lvhd
Also fixed the anchoring of the controls on this dialog.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-18 16:25:57 +01:00
Mihaela Stoica
f507b65126 CA-183321: Fixed the bug where the disk initial and incremental allocations values were ignored while creating new VM's disk
When creating a new VM, we no longer use vm.provision to create VM's disks, but instead we create the disks ourselves using vdi.create; this way we can specify the initial and incremental allocations for the new disks.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-18 15:51:17 +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
Gabor Apati-Nagy
cb861b0c2a CP-13786: GetVirtualisationStatus: Refactoring
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-09-16 18:22:16 +01:00
Mihaela Stoica
4ed8c1c656 CP-13985: Add "Test credentials" button on the Health Check dialog
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-15 13:48:50 +01:00
Gabor Apati-Nagy
371f6bdb00 CP-13786: VM.VirtualisationStatus: Changes following the code review
Removed Optimized state and using I/O & Management instead (even for old VMs)
Changed messages to be different for old and new VMs instead of saying Tools or I/O drivers for instance
Removed the extra enum property from the VM class that had been added for search
Fixed code in GroupingTypes class (possible KeyNotFoundException)

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-09-14 17:08:23 +01:00
Gabor Apati-Nagy
bf8e2cfc77 Merge pull request #669 from agimofcarmen/CA-179502
CA-179502: Reviewed all use of MemorySizeStringMB and came to the con…
2015-09-11 12:20:40 +01:00
Carmen Agimof
4fadf796ad CA-179502: Reviewed all use of MemorySizeStringMB and came to the conclusion that all its usages must be replaced with MemorySizeStringSuitableUnits. 2015-09-10 14:36:46 +01:00
Mihaela Stoica
7098789f6a CP-13149: Updated Policy statement for Health Check
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-10 13:08:49 +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
Mihaela Stoica
e71c40a3ac Merge branch 'master' into CA-181208
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>

Conflicts:
	XenAdmin/Dialogs/HealthCheck/HealthCheckOverviewDialog.cs
2015-09-09 13:26:53 +01:00
Carmen Agimof
cd4281ffab Merge pull request #651 from MihaelaStoica/CP-13077
CP-13077: Changes to the Health Check feature to work properly with RBAC
2015-09-09 13:16:15 +01:00
Mihaela Stoica
815e67c4d3 Change some wording on the Health Check Overview page
- change "request an upload now" to "request an additional upload now"

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-09 09:41:11 +01:00
Mihaela Stoica
8026d0ee55 CA-181208: Display the status of last failed upload in the Health Check overview dialog
- If an upload is marked as failed, then display it in the UI (but only as long as there is no successful upload done after that)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-09 09:39:45 +01:00
Carmen Agimof
0dd8fa7f05 CP-13984: Changes the wording on Convert SR dialog (replace upgrade with convert). 2015-09-08 15:32:47 +01:00
Carmen Agimof
8914cd4e81 CA-181441: Changes warning icon and text in the SR convert dialog. 2015-09-08 14:37:33 +01:00
Mihaela Stoica
53b01c425c CP-13077: Changes to the Health Check feature to work properly with RBAC
Changed all the health check actions to perform the necessary role checks
- HealthCheckAuthenticationAction: changed so it does not save the tokens, so no role checks required in this action (all the checks are performed in SaveHealthCheckSettingsAction)
- GetHealthCheckAnalysisActions: added role checks

On the Health Check Overview dialog, a pool is displayed as read-only if connected as a user with roles that don't permit changing the health check settings:
- the following actions are not available: enroll, edit settings, disable health check, request upload, get analysis result
2015-09-03 11:49:53 +01:00
Carmen Agimof
549067f2d0 CP - Refactors Provisioning page in SR wizards to use the new control for allocations.
Adds tab indexing to the control for allocation and changes label names.
Corrects mistake that led to exception being thrown when the Disk Size is decreased in the the New Disk Dialog.
2015-08-28 16:44:22 +01:00
Gabor Apati-Nagy
40478b5eca Merge pull request #642 from MihaelaStoica/CP-13149
CP-13149: Policy statement link to the right web page
2015-08-27 14:06:11 +01:00
Gabor Apati-Nagy
402994a7a1 Merge pull request #638 from MihaelaStoica/CP-12156_2
CP-12156: Obtain and display the result of the CIS analysis of the last uploaded report
2015-08-27 14:04:17 +01:00
Mihaela Stoica
49775987f8 Merge pull request #639 from agimofcarmen/CP-13174
CP-13174: Arranges code and removes unused variables.
2015-08-27 13:55:53 +01:00
Mihaela Stoica
15e5c94289 CP-13149: Policy statement link to the right web page
- currently linking to CIS general data collection and privacy page

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-08-27 13:50:35 +01:00
Carmen Agimof
7973bd0668 CA-13174: Adds tab Indexing and hotkeys in the NewDiskDialog and the Storage Provisioning Page in the NewSR wizard. 2015-08-27 13:00:45 +01:00
Gabor Apati-Nagy
6b6e7daa4f CP-13100: XenCenter: Convert a thickly provisoned LVM-based SR to a thinly provisioned SR
Created ThinProvisioningParametersControl user control using existing code to have the thin provisioning settings at one place. It needs to be initialized by providing an SR and it will expose its internal state via NewSMConfig property that we need at other places.
This does not include refactoring of existing code or replacing existing code to use this new control, but the new Conversion dialog is using this. Next step would be to remove existing code and start using this new ThinProvisioningParametersControl instead.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-08-27 12:14:27 +01:00
Carmen Agimof
189fc17d92 CP-13174: Arranges code and removes unused variables. 2015-08-27 10:23:09 +01:00
Mihaela Stoica
2eba1c705f Merge remote-tracking branch 'upstream/master' into CP-12156_2
Conflicts:
	XenModel/XenAPI-Extensions/Pool.cs
	XenModel/XenModel.csproj
2015-08-27 01:03:58 +01:00
Mihaela Stoica
44e18df03d CP-12156: Obtain and display the result of the CIS analysis of the last uploaded report
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-08-27 00:30:02 +01:00
Gabor Apati-Nagy
f1f036cc71 CP-13100: XenCenter: Convert a thickly provisoned LVM-based SR to a thinly provisioned SR
"dynamic" to "xlvhd" according to XenAPI changes

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-08-26 18:01:41 +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
c0d4cb274d Merge pull request #637 from agimofcarmen/CP-13174
CP-13174:  Rename Size Property and Refactors code
2015-08-26 17:43:31 +01:00
Carmen Agimof
0cca0fc125 CP-13174: Rename Size Property and Refactors code 2015-08-26 17:41:59 +01:00
Mihaela Stoica
6af97b2edb Merge pull request #636 from agimofcarmen/CP-13174
CP-13174: Change units used for initial_allocation and allocation_qua…
2015-08-26 17:21:00 +01:00
Carmen Agimof
06b7b66357 CP-13174: Change units used for initial_allocation and allocation_quantum to MB or GB instead of percentages.
Changes allocation type from "dynamic" to "xlvhd".
2015-08-26 17:14:01 +01:00
Hui Zhang
0761aa5be2 CP-13848: XenCenter transfers proxy settings to HealthCheckService.
Signed-off-by: Hui Zhang <hui.zhang@citrix.com>
2015-08-25 20:32:58 +08:00
Mihaela Stoica
4b073c0bc3 Renamed and merged some constants in HealthCheckSettings class
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-08-21 15:21:47 +01:00
Mihaela Stoica
ff64416407 Move HealthCheckSettings class to a separate file
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-08-21 15:19:24 +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
Mihaela Stoica
854acff73d Text corrections in the Health Check dialogs
- no “the” is needed in front of “Citrix Insight Services”  (e.g. “…authenticate with Citrix Insight Services…” and not “…authenticate with the Citrix Insight Services…”)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-08-20 13:49:13 +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
b123bf8dda Merge pull request #619 from stephen-turner/CP-13374
CP-13374 XenCenter can now turn on and off ssl-legacy
2015-08-19 17:31:42 +01:00
Stephen Turner
02aeb0b6d5 CP-13374: SetSslLegacyAction must be last because it will disrupt the connection 2015-08-19 09:35:51 +01:00
Stephen Turner
df182d05c0 CP-13374 XenCenter can now turn on and off ssl-legacy: last check-in was incomplete. 2015-08-19 08:53:15 +01:00
Mihaela Stoica
0edd2e05f9 CP-13165: Make quiescing into a licensed feature
- Add code to check license before offering quiescing on the VM Snapshot dialog
- If the feature is not available, the message displayed is: "This feature is disabled due to license restrictions on the server."

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-08-17 17:32:22 +01:00
Carmen Agimof
cd096f91aa CP-13519: Changes name of function that checks whether a refresh of the updates list is required. 2015-08-03 16:14:41 +01:00
Carmen Agimof
51663f2b09 CP-13519: If more options are selected in Updates Options, refresh the updates list. 2015-08-03 15:56:32 +01:00
Mihaela Stoica
61b5821e4f CP-13073: Rename files (Call Home to Health Check)
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-07-29 09:12:46 +01:00
Mihaela Stoica
a9be9846ff CP-13073: Rename Call Home to Health Check in code
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-07-29 08:44:41 +01:00
Gabor Apati-Nagy
521901c668 Merge pull request #562 from MihaelaStoica/CP-13083
CP-13083 and CP-13081: Add "Show this ..." checkbox and opt-out option to the Health Check dialog
2015-07-28 15:49:33 +01:00
Mihaela Stoica
dcb72e3247 CP-13083: Removed tooltip
- removed tooltip fro the "show again" checkbox and changed the chackbox text to say "Show this dialog..."
- fixed spacing in the right hand panel

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-07-28 15:30:43 +01:00
Mihaela Stoica
f4bbcca1a9 CP-13103: Update terminology displayed in the UI for thin provisioning
- Thick provisioning - > Fully provisioned
- Subsequent allocations -> Incremental allocations

Also, updated the Next button on the Location page of HBA SR, to say "Next" for Dundee or greater and "Create" for pre-Dundee pools.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-07-28 09:23:07 +01:00
Mihaela Stoica
d3fb6cd8e4 Text change "Citrix upload server" to "Citrix Insight Services"
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-07-24 15:13:51 +01:00
Mihaela Stoica
a07ba0e8cc CP-13081: Add opt-out button to the Health Check Overview dialog
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-07-24 14:20:18 +01:00
Mihaela Stoica
c1dac478b1 CP-13083: Add user setting and checkbox to the Health Check overview dialog saying "Show this when connecting to servers that are not enrolled into Health Check"
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-07-24 14:12:46 +01:00
Mihaela Stoica
96f9b9c6ac CP-12679: Upload the report from the Server Status Report wizard
- make pre product key (used for authentication) configurable via registry entries

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-07-20 15:15:45 +01:00
Mihaela Stoica
4490244172 CP-12679: Removed unused files
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-07-20 15:15:43 +01:00
Mihaela Stoica
06116e0a3b CP-12890: Allow user to specify XenServer credentials to use for Health Check
- removed some brackets

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-07-07 18:25:15 +01:00
Mihaela Stoica
14119bc008 CP-12160: Changes following code review
- added CallHomeSettings.TryParseStringToDateTime() function, which does not throw an exception if the conversion fails

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-07-07 15:32:14 +01:00
Mihaela Stoica
d366c57f55 CP-12890: Allow user to specify XenServer credentials to use for Health Check
- added new fields to the Health Check Settings dialog (XenServer credentials)
- these credentials are saved as xapi secrets, and on un-enroll they are being removed
- removed the Authenticate button; the authentication is now done on pressing the OK button
- the Health Check Settings dialog is displayed on "Enroll now" and "Edit Health Check settings"
- display the "Last Successful Upload" on the Health Check Overview dialog
- use uniform format when converting time to string and string to time

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-07-06 17:02:55 +01:00
Cheng Zhang
c0585f0681 CP-12769: Using uniform format of time to string and string to time
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-07-02 17:54:00 +08:00
Cheng Zhang
903931e63d CP-12769: Fix issue when integration test with CIS
1.	Using en-us to transfer upload request time
2.	Check the pipe is closed before close it.
3.	On demand upload will not have 24 hour due problem since it only check once in half an hour
4.	Avoid get upload token by empty session.

Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-07-02 13:53:44 +08:00
Mihaela Stoica
ea786180fc Fix line endings (to Windows) 2015-07-01 15:58:58 +01:00
Cheng Zhang
a0431e5cb9 CP-12770: rework comments
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-07-01 19:12:43 +08:00
Cheng Zhang
324c249285 CP-12769: Send server connection details to the Health Check Service
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-07-01 11:53:56 +08:00
Gabor Apati-Nagy
f0ccf1eb8d Merge pull request #509 from MihaelaStoica/CP-12165
CP-12165: Add the option to upload a Health Check report to CIS on demand
2015-06-30 11:25:08 +01:00
Mihaela Stoica
4788e0d673 CP-12165: Add the option to upload a Health Check report to CIS on demand
- When "Request upload now" is clicked, instead of disabling it, change the link to an unclickable text saying "Upload requested at....".

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-06-30 10:04:16 +01:00
Mihaela Stoica
d4f41660b8 Merge pull request #505 from GaborApatiNagy/master_CP-12641
CP-12641 and CP-12475: XenCenter work for thin provisioning
2015-06-29 14:08:16 +01:00
Gabor Apati-Nagy
d705b77af6 CP-12475: XenCenter work for thin provisioning: Add Virtual Disk dialog: new fields
Add VDI page, Initial Allocation Size field: To override default to
default value behaviour it is no longer enough to enter this field - at
least a change has to be made to it's value.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-06-29 13:49:13 +01:00
Gabor Apati-Nagy
847eebd32c CP-12475: XenCenter work for thin provisioning: Add Virtual Disk dialog: new fields
Add New Virtual Page (VDI):
By default, the SR's default initial size allocation percentage (that may be different for different SRs) is used.
Once the user has changed the initial allocation rate, the page would only use the custom value from that point.

New SR Wizard:
Minimal change in if statement and added comment in RunNextPagePrecheck
method for LvmoHba.
2015-06-26 15:36:04 +01:00
Mihaela Stoica
926d69d132 CP-12154: Check whether the Health Check feature is available before displaying the overview dialog when connecting to a host
- also the "Health Check" menu item will only be enabled if the feature is available

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-06-26 10:56:58 +01:00
Gabor Apati-Nagy
37330629b8 CP-12475: XenCenter work for thin provisioning: Add Virtual Disk dialog: new fields
Created SR.IsThinProvisioned property
2015-06-25 13:42:08 +01:00
Gabor Apati-Nagy
31af0f0004 CP-12475: XenCenter work for thin provisioning: Add Virtual Disk dialog: new fields
Fixed dynamic allocation based calculation on the new SR page and in the SrPicker (issue found in code review)
2015-06-25 11:46:31 +01:00
Gabor Apati-Nagy
88cceb3dd1 CP-12475: XenCenter work for thin provisioning: Add Virtual Disk dialog: new fields
FIxed tab order and aligning and some sizing

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-06-24 16:46:35 +01:00
Gabor Apati-Nagy
fc0542066e CP-12641 and CP-12475: XenCenter work for thin provisioning
-Changed code, because API needs 0-100 percent values as 0..1
-Code for HBA SRs
-Changed free space check for new VDIs to condider initial disk size only
when the SR is thin provisioned

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-06-23 19:26:27 +01:00
Mihaela Stoica
6056ce32d1 CP-12165: Add the option to upload a Health Check report to CIS on demand
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-06-19 15:01:48 +01:00
Gabor Apati-Nagy
306a8b0acb CP-12641 and CP-12475: XenCenter work for thin provisioning
-New SR wizard: new page
-Add Virtual Disk dialog: new fields

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-06-17 09:59:21 +01:00
Mihaela Stoica
2cce79c5a2 CP-12154: Offer Call Home enrollment when connecting to Call-Home capable hosts
- fixed "warning as error" issues: Assignment made to same variable and Field never used

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-06-10 13:27:29 +01:00
Mihaela Stoica
8ce3dc9952 CP-12154: Offer Call Home enrollment when connecting to Call-Home capable hosts
- Check call home enrollment status on connecting to a pool: If status is unknown it means that the pool is not enrolled (enabled) and has never been (disabled). If that's the case, then show the Health Check Overview dialog with the pool selected
- "Enroll now" on Health Check Overview will try enroll the selected pool into call home using existing token authentication. If this is not possible, then a dialog will be presented for the user to perform the initial authentication.
2015-06-08 16:46:16 +01:00
Mihaela Stoica
9c3982542e CP-12153: Call Home Authentication
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-06-02 14:48:59 +01:00
Gabor Apati-Nagy
08656f8051 Merge pull request #468 from MihaelaStoica/CallHome
CP-12152, CP-12155: Call Home enrollment
2015-05-19 18:36:33 +01:00
Mihaela Stoica
44b2148c29 Merge pull request #472 from GaborApatiNagy/CA-120187
CA-120187: Manifestation of "anonymous" action when repairing multiple storages
2015-05-19 15:15:58 +01:00
Gabor Apati-Nagy
3c3ef707fa CA-116505: Popup when adding CD drive to running HVM guest without tools does not get focus
Using ShowDialog() instead of Show()
Also removed unnecessary code that displayed the popup again

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-05-18 19:25:46 +01:00
Gabor Apati-Nagy
018e84f81b CA-120187: Manifestation of "anonymous" action when repairing multiple storages
Passing suppressHistory=false in the MultipleAction's constructor (so no action item will be displayed in the Event view for the MultipleAction itself)

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-05-18 18:33:28 +01:00
Mihaela Stoica
9e22d7ce41 CP-12155: View / Change Call Home Enrollment and settings 2015-05-18 15:28:37 +01:00
Mihaela Stoica
9783c6dc7e CP-12152: Call Home enrollment 2015-05-18 15:23:32 +01:00
Gabor Apati-Nagy
aca727f858 CP-11957: ssh console: Add UI elements to launch ssh
Added copyright statement/license to the “View Legal Notices” dialog
2015-05-07 12:24:14 +01:00
Gabor Apati-Nagy
852df0b00c Merge pull request #435 from MihaelaStoica/CA-150890
CA-150890: Enter Maintenance Mode dialog should offer to shut down a VM ...
2015-04-21 18:35:33 +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
Mihaela Stoica
c569a6399f CA-150890: Enter Maintenance Mode dialog should offer to shut down a VM that cannot be suspended.
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-04-16 10:38:43 +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
23319daeba Merge pull request #393 from MihaelaStoica/CP-11032
CP-11032: Remove storage motion constraints: Allow cross-pool move of stopped and suspended VMs
2015-03-24 18:11:48 +00:00
Stephen Turner
d1c3c42db3 CA-141172: missing colon on RPU pre-check page 2015-03-20 13:28:03 +00:00
Mihaela Stoica
d616009824 CP-11032: Remove storage motion constraints: Allow cross-pool move of stopped and suspended VMs
- With these changes, a stopped or suspended VM can be moved across pools; this is performed as a vm migrate operation.
- The intra pool move will continue to be a vdi.copy + destroy operation for stopped VMs, but for suspended VMs we need to do it a as vm migrate operation.
- We use the Cross Pool migrate wizard for both intra and cross pool move operations, but introduced a wizard mode parameter in order to adapt the wizard to the specific operation we want to perform (migrate, move or copy)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-03-17 16:35:12 +00:00
Mihaela Stoica
9c0bdcf08c Merge branch 'master' of https://github.com/xenserver/xenadmin into CP-10625 2015-02-25 15:50:59 +00:00
Mihaela Stoica
bf2e9bcfb1 CP-10625: Provide Xencenter user interface to enable/disable integrated GPU passthrough
- Added a "Integrated GPU passthrough" section to the PoolGpuEdit page.
- This section is only visible for a host that has GPU capability and the enabling/disabling of integrated GPU passthrough is not restricted.
- With this addition, the GPU page can now be displayed for a pooled host as well (previously only pool or standalone host)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-25 13:01:03 +00:00
Mihaela Stoica
45405bb5c9 CP-11159: Only display the Cloud Config page if the "xscontainer" supp-pack is installed.
- this applies to the Cloud-config page on the New VM Wizard and VM properties dialog.
- same for the container enlightenment page on the VM properties dialog.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-23 11:01:39 +00:00
Mihaela Stoica
9c652cd687 CP-10926: Add dialog for customizing the config drive in XenCenter after VM creation
- The cloud config parameters page is only visible on a VM that already has a config drive.
- The cloud config parameters can only be changed when the VM is halted.
- In the New VM wizard, if a template is selected that already has a config drive, them the wizard will display the existing configuration, not the default one.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-13 14:43:13 +00:00
Mihaela Stoica
c3b667ec7f CP-10900: Add functionality for enabling/disabling/querying the container monitoring on a per-VM-basis to XenCenter
New Page: Enlightenment on VM Properties Dialog, visible only for:
- VMs on Cream Or Greater hosts
- that can be enlightened, regardless of their power state

A VM can be enlightened if the key "xscontainer-monitor" exists in other_config.
A VM is enlightened if other_config:xscontainer-monitor if true.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-06 17:46:58 +00:00
Stephen Turner
3bd708faff Merge 2015-01-23 10:31:49 +00:00
Mihaela Stoica
4b8063a0c6 CP-10833: Update licensing text
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-01-23 10:12:02 +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
f9d14a8155 CP-10833: New licensing text in XenCenter
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-01-21 17:27:38 +00:00
Stephen Turner
10226d343d Merge pull request #275 from cheng--zhang/CP-10204
CP-10204: XenCenter: guest RDP control
2015-01-21 08:49:59 +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
Gabor Apati-Nagy
f5df15fc24 CA-156845: Bugs caused by accidental revert in localisation check-in
-This commit reverts accidental code changes by commit 2ab95c7899

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-01-15 16:25:41 +00:00
Cheng Zhang
6b6b515fe7 CP-10204: XenCenter: guest RDP control
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-01-09 11:33:53 +08:00
sriharshak
f02e7e573c CA-151539: Fixed by updating the strings for ZHCN 2015-01-05 15:04:38 +05:30
vetrivelc
5422c39f47 Updated the translations 2015-01-01 15:19:57 +05:30
Kaifeng Zhu
e89907bea5 CA-146821: Accept IPv6 address when configuring WLB
The WLB address should be either an IPv4/IPv6 address or
a valid host name.

Signed-off-by: Kaifeng Zhu <kaifeng.zhu@citrix.com>
2014-12-19 20:12:45 +08: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
aee38c19f0 CP-10454: XenCenter work for the latest changes in licensing
Desktop Plus -> Desktop+
2014-12-09 16:21:39 +00:00
Mihaela Stoica
3faa6bedf7 CP-10454: XenCenter work for the latest changes in licensing
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-12-08 14:29:54 +00:00
sriharshak
ad14243ead CA-153715: Fixed byincreasing the min size for JA 2014-12-08 11:52:04 +05:30
sriharshak
e7ad72d997 Translation updates
Signed-off-by: sriharshak <sriharshatagore.karpurapu@citrix.com>
2014-12-02 16:10:45 +05:30
sriharshak
53a9036824 CA-150024: Fixed by adjusting the location and anchors for JA and ZHCN 2014-12-01 11:52:17 +05:30
Gabor Apati-Nagy
01ff1ad312 CA-149969: EN: Inappropriate error message pop up by entering invalid port number. 2014-11-27 15:59:53 +00:00
Mihaela Stoica
a50451d4a7 Merge branch 'master' of ssh://hg.uk.xensource.com/carbon/cre-l/xenadmin 2014-11-26 09:54:11 +00:00
Mihaela Stoica
66a3755a57 Merge branch 'xs64bit' of https://github.com/xenserver/xenadmin 2014-11-25 16:56:20 +00:00
sriharshak
42f6ac3224 CA-150463: Fixed the issue by adjusting the layout for JA 2014-11-25 12:28:48 +05:30
Mihaela Stoica
65b4ef1f37 CA-152052: Fix the issue where the License Manager showed the wrong state when assigning/releasing license from pool
The problem was that the License Manager was listening to PropertyChanged events on the master only, not on slaves.
When the master's properties change (e.g. edition) we update the row in the license manager; but in some cases a slave (or more) hasn't been updated yet (as it may be updated in another event.from) and we think that the pool is partially updated.
Our solution is to listen to Host BatchCollectionChanged event, which is triggered once per cache update for the host collection (it any property changed for any of the hosts).
The sleep in the ApplyLicenseEditionAction is not needed anymore, nor is the extra call to update the cell after the action is completed, because the cell is getting updated correctly on the BatchCollectionChanged event.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-11-24 16:57:42 +00:00
sriharshak
f57969b7f0 CA-149815: Fixed by adjusting the table layout for ZHCn 2014-11-24 12:29:12 +05:30
sriharshak
670baa5fc1 CA-152017 : Fixed by channging the position for ZHCN. 2014-11-18 15:15:46 +05:30