Commit Graph

6523 Commits

Author SHA1 Message Date
Konstantina Chremmou
92e66a2eed
Merge pull request #3068 from kc284/ionic
Removed dependency on IonicZip.
2022-12-14 01:00:23 +00:00
Konstantina Chremmou
e74232dc15
Merge pull request #3067 from kc284/xva-verify
xva_verify: some unused code removal; added cli switch.
2022-12-14 00:59:48 +00:00
Konstantina Chremmou
a29eb998ae
Merge pull request #3065 from kc284/master
CP-41048: Add each SR to the SrPicker as soon as its scan finishes, without waiting for the other scans to finish.
2022-12-05 15:00:01 +00:00
Konstantina Chremmou
421831f312 CP-41048: Do not scan SRs automatically when adding to the SrPicker. Added button to scan on demand.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2022-12-02 00:55:27 +00:00
Konstantina Chremmou
1e44d42020 Check for unplugged PBDs when selecting SRs for placing a new disk or importing an XVA.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2022-11-30 13:28:44 +00:00
Konstantina Chremmou
aeaec029e0
Merge pull request #3064 from kc284/splash
CP-41108: Replace the C++ splash screen with a C# one. Program.cs refactoring.
2022-11-23 16:27:18 +00:00
Konstantina Chremmou
e1c808eb8f Corrections as per code review.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2022-11-22 16:44:32 +00:00
Konstantina Chremmou
e29b8b39d5 Removed dependency on IonicZip. Use the corresponding classes of .NET Framework.
Also renamed the archive classes because they were named after the 3rd
party library used and were confusing.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2022-11-18 16:53:30 +00:00
Konstantina Chremmou
8804038dc4 Removed code for bz2 because it has never been used/exposed in the UI.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2022-11-18 12:20:59 +00:00
Konstantina Chremmou
3a59c2490c Replaced static field with optional parameter to switch verbose debugging off.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2022-11-18 11:22:41 +00:00
Konstantina Chremmou
a98d516bbe Removed delegate definitions and some unused code.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2022-11-17 14:49:35 +00:00
Konstantina Chremmou
a77f3c3994 Corrections per code review.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2022-11-16 17:36:17 +00:00
Konstantina Chremmou
a3569aa875 CP-41048: Add each SR to the SrPicker as soon as its scan finishes, without waiting for the other scans to finish.
The scans run in parallel in batches of three to avoid flooding the session.
Also, prevent firing the SelectedIndexChanged event multiple times when populating the NewDisk dialog.
Renamed the SrPicker control on the latter (because SrListBox is a different type of control).

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2022-11-15 16:48:53 +00:00
Konstantina Chremmou
0b954112bb Extended copyright check.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2022-11-14 09:45:34 +00:00
Konstantina Chremmou
5252272853 Changed the order of some of the initial and final operations.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2022-11-14 09:45:34 +00:00
Konstantina Chremmou
d1132f5823 Removed undocumented and buggy command line functionality. Moved command line arguments handling to the main window.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2022-11-14 09:45:34 +00:00
Konstantina Chremmou
6644ef920a CP-41108: Replaced the separate splash screen executable with a form within the application executable.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2022-11-14 09:45:33 +00:00
Konstantina Chremmou
1102ac80e2 Moved settings loading, and proxy and authentication module configuration to the Settings class as it's more relevant there.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2022-11-11 14:24:22 +00:00
Konstantina Chremmou
cc808dff1d Moved methods showing/hiding objects to the config provider as they are more relevant there.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2022-11-11 14:11:48 +00:00
Konstantina Chremmou
167ccf4904 Moved colour definition close to where it is used. Fixed leak where new underline fonts where created but not disposed.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2022-11-11 14:10:31 +00:00
Danilo Del Busso
ebcef64a24
Merge pull request #3062 from danilo-delbusso/bug/credentials_CA-371356
CA-371356 [XSI-1327]: Add option to prevent resetting pwd prompt function on disconnection
2022-10-28 09:44:13 +01:00
Konstantina Chremmou
de6a4f89c1
Merge pull request #3033 from danilo-delbusso/bug/prevent-host-reset
Prevent host reset when moving between wizard pages using `SelectMultipleVMDestinationPage`
2022-10-27 10:58:54 +01:00
Danilo Del Busso
9c07ed4707
Normalise whitespace in XenConnection.cs
Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>
2022-10-20 14:26:35 +01:00
Danilo Del Busso
0b5d259745
CA-371356: Add option to prevent resetting pwd prompt function on connection disconnection
Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>
2022-10-20 14:26:32 +01:00
Danilo Del Busso
77bd034e8d
CA-359965: Consider physical_utilisation value when checking for free space in thinly provisioned SRs (#3028)
* CA-359965: Consider `physical_utilisation` value when checking for free space in thinly provisioned SRs

* CA-359965: Fix miscellaneous formatting issues

* Made SrPickerItem show the SR by default. Removed virtual method that was never overriden.

* Use slightly more intuitive name for property; also inverted its logic.

* Renamed VdiCreationCanProceed to the more specific CanFitDisks since it only deals with sizes.

* Re-arranged classes in file.

* Refactored SrPickerItem:

- Merged CanBeEnabled and DisabledReason properties to method CanBeEnabled(out disabledREason)
  to avoid running the same checks twice.
- Pass the disk instead of the size into extension method SR.CanFitDisks
  so that the correct size can be used for each storage (thin vs. non-thin provision).

* Correction as per code review and some tweaks to make the checks clearer and more efficient.

Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>
Co-authored-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2022-10-11 09:26:54 +01:00
Konstantina Chremmou
a4e7462948 Fixed issue where the version on the update dropdown was not refreshed if a new update was found.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2022-10-07 13:20:56 +01:00
Konstantina Chremmou
94d4360218 Removed NewDiskDialog constructor as it was not particularly useful. 2022-10-07 09:19:10 +01:00
Konstantina Chremmou
83a1a74e02 Disable the Rescan button on the SR storage page when the SR is detached because the operation fails anyway.
Also, some tidy up so the checks are clearer.
2022-10-07 09:19:10 +01:00
Konstantina Chremmou
940b1580b9 Fixes issue where the Finish page of the NewVM wizard was not showing the selected home server correctly. 2022-10-07 09:19:10 +01:00
Konstantina Chremmou
0d70266173 CP-40748: Upgrade log4net to 2.0.15
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2022-10-04 11:00:12 +01:00
Konstantina Chremmou
e5d1a1bf03 Bumped pipeline version to 4.5.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2022-10-04 11:00:12 +01:00
Konstantina Chremmou
4d6fd38809 Bumped branding to v4.7. 2022-09-16 10:03:08 +01:00
Konstantina Chremmou
7144528f6b CP-39938: Flag a partially applied hotfix with red only if homogeneous application is required.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2022-08-22 12:45:37 +00:00
Danilo Del Busso
4f91b8a7e0
Merge pull request #3036 from danilo-delbusso/improvement/RPU_CP-39929
CP-39929: Improvements on the RPU/Updates wizard
2022-08-22 11:58:30 +00:00
Konstantina Chremmou
76a9295bee CP-40641: Bumped branding to v4.6.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2022-08-19 09:45:51 +01:00
Konstantina Chremmou
21a15104e7 Corrected the registry key name to use when running from source code.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2022-08-19 09:45:51 +01:00
Danilo Del Busso
85e0ffec12
CP-39929: Use 24hrs format for RPU/Update logs
Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>
2022-08-17 11:40:38 +01:00
Danilo Del Busso
2438996c69
CP-39929: Use pipe | as delimiter for RPU/Update logs
Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>
2022-08-16 13:47:07 +01:00
Danilo Del Busso
8a3a24d92c
Normalise whitespace in Xenadmin/Diagnostics/Problems/*
Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>
2022-08-15 16:13:44 +01:00
Danilo Del Busso
c6b50a5669
Use expression-bodied format for properties in Xenadmin/Diagnostics/Problems/*
Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>
2022-08-15 16:13:39 +01:00
Danilo Del Busso
4ef260111b
CP-39929: Fix checkbox text in DisplayOptionsPage
Also add missing ALT shortcuts

Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>
2022-08-15 15:58:39 +01:00
Danilo Del Busso
60cd8b9f88
CP-39929: Fix incorrect timestamp shown in RPU/Update wizards
Also:
- Use new date format for logs
- Specify option parameter names
- Do not show timestamp for host name log
- Do not show timestamp for null/whitespace only lines

Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>
2022-08-15 15:57:55 +01:00
Danilo Del Busso
c2dc35359f
CP-39929: Enable MaximizeBox for PatchingWizard
Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>
2022-08-15 15:47:59 +01:00
Konstantina Chremmou
6c2634074b Guard against registry keys returning empty strings.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2022-08-15 13:39:57 +01:00
Danilo Del Busso
487eba2edf CA-368321: Update Json.NET from 10.0.2 to 13.0.1
Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>
2022-08-15 13:39:48 +01:00
Danilo Del Busso
158be06d8d
CP-39929: Remove useless new line after appending error string
Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>
2022-08-15 13:11:40 +01:00
Danilo Del Busso
4340892b59
CP-39929: Prevent whitespace strings from being prepended with timestamp
Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>
2022-08-15 13:10:22 +01:00
kishore Mengani
1f0452bf8f L10n: Translations updated & Resx sync
Signed-off-by: kishore Mengani <kishore.mengani@citrix.com>
2022-08-12 10:31:53 +01:00
Danilo Del Busso
54a9f22c87
CP-39929: Add timestamps to update logs
- Add option to the display options page
- Add related setting
- Refactor `ExtensionMethods` to be more compact and flexible
- Add docs to `ExtensionMethods`
- Whitespace fixes

Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>
2022-08-10 15:44:07 +01:00
Danilo Del Busso
1fd39713f1
CP-39929: Tidy up settings files
sort settings by name

Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>
2022-08-10 15:26:19 +01:00