Commit Graph

326 Commits

Author SHA1 Message Date
Letsibogo Ramadi
29a683afc3 CA-245546 - Only the active RDP console is resized when the main XenCenter window is resized 2017-03-03 17:29:19 +00:00
Mihaela Stoica
ed3668d68d Merge pull request #1457 from letsboogey/rdpconsole8
CP-20881 - Implement RDP console resize when toggling the full screen…
2017-03-02 10:36:31 +00:00
Letsibogo Ramadi
27918a1c02 CP-20881 - Implement RDP console resize when toggling the full screen mode
In addition to ticket requirements, the console size is updated when the console is:
- resized in undocked mode
- resized manually by dragging window edges
- resized by dragging the panel splitter

Signed-off-by: Letsibogo Ramadi <letsibogo.ramadi@citrix.com>
2017-03-01 17:48:42 +00:00
Mihaela Stoica
7a04e5186e Merge remote-tracking branch 'upstream/CAR-2214' into master
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>

Conflicts:
	Jenkinsfile
	XenModel/Actions/Updates/DownloadAndUnzipXenServerPatchAction.cs
	XenModel/Actions/Updates/DownloadUpdatesXmlAction.cs
2017-02-28 10:30:02 +00:00
Sharath Babu
32836a4b49 CA-241810: [VMSS] VM scheduled snapshot options visible on XC on host with Dundee XS
Updating DundeeOrGreater check with FalconOrGreater

Signed-Off-By: Sharath Babu <sharath.babu@citrix.com>
2017-02-06 11:38:26 +05:30
Sharath Babu
0800e361c6 Merge branch 'master' of https://github.com/xenserver/xenadmin into VMSS 2017-02-04 13:59:58 +05:30
Mihaela Stoica
c35eae23be CP-19607: Unregister event handlers when the tab pages are hidden
Implemented a generic mechanism to allow tab pages to unregister their event handlers when they are hidden (when a tab page gets deselected)
Also changed VMStoragePage to derive from BaseTabPage, so it could use the same mechanism.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-01-25 12:38:33 +00:00
Sharath Babu
ee4b2818f6 Merge remote-tracking branch 'xenserver/CAR-2205' into xenserver/VMSS
Signed-Off-by: Sharath Babu <Sharath.Babu@citrix.com>
2017-01-25 13:01:54 +05:30
Konstantina Chremmou
489d8684e4 Merge remote-tracking branch 'upstream/master' into CAR-2214
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>

# Conflicts:
#	Branding/branding.sh
#	mk/archive-unsigned.sh
#	mk/build.sh
#	mk/bumpBuildNumber.sh
#	mk/copy-build-output.sh
#	mk/declarations.sh
#	mk/tests-checks-cover.sh
#	mk/tests-checks.sh
2017-01-24 14:46:57 +00:00
Konstantina Chremmou
88b4104dac Moved the ProxyAuthenticationMethod enum to the HTTP class so the VNCControl can compile.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-01-20 14:47:04 +00:00
Gabor Apati-Nagy
7c0bc50b4a CA-176169: Changed copyright statements to include the comma in Citrix Systems,
Inc.

Signed-off-by: Gabor Apati-Nagy<gabor.apati-nagy@citrix.com>
2017-01-16 19:59:50 +00:00
Frederico Mazzone
f964fa88c6 Merge branch 'master' into CAR-2214
Conflicts:
	XenAdmin/Core/Registry.cs
	XenModel/Actions/Updates/DownloadUpdatesXmlAction.cs
2016-12-23 14:10:43 +00:00
Mihaela Stoica
329f084a7e Merge branch 'CAR-2184' to master
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>

Conflicts:
	XenModel/XenAPI-Extensions/SR.cs
2016-10-18 10:18:47 +01:00
Mihaela Stoica
e6fbcfdb5d CA-224567: PVS Site renaming plus some other improvements
- Correction in the text on the PVS Cache configuration page
- Added help IDs for all new dialogs and the PVS tab
- Help button on the Enable PVS read caching dialog, plus some adjustments in the controls sizes on this dialog
- Removed minimize and maximize buttons from the PVS servers dialog, and added the help button

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-10-17 13:02:59 +01:00
Konstantina Chremmou
7a74096d3b CA-157786: Added general tab for VDIs.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-10-14 13:51:51 +01:00
Konstantina Chremmou
0b3d3abfcc Code repetition.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-10-14 12:21:59 +01:00
Frezzle
3522e2980d [CP-19111] Added ability to choose Basic or Digest authentication for proxy server
2 new radio buttons in Connection Options page, for Basic and Digest; Digest is the default as it's the most secure.
New proxy authentication method setting, which is used to configure XenAPI's HTTP class and the .NET AuthenticationManager (which handles which authentication schemes can be used by the .NET web classes).
The new setting is also transferred and used by the Health Check service.

The bug noted in CA-214653 also occurs here, but the work-around on PR#1201 for that bug will also work for this.

Signed-off-by: Frezzle <frederico.mazzone@citrix.com>
2016-10-12 19:09:35 +01:00
Mihaela Stoica
f2b1443064 Merge branch 'master' into CAR-2184
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>

Conflicts:
	XenModel/Messages.Designer.cs
	XenModel/Messages.resx
2016-09-26 13:26:31 +01:00
Mihaela Stoica
151e6f42fb CP-17920: Show the PVS tab only when the supplemental pack is installed
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-09-23 14:51:19 +01:00
mcintyre94
dd42394a25 CP-16922: Implement GUI for enabling PVS read caching (#1179)
* CP-16922: UI changes to PvsPage to replace the single configure button with a separate enable and disable one, per the design doc

* CP-16922: Intermediate checkin - command + dialog implemented, but PVS page has some layout problems.

* CP-16922:  Implement GUI for enabling PVS read caching and marking/unmarking VMs for prepopulation

Fix the broken layout by reverting MainWindow.resx (which shouldn't have changed) back to the previous commit. Also removed duplicate properties button code.

*  CP-16922: PVS Page changes, to properly display all VMs (not just ones with proxy), only populating proxy columns if there is a proxy set.

* CP-16922: Use a CommandButton for the enable button, connected to the same command as the VM main menu button, and using the table selection as its selection manager.

* CP-16922: Delete the old enable button click behaviour (because it now has a proper command), was causing the dialog to show up twice

* CP-16922: Properly list VMs by hiding those that should be hidden (in addition to non-VMs, also hide the __gui__ prefix and others covered by Show function). Also fixes a bug in NewVMGroupVMsPage discovered when fixing this - it would show VMs that should be hidden if you used the search bar.


* CP-16922: Use ButtonText on the Command to set the text on the PVS enable button

* CP-16922: Add the disable PVS read-caching command, and its associated proxy destroy action. Both based off enable equivalents (main difference is no dialog for now). Not used yet but will be in main window menu + disable button

* CP-16922: Add disable PVS read-caching to the main window menu (under enable), with the disable command attached to it


* CP-16922: Add support for disabling PVS read-caching for selected hosts via the PVS tab page by converting the disable button into a CommandButton in the same way as the enable button, using its own command + selection manager (because Selection Managers only bind to one control)

* CP-16922: Design - adding the "read caching enabled" column from the design, so that we display both whether caching is enabled and whether the VM is currently cached. If it's disabled all other values are missing.


* CP-16922: Add the PVS site column per the design to show the site a VM's PVS Proxy is on if it has a proxy


* CP-16922: Add an event handler for VMs changing so that newly provisioned VMs immediately show up in the PVS tab page


* CP-16922: Support for properly remembering the selection when the VM list is refreshed. A new method returns the list of VMs for the selected rows, and we can then check if the VM for the row being added is in this list. If there was no previous selection then we still select the first row by default.


* CP-16922: Remove prepopulate, which is being removed from the design. The next XAPI version will remove it, so just pass False as prepopulate for now, and remove the option from the dialog and PVS tab page.


* CP-16922: Improve UI appearance for a missing Storage Repository. Per the design, if there is no SR show the message None (memory only) instead of an empty cell

* CP-16922: Improved sorting behaviour. All columns (except VM name, which always uses it) use the VM tag as a sorting fallback (since they all have duplicates). New default sort which sorts by caching enabled first (yes before no), and then VM tag as a tiebreaker. Support for remembering the current sort on refresh, ie when a value changes.

* CP-16922: Refactoring to use a VM extension method to get the PVSProxy (or null if none exists) for a VM. This was used in the PVS Page + commands which are now much simpler.


* CP-16922: Move where the SelectionChanged event handler is set when refreshing the PVS table, so that the command buttons are updated correctly.

* CP-16922: Improvements to PVS read-caching dialog. Set accept/cancel buttons properly + adjust tab values, so focus acts as expected


* CP-16922: Remove the images from the menu for Enable/Disable PVS read-caching, most commands in the menu don't have one

* CP-16922: Sorting out the strings for the actions + ParallelAction calls, and moving them into the resx. Also reverting wrong MainWindow.resx changes.

* CAR-2184: XAPI changes. I've made the minimal possible changes to PvsPage to ensure it compiles, but it's had a lot of feature work (CP-16922) that supersedes this, these small changes should keep that merge painless.


* CAR-2184 XAPI: Reverse the unrelated changes, only keep the PVS ones.

* CP-16922: Merge latest XAPI changes, notably changes to Pvs_site.create

* CP-16922: Change tab show/hide logic for PVS tab, show it even if there are no PVS sites.

* CP-16922: Implement GUI for enabling PVS read caching

Design changes - remove the storage repo column and replace it with status, which is populated with a friendly version of the pvs_proxy_status enum. Also populate site list using site.name_label

Signed-off-by: Callum McIntyre <callumiandavid.mcintyre@citrix.com>

*  CP-16922: Implement GUI for enabling PVS read caching

Adjusting the CanExecute of Enable PVS read-caching command to require at least one PVS site to be created. Since the PVS tab can show up without any sites, we need this because we can't create a proxy without a site.

* CP-16922: Code review changes.

Tidied up messages, and ensured actions run async properly, and without exiting before their task.

* CP-16922: Code review changes.

Update dialog resx, wider combobox on dialog, update action descriptions before setting RelatedTask, add friendly message body for PVS error notifications.
2016-09-22 15:08:15 +01:00
Konstantina Chremmou
565f95291d CA-100083 (part of): Set minimum width of the main window's tab control to 40% to
avoid buttons on the console tab overlapping. Removed some panels from the console
tab to reduce control nesting.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-09-17 01:23:55 +01:00
Mihaela Stoica
9df8b0494c CP-18407: Rename PVS farm to PVS site
- Rename everything to PVS site

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-08-09 12:01:59 +01:00
Mihaela Stoica
dea2749afa CP-18407: Rename PVS farm to PVS site
- New API bindings
- Fixed usages of PVS_farm class

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

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-07-13 13:36:49 +01:00
Konstantina Chremmou
ea60eaa24e Merge pull request #1065 from xenserver/CAR-2217
Request to merge CAR-2217 into master
2016-07-11 14:11:00 +01:00
Konstantina Chremmou
094e4c4c4f CP-18028: For hosts with more than one control domain (dom0 and cvm at the moment) add an extra tab to display the console of the cvm. 2016-07-05 08:14:13 +01:00
Konstantina Chremmou
04ffdbadc5 CP-17756: Do not use the field VM.is_control_domain to find the console for the
host as it applies to other control domains too. Use the new Host.control_domain
field instead. Minor refactoring.
2016-07-04 13:22:08 +01:00
Konstantina Chremmou
877081d3e8 Merge pull request #1031 from Frezzle/proxy-auth
CP-17231: Implement proxy authentication setting in XenCenter
2016-06-27 11:38:09 +01:00
Frederico Mazzone
7ec3442f40 [CP-17401] Use Proxy authentication in Health Check Service
Now transfers proxy credentials in encrypted format and checks for default empty credentials when loading them for first time.
Fixed a break in unit test in HTTP.ReadHttpHeaders().

Signed-off-by: Frederico Mazzone <fredericom@citrite.net>
2016-06-22 17:10:25 +01:00
Frederico Mazzone
9fa8740cb9 [CP-17401] Use Proxy authentication in Health Check Service
Removed last bits of code relating to "Bypass proxy server for local addresses" option.
New proxy settings are sent from XenCenter to health check service and used to configure the proxy using GetProxyFromSettings().
Health check service now correctly saves its proxy settings and updates the static Proxy property for the Session class; done in new ReconfigureConnectionSettings().

Signed-off-by: Frederico Mazzone <fredericom@citrite.net>
2016-06-22 13:05:21 +01:00
Frederico Mazzone
46c15efe57 [CP-17231] Implement proxy authentication setting in XenCenter
Added 2 textboxes for proxy username and password; encrypted when saved and decrypted when loaded.
Added 2 checkboxes; one for bypassing proxy for xenserver connections, one for providing proxy credentials.
Removed checkbox for bypassing proxy for local addresses.
Controls are no longer enabled/disabled when the related proxy option is selected/deselected.
Making changes to a control (e.g. username, bypass checkbox, etc) selects the 'Use this proxy server' option automatically.
Removed "Bypass proxy server for local addresses" option.
Basic and Digest authentication implemented. Tested with FreeProxy (Basic+Digest), CCProxy (Basic) and AnalogX Proxy (no authentication); each were tested with correct credentials, incorrect credentials and missing credentials; all gave expected results.

Signed-off-by: Frederico Mazzone <fredericom@citrite.net>
2016-06-20 17:15:00 +01:00
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
Frederico Mazzone
8954c2e038 [CP-17415] XC: Add awareness of new AD feature flag
Added AD-related strings to japanese and chinese resource files; still need translation.
Changed F1/Help mapping of the AD upsell tab to go to the 'Managing Users' help page.

Signed-off-by: Frederico Mazzone <fredericom@citrite.net>
2016-05-20 14:30:39 +01:00
Frederico Mazzone
9a729e2547 [CP-17415] XC: Add awareness of new AD feature flag
Added awareness; basic license now shows upsell tab and premium license shows full feature tab.

Signed-off-by: Frederico Mazzone <fredericom@citrite.net>
2016-05-20 13:01:51 +01:00
Mihaela Stoica
846ff3b827 CA-204334: When connecting to a newer server, display the link to a compatible XC version
Signed-off-by: Mihaela Stoica <Mihaela.Stoica@citrix.com>
2016-03-24 14:31:38 +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
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
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
Mihaela Stoica
cd8ed2d686 CP-15576: Hide containers options that aren't available for Windows Server
- Container pause is not available if the the container is on a Windows VM.
- Processes is not available if the the container is on a Windows VM.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-02-12 16:48:52 +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
093feba229 CP-15825: Fix error where the About dialog pops up when a connection status changes
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-02-04 09:54:42 +00: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
2689f0bd9e Merge pull request #797 from cheng--zhang/CA-192539
CA-192539: Adding iNode host to XenCenter should be restricted
2016-01-29 10:40:10 +00:00
Mihaela Stoica
25c787e61e CP-14817: Skip the product brand check in automated test mode
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-01-29 18:07:16 +08:00
Mihaela Stoica
2747ab702b CP-14817: Fixed "Unreachable code" warning
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>

Conflicts:

	XenAdmin/MainWindow.cs
2016-01-29 14:28:47 +08:00
Mihaela Stoica
30aa9affc7 CP-14817: Add a check to refuse connection to a server that have different product brand
Change PRODUCT_BRAND to BRANDING_PRODUCT_BRAND

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>

Conflicts:

	XenAdmin/Branding.cs
	XenAdmin/MainWindow.cs
	mk/xenadmin-build.sh
2016-01-29 14:26:53 +08: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
Cheng Zhang
4ba9981d28 Revert "CA-179515: Move to online help"
This reverts commit 0d0cf47523.

Conflicts:

	XenAdmin/Help/HelpManager.resx
	XenModel/InvisibleMessages.Designer.cs
	XenModel/InvisibleMessages.resx
2016-01-28 17:35:51 +08:00
Cheng Zhang
b33e579f28 CP-15401: Hide HealthCheck by reg key
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-25 13:40:45 +08: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
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
bb0427a21c CA-187932: Cancelled tasks are reported as errors in XenCenter
Fixed: "User tasks (e.g. VM import) are reported as errors in XenCenter, when they are cancelled tasks."
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-12-03 18:41:25 +00:00
Stephen Turner
ce609e31ff CP-14647: Intermediate check-in #4 2015-11-08 11:28:01 +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
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
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
0d0cf47523 CA-179515: Move to online help
Launch online help instead of XenCenter.chm
2015-10-09 12:36:30 +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
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
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
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
7c737d6ce8 CP-12769: Send server connection details to the Health Check Service
- Call TransferCallHomeSettingsAction with suppressHistory=true so the action doesn't show on the Events page
- This change also fixes LogsTabTests test failure.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-07-01 16:38:12 +01: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
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
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
Stephen Turner
ae672aa4b0 CA-159791: Remove GC debug info from logs 2015-03-20 13:17:06 +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
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
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
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
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
9bae16c03c CP-10927: Add container lifetime operations to the toolbar
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-11 13:46:23 +00: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
Gabor Apati-Nagy
00e57ec414 CP-10988: Make docker containers proper XenObjects in XenCenter, to appear on the treeview
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-02-04 09:48:32 +00:00
Mihaela Stoica
a295ab0159 CA-157501: Fixing inconsistent GPU dialogs in XS "Standard" when compared with "Enterprise"
Changes following code review:
- Added VM.CanHaveVGpu function (at the moment just returns CanHaveGpu, but it will change in the future)
- Added vGPU_type.IsPassthrough function and used it everywhere we needed to test for passthrough (max-heads==0)
- Simplified code in Helpers.GpuCapability, Helpers.VGpuCapability, NewVMWizard (gpuCapability), MainWindow and GpuRow

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-01-21 10:04:47 +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
5abe4e109c CA-84876: Show more infrastructure information for objects
Instead of showing just the name, this code is showing name with location information in title for all objects that appear in the tree view.
(A new property (NameWithLocation) with a getter accessor defined in IXenObject and has been implemented as virtual in XenObject and overridden at several child classes.)

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-01-14 16:20:36 +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
Gabor Apati-Nagy
8cf0ee6a04 Merge pull request #262 from xenserver/xs64bit
Xs64bit
2014-11-18 10:32:57 +00:00
Mihaela Stoica
15b2cc346b CA-148245: Fix the error where XenCenter did not refresh immediately after disconnecting a server
Added a RequestRefreshTreeView on ClearingCache event.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-10-08 17:16:45 +01:00
Stephen Turner
5abf3c53c0 CA-146815 Search tab does not refresh when moving from Infrastructure view to a Saved Search view (and not reintroducing CA-147684) 2014-10-01 17:43:03 +01:00
Gabor Apati-Nagy
d88f196b35 Merge pull request #213 from MihaelaStoica/CA-146592
CA-146592:  Change default search when in Infrastructure view
2014-09-22 16:11:53 +01:00
Gabor Apati-Nagy
63fd46e64d CA-146588: Crash in search tab with multiselect
-Adding comments only
2014-09-22 15:55:20 +01:00
Mihaela Stoica
f7890e201c CA-146592: Change default search when in Infrastructure view
- If XenCenter node or a  disconnected host is selected, show the default search.
- Otherwise, find the top-level parent (= pool or standalone server) and show the search restricted to that.
- In the case of multiselect, if all the selections are within one pool (or standalone server), then show that report.
- Otherwise show everything, as on the XenCenter node.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-09-19 13:47:04 +01:00
Gabor Apati-Nagy
5145f8346b CA-146588: Crash in search tab with multiselect
-Fixing issue as per Mihaela's review: "when an object and its parent (i.e. the group) are selected, the search result should be the search on that group"
2014-09-19 12:45:42 +01:00
Gabor Apati-Nagy
11514639e2 CA-146588: Crash in search tab with multiselect
-Fixed search on Objects view when multiple items were selected. If one item is selected the behaviuor is unchanged. If multiple items are selected the common ancestor's search is displayed if there is one, otherwise we display the search view that belongs to the root node (Objects by Type).
2014-09-17 15:47:43 +01:00
Gabor Apati-Nagy
447214886b CA-145350: Hard to clear error notification
-Removed no longer needed InError property (XenAPI-Extensions\IXenObject) and its usages
2014-09-11 14:59:13 +01:00
Gabor Apati-Nagy
ffc643bb8f CA-145350: Hard to clear error notification
-Removed code that highlights a node in the treeview.
2014-09-11 14:43:19 +01:00
Mihaela Stoica
7ab3243980 CA-140336: Hide the Windows menu item at all times
- cannot remove completely because of the plugin specification, but it is not be visible even if they were plugins trying to use it

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

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

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-07-10 12:04:32 +01:00
Mihaela Stoica
4755200d98 CA-137308: Checkpoint doesn't disappear follow deletion when switching to logs mode - FIXED
Force an update of the selected tab when switching back from Notification view, as some tabs ignore the update events when not visible (e.g. Snapshots, HA)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-06-30 16:38:48 +01:00
U-CITRITE\zhengc
736a8d4cb4 CA-135560: Fix Creedence version number check and make WLB tab behaviour same for 6.5 and 6.1.
Signed-off-by: Zheng Chai <zheng.chai@citrix.com>
2014-05-15 09:30:11 +08:00
Gabor Apati-Nagy
12d1a53c44 Merge pull request #46 from Zhengchai/cp-7527
CP-7527: Restore WLB for Creedence XenCenter changes.
2014-04-30 13:25:39 +01:00
zheng chai
5d19c679cf CP-7527: update version according to Creedence version number.
Signed-off-by: zheng chai <zheng.chai@citrix.com>
2014-04-29 11:12:53 +08:00
Konstantina Chremmou
f1ebc3b5eb CA-130615: Do not show an event notification when the connection fails due to being
existing or due to the host being a slave. Use the action description instead of
the action title to construct the error for failed connection results. Indentation.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-04-28 15:01:11 +01:00
zheng chai
350f1722e9 CP-7527: Update the comments on the show tab part.
Signed-off-by: zheng chai <zheng.chai@citrix.com>
2014-04-28 16:58:46 +08:00
zheng chai
96dc014da9 CP-7527: Rework comments to handle CLearwater case specifically.
Signed-off-by: zheng chai <zheng.chai@citrix.com>
2014-04-28 15:17:21 +08:00
zheng chai
e10125fbce CP-7527: Restore WLB for Creedence XenCenter changes.
Signed-off-by: zheng chai <zheng.chai@citrix.com>
2014-04-22 19:14:53 +08:00
Konstantina Chremmou
f0cf20ec43 CA-127510: Reworked the logic of differentiating between tasks started by this instance
of XenCenter and tasks started from outside and cancelling the former when exiting
or disconnecting from the pool.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-03-11 14:30:01 +00:00
Konstantina Chremmou
d26bbaf8da CA-95786: Corrections to previous commit - show both the marketing name and the version on XenCenter's About box.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-02-18 17:38:11 +00:00
Konstantina Chremmou
de2ad77970 CA-95786: Show product microversion in XenCenter's About box (taken from XenServer
unless manually overridden in XenCenter). Renamed field.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-02-18 14:53:00 +00:00
Konstantina Chremmou
6d6421265e Merge branch 'master' of github.com:xenserver/xenadmin 2014-01-27 14:20:32 +00:00
Gabor Apati-Nagy
15bbf41a19 [CA-125549] Fixed: Deletion status of the alerts being displayed across any window open on the host
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2014-01-27 11:36:49 +00:00
Konstantina Chremmou
f5bee7102c Refactored MainWindow to derive from IMainWindow rather than implement a field deriving
from this interface.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-01-22 12:39:32 +00:00
Konstantina Chremmou
f8117cd4f5 CA-114482: Changed workflow of retrieving updates: the list of published updates
is downloaded and stored every time an update is performed (if manual all updates
are downloaded, if automatic only as per the user's choices). If there are available
updates, update alerts are generated if there are connected hosts and disappear
when the hosts are disconnected.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-01-08 13:17:02 +00:00
Konstantina Chremmou
a5f83a9bc5 CA-123576: Step 3 - display the Window menu item only when there are plugins using it.
Performance issue - reconstruct the plugin menu items only when the plugins are
loaded/refreshed instead of doing it every time the parent menu is clicked. Workflow
issue - the PluginManager.Enabled gets its value from the registry; we shouldn't
wait unitl the plugins are loaded to set it.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-31 10:34:11 +00:00
Konstantina Chremmou
e8285669b5 CA-123576: Step 2 - stop listing the open forms under the Window menu item. Also
fixed (old) bug where multiple instances of the PatchingWizard were launched.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-31 08:52:21 +00:00
Konstantina Chremmou
b3fc67a4d8 CA-123576: Step 1 - stop toggling the enabled state of the Windows menu item when non-modal forms are launched.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-30 14:47:01 +00:00
Gabor Apati-Nagy
7480148626 Merge branch 'car-100', removed car-100 from declarations.sh at the same time
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2013-12-19 13:39:42 +00:00
Gabor Apati-Nagy
2ba2a2578f [CA-123645] Fixed: "Unexpected error" when trying to access the help section
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2013-12-12 12:42:17 +00:00
Konstantina Chremmou
1c3ecc281b CA-122834 Don't show GPU tab for non-vGPU servers
Also GPU page on Pool properties dialogs should not be shown for non vGPU pools.
# HG changeset patch
# User Mihaela Stoica <Mihaela.Stoica@citrix.com>
# Date 1385743406 0
#      Fri Nov 29 16:43:26 2013 +0000
# Node ID e28f9921a0a17efb1e3a8d185acf18b5b6e116b1
# Parent  59229250db34dd4cc1f34fbdab055467a1570f87

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-11 10:45:28 +00:00
Gabor Apati-Nagy
a22c00ff31 CAR-100: Upgrade to .NET 4.0 instead of 3.5 -- Removing Code Access Security setting that is not present in .Net 4 (obsolete request permission)
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2013-12-06 17:23:12 +00:00
Konstantina Chremmou
ce20127827 CA-122558: Redesign of the updates page according to CAR-107.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-05 12:46:39 +00:00
Konstantina Chremmou
6212c62061 CP-6093: When the folders view is selected the Search panel should show the same
things as the main treeview.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-02 15:26:46 +00:00
Konstantina Chremmou
5d04edae99 CP-6093: The Window menu item on the top MainWindow menu should be disabled when
no forms are open. Since there is no event notifying about the Application.OpenForms
changing, created a new base class for all XenCenter dialogs and wizards with a
static event to which the main windw can subscribe.

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

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-21 15:56:24 +00:00
Konstantina Chremmou
fcc627113d CP-6093: Remove update alerts from the Alerts page, part 1/3: some code simplification
and efficiency improvements.

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

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

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-21 08:30:24 +00:00
Konstantina Chremmou
ccdf0fe7ce CA-107358: Updated tests to reflect button text change. Also, request refreshing
the main treeview from within a Program.Invoke.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-20 13:09:17 +00:00
Konstantina Chremmou
c6e58f1c4c CP-6093: Update notifications button with total number of alerts, updates and error
events. Fixed display issue when moving between the notifications and the other views.

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

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-18 14:31:00 +00:00
Konstantina Chremmou
3ad946f20e CP-6137: Work in Console tab for vGPU (PR-1675)
# HG changeset patch
# User Mihaela Stoica <Mihaela.Stoica@citrix.com>
# Date 1384179685 0
#      Mon Nov 11 14:21:25 2013 +0000
# Node ID 37666849a54470e0da04b8d14c17940f8b580636
# Parent  c845562d67f5216b2e3d52d68dcc54d78ff49ce1

- Add timers for closing the inactive VNC connections after an interval

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

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

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

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

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 11:23:35 +00:00
Konstantina Chremmou
64bfe07e78 CP-6085: Per-pool overview of vGPUs (PR-1675): Only show the GPU tab for live hosts
# HG changeset patch
# User Mihaela Stoica <Mihaela.Stoica@citrix.com>
# Date 1382997294 0
#      Mon Oct 28 21:54:54 2013 +0000
# Node ID bb05d6e143d7199359da1f555250d3a4ee126a5c
# Parent  c82052cb3e73d23ce4d1f14cb9f771b7e43f1cdd

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

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 11:06:50 +00:00
Konstantina Chremmou
9de85b8772 CP-6267: Restored status strip on the main window.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-12 12:44:19 +00:00
Konstantina Chremmou
0d1b7b2b74 CP-6093: Removed uses of the enum value Tab.History.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-12 11:59:46 +00:00
Konstantina Chremmou
15f9d34181 CP-6093: Update the header bar with the name of the notifications view currently selected.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-07 10:00:53 +00:00
Konstantina Chremmou
94aa7ac531 CP-6093: Set a lcoation for the connection events. Fixed refresh problem on the
Events page location filter. Added help ids for the Notification views.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-05 14:40:16 +00:00
Mihaela Stoica
466f18b81a CA-114990: XenCenter should not pop up the license expiry warning for Clearwater and later hosts
- The License Manager dialog is no longer shown when connecting to unlicensed Clearwater and later hosts; same rule applies for periodic checks;
- Minor refactoring: combined two functions that did the same thing (CheckActiveServerLicense and periodicCheck) into one.
2013-10-15 17:15:21 +01:00
Konstantina Chremmou
fb74297cbb CP-6093: Updated test to reflect changes in the View menu. Ignore temporarily flaky
test. Fixed broken action cancellability.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-10-09 13:33:06 +01:00
Konstantina Chremmou
bbe13a192d CP-6093: Implemented changes to the View menu. Disabled again flaky tests that had
been enabled in a previous commit.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-10-09 09:13:47 +01:00
Konstantina Chremmou
64e14bbc63 CP-6267: Stop jumping to the Events window when an action has started.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-10-08 11:03:29 +01:00
Konstantina Chremmou
aa8ccd0bfb CP-6095: Ensure the different views have a single root node with the appropriate
icon. Moved class OrganizationalView from XenModel back to XenAdmin as it is more
relevant to the latter.  Updated relevant tests. Some code tidy.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-10-08 10:17:57 +01:00
Konstantina Chremmou
1fb7fd5694 CP-6095: Moved Search tab to the end of the tab list and made it always visible.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-10-01 15:35:57 +01:00
Konstantina Chremmou
e06d2610ba CP-6317: Importing from branch clearwater-ln.
# HG changeset patch
# User Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
# Date 1375792166 -3600
# Node ID 2f3f7203b7a8c8c8d470534c0cf6554b9bf75a39
# Parent  6c08708f799c879557426b1aba48063b7ee9f877
CA-112444: Removed the ability to have link areas in the label of the ThreeButton
dialog because it's not always working for languages other than English. It was
used only in one place anyway, therefore I provided a dedicated dialog.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-26 14:12:26 +01:00
Konstantina Chremmou
dbf44fff21 Small modification to the way the treeview is updated when the View settings change.
Fixed some memory leaks in the wizard and dialog tests. Updated broken Searcher tests.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-11 23:12:08 +01:00
Mihaela Stoica
702d65e586 Ensure that the tree is updated when the "View" options change in the main window
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2013-09-05 12:30:57 +01:00
Konstantina Chremmou
787fd8cc1e CP-5751: Move logs tab to the notifications view.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-02 14:45:42 +01:00
Konstantina Chremmou
fab452946f CP-5751: Converted the Updates dialog to a user control and added it to the Notifications viw.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-30 15:19:59 +01:00
Konstantina Chremmou
2edefb840e CP-5751: First drop of the new NotificationsView (currently only the Alerts are available).
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-30 13:35:32 +01:00
Konstantina Chremmou
e9c5804b0e CP-5751: Converted the Alerts dialog to a user control and changed slightly the
layout to make it more similar to the logs page.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-30 12:46:28 +01:00
Konstantina Chremmou
a3dbc137d9 CP-5749: First drop of new outlook style buttons.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-26 11:42:32 +01:00
Konstantina Chremmou
31b29d615d CP-5749: Moved treeviewUpdateManager closer to the treeview.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-25 14:06:03 +01:00
Konstantina Chremmou
b602195a1c CP-5749: Moved methods related to suspending/resuming treeview refresh closer to
the treeview and compacted them.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-25 12:42:38 +01:00
Konstantina Chremmou
b163a6c715 CP-5749: Moved the main treeview from the MainWindow to the NavigationView control.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-24 17:00:32 +01:00
Konstantina Chremmou
e2c4811aa8 Moved some object/node selection methods from the MainWindow to the FlickerFreeTreView class.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-23 16:26:05 +01:00
Konstantina Chremmou
964ee7d1d1 CP-5749: Renamed the TreeSearchBoxMode to NavigationMode and moved it to the NavigationView control.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-23 12:32:14 +01:00
Konstantina Chremmou
d128abe4f9 CP-5749: Created new NavigationView control and moved the search box from the main window into there.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-23 12:23:35 +01:00
Konstantina Chremmou
e5b8bc6cf1 No need for a specific method to check whther an object is null. Use linq where possible.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-23 11:32:27 +01:00
Konstantina Chremmou
f12bb5a15e Code tidy: the TreeSearchBox should be notifying the MainWindow via an event when
the search mode has changed; the latter should not be accessible from outside the
class.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-22 17:56:34 +01:00
Konstantina Chremmou
f2e4f61732 MainWindow code tidy: Use the property SelectionManager where possible instead of
the private field selectionManager.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-22 17:25:12 +01:00
Konstantina Chremmou
60bca4d1df MainWindow code tidy: removed methods constructing ToolStripMenuItems as unecessary.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-22 16:48:16 +01:00
Konstantina Chremmou
a516796006 Main window code tidy: separated calls refreshing the header and tab pages from
the call refreshing the treeview.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-22 10:55:32 +01:00
Konstantina Chremmou
6a9d87c6f1 MainWindow tidy up: use existing method to launch the AboutBox rather than reimplementing
the same code. Use a CommandToolStripItem to launch the BugToolWizard like we do
for other wizards. Added overload for the MainWindowCommandInterface.ShowForm
method which allows to pass arguments to a wizard constructor.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-21 17:13:23 +01:00
Konstantina Chremmou
f9a9fb122c CP-5750: Separated Cancelled from Failed actions. Fixed control invoke issues.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-13 17:08:04 +01:00
Konstantina Chremmou
6950123da0 Code efficiency: compacted methods retrieving IXenObjects from VirtualTreeNodes
because certain checks were run more than once.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-10 13:25:35 +01:00
Konstantina Chremmou
4dac13b768 Removed unused methods.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-10 13:17:14 +01:00
Konstantina Chremmou
23d10bd513 CP-5750: Do not filter the Log tab entries according to the selection on the treeview.
For the time being show all entries. New filtering according to the entry location
will be implemented in a future commit.

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

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

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

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-03 01:04:45 +01:00
Konstantina Chremmou
1ee173d349 CP-5752: Moved ExportSearch method from the MainWindow.cs to the Search tabpage where it belongs.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-03 01:04:42 +01:00
Konstantina Chremmou
36149a611e CP-5449: Removed Log window.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
2013-07-02 18:31:44 +01:00
Konstantina Chremmou
c65ab4b42c CP-5448: Removed tab page TagCloud.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
2013-07-02 18:31:40 +01:00
Konstantina Chremmou
ce56d4e337 PR-1537: Separated Objects View (Types) from Organization Views (Tags, Folders, Custom Fields and vApps). Updated tests to reflect change.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
2013-07-02 18:31:36 +01:00
Konstantina Chremmou
37be1cdb58 PR-1537: Separated the Search textbox from the Searches dropdown button on the main window. Updated tests to reflect change.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
2013-07-02 18:31:32 +01:00
Konstantina Chremmou
42cea39799 CP-5434: Removed status bar from XenCenter's MainWindow.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
2013-07-02 18:14:26 +01:00
Mihaela Stoica
bd36a85bff CP-4816: Initial commit to git repo
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2013-06-24 12:41:48 +01:00